JP2009111955A - Stream reproducing device - Google Patents

Stream reproducing device Download PDF

Info

Publication number
JP2009111955A
JP2009111955A JP2007284999A JP2007284999A JP2009111955A JP 2009111955 A JP2009111955 A JP 2009111955A JP 2007284999 A JP2007284999 A JP 2007284999A JP 2007284999 A JP2007284999 A JP 2007284999A JP 2009111955 A JP2009111955 A JP 2009111955A
Authority
JP
Japan
Prior art keywords
section
psi
packet
dsmcc
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.)
Pending
Application number
JP2007284999A
Other languages
Japanese (ja)
Inventor
Kei Suzuki
慶 鈴木
Takaaki Inagi
孝明 稲木
Takeshi Noda
健 野田
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.)
Panasonic Corp
Original Assignee
Panasonic Corp
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 Panasonic Corp filed Critical Panasonic Corp
Priority to JP2007284999A priority Critical patent/JP2009111955A/en
Publication of JP2009111955A publication Critical patent/JP2009111955A/en
Pending legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a stream reproducing device capable of reproducing a data broadcasting, where output timing information is not imparted, in synchronization with sound and video. <P>SOLUTION: A TS reading processing part 21 reads a transport stream of an indicated program from a storage part 22 for storing the transport streams, and supplies the transport stream to a TS decoding part 12. The TS decoding part 12 separates PES, DSMCC section packets and PSI/SI section packets and PCRs, extracts them, and imparts the PCRs to the DSMCC section packets and PSI/SI section packets. A section stay processing part 701 controls the organization timing of section data through the use of a reference clock to be announced from an AV synthesizing part 91 and the PCRs imparted to the DSMCC section packets and PSI/SI section packets. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、映像、音声、データ放送といったマルチメディアデータが多重化されたストリームを再生するストリーム再生装置に関する。   The present invention relates to a stream reproduction apparatus that reproduces a stream in which multimedia data such as video, audio, and data broadcast is multiplexed.

近年、テレビ放送はデジタル放送が主流になっている。例えば、BSデジタル放送やCSデジタル放送、地上デジタル放送では、デジタル化された映像や音声に加え、データ放送がMPEG2規格により多重化されたストリームが送出されている。映像や音声はPTSと呼ばれる時刻情報により、出力タイミングが制御され、映像と音声の同期を取ることができる。また、データ放送は、映像や音声の送信タイミングに合わせて送信している。例えば、ドラマの映像や音声に連動してあらすじや俳優の情報をデータ放送として送信する。クイズ番組に切り替わるとドラマに関連したデータ放送の送信を停止し、代わりに視聴者がクイズに参加可能なデータ放送を送信することで、映像や音声とデータ放送の同期を取ることができる。   In recent years, digital broadcasting has become mainstream in television broadcasting. For example, in BS digital broadcasting, CS digital broadcasting, and terrestrial digital broadcasting, a stream in which data broadcasting is multiplexed according to the MPEG2 standard is transmitted in addition to digitized video and audio. The output timing of video and audio is controlled by time information called PTS, and video and audio can be synchronized. In addition, data broadcasting is transmitted in accordance with video and audio transmission timing. For example, synopsis and actor information is transmitted as data broadcast in conjunction with drama video and audio. When switching to a quiz program, transmission of data broadcasts related to the drama is stopped, and instead of transmitting data broadcasts that allow viewers to participate in the quiz, video and audio can be synchronized with the data broadcasts.

また、このようなデジタル放送をDVDレコーダやHDDレコーダなどの記録装置に記録した後に再生する形態も盛んに行われている。特許文献1には、MPEG2規格によるストリームの記録再生に関する技術が開示されている。より具体的には、特許文献1には、記録時に到着時刻を情報とするタイムスタンプパケットをストリームに付加し、再生時にこのタイムスタンプパケットの時刻情報を基にするストリームを読み出す技術が記載されている。このようにしてストリームからデータ放送を記録時と同じタイミングで読み出すことで、データ放送の到着タイミングを再現でき、映像や音声とデータ放送の同期を取ることができる。   In addition, a form of reproducing such digital broadcast after being recorded in a recording device such as a DVD recorder or an HDD recorder is also actively performed. Patent Document 1 discloses a technique related to stream recording and reproduction according to the MPEG2 standard. More specifically, Patent Document 1 describes a technique of adding a time stamp packet whose information is arrival time at the time of recording to a stream and reading out the stream based on the time information of the time stamp packet at the time of reproduction. Yes. By reading out the data broadcast from the stream in this way at the same timing as when recording, the arrival timing of the data broadcast can be reproduced, and the video and audio can be synchronized with the data broadcast.

しかしながら、特許文献1のように、再生時に記録時と同じタイミングで読み出す方式を実現するには、非常に高精度な時計が要求される。具体的には、時計に用いられる水晶発信器は温度によって発信周波数が変化する。記録時と再生時の温度が同じであれば同じ周波数となるが、温度が異なれば異なる周波数となる。そのため、広温度範囲で発信周波数の変化が極めて小さい高精度の水晶発信器を用いた時計が必要となり、ストリーム記録再生装置のコストが大きくなる。   However, in order to realize a method of reading at the same timing as recording at the time of reproduction as in Patent Document 1, a highly accurate timepiece is required. Specifically, the transmission frequency of a crystal oscillator used in a watch changes depending on the temperature. If the temperature at the time of recording is the same as that at the time of reproduction, the frequency is the same, but if the temperature is different, the frequency is different. For this reason, a timepiece using a high-accuracy crystal oscillator in which a change in the transmission frequency is extremely small in a wide temperature range is required, and the cost of the stream recording / reproducing apparatus increases.

そのため、低コストを狙ったストリーム再生装置では、オーディオマスタ方式を用いる。オーディオマスタ方式を用いたストリーム再生装置の構成および動作について、図6を参照しながら説明する。   For this reason, an audio master method is used in a stream reproduction device aimed at low cost. The configuration and operation of a stream playback apparatus using the audio master method will be described with reference to FIG.

図6において、蓄積部22は、DVDなどの光ディスクやHDD、さらに半導体メモリなどの記録媒体である。TS読み出し処理部21は、トランスポートストリームが蓄積されている蓄積部22から、指示された番組のトランスポートストリームを読み出す。   In FIG. 6, the storage unit 22 is a recording medium such as an optical disk such as a DVD, an HDD, or a semiconductor memory. The TS read processing unit 21 reads out the transport stream of the designated program from the storage unit 22 in which the transport stream is stored.

蓄積部22から読み出されたトランスポートストリームは、トランスポートストリームデコード部(以下、TSデコード部と呼ぶ)15でトランスポートストリームからDSMCCセクションパケット、PSI/SIセクションパケットおよびパケッタイズドエレメンタリストリーム(以下、PESと呼ぶ)に分離、抽出する。   The transport stream read from the storage unit 22 is transmitted from the transport stream to a DSMCC section packet, a PSI / SI section packet, and a packetized elementary stream (hereinafter referred to as a TS decoding unit) 15 by a transport stream decoding unit (hereinafter referred to as a TS decoding unit) 15. (Hereinafter referred to as PES).

DSMCCセクションパケットは、DSMCCセクションバッファ301に供給される。DSMCCセクション処理部51は、DSMCCセクションバッファ301に供給されたDSMCCセクションデータを元のBML(Broadcast Markup Language)コンテンツファイルに変換する。   The DSMCC section packet is supplied to the DSMCC section buffer 301. The DSMCC section processing unit 51 converts the DSMCC section data supplied to the DSMCC section buffer 301 into an original BML (Broadcast Markup Language) content file.

PSI/SIセクションパケットは、PSI/SIセクションバッファ401に供給される。PSI/SIセクション処理部501は、PSI/SIセクションバッファ401に供給されたPSI/SIセクションデータから放送や番組に関する情報を抽出し、選局処理部502へ供給する。   The PSI / SI section packet is supplied to the PSI / SI section buffer 401. The PSI / SI section processing unit 501 extracts information about broadcasts and programs from the PSI / SI section data supplied to the PSI / SI section buffer 401 and supplies the information to the channel selection processing unit 502.

映像デコーダ41および音声デコーダ42の映像および音声のデコード処理速度よりも、蓄積部22からの読み出し処理速度が速い場合には、いずれ映像バッファ101や音声バッファ201が一杯になる。バッファが一杯になった場合、TS読み出し処理部21は、蓄積部22からの読み出し処理を一旦停止する。その後、デコード処理により映像バッファ101および音声バッファ201に空きができた場合に、TS読み出し処理部21は、蓄積部22からの読み出し処理を再開する。   When the processing speed for reading from the storage unit 22 is faster than the video and audio decoding processing speeds of the video decoder 41 and the audio decoder 42, the video buffer 101 and the audio buffer 201 will eventually become full. When the buffer is full, the TS read processing unit 21 temporarily stops the read processing from the storage unit 22. Thereafter, when the video buffer 101 and the audio buffer 201 are vacated by the decoding process, the TS read processing unit 21 resumes the read process from the storage unit 22.

PESはPES処理部31に供給され、選択されたPESを、音声ストリームおよび映像ストリームに変換する。音声ストリームは、音声バッファ201に蓄積される。映像ストリームは、映像バッファ101に蓄積される。   The PES is supplied to the PES processing unit 31 and converts the selected PES into an audio stream and a video stream. The audio stream is accumulated in the audio buffer 201. The video stream is accumulated in the video buffer 101.

音声デコーダ42は、音声バッファ201に供給されたタイミングで、連続する音声ストリームをデコードし、音声出力部72により、連続した音声信号に変換されるため、スピーカ等によりこの音声信号に応じた滑らかな音声が出力することができる。音声出力部72は、音声を出力した時刻情報を音声デコーダ42に通知する。音声デコーダ42は、通知された時刻情報を、AV同期部に通知する。   The audio decoder 42 decodes a continuous audio stream at the timing supplied to the audio buffer 201, and is converted into a continuous audio signal by the audio output unit 72, so that a smooth sound corresponding to the audio signal is output by a speaker or the like. Audio can be output. The audio output unit 72 notifies the audio decoder 42 of the time information when the audio is output. The audio decoder 42 notifies the AV synchronization unit of the notified time information.

AV同期部91は、音声デコーダ42から通知される時刻情報を、リファレンスクロックする。さらに、AV同期部91は、映像デコーダ41から通知される映像ストリームのPTSとリファレンスクロックを比較し、リファレンスクロックがPTSより大きい場合、映像ストリームをデコードしてから映像信号を外部に出力するまでの処理時間分早めに映像デコーダ41に映像出力トリガを通知する。映像デコーダ41は、AV同期部91からの映像出力トリガが通知されたタイミングで、映像ストリームをデコードし、映像出力部72により、映像が出力される。   The AV synchronization unit 91 uses the time information notified from the audio decoder 42 as a reference clock. Further, the AV synchronization unit 91 compares the PTS of the video stream notified from the video decoder 41 and the reference clock, and if the reference clock is larger than the PTS, the AV synchronization unit 91 performs the process from decoding the video stream to outputting the video signal to the outside. A video output trigger is notified to the video decoder 41 earlier by the processing time. The video decoder 41 decodes the video stream at the timing when the video output trigger from the AV synchronization unit 91 is notified, and the video output unit 72 outputs the video.

上記のようにして、映像の出力タイミングのみを操作することで、高精度の水晶発信器がなくても、音声の時間的連続性を保ちながら、音声と映像の同期が保つことが可能である。   By operating only the video output timing as described above, it is possible to keep the audio and video synchronized while maintaining the temporal continuity of the audio even without a high-precision crystal transmitter. .

データ放送エンジン52は、データ放送におけるBMLで記述されたBMLコンテンツファイルを抽出し、そのファイルに記述された記述コードに従って、データ放送の画像データや操作用データ等を生成し、その画像データ等によるデータ放送画像の表示やその操作に関する処理を行う。   The data broadcast engine 52 extracts a BML content file described in BML in the data broadcast, generates data data of the data broadcast, operation data, etc. according to the description code described in the file, and uses the image data, etc. Processing related to the display and operation of data broadcast images.

映像合成部61は、映像デコーダ41からの映像ストリーム、データ放送エンジン52からのデータ放送の画像データを合成する。映像合成部61からの合成された映像ストリームは、映像出力部71により映像信号に変換され、この映像信号が映像出力として外部に出力される。
特開2001−268518号公報
The video synthesis unit 61 synthesizes the video stream from the video decoder 41 and the image data of the data broadcast from the data broadcast engine 52. The synthesized video stream from the video synthesis unit 61 is converted into a video signal by the video output unit 71, and this video signal is output to the outside as a video output.
JP 2001-268518 A

しかしながら、昨今のストリーム再生装置、例えば、携帯電話のような機器では、ストリーム再生機能だけでなく、様々な機能が同時に動作している。また、ストリーム再生装置における多くの機能がソフトウェアで実装されており、マルチタスクで動作しているため、他の機能の処理が重いときには、ストリーム再生機能へのCPU(Central Processing Unit)の割り当てが不十分で、例えば蓄積部22からのトランスポートストリームの読み出し処理が間に合わず、映像デコーダ41および音声デコーダ42へのデータの供給が遅れ、アンダーフローが発生し、音声や映像が途切れてしまうことになる。そこで、音声や映像を途切れることなく再生させるために、非常に大きな映像バッファ101および音声バッファ201が必要となる。   However, in recent stream playback apparatuses, for example, devices such as mobile phones, not only the stream playback function but also various functions operate simultaneously. In addition, since many functions in the stream playback device are implemented by software and operate in multitasking, when processing of other functions is heavy, assignment of a CPU (Central Processing Unit) to the stream playback function is not possible. For example, the transport stream read processing from the storage unit 22 is not in time, data supply to the video decoder 41 and the audio decoder 42 is delayed, underflow occurs, and audio and video are interrupted. . Therefore, in order to reproduce audio and video without interruption, very large video buffer 101 and audio buffer 201 are required.

そのため、従来のようなオーディオマスタ方式を用いたストリーム再生の仕組みを導入し、音声、映像、データ放送を再生する場合、音声および映像については、非常に大きな容量を持つ音声バッファおよび映像バッファに蓄積されるため、その分だけ遅延が大きくなる。出力タイミング情報が付与されている音声、映像については、前記のように、同期して出力され、遅延が大きくなっても問題はない。しかし、出力タイミング情報が付与されていないデータ放送については、音声や映像と同期を取ることができないため、蓄積部から読み出し後、表示タイミングを制御することなく出力してしまう。よって、番組がまだ切り替わっていないのにデータ放送が切り替わる、つまり表示内容更新が放送視聴時に比べて大きくずれる(映像や音声に比べ、データ放送の出力タイミングが早くなる)という、課題が発生することになる。   For this reason, when a stream playback mechanism using a conventional audio master method is introduced and audio, video, and data broadcasting are played back, the audio and video are stored in a very large capacity audio buffer and video buffer. Therefore, the delay increases accordingly. As described above, the audio and video to which the output timing information is added are output synchronously, and there is no problem even if the delay increases. However, a data broadcast to which no output timing information is attached cannot be synchronized with audio or video, and therefore is output without being controlled after being read from the storage unit. Therefore, there is a problem that the data broadcast is switched even though the program has not yet been switched, that is, the display content update is greatly shifted compared to the time of viewing the broadcast (the output timing of the data broadcast is earlier than the video and audio). become.

本発明は上記の課題に鑑みてなされたものであり、音声、映像、データ放送の同期再生が可能となる、ストリーム再生装置を提供することを目的とする。   The present invention has been made in view of the above-described problems, and an object of the present invention is to provide a stream playback apparatus that can perform synchronized playback of audio, video, and data broadcasting.

第1の本発明(請求項1に対応)によるストリーム再生装置は、蓄積媒体から、指示された番組のトランスポートストリームを読み出し、トランスポートストリームからPES、セクション、PCRを分離、抽出し、DSMCCセクションパケットおよびPSI/SIセクションパケットにPCRを付与するTSデコード部と、音声デコーダから通知されるリファレンスクロックを後述するセクション滞留処理部に通知するAV同期部と、DSMCCセクションパケットおよびPSI/SIセクションパケットに付与されたPCRとAV同期部から通知されるリファンスクロックを用いて、セクションデータの構築タイミングを制御するセクション滞留処理部を備えた構成である。   The stream reproducing apparatus according to the first aspect of the present invention (corresponding to claim 1) reads out the transport stream of the designated program from the storage medium, separates and extracts the PES, section, and PCR from the transport stream, and extracts the DSMCC section. TS decoding section for adding PCR to the packet and PSI / SI section packet, AV synchronization section for notifying the section stay processing section described later of the reference clock notified from the audio decoder, DSMCC section packet and PSI / SI section packet The configuration includes a section retention processing unit that controls the construction timing of the section data using the assigned PCR and the reference clock notified from the AV synchronization unit.

第2の本発明(請求項2に対応)によるストリーム再生装置は、蓄積媒体から、指示された番組のトランスポートストリームを読み出し、トランスポートストリームからPES、セクション、PCRを分離、抽出するTSデコード部と、音声デコーダから通知されるリファレンスクロックを後述するセクション滞留処理部に通知するAV同期部と、DSMCCセクションパケットおよびPSI/SIセクションパケットからセクションデータを構築し、TSデコード部から通知されるPCRをセクションデータに付与し、DSMCCセクションデータおよびPSI/SIセクションデータに付与されたPCRとAV同期部から通知されるリファンスクロックを用いて、DSMCCセクションデータをDSMCCセクション処理部へ、PSI/SIセクションデータをPSI/SIセクション処理部へ供給するタイミングを制御するセクション滞留処理部を備えた構成である。   A stream reproduction apparatus according to the second aspect of the present invention (corresponding to claim 2) reads a transport stream of an instructed program from a storage medium, and separates and extracts a PES, a section, and a PCR from the transport stream An AV synchronization unit for notifying a reference clock notified from the audio decoder to a section retention processing unit to be described later, a section data from the DSMCC section packet and the PSI / SI section packet, and a PCR notified from the TS decoding unit. The DSMCC section data is sent to the DSMCC section processing unit using the PCR added to the section data, the PCR added to the DSMCC section data and the PSI / SI section data, and the reference clock notified from the AV synchronization unit. A configuration in which a section retention processing unit for controlling a timing of supplying an I section data to PSI / SI section processing unit.

第3の本発明(請求項3に対応)によるストリーム再生装置は、蓄積媒体から、セクションパケットまたはセクションデータに付加されたPCRとAV同期部から通知されるリファンスクロックを用いて、セクションを破棄するセクション滞留処理部を備えた構成である。   A stream reproduction apparatus according to the third aspect of the present invention (corresponding to claim 3) discards a section using a PCR added to a section packet or section data from a storage medium and a reference clock notified from an AV synchronization unit. The section retention processing unit is provided.

第4の本発明(請求項4に対応)によるストリーム再生装置は、PSI/SIセクションから抽出したコピー制御情報に従い、映像や音声の出力を制御する選局処理部を備えた構成である。   A stream reproduction apparatus according to the fourth aspect of the present invention (corresponding to claim 4) is configured to include a channel selection processing unit that controls output of video and audio in accordance with copy control information extracted from the PSI / SI section.

本発明のストリーム再生装置によれば、高精度の水晶発信器を用いることなく、音声、映像、データ放送の同期再生が可能となる。さらに、再生時のAVOUTにおけるコピー制御のタイミングを制御することができる。これにより、ユーザ側のメリットとしては、コピーが許されたところまでのコンテンツをコピーすることが可能となる。また、放送局側のメリットとしては、コピーが禁止されたところまでのコンテンツのコピーを禁止することが可能となる。   According to the stream reproduction apparatus of the present invention, it is possible to perform synchronous reproduction of audio, video, and data broadcasting without using a high-precision crystal oscillator. Furthermore, it is possible to control the timing of copy control in AVOUT during playback. As a result, as a merit on the user side, it is possible to copy content up to the point where copying is permitted. Further, as a merit on the broadcasting station side, it is possible to prohibit copying of content up to a point where copying is prohibited.

(実施の形態1)
以下、本発明の実施の形態について図1を用いて説明する。
(Embodiment 1)
Hereinafter, an embodiment of the present invention will be described with reference to FIG.

図1は、本発明の実施の形態1におけるストリーム再生装置の構成を示すブロック図である。   FIG. 1 is a block diagram showing a configuration of a stream reproduction apparatus according to Embodiment 1 of the present invention.

本実施の形態では、蓄積媒体に記録されたトランスポートストリームを読み出すことで番組の再生を行うストリーム再生装置の一例を挙げて説明する。   In the present embodiment, an example of a stream reproducing apparatus that reproduces a program by reading a transport stream recorded on a storage medium will be described.

図1において、TS読み出し処理部21は、トランスポートストリームが蓄積されている蓄積部22から、指示された番組のトランスポートストリームを読み出す。   In FIG. 1, a TS read processing unit 21 reads a transport stream of an instructed program from a storage unit 22 in which a transport stream is stored.

蓄積部22から読み出されたトランスポートストリームは、TSデコード部12に供給する。TSデコード部12は、MPEG-2の規格に従って、供給されたトランスポートストリームからPESおよびセクションパケットに分離、抽出する。すなわち、TSデコード部12は、まず、トランスポートストリームの各パケットの識別情報であるパケットID(Packet IDentifier、以下、PIDと呼ぶ)を参照して必要なパケットを抽出するとともに、PIDに対応させた振り分けを行う。さらに、TSデコード部12は、振り分けたパケットからPESを構築する。抽出されたPESはPES処理部31に供給される。また、TSデコード部12は、トランスポートストリームのアダプテーションフィールドのオプションフィールドに格納されているPCR(Program Clock Reference)を抽出する。さらに、TSデコード部12は、DSMCC(Digital Storage Media Command and Control)セクションパケットとPSI/SI(Program Specific Information/Service Information)セクションパケットに分離、抽出し、抽出済みのPCRをこれらのパケットに付与する。このようにPCRが付与されたDSMCCセクションパケットは、DSMCCセクションバッファ301に、同じくPCRが付与されたPSI/SIセクションパケットは、PSI/SIセクションバッファ401にそれぞれ供給される。   The transport stream read from the storage unit 22 is supplied to the TS decoding unit 12. The TS decoding unit 12 separates and extracts PES and section packets from the supplied transport stream in accordance with the MPEG-2 standard. That is, the TS decoding unit 12 first extracts necessary packets with reference to a packet ID (Packet IDentifier, hereinafter referred to as PID) which is identification information of each packet of the transport stream, and makes it correspond to the PID. Sort. Further, the TS decoding unit 12 constructs a PES from the distributed packets. The extracted PES is supplied to the PES processing unit 31. Also, the TS decoding unit 12 extracts a PCR (Program Clock Reference) stored in the option field of the adaptation field of the transport stream. Further, the TS decoding unit 12 separates and extracts the DSMCC (Digital Storage Media Command and Control) section packet and the PSI / SI (Program Specific Information / Service Information) section packet, and adds the extracted PCR to these packets. . The DSMCC section packet to which PCR is added in this way is supplied to the DSMCC section buffer 301, and the PSI / SI section packet to which PCR is also supplied is supplied to the PSI / SI section buffer 401.

このときのPCRをDSMCCセクションパケット、PSI/SIセクションパケットに付与する方法について具体的に図2を用いて説明する。   A method of assigning the PCR to the DSMCC section packet and the PSI / SI section packet will be specifically described with reference to FIG.

図2の(1)は、トランスポートストリームが蓄積されている蓄積部22から、指示された番組のトランスポートストリームを読み出してTSデコード部12に供給されたストリームを示したものである。図2の(1)では、各種パケットとして、「V」で示す映像パケット、「A」で示す音声パケット、「P」で示すPSI/SIセクションパケット、「D」で示すDSMCCセクションパケット、「PCR」で示すPCRを含んだPCRパケットを含んだ例を示している。PCRパケットには、PCRを記載している。   (1) in FIG. 2 shows the stream supplied to the TS decoding unit 12 by reading out the transport stream of the instructed program from the storage unit 22 in which the transport stream is stored. In (1) of FIG. 2, as various packets, a video packet indicated by “V”, an audio packet indicated by “A”, a PSI / SI section packet indicated by “P”, a DSMCC section packet indicated by “D”, and “PCR” An example including a PCR packet including a PCR indicated by "." PCR is described in the PCR packet.

TSデコード部12は抽出したPCRパケットのPCRを記憶する。DSMCCセクションパケットやPSI/SIセクションパケットを抽出したとき、記憶したPCRをこれらセクションパケットに付与する。このようにPCRが付与されたDSMCCセクションパケットは、図2の(2)のような構成でDSMCCセクションバッファ301に、同じくPCRが付与されたPSI/SIセクションパケットは、図2の(3)のような構成でPSI/SIセクションバッファ401にそれぞれ供給される。   The TS decoding unit 12 stores the PCR of the extracted PCR packet. When the DSMCC section packet and the PSI / SI section packet are extracted, the stored PCR is added to these section packets. The DSMCC section packet to which PCR is added in this way is configured as shown in (2) of FIG. 2, and the PSI / SI section packet to which PCR is also added is shown in (3) of FIG. Such a configuration is supplied to the PSI / SI section buffer 401, respectively.

PES処理部31は、供給されたPESを、音声ストリームおよび映像ストリームに変換し、音声バッファ201および映像バッファ101に蓄積する。   The PES processing unit 31 converts the supplied PES into an audio stream and a video stream, and accumulates them in the audio buffer 201 and the video buffer 101.

セクション滞留処理部701は、後述するAV同期部91から通知されるリファレンスクロックと、DSMCCセクションパケットおよびPSI/SIセクションパケットに付与されたPCRを元に、セクションデータの構築タイミングを制御する。セクション滞留処理部701で構築したDSMCCセクションデータは、DSMCCセクション処理部51へ、PSI/SIセクションデータは、PSI/SIセクション処理部501へ各セクションデータを供給する。   The section retention processing unit 701 controls the section data construction timing based on the reference clock notified from the AV synchronization unit 91 described later and the PCR added to the DSMCC section packet and the PSI / SI section packet. The DSMCC section data constructed by the section retention processing unit 701 is supplied to the DSMCC section processing unit 51, and the PSI / SI section data is supplied to the PSI / SI section processing unit 501.

このときのDSMCCセクションパケットおよびPSI/SIセクションパケットに付与されたPCRを元に、セクションデータの構築タイミングを制御する方法について具体的に図3を用いて説明する。   A method for controlling the construction timing of the section data based on the PCR assigned to the DSMCC section packet and the PSI / SI section packet at this time will be specifically described with reference to FIG.

図3は、セクション滞留処理部701が、セクションデータを構築するまでの処理手順を示したフローチャートである。セクション滞留処理部701は、DSMCCセクションパケットおよびPSI/SIセクションパケットに付与されたPCRの抽出を行う(ステップS10)。AV同期部91から、セクション滞留処理部701にリファレンスクロックが通知される(ステップS11)。セクション滞留処理部701は、PCRとリファレンスクロックの比較を行い、セクションを構築するか滞留させるかどうかの判定を行う(ステップS12)。リファレンスクロックがPCRより大きい場合には、セクションを構築すると判断し、次のステップに進む。そうでない場合には、セクションを滞留させる。次に、セクションを構築するか破棄するかどうかの判定を行う(ステップS13)。リファレンスクロックが(PCR+10秒)より小さい場合には、セクションの構築を行う(ステップS14)。そうでない場合には、セクションの破棄を行う(ステップS15)。   FIG. 3 is a flowchart showing a processing procedure until the section retention processing unit 701 constructs section data. The section retention processing unit 701 extracts the PCR attached to the DSMCC section packet and the PSI / SI section packet (step S10). The reference clock is notified from the AV synchronization unit 91 to the section retention processing unit 701 (step S11). The section retention processing unit 701 compares the PCR and the reference clock, and determines whether to construct or retain the section (step S12). If the reference clock is larger than the PCR, it is determined that a section is to be constructed, and the process proceeds to the next step. Otherwise, the section is retained. Next, it is determined whether to construct or discard the section (step S13). If the reference clock is smaller than (PCR + 10 seconds), a section is constructed (step S14). Otherwise, the section is discarded (step S15).

DSMCCセクション処理部51は、DSMCCセクションデータを元のBML(Broadcast Markup Language)コンテンツファイルに変換する。   The DSMCC section processing unit 51 converts the DSMCC section data into an original BML (Broadcast Markup Language) content file.

PSI/SIセクション処理部501は、PSI/SIセクションバッファ401に供給されたPSI/SIセクションデータから放送や番組に関する情報を抽出し、選局処理部502へ供給する。   The PSI / SI section processing unit 501 extracts information about broadcasts and programs from the PSI / SI section data supplied to the PSI / SI section buffer 401 and supplies the information to the channel selection processing unit 502.

映像デコーダ41および音声デコーダ42の映像および音声のデコード処理速度よりも、蓄積部22からの読み出し処理速度が速い場合には、いずれ映像バッファ101や音声バッファ201が一杯になる。バッファが一杯になった場合、TS読み出し処理部21は、蓄積部22からの読み出し処理を一旦停止する。その後、デコード処理により映像バッファ101および音声バッファ201に空きができた場合に、TS読み出し処理部21は、蓄積部22からの読み出し処理を再開する。   When the processing speed for reading from the storage unit 22 is faster than the video and audio decoding processing speeds of the video decoder 41 and the audio decoder 42, the video buffer 101 and the audio buffer 201 will eventually become full. When the buffer is full, the TS read processing unit 21 temporarily stops the read processing from the storage unit 22. Thereafter, when the video buffer 101 and the audio buffer 201 are vacated by the decoding process, the TS read processing unit 21 resumes the read process from the storage unit 22.

音声デコーダ42は、音声バッファ201に供給されたタイミングで、連続する音声ストリームをデコードし、音声出力部72により、連続した音声信号に変換されるため、スピーカ等によりこの音声信号に応じた滑らかな音声が出力することができる。音声出力部72は、音声を出力した時刻情報をリファレンスクロックとして音声デコーダ42に通知し、音声デコーダ42は、リファレンスクロックをAV同期部91に通知する。   The audio decoder 42 decodes a continuous audio stream at the timing supplied to the audio buffer 201, and is converted into a continuous audio signal by the audio output unit 72, so that a smooth sound corresponding to the audio signal is output by a speaker or the like. Audio can be output. The audio output unit 72 notifies the audio decoder 42 of the time information at which the audio is output as a reference clock, and the audio decoder 42 notifies the AV synchronization unit 91 of the reference clock.

AV同期部91は、音声デコーダ42から通知されるリファレンスクロックと映像デコーダ41から通知される映像ストリームのPTSを比較し、映像ストリームをデコードしてから映像信号を外部に出力するまでの処理時間分早めに映像デコーダ41に映像出力トリガを通知する。映像デコーダ41は、AV同期部91からの映像出力トリガが通知されたタイミングで、映像ストリームをデコードし、映像出力部71により、映像が出力される。また、AV同期部91は、リファレンスクロックをセクション滞留処理部701に通知する。   The AV synchronization unit 91 compares the reference clock notified from the audio decoder 42 with the PTS of the video stream notified from the video decoder 41, and processes the time from decoding the video stream to outputting the video signal to the outside. A video output trigger is notified to the video decoder 41 early. The video decoder 41 decodes the video stream at the timing when the video output trigger from the AV synchronization unit 91 is notified, and the video output unit 71 outputs the video. In addition, the AV synchronization unit 91 notifies the section stay processing unit 701 of the reference clock.

データ放送エンジン52は、DSMCCセクション処理部51から供給されたデータ放送用データの復元処理を行う。すなわち、データ放送エンジン52は、データ放送におけるBMLで記述されたBMLコンテンツファイルを抽出し、そのファイルに記述された記述コードに従って、データ放送の画像データや操作用データ等を生成し、その画像データ等によるデータ放送画像の表示やその操作に関する処理を行う。   The data broadcast engine 52 performs a data broadcast data restoration process supplied from the DSMCC section processing unit 51. That is, the data broadcast engine 52 extracts a BML content file described in BML in the data broadcast, generates data data of the data broadcast, operation data, etc. according to the description code described in the file, and the image data Processing related to the display of data broadcast images and the operation thereof is performed.

映像合成部61は、映像デコーダ41からの映像に、データ放送エンジン52からのデータ放送の画像データを合成する。映像合成部61からの合成された映像は、映像出力部71により映像信号に変換され、この映像信号が映像出力として外部に出力される。さらに、この映像信号に応じた映像が、例えば、外部のディスプレイ等の画面に表示される。なお、本実施の形態では、ディスプレイやスピーカは外部接続されるようなストリーム再生装置を例に挙げて説明するが、例えば、ディスプレイやスピーカを内蔵したような装置形態であってもよい。   The video synthesizing unit 61 synthesizes the image data of the data broadcast from the data broadcast engine 52 with the video from the video decoder 41. The synthesized video from the video synthesis unit 61 is converted into a video signal by the video output unit 71, and this video signal is output to the outside as a video output. Furthermore, a video corresponding to the video signal is displayed on a screen such as an external display, for example. In the present embodiment, a stream reproducing apparatus in which a display and a speaker are externally connected will be described as an example. However, for example, an apparatus having a built-in display and a speaker may be used.

以上説明したように、本実施の形態1において、蓄積媒体から、指示された番組のトランスポートストリームを読み出し、PCRとリファンスクロックを用いて、DSMCCセクションデータおよびPSI/SIセクションデータの構築タイミングを制御することで、音声、映像、データ放送の同期再生が可能となる。   As described above, in the first embodiment, the transport stream of the instructed program is read from the storage medium, and the DSMCC section data and the PSI / SI section data are constructed using the PCR and the reference clock. By controlling, synchronized playback of audio, video, and data broadcasting becomes possible.

(実施の形態2)
図4は、本発明の実施の形態2におけるストリーム再生装置の構成を示すブロック図である。
(Embodiment 2)
FIG. 4 is a block diagram showing the configuration of the stream reproduction apparatus according to Embodiment 2 of the present invention.

本実施の形態2でも、実施の形態1と同様に、トランスポートストリームが蓄積されている蓄積部22から、指示された番組のトランスポートストリームを読み出すことで番組の再生を行うストリーム再生装置の一例を挙げて説明する。以下、図4を参照しながら、本実施の形態2の構成、およびその動作について説明する。   In the second embodiment as well, as in the first embodiment, an example of a stream reproduction device that reproduces a program by reading out the transport stream of the designated program from the accumulation unit 22 in which the transport stream is accumulated. Will be described. Hereinafter, the configuration and operation of the second embodiment will be described with reference to FIG.

図4において、TS読み出し処理部21は、トランスポートストリームが蓄積されている蓄積部22から、指示された番組のトランスポートストリームを読み出す。   In FIG. 4, the TS read processing unit 21 reads out the transport stream of the designated program from the storage unit 22 in which the transport stream is stored.

蓄積部22から読み出されたトランスポートストリームは、TSデコード部13に供給する。   The transport stream read from the storage unit 22 is supplied to the TS decoding unit 13.

TSデコード部13は、MPEG-2の規格に従って、供給されたトランスポートストリームからPES、およびセクションパケットに分離、抽出する。すなわち、TSデコード部13は、まず、トランスポートストリーム各パケットの識別情報であるPIDを参照して必要なパケットを抽出するとともに、PIDに対応させた振り分けを行う。さらに、TSデコード部13は、振り分けた各パケットに含まれるデータからPESを構築する。抽出されたPESはPES処理部31に供給される。また、TSデコード部13は、トランスポートストリームのアダプテーションフィールドのオプションフィールドに格納されているPCRを抽出する。さらに、TSデコード部13は、DSMCCセクションパケットとPSI/SIセクションパケットに分離、抽出する。このように抽出されたPCR、DSMCCセクションパケット、PSI/SIセクションパケット、それぞれがセクション滞留処理部702に供給される。   The TS decoding unit 13 separates and extracts PES and section packets from the supplied transport stream in accordance with the MPEG-2 standard. That is, the TS decoding unit 13 first extracts necessary packets by referring to the PID that is identification information of each packet of the transport stream, and performs distribution corresponding to the PID. Furthermore, the TS decoding unit 13 constructs a PES from the data included in each distributed packet. The extracted PES is supplied to the PES processing unit 31. In addition, the TS decoding unit 13 extracts the PCR stored in the option field of the adaptation field of the transport stream. Further, the TS decoding unit 13 separates and extracts the DSMCC section packet and the PSI / SI section packet. The extracted PCR, DSMCC section packet, and PSI / SI section packet are supplied to the section retention processing unit 702, respectively.

PES処理部31は、供給されたPESを、音声ストリームおよび映像ストリームに変換し、音声バッファ201および映像バッファ101に蓄積する。   The PES processing unit 31 converts the supplied PES into an audio stream and a video stream, and accumulates them in the audio buffer 201 and the video buffer 101.

セクション滞留処理部702は、DSMCCセクションパケットおよびPSI/SIセクションパケットからセクションデータを構築し、後述するAV同期部91から通知されるリファレンスクロックとPCRの比較を行い、セクションを構築するか滞留させるかどうかの判定を行う。リファレンスクロックが(PCR+10秒)より大きい場合には、セクションの破棄を行う。リファレンスクロックがPCRより小さい場合には、リファレンスクロックがPCRより大きくまるまで待つ。リファレンスクロックがPCRよりも大きくなったとき、DSMCCセクションデータをDSMCCセクション処理部51へ、PSI/SIセクションデータをPSI/SIセクション処理部501へ各セクションデータを供給する。   The section retention processing unit 702 constructs section data from the DSMCC section packet and the PSI / SI section packet, compares the reference clock notified from the AV synchronization unit 91 (to be described later) with the PCR, and constructs or retains the section. Judge whether or not. If the reference clock is larger than (PCR + 10 seconds), the section is discarded. When the reference clock is smaller than the PCR, it waits until the reference clock becomes larger than the PCR. When the reference clock becomes larger than the PCR, the DSMCC section data is supplied to the DSMCC section processing unit 51 and the PSI / SI section data is supplied to the PSI / SI section processing unit 501.

DSMCCセクション処理部51は、DSMCCセクションデータを元のBMLコンテンツファイルに変換する。   The DSMCC section processing unit 51 converts the DSMCC section data into the original BML content file.

PSI/SIセクション処理部501は、PSI/SIセクションバッファ401に供給されたPSI/SIセクションデータから放送や番組に関する情報を抽出し、選局処理部502へ供給する。   The PSI / SI section processing unit 501 extracts information about broadcasts and programs from the PSI / SI section data supplied to the PSI / SI section buffer 401 and supplies the information to the channel selection processing unit 502.

音声デコーダ42は、音声バッファ201に供給されたタイミングで、連続する音声ストリームをデコードし、音声出力部72により、連続した音声信号に変換されるため、スピーカ等によりこの音声信号に応じた滑らかな音声が出力することができる。音声出力部72は、リファレンスクロックを音声デコーダ42に通知し、音声デコーダ42は、リファレンスクロックをAV同期部91に通知する。   The audio decoder 42 decodes a continuous audio stream at the timing supplied to the audio buffer 201, and is converted into a continuous audio signal by the audio output unit 72, so that a smooth sound corresponding to the audio signal is output by a speaker or the like. Audio can be output. The audio output unit 72 notifies the audio decoder 42 of the reference clock, and the audio decoder 42 notifies the AV synchronization unit 91 of the reference clock.

AV同期部91は、音声デコーダ42から通知されるリファレンスクロックと映像デコーダ41から通知される映像ストリームのPTSを比較し、映像ストリームをデコードしてから映像信号を外部に出力するまでの処理時間分早めに映像デコーダ41に映像出力トリガを通知する。映像デコーダ41は、AV同期部91からの映像出力トリガが通知されたタイミングで、映像ストリームをデコードし、映像出力部72により、映像が出力される。また、AV同期部91は、リファレンスクロックをセクション滞留処理部702に通知する。   The AV synchronization unit 91 compares the reference clock notified from the audio decoder 42 with the PTS of the video stream notified from the video decoder 41, and processes the time from decoding the video stream to outputting the video signal to the outside. A video output trigger is notified to the video decoder 41 early. The video decoder 41 decodes the video stream at the timing when the video output trigger from the AV synchronization unit 91 is notified, and the video output unit 72 outputs the video. In addition, the AV synchronization unit 91 notifies the section stay processing unit 702 of the reference clock.

データ放送エンジン52は、DSMCCセクション処理部51から供給されたデータ放送用データの復元処理を行う。すなわち、データ放送エンジン52は、データ放送におけるBMLで記述されたBMLコンテンツファイルを抽出し、そのファイルに記述された記述コードに従って、データ放送の画像データや操作用データ等を生成し、その画像データ等によるデータ放送画像の表示やその操作に関する処理を行う。   The data broadcast engine 52 performs a data broadcast data restoration process supplied from the DSMCC section processing unit 51. That is, the data broadcast engine 52 extracts a BML content file described in BML in the data broadcast, generates data data of the data broadcast, operation data, etc. according to the description code described in the file, and the image data Processing related to the display of data broadcast images and the operation thereof is performed.

映像合成部61は、映像デコーダ41からの映像に、データ放送エンジン52からのデータ放送の画像データを合成する。映像合成部61からの合成された映像は、映像出力部71により映像信号に変換され、この映像信号が映像出力として外部に出力される。さらに、この映像信号に応じた映像が、例えば、外部のディスプレイ等の画面に表示される。なお、本実施の形態では、ディスプレイやスピーカは外部接続されるようなストリーム再生装置を例に挙げて説明するが、例えば、ディスプレイやスピーカを内蔵したような装置形態であってもよい。   The video synthesizing unit 61 synthesizes the image data of the data broadcast from the data broadcast engine 52 with the video from the video decoder 41. The synthesized video from the video synthesis unit 61 is converted into a video signal by the video output unit 71, and this video signal is output to the outside as a video output. Furthermore, a video corresponding to the video signal is displayed on a screen such as an external display, for example. In the present embodiment, a stream reproducing apparatus in which a display and a speaker are externally connected will be described as an example. However, for example, an apparatus having a built-in display and a speaker may be used.

以上説明したように、本実施の形態2において、蓄積媒体から、指示された番組のトランスポートストリームを読み出し、PCRとリファンスクロックを用いてDSMCCセクションデータおよびPSI/SIセクションデータの供給タイミングを制御することで、音声、映像、データ放送の同期再生が可能となる。   As described above, in the second embodiment, the transport stream of the designated program is read from the storage medium, and the supply timing of the DSMCC section data and the PSI / SI section data is controlled using the PCR and the reference clock. Thus, synchronized playback of audio, video, and data broadcasting becomes possible.

(実施の形態3)
図5は、本発明の実施の形態3におけるストリーム再生装置の構成を示すブロック図である。
(Embodiment 3)
FIG. 5 is a block diagram showing the configuration of the stream reproduction apparatus according to Embodiment 3 of the present invention.

本実施の形態3でも、実施の形態1と同様に、トランスポートストリームが蓄積されている蓄積部22から、指示された番組のトランスポートストリームを読み出すことで番組の再生を行うストリーム再生装置の一例を挙げて説明する。以下、図5を参照しながら、本実施の形態3の構成、およびその動作について説明する。また、実施の形態1と同一の構成要素については、同一の符号を付しているため、説明を省略する。   Also in the third embodiment, as in the first embodiment, an example of a stream reproduction device that reproduces a program by reading out the transport stream of the designated program from the accumulation unit 22 in which the transport stream is accumulated. Will be described. Hereinafter, the configuration and operation of the third embodiment will be described with reference to FIG. Further, the same constituent elements as those of the first embodiment are denoted by the same reference numerals, and the description thereof is omitted.

図5において、PSI/SIセクション処理部503は、PSI/SIセクションバッファ401に供給されたPSI/SIセクションデータからコピー制御情報を抽出し、
選局処理部504へ供給する。
In FIG. 5, the PSI / SI section processing unit 503 extracts copy control information from the PSI / SI section data supplied to the PSI / SI section buffer 401,
The channel selection processing unit 504 is supplied.

コピー制御情報を供給された選局処理部504は、コピー制御情報からコピー禁止と判断された場合、AVOUT部73に、コピー禁止を通知し、映像および音声の出力を停止させる。コピー制御情報からコピー可能と判断された場合、AVOUT部73に、コピー可能を通知し、映像および音声の出力を再開させる。   The channel selection processing unit 504 supplied with the copy control information notifies the AVOUT unit 73 of the copy prohibition when it is determined from the copy control information that the copy is prohibited, and stops the output of video and audio. If it is determined from the copy control information that copying is possible, the AVOUT unit 73 is notified that copying is possible, and the output of video and audio is resumed.

なお、(実施の形態1)、(実施の形態2)、(実施の形態3)のいずれの形態においても、トランスポートストリームから時刻情報、DSMCCセクションパケットおよびPSI/SIセクションパケットを抽出する代わりに、例えば、MPEG2規格以外の多重化されたストリームから時刻情報、データ放送用パケットおよび選局情報用パケットを抽出することでも、同様の効果が得られる。   In any of the (Embodiment 1), (Embodiment 2), and (Embodiment 3), instead of extracting time information, a DSMCC section packet, and a PSI / SI section packet from a transport stream, For example, the same effect can be obtained by extracting time information, a data broadcast packet, and a channel selection information packet from a multiplexed stream other than the MPEG2 standard.

なお、(実施の形態1)、(実施の形態2)、(実施の形態3)のいずれの形態においても、PCRの代わりに、TSデコード部12でPTS(Presentation Time Stamp)、DTS(Decoding Time Stamp)、SCR(System Clock Reference)のいずれかの時刻情報を抽出し、DSMCCセクションパケットおよびPSI/SIセクションパケットの各パケットに付与しても、同様の効果が得られることは明白である。   In any of the (Embodiment 1), (Embodiment 2), and (Embodiment 3), instead of PCR, the TS decoding unit 12 uses a PTS (Presentation Time Stamp) and a DTS (Decoding Time). It is obvious that the same effect can be obtained by extracting time information of either (Stamp) or SCR (System Clock Reference) and adding it to each packet of the DSMCC section packet and the PSI / SI section packet.

なお、(実施の形態1)、(実施の形態2)、(実施の形態3)のいずれの形態においても、セクションを破棄するかどうかの判定に使用している10秒は閾値の一例であり、求める同期精度に応じて変更してもよい。   In any of the (Embodiment 1), (Embodiment 2), and (Embodiment 3) modes, 10 seconds used for determining whether to discard a section is an example of a threshold value. Depending on the required synchronization accuracy, it may be changed.

なお、(実施の形態1)、(実施の形態2)、(実施の形態3)のいずれの形態においても、TSデコード部12や13、AV同期部91、セクション滞留処理部701や702等の各機能ブロックは典型的には集積回路であるLSIとして実現される。これらは個別に1チップ化されても良いし、一部又は全てを含むように1チップ化されても良い。   Note that in any of the (Embodiment 1), (Embodiment 2), and (Embodiment 3) modes, the TS decoding units 12 and 13, the AV synchronization unit 91, the section retention processing units 701 and 702, etc. Each functional block is typically realized as an LSI which is an integrated circuit. These may be individually made into one chip, or may be made into one chip so as to include a part or all of them.

さらには、半導体技術の進歩又は派生する別技術によりLSIに置き換わる集積回路化の技術が登場すれば、当然、その技術を用いて機能ブロックの集積化を行っても良い。   Further, if integrated circuit technology comes out to replace LSI's as a result of the advancement of semiconductor technology or a derivative other technology, it is naturally also possible to carry out function block integration using this technology.

本発明は、例えば、デジタル放送における番組を再生するストリーム再生装置、およびデジタル放送における番組を受信するとともに記録および再生機能も備えた受信装置などに利用することが可能である。   The present invention can be used for, for example, a stream reproduction device that reproduces a program in digital broadcasting, and a reception device that receives a program in digital broadcasting and also has a recording and reproduction function.

本発明の実施の形態1におけるストリーム再生装置の構成図Configuration diagram of stream reproduction apparatus according to Embodiment 1 of the present invention 再生ストリームの構成例を示す図A diagram showing a configuration example of a playback stream セクション構築処理のフローチャートSection construction process flowchart 本発明の実施の形態2におけるストリーム再生装置の構成図Configuration diagram of stream reproduction apparatus according to Embodiment 2 of the present invention 本発明の実施の形態3におけるストリーム再生装置の構成図Configuration diagram of stream reproduction apparatus according to Embodiment 3 of the present invention 従来のストリーム再生装置の構成図Configuration of conventional stream playback device

符号の説明Explanation of symbols

12,13,15 TSデコード部
21 TS読み出し処理部
22 蓄積部
23 ストリーム多重化部
31 PES処理部
41 映像デコーダ
42 音声デコーダ
51 DSMCCセクション処理部
52 データ放送エンジン
61 映像合成部
71 映像出力部
72 音声出力部
73 AVOUT部
101 映像バッファ
201 音声バッファ
301 DSMCCセクションバッファ
401 PSI/SIセクションバッファ
501,503 PSI/SIセクション処理部
502,504 選局処理部
701,702 セクション滞留処理部
12, 13, 15 TS decoding unit 21 TS read processing unit 22 Storage unit 23 Stream multiplexing unit 31 PES processing unit 41 Video decoder 42 Audio decoder 51 DSMCC section processing unit 52 Data broadcasting engine 61 Video synthesis unit 71 Video output unit 72 Audio Output unit 73 AVOUT unit 101 Video buffer 201 Audio buffer 301 DSMCC section buffer 401 PSI / SI section buffer 501, 503 PSI / SI section processing unit 502, 504 Channel selection processing unit 701, 702 Section retention processing unit

Claims (10)

蓄積媒体に記録されたトランスポートストリームを読み出すことで録画した番組の再生を行うストリーム再生装置であって、
前記トランスポートストリームから時刻情報、DSMCCセクションパケットおよびPSI/SIセクションパケットを抽出し、前記DSMCCセクションパケットおよびPSI/SIセクションパケット毎に抽出した時刻情報を付与するトランスポートストリームデコード部と、
前記トランスポートストリームデコード部で抽出されたDSMCCセクションパケットを蓄積するDSMCCセクションバッファと、
前記トランスポートストリームデコード部で抽出されたPSI/SIセクションパケットを蓄積するPSI/SIセクションバッファと、
リファレンスクロックをセクション滞留処理部に通知するAV同期部と、
前記AV同期部から通知されるリファレンスクロックと前記セクションパケットに付与された時刻情報を比較し、リファレンスクロックのほうが大きく、かつリファレンスクロックと前記セクションパケットに付与された時刻情報の差分が閾値未満の場合、前記DSMCCセクションバッファおよびPSI/SIセクションバッファに蓄積されたセクションパケットからセクションデータを構築するセクション滞留処理部を備えたことを特徴とするストリーム再生装置。
A stream playback device that plays back a recorded program by reading a transport stream recorded in a storage medium,
A transport stream decoding unit that extracts time information, a DSMCC section packet and a PSI / SI section packet from the transport stream, and adds time information extracted for each of the DSMCC section packet and the PSI / SI section packet;
A DSMCC section buffer for storing DSMCC section packets extracted by the transport stream decoding unit;
A PSI / SI section buffer for storing the PSI / SI section packets extracted by the transport stream decoding unit;
An AV synchronization unit for notifying a section clock processing unit of a reference clock;
When the reference clock notified from the AV synchronization unit and the time information given to the section packet are compared, the reference clock is larger, and the difference between the reference clock and the time information given to the section packet is less than the threshold A stream reproducing apparatus comprising: a section retention processing unit that constructs section data from section packets stored in the DSMCC section buffer and the PSI / SI section buffer.
蓄積媒体に記録されたトランスポートストリームを読み出すことで録画した番組の再生を行うストリーム再生装置であって、
前記トランスポートストリームから時刻情報、DSMCCセクションパケットおよびPSI/SIセクションパケットを抽出し、時刻情報をセクション滞留処理部に通知するトランスポートストリームデコード部と、
前記トランスポートストリームデコード部で抽出されたDSMCCセクションパケットを蓄積するDSMCCセクションバッファと、
前記トランスポートストリームデコード部で抽出されたPSI/SIセクションパケットを蓄積するPSI/SIセクションバッファと、
リファレンスクロックをセクション滞留処理部に通知するAV同期部と、
前記DSMCCセクションバッファおよびPSI/SIセクションバッファに蓄積されたセクションパケットからセクションデータを構築し、前記トランスポートストリーム部から通知される時刻情報をセクションデータに付与し、前記AV同期部から通知されるリファレンスクロックと前記セクションデータに付与された時刻情報を比較し、リファレンスクロックのほうが大きく、かつリファレンスクロックと前記セクションデータに付与された時刻情報の差分が閾値未満の場合、DSMCCセクションデータをDSMCCセクション処理部へ、PSI/SIセクションデータをPSI/SIセクション処理部へ供給する、セクション滞留処理部を備えたことを特徴とするストリーム再生装置。
A stream playback device that plays back a recorded program by reading a transport stream recorded on a storage medium,
A transport stream decoding unit for extracting time information, a DSMCC section packet and a PSI / SI section packet from the transport stream, and notifying the section retention processing unit of the time information;
A DSMCC section buffer for storing DSMCC section packets extracted by the transport stream decoding unit;
A PSI / SI section buffer for storing the PSI / SI section packets extracted by the transport stream decoding unit;
An AV synchronization unit for notifying a section clock processing unit of a reference clock;
The section data is constructed from the section packets stored in the DSMCC section buffer and the PSI / SI section buffer, the time information notified from the transport stream unit is added to the section data, and the reference notified from the AV synchronization unit Comparing the time information given to the clock and the section data, if the reference clock is larger and the difference between the time information given to the reference clock and the section data is less than the threshold, the DSMCC section data is converted to the DSMCC section processing unit. A stream reproduction apparatus comprising a section retention processing unit for supplying PSI / SI section data to the PSI / SI section processing unit.
前記AV同期部から通知されるリファレンスクロックと前記セクションパケットに付与された時刻情報を比較し、リファレンスクロックのほうが大きく、かつリファレンスクロックと前記セクションパケットに付与された時刻情報の差分が閾値以上の場合、前記DSMCCセクションパケットまたPSI/SIセクションパケットを破棄するセクション滞留処理部を備えたことを特徴とする、請求項1または請求項2のストリーム再生装置。 When the reference clock notified from the AV synchronization unit and the time information given to the section packet are compared, the reference clock is larger, and the difference between the reference clock and the time information given to the section packet is greater than or equal to a threshold value The stream reproduction apparatus according to claim 1 or 2, further comprising a section retention processing unit that discards the DSMCC section packet or the PSI / SI section packet. PSI/SIセクションからコピー制御情報を抽出し、選局処理部に通知するPSI/SIセクション処理部と、
通知されたコピー制御情報に従い、映像や音声の出力を制御する選局処理部を備えたことを特徴とする、請求項1または請求項2または請求項3のストリーム再生装置。
A PSI / SI section processing unit that extracts copy control information from the PSI / SI section and notifies the channel selection processing unit;
4. The stream reproduction apparatus according to claim 1, further comprising a channel selection processing unit that controls video and audio output in accordance with the notified copy control information.
蓄積媒体に記録されたトランスポートストリームを読み出すことで録画した番組の再生を行うストリーム再生方法であって、
前記トランスポートストリームから時刻情報、DSMCCセクションパケットおよびPSI/SIセクションパケットを抽出し、前記DSMCCセクションパケットおよびPSI/SIセクションパケット毎に抽出した時刻情報を付与するステップと、
抽出されたDSMCCセクションパケットを蓄積するステップと、
抽出されたPSI/SIセクションパケットを蓄積するステップと、
リファレンスクロックを通知するステップと、
前記リファレンスクロックと前記セクションパケットに付与された時刻情報を比較し、リファレンスクロックのほうが大きく、かつリファレンスクロックと前記セクションパケットに付与された時刻情報の差分が閾値未満の場合、蓄積されたセクションパケットからセクションデータを構築するステップとを備えたことを特徴とするストリーム再生方法。
A stream reproduction method for reproducing a recorded program by reading a transport stream recorded on a storage medium,
Extracting time information, DSMCC section packet and PSI / SI section packet from the transport stream, and adding the extracted time information for each DSMCC section packet and PSI / SI section packet;
Accumulating extracted DSMCC section packets;
Accumulating extracted PSI / SI section packets;
Notifying the reference clock;
Compare the reference clock and the time information given to the section packet, and if the reference clock is larger and the difference between the reference clock and the time information given to the section packet is less than a threshold, the accumulated section packet And a step of constructing section data.
蓄積媒体に記録されたトランスポートストリームを読み出すことで録画した番組の再生を行うストリーム再生方法であって、
前記トランスポートストリームから時刻情報、DSMCCセクションパケットおよびPSI/SIセクションパケットを抽出し、時刻情報を通知するステップと、
抽出されたDSMCCセクションパケットを蓄積するステップと、
抽出されたPSI/SIセクションパケットを蓄積するステップと、
リファレンスクロックを通知するステップと、
蓄積されたセクションパケットからセクションデータを構築し、前記時刻情報をセクションデータに付与し、前記リファレンスクロックと前記セクションデータに付与された時刻情報を比較し、リファレンスクロックのほうが大きく、かつリファレンスクロックと前記セクションデータに付与された時刻情報の差分が閾値未満の場合、DSMCCセクションデータ、PSI/SIセクションデータを供給するステップとを備えたことを特徴とするストリーム再生方法。
A stream reproduction method for reproducing a recorded program by reading a transport stream recorded on a storage medium,
Extracting time information, DSMCC section packet and PSI / SI section packet from the transport stream, and notifying time information;
Accumulating extracted DSMCC section packets;
Accumulating extracted PSI / SI section packets;
Notifying the reference clock;
The section data is constructed from the accumulated section packets, the time information is added to the section data, the time information given to the section data is compared with the reference clock, the reference clock is larger, the reference clock and the time And a step of supplying DSMCC section data and PSI / SI section data when a difference in time information given to the section data is less than a threshold.
蓄積媒体に記録されたトランスポートストリームを読み出すことで録画した番組の再生処理をコンピュータ・システム上で実行するコンピュータ・プログラムを提供するプログラム提供媒体であって、前記コンピュータ・プログラムは、
前記トランスポートストリームから時刻情報、DSMCCセクションパケットおよびPSI/SIセクションパケットを抽出し、前記DSMCCセクションパケットおよびPSI/SIセクションパケット毎に抽出した時刻情報を付与するステップと、
抽出されたDSMCCセクションパケットを蓄積するステップと、
抽出されたPSI/SIセクションパケットを蓄積するステップと、
リファレンスクロックを通知するステップと、
前記リファレンスクロックと前記セクションパケットに付与された時刻情報を比較し、リファレンスクロックのほうが大きく、かつリファレンスクロックと前記セクションパケットに付与された時刻情報の差分が閾値未満の場合、蓄積されたセクションパケットからセクションデータを構築するステップとを備えたことを特徴とするプログラム提供媒体。
A program providing medium for providing a computer program for executing on a computer system a reproduction process of a recorded program by reading a transport stream recorded in a storage medium, wherein the computer program is
Extracting time information, DSMCC section packet and PSI / SI section packet from the transport stream, and adding the extracted time information for each DSMCC section packet and PSI / SI section packet;
Accumulating extracted DSMCC section packets;
Accumulating extracted PSI / SI section packets;
Notifying the reference clock;
Compare the reference clock and the time information given to the section packet, and if the reference clock is larger and the difference between the reference clock and the time information given to the section packet is less than a threshold, the accumulated section packet A program providing medium comprising the step of constructing section data.
蓄積媒体に記録されたトランスポートストリームを読み出すことで録画した番組の再生処理をコンピュータ・システム上で実行するコンピュータ・プログラムを提供するプログラム提供媒体であって、前記コンピュータ・プログラムは、
前記トランスポートストリームから時刻情報、DSMCCセクションパケットおよびPSI/SIセクションパケットを抽出し、時刻情報を通知するステップと、
抽出されたDSMCCセクションパケットを蓄積するステップと、
抽出されたPSI/SIセクションパケットを蓄積するステップと、
リファレンスクロックを通知するステップと、
蓄積されたセクションパケットからセクションデータを構築し、前記時刻情報をセクションデータに付与し、前記リファレンスクロックと前記セクションデータに付与された時刻情報を比較し、リファレンスクロックのほうが大きく、かつリファレンスクロックと前記セクションデータに付与された時刻情報の差分が閾値未満の場合、DSMCCセクションデータ、PSI/SIセクションデータを供給するステップとを備えたことを特徴とするプログラム提供媒体。
A program providing medium for providing a computer program for executing on a computer system a reproduction process of a recorded program by reading a transport stream recorded in a storage medium, wherein the computer program is
Extracting time information, DSMCC section packet and PSI / SI section packet from the transport stream, and notifying time information;
Accumulating extracted DSMCC section packets;
Accumulating extracted PSI / SI section packets;
Notifying the reference clock;
The section data is constructed from the accumulated section packets, the time information is added to the section data, the time information given to the section data is compared with the reference clock, the reference clock is larger, the reference clock and the time A program providing medium comprising: a step of supplying DSMCC section data and PSI / SI section data when a difference in time information given to section data is less than a threshold value.
蓄積媒体に記録されたトランスポートストリームを読み出すことで録画した番組を再生する制御を再生装置内で実行する集積回路であって、
前記トランスポートストリームから時刻情報、DSMCCセクションパケットおよびPSI/SIセクションパケットを抽出し、前記DSMCCセクションパケットおよびPSI/SIセクションパケット毎に抽出した時刻情報を付与するトランスポートストリームデコード部と、
前記トランスポートストリームデコード部で抽出されたDSMCCセクションパケットを蓄積するDSMCCセクションバッファと、
前記トランスポートストリームデコード部で抽出されたPSI/SIセクションパケットを蓄積するPSI/SIセクションバッファと、
リファレンスクロックをセクション滞留処理部に通知するAV同期部と、
前記AV同期部から通知されるリファレンスクロックと前記セクションパケットに付与された時刻情報を比較し、リファレンスクロックのほうが大きく、かつリファレンスクロックと前記セクションパケットに付与された時刻情報の差分が閾値未満の場合、前記DSMCCセクションバッファおよびPSI/SIセクションバッファに蓄積されたセクションパケットからセクションデータを構築するセクション滞留処理部を備えたことを特徴とする集積回路。
An integrated circuit that executes control within a playback device to play back a recorded program by reading a transport stream recorded on a storage medium,
A transport stream decoding unit that extracts time information, a DSMCC section packet and a PSI / SI section packet from the transport stream, and adds time information extracted for each of the DSMCC section packet and the PSI / SI section packet;
A DSMCC section buffer for storing DSMCC section packets extracted by the transport stream decoding unit;
A PSI / SI section buffer for storing the PSI / SI section packets extracted by the transport stream decoding unit;
An AV synchronization unit for notifying a section clock processing unit of a reference clock;
When the reference clock notified from the AV synchronization unit and the time information given to the section packet are compared, the reference clock is larger, and the difference between the reference clock and the time information given to the section packet is less than the threshold An integrated circuit comprising a section retention processing unit for constructing section data from section packets stored in the DSMCC section buffer and PSI / SI section buffer.
蓄積媒体に記録されたトランスポートストリームを読み出すことで録画した番組を再生する制御を再生装置内で実行する集積回路であって、
前記トランスポートストリームから時刻情報、DSMCCセクションパケットおよびPSI/SIセクションパケットを抽出し、時刻情報をセクション滞留処理部に通知するトランスポートストリームデコード部と、
前記トランスポートストリームデコード部で抽出されたDSMCCセクションパケットを蓄積するDSMCCセクションバッファと、
前記トランスポートストリームデコード部で抽出されたPSI/SIセクションパケットを蓄積するPSI/SIセクションバッファと、
リファレンスクロックをセクション滞留処理部に通知するAV同期部と、
前記DSMCCセクションバッファおよびPSI/SIセクションバッファに蓄積されたセクションパケットからセクションデータを構築し、前記トランスポートストリーム部から通知される時刻情報をセクションデータに付与し、前記AV同期部から通知されるリファレンスクロックと前記セクションデータに付与された時刻情報を比較し、リファレンスクロックのほうが大きく、かつリファレンスクロックと前記セクションデータに付与された時刻情報の差分が閾値未満の場合、DSMCCセクションデータをDSMCCセクション処理部へ、PSI/SIセクションデータをPSI/SIセクション処理部へ供給する、セクション滞留処理部を備えたことを特徴とする集積回路。
An integrated circuit that executes control within a playback device to play back a recorded program by reading a transport stream recorded on a storage medium,
A transport stream decoding unit for extracting time information, a DSMCC section packet and a PSI / SI section packet from the transport stream, and notifying the section retention processing unit of the time information;
A DSMCC section buffer for storing DSMCC section packets extracted by the transport stream decoding unit;
A PSI / SI section buffer for storing the PSI / SI section packets extracted by the transport stream decoding unit;
An AV synchronization unit for notifying a section clock processing unit of a reference clock;
The section data is constructed from the section packets stored in the DSMCC section buffer and the PSI / SI section buffer, the time information notified from the transport stream unit is added to the section data, and the reference notified from the AV synchronization unit Comparing the time information given to the clock and the section data, if the reference clock is larger and the difference between the time information given to the reference clock and the section data is less than the threshold, the DSMCC section data is converted to the DSMCC section processing unit. An integrated circuit comprising a section retention processing section for supplying PSI / SI section data to the PSI / SI section processing section.
JP2007284999A 2007-11-01 2007-11-01 Stream reproducing device Pending JP2009111955A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007284999A JP2009111955A (en) 2007-11-01 2007-11-01 Stream reproducing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007284999A JP2009111955A (en) 2007-11-01 2007-11-01 Stream reproducing device

Publications (1)

Publication Number Publication Date
JP2009111955A true JP2009111955A (en) 2009-05-21

Family

ID=40779908

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007284999A Pending JP2009111955A (en) 2007-11-01 2007-11-01 Stream reproducing device

Country Status (1)

Country Link
JP (1) JP2009111955A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011035455A (en) * 2009-07-29 2011-02-17 Toshiba Corp Broadcast recording device and broadcast recording method
JP2011077678A (en) * 2009-09-29 2011-04-14 Toshiba Corp Data stream processor, video device, and data stream processing method
JP2016171428A (en) * 2015-03-12 2016-09-23 ソニー株式会社 Information processing unit, communication system, information processing method and program

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011035455A (en) * 2009-07-29 2011-02-17 Toshiba Corp Broadcast recording device and broadcast recording method
JP2011077678A (en) * 2009-09-29 2011-04-14 Toshiba Corp Data stream processor, video device, and data stream processing method
JP2016171428A (en) * 2015-03-12 2016-09-23 ソニー株式会社 Information processing unit, communication system, information processing method and program
US10477268B2 (en) 2015-03-12 2019-11-12 Sony Corporation Information processing apparatus, communication system, information processing method and non-transitory computer readable medium

Similar Documents

Publication Publication Date Title
US7266288B2 (en) Video/audio playback apparatus and video/audio playback method
JP2004297577A (en) Image reproducing device
JP4229035B2 (en) Recording / reproducing apparatus and method, reproducing apparatus and method, recording apparatus and method, and program
KR20050023332A (en) Robust method for achieving audio/video synchronization in mpeg decoders in personal video recording applications
US7865064B2 (en) Recording/output apparatus and recording/output method
US20040233996A1 (en) Reproducing apparatus and method, and recording medium
US20070248123A1 (en) Method and apparatus for compensating audio/video synchronization
JP5283914B2 (en) Display control apparatus and display control method
JP2009111955A (en) Stream reproducing device
JP2007259313A (en) Stream reproduction method and reproduction apparatus
JP4741825B2 (en) Broadcast receiving apparatus, broadcast receiving method, and broadcast receiving program
JP2006148679A (en) Data processing device
JP2008289077A (en) Reception apparatus and method, and program
WO2004086396A1 (en) Reproducing apparatus and method, and recording medium
KR20050073214A (en) Fabrication of pvr and dmb receiver with pvr
JP5244764B2 (en) Digital broadcast receiving apparatus and program
JP2001111943A (en) Recording and reproducing device
KR100670588B1 (en) Recording signal processing apparatus and control method thereof
KR100782196B1 (en) (an) image display device for having time shift function and method for playing of the same
JP4941128B2 (en) Video processing device
JP5016335B2 (en) Playback apparatus and playback method
JP2013115775A (en) Electronic apparatus and reproduction method
JP2008252832A (en) Receiver, data stream output apparatus, broadcasting system, control method of receiver, control method of data stream output apparatus, control program and recording medium
JP2008153955A (en) Video recording and reproducing device, and its method for special reproduction
JP2004228627A (en) Data processing apparatus, data reproducing apparatus, data processing method, and data reproducing method