JP3885068B2 - Digital data receiving apparatus, digital data receiving method, and computer program - Google Patents
Digital data receiving apparatus, digital data receiving method, and computer program Download PDFInfo
- Publication number
- JP3885068B2 JP3885068B2 JP2004186667A JP2004186667A JP3885068B2 JP 3885068 B2 JP3885068 B2 JP 3885068B2 JP 2004186667 A JP2004186667 A JP 2004186667A JP 2004186667 A JP2004186667 A JP 2004186667A JP 3885068 B2 JP3885068 B2 JP 3885068B2
- Authority
- JP
- Japan
- Prior art keywords
- stream
- packet
- pcr
- multiplexed
- mpeg2ts
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4347—Demultiplexing of several video streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/23614—Multiplexing of additional data and video streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/2365—Multiplexing of several video streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4344—Remultiplexing of multiplex streams, e.g. by modifying time stamps or remapping the packet identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4348—Demultiplexing of additional data and video streams
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Television Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Time-Division Multiplex Systems (AREA)
Description
本発明は、デジタルデータ受信装置、デジタルデータ受信方法、及びコンピュータプログラムに関し、特に、MPEG2のストリームと、任意のデータとを、時分割多重するために用いて好適なものである。 The present invention relates to a digital data receiving apparatus, a digital data receiving method, and a computer program, and is particularly suitable for use in time division multiplexing of an MPEG2 stream and arbitrary data.
MPEG2のTS(Transport Stream;トランスポートストリーム)には、PCR(Program Clock Reference)と呼ばれる基準クロック情報(MPEG2のPS(Program Stream;プログラムストリーム)ではSCR(System Clock Reference))と、DTS(Decode Time Stamp)・PTS(Presentation Time Stamp)と呼ばれる復号時刻・表示時刻のプログラム同期情報が含まれている。送信側が想定したプログラムの同期を取るために、受信側はシステムのクロックをPCRに基づいて補正する必要がある。 MPEG2 TS (Transport Stream; Transport Stream) includes reference clock information called PCR (Program Clock Reference) (SCR (System Clock Reference) of MPEG2 (System Stream Reference)) and DTS (DecodeTime). Program synchronization information of decoding time and display time called “Stamp) · PTS (Presentation Time Stamp)” is included. In order to synchronize the program assumed by the transmission side, the reception side needs to correct the system clock based on the PCR.
システムクロックの補正には2種類あり、PCRで示される送信側のクロック値を受信側にセットする補正と、送信側が想定したPCR到着時刻と実際のPCR到着時刻との差を、PCR揺らぎとして検出し、システムクロック周波数を所定の範囲内で上下させて行う補正である。本明細書においては、前者の、送信側のクロック値(PCRカウンタ値)を受信側のクロック値にあわせる操作を「PCR基準時刻補正」と記述し、後者のPCRの揺らぎ補正を「PCR揺らぎ補正」と記述することにする。 There are two types of system clock correction, and the difference between the PCR arrival time assumed by the transmission side and the actual PCR arrival time is detected as a PCR fluctuation. The correction is performed by raising and lowering the system clock frequency within a predetermined range. In the present specification, the former operation for adjusting the clock value on the transmitting side (PCR counter value) to the clock value on the receiving side is described as “PCR reference time correction”, and the latter PCR fluctuation correction is referred to as “PCR fluctuation correction”. ".
受信装置がMPEG2のTS(以下、「MPEG2TS」と表す)を受信したあと、外部入力装置から入力されたJPEGやDV(Digital Video)等の他のデータと同時にMPEG2TSを伝送したいという要求は、入力を管理する入力管理部と、データを処理する信号処理部との間に伝送路が介在する場合に考えられる。しかし、上記のようにMPEG2TSは、PCRの到着時刻によってPCR基準時刻補正や、PCR揺らぎ補正を行うため、MPEG2TSと任意のデータを時分割多重することは容易ではない。ここで任意のデータとは、画像データ、音声データ、制御系データ等である。 After the receiving device receives an MPEG2 TS (hereinafter referred to as “MPEG2TS”), a request to transmit MPEG2 TS simultaneously with other data such as JPEG and DV (Digital Video) input from an external input device is input This is conceivable in the case where a transmission path is interposed between the input management unit that manages the data and the signal processing unit that processes the data. However, since MPEG2TS performs PCR reference time correction and PCR fluctuation correction according to the arrival time of PCR as described above, it is not easy to time-division multiplex MPEG2TS and arbitrary data. Here, the arbitrary data is image data, audio data, control system data, and the like.
一般的には、MPEG2TSをある処理部から別の処理部に転送する場合には、伝送路をMPEG2TSで占有して、MPEG2TSと他のデータの並行転送を行わないことにするか、伝送路を他のデータと共有する場合は、PCRを用いたプログラム同期を行わないことにしてプログラム同期情報を破棄する。従来技術でMPEG2TSと並行にJPEGやDVの情報を送りつつ、PCR等の同期情報も反映させる一般的な手法は、MPEG2TSをいったんデマルチプレックスし、JPEGやDVを含めて再度MPEG2TSにマルチプレックスしなおすというもので、処理量・使用メモリともに大きくなるという問題点があった。 In general, when MPEG2TS is transferred from one processing unit to another processing unit, the transmission path is occupied by MPEG2TS, and MPEG2TS and other data are not transferred in parallel. When sharing with other data, the program synchronization information is discarded by not performing the program synchronization using the PCR. A general technique for reflecting the synchronization information such as PCR while sending JPEG and DV information in parallel with MPEG2TS in the prior art is to demultiplex MPEG2TS once and then multiplex it again to MPEG2TS including JPEG and DV. However, there is a problem that both the processing amount and the memory used increase.
特開2000−183841号公報では、デマルチプレックスせずに複数のTSを1本のTSに多重化する手法を与えているが、MPEG2TSと任意のデータの多重化については触れておらず、任意のデータに対して応用することもできない。 Japanese Patent Laid-Open No. 2000-183841 gives a technique for multiplexing a plurality of TSs into one TS without demultiplexing, but does not mention multiplexing of MPEG2 TS and arbitrary data. It cannot be applied to other data.
本発明は、前述の問題点に鑑みてなされたものであり、MPEG2ストリームとその他のデータを、プログラム同期を保ちつつ並行に転送できるようにすることを目的とする。 The present invention has been made in view of the above-described problems, and an object thereof is to enable MPEG2 streams and other data to be transferred in parallel while maintaining program synchronization.
本発明のデジタルデータ受信装置は、複数のMPEG2トランスポートストリームと、複数の任意のデータを、前記MPEG2トランスポートストリームのデータパケットサイズである188Byteに分割するとともに、前記MPEG2トランスポートストリームのSYNCパターンを、多重化するパケットの内容毎に異なるパターンに変更して付加し、多重化ストリームを作成するマルチプレクサと、前記マルチプレクサにより作成された多重化ストリームを分離するデマルチプレクサとを具備し、前記多重化するパケットの内容毎に異なるSYNCパターンは、あらかじめ定められた各ストリームを示すパターンに、前記MPEG2トランスポートストリームの間に挿入された前記任意のデータのパケット数を加えたパターンであることを特徴とする。 The digital data receiving apparatus of the present invention divides a plurality of MPEG2 transport streams and a plurality of arbitrary data into 188 bytes, which is a data packet size of the MPEG2 transport stream, and converts the SYNC pattern of the MPEG2 transport stream. A multiplexer that changes and adds a different pattern for each content of a packet to be multiplexed to create a multiplexed stream, and a demultiplexer that separates the multiplexed stream created by the multiplexer, and performs the multiplexing The SYNC pattern that differs for each packet content is a pattern obtained by adding the number of packets of the arbitrary data inserted between the MPEG2 transport streams to a predetermined pattern indicating each stream. The features.
本発明のデジタルデータ受信方法は、複数のMPEG2トランスポートストリームと、複数の任意のデータを、前記MPEG2トランスポートストリームのデータパケットサイズである188Byteに分割するとともに、前記MPEG2トランスポートストリームのSYNCパターンを、多重化するパケットの内容毎に異なるパターンに変更して付加し、多重化ストリームを作成する多重化ストリーム作成ステップと、前記多重化ストリーム作成ステップにより作成された多重化ストリームを分離する多重化ストリーム分離ステップとを具備し、前記多重化するパケットの内容毎に異なるSYNCパターンは、あらかじめ定められた各ストリームを示すパターンに、前記MPEG2トランスポートストリームの間に挿入された前記任意のデータのパケット数を加えたパターンであることを特徴とする。 The digital data receiving method of the present invention divides a plurality of MPEG2 transport streams and a plurality of arbitrary data into 188 bytes which is a data packet size of the MPEG2 transport stream, and converts the SYNC pattern of the MPEG2 transport stream. A multiplexed stream creating step for creating a multiplexed stream by adding different patterns depending on the contents of packets to be multiplexed, and a multiplexed stream for separating the multiplexed stream created by the multiplexed stream creating step A SYNC pattern that differs depending on the contents of the packet to be multiplexed is a predetermined pattern indicating each stream, and the arbitrary data inserted between the MPEG2 transport streams. Characterized in that it is a pattern obtained by adding the number of packets data.
本発明のコンピュータプログラムは、複数のMPEG2トランスポートストリームと、複数の任意のデータを、前記MPEG2トランスポートストリームのデータパケットサイズである188Byteに分割するとともに、前記MPEG2トランスポートストリームのSYNCパターンを、多重化するパケットの内容毎に異なるパターンに変更して付加し、多重化ストリームを作成する多重化ストリーム作成ステップと、前記多重化ストリーム作成ステップにより作成された多重化ストリームを分離する多重化ストリーム分離ステップとをコンピュータに実行させ、前記多重化するパケットの内容毎に異なるSYNCパターンは、あらかじめ定められた各ストリームを示すパターンに、前記MPEG2トランスポートストリームの間に挿入された前記任意のデータのパケット数を加えたパターンであることを特徴とする。 The computer program of the present invention divides a plurality of MPEG2 transport streams and a plurality of arbitrary data into 188 bytes which are the data packet size of the MPEG2 transport stream, and multiplexes the SYNC pattern of the MPEG2 transport stream. A multiplexed stream creating step for creating a multiplexed stream by adding a different pattern for each packet content to be converted, and a multiplexed stream separating step for separating the multiplexed stream created by the multiplexed stream creating step The SYNC pattern that differs depending on the content of the packet to be multiplexed is inserted between the MPEG2 transport streams into a predetermined pattern indicating each stream. Characterized in that it is a pattern obtained by adding the number of packets of said arbitrary data.
本発明によれば、既存の装置の送信側・受信側にわずかな修正を加えるだけで、プログラム同期を保ちつつMPEG2のストリームとその他のデータとを並行に転送することができるようになる。また、複数のMPEG2のストリームについても並行に転送することができるようになる。 According to the present invention, an MPEG2 stream and other data can be transferred in parallel while maintaining program synchronization, with only a slight modification to the transmission side and reception side of an existing apparatus. Also, a plurality of MPEG2 streams can be transferred in parallel.
(第1の実施の形態)
以下、本発明の第1の実施の形態を、図面を用いて説明する。図1は、本実施の形態に係るデジタル放送受信装置の構成の一例を示すブロック図である。
(First embodiment)
Hereinafter, a first embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing an example of the configuration of a digital broadcast receiving apparatus according to this embodiment.
本実施の形態では、チューナから入力されたMPEG2TSと、デジタルカメラから入力されたJPEGと、DVから入力されたDVストリームとを、信号受信部で受信し、時分割多重して信号処理部へ伝送し、信号処理部でMPEG2TS・JPEG・DVのデコードを行い、出力画像を合成して表示する。 In this embodiment, the MPEG2TS input from the tuner, the JPEG input from the digital camera, and the DV stream input from the DV are received by the signal receiving unit, and are time-division multiplexed and transmitted to the signal processing unit. Then, MPEG2TS / JPEG / DV is decoded by the signal processing unit, and the output image is synthesized and displayed.
図1において、101はデジタル放送波を受信するアンテナ、102は本システムにおける信号受信部(本発明のデジタルデータ送信装置に相当するものでもある)、103はデジタル放送受信チューナ、104はデジタルカメラ等の入出力インタフェースとして配設されるUSBインタフェース、105はDV等の入出力インタフェースとして配設されるIEEE1394インタフェースである。
In FIG. 1, 101 is an antenna for receiving a digital broadcast wave, 102 is a signal receiving unit in this system (also corresponding to the digital data transmitting apparatus of the present invention), 103 is a digital broadcast receiving tuner, 104 is a digital camera, etc. A
106は、デジタル放送受信チューナ103や各種インタフェース104、105から入力された各種データ列を、パケット到着時刻補正情報を付加しながら時分割多重するマルチプレクサである。108は本システムにおける信号処理部(本発明のデジタルデータ受信装置に相当するものでもある)、107は、信号受信部102から信号処理部108へ信号を伝送する伝送路、109は、マルチプレクサ106で多重化した時分割多重データを分解するデマルチプレクサである。110は、マルチプレクサ106で付加したパケット到着時刻補正情報に基づきシステムクロックを補正するPCR補正部、111はMPEG2の復号を行うMPEG2復号部、112はJPEGの復号を行うJPEG復号部、113はDVの復号を行うDV復号部である。114は、MPEG2復号部111、JPEG復号部112、DV復号部113の出力する画像を画面内に合成する合成部、115はディスプレイ等の画像表示装置(出力装置)である。
アンテナ101で受信されたデジタル放送信号と、デジタルカメラからの画像信号と、DVC(Digital Video Camera)からのDV信号は、本システムにおける信号受信部102で受信される。信号受信部102は、ユーザの入力・データの入力等に基づく入力信号を処理する処理部である。信号受信部102はデジタル放送受信チューナ103、USBインタフェース104、IEEE1394インタフェース105を持ち、それぞれがデジタル放送のMPEG2、デジタルカメラからのJPEG、DVCからのDVストリームを受信する。受信した信号はマルチプレクサ106に送られ、多重化される。
A digital broadcast signal received by the
多重化パケット形式は、たとえば図2のようなものである。図2において、116はパケットの先頭識別のためのSYNC領域、117はパケットにArrival_Reviseが付加されているかどうかを示すArrival_Revise_Flag領域である。118はこのパケットのPayload領域121に格納されているデータの種類を示すStream_Type領域、119はストリームの番号を示すStream_Id領域、120はPCRの補正情報を示すArrival_Revise領域、121は各データの実態が格納されるPayload領域である。
The multiplexed packet format is, for example, as shown in FIG. In FIG. 2,
デジタル放送受信チューナ103や各種インタフェース104、105から入力されたストリームのデータがPayload領域121に入り、それに各種ヘッダ116〜120が付加される形である。特に、Arrival_Revise領域120における情報は、パケット到着時刻の情報であり、重要である。本実施の形態では、付加される情報は、本来のMPEG2パケットの間に挿入されたJPEGのパケットおよびDVのパケットの数である。
Stream data input from the digital
マルチプレクサ106で多重化した信号は、伝送路107を通してシステムの信号処理部108に送られる。伝送路107の帯域は任意である。信号処理部108は、伝送路107から入力された信号群をデコードして出力する処理部である。
The signal multiplexed by the
デマルチプレクサ109は、マルチプレクサ106によってマルチプレックスされたパケットを受け取り、分解処理を行う。また、デマルチプレクサ109は、本来のTSパケットに付加されているPCR情報と、マルチプレクサ106で付加されたパケット到着時刻補正情報、つまり、間に挿入されたパケット数と、伝送路107のビットレートから、PCRの補正値を計算し、PCR補正部110に送る。
The
PCR補正部110は、その情報からシステムクロックをPCR揺らぎ補正する。PCR基準時刻補正が行われていない状態であれば、システムクロックをPCR基準時刻補正する。MPEG2復号部111は、通常のMPEG2復号を行い、PCR補正部110で補正したシステムクロックに基づき映像および音声を出力する。JPEG復号部112、DV復号部113は一般的なものでよい。出来が上がった画像群は、合成部114で合成され、マルチ画面として画像表示装置(出力装置)115から出力される。
The
マルチプレクサ106の動作について具体的に述べる。マルチプレクサ106は、デジタル放送受信チューナ103及び入出力インタフェース104、105からの入力を受け取り、それぞれのデータから図2のような固定サイズのパケット形式のデータにする。パケットサイズは任意でよい。各ストリーム本体はPayload領域121に配置される。パケットは適当な順番に並べられ、伝送路107から出力される。パケットの順番は適当でよく、本実施の形態では、デジタル放送受信チューナ103及び入出力インタフェース104、105から入力された順番に配置することとする。多重化の模式図を図3に示す。
The operation of the
図3において、122は本来のMPEG2TSストリーム、123は本来のJPEGストリーム、124は本来のDVストリーム、125は本実施の形態により生成される多重化ストリーム、126は第1のMPEG2TSパケット、127は第1のJPEGパケット、128は第1のDVパケット、129は第2のMPEG2TSパケット、130は第3のMPEG2TSパケットである。 In FIG. 3, 122 is the original MPEG2TS stream, 123 is the original JPEG stream, 124 is the original DV stream, 125 is the multiplexed stream generated by this embodiment, 126 is the first MPEG2TS packet, and 127 is the first MPEG2TS packet. 1 is a JPEG packet, 128 is a first DV packet, 129 is a second MPEG2TS packet, and 130 is a third MPEG2TS packet.
マルチプレクサ106の付加する情報と、それに基づくデマルチプレクサ109とPCR補正部110の動作をより具体的に説明する。
マルチプレクサ106で付加する情報は、多重化した情報をデマルチプレクサ109が分解できるように付加する情報と、パケット到着時刻補正情報として付加する情報の2種類である。
Information added by the
There are two types of information added by the multiplexer 106: information added so that the multiplexed information can be decomposed by the
前者としては、パケットの先頭を認識するSYNC情報(SYNC領域116)と、パケットのPayload領域121に入っているストリームの型(MPEG2TS、JPEG、DV等)を示す情報(Stream_Type領域118)と、ストリームの番号(MPEG2TSの3番、JPEGの2番等)を示す情報(Stream_Id領域119)を付加する。前記SYNC情報は、あらかじめ決められた任意の値でよいが、0x47はMPEG2TSの識別子なので避けるべきである。
As the former, SYNC information for recognizing the head of the packet (SYNC area 116), information indicating the type of stream (MPEG2TS, JPEG, DV, etc.) contained in the packet payload area 121 (Stream_Type area 118), stream Information (Stream_Id area 119) is added to the file number (
後者としては、パケット到着時刻補正情報がパケットに付加されているかどうかを示す情報(Arrival_Revise_Flag領域117)と、パケット到着時刻補正情報本体(Arrival_Revise領域120)がある。 The latter includes information indicating whether or not packet arrival time correction information is added to the packet (Arrival_Revise_Flag area 117) and packet arrival time correction information main body (Arrival_Revise area 120).
パケット到着時刻補正情報が示されているArrival_Revise領域120には、本来のMPEG2TSパケットの間に挿入された任意のパケットの個数がマルチプレクサ106で付加される。たとえば、図3の例であれば、第1のMPEG2TSパケット126と第2のMPEG2TSパケット129は、本来のMPEG2TSストリーム122上では連続したパケットである。しかしながら、マルチプレクサ106により、第1のMPEG2TSパケット126と第2のMPEG2TSパケット129との間に、第1のJPEGパケット127と、第1のDVパケット128が挿入されているため、第2のMPEG2TSパケット129のArrival_Revise領域120に「2」という数値が付加される。
The number of arbitrary packets inserted between the original MPEG2 TS packets is added by the
デマルチプレクサ109は、マルチプレクサ105の付加した、多重化分解用情報に基づきデマルチプレックスを行うと共に、パケット到着時刻補正情報に基づいてPCRの示すパケット到着時刻を補正する。具体的には、Arrival_Revise領域120で示された値とパケットサイズ、ビットレートから、PCRの示す本来の到着時刻を遅延させたPCR値に補正する。たとえば、図3の例では、Arrival_Revise領域120で示された値を2packet、パケットサイズを256Byte、ビットレートを30Mbps(=30×1024×1024÷8Byte/sec=3932160Byte/sec)とすると、PCR補正値ΔPCRは、以下の(1式)のようになる。
The
ΔPCR[sec]=2[packet]×256[Byte]/3932160[Byte/sec]≒0.0001302[sec]・・・(1式)
PCRのカウンタ値ΔPCR(図3の2packet遅延分)は、27MHz精度なので、実際のPCR値を補正する値は、以下の(2式)のようになる。
ΔPCR[カウンタ値]=0.0001302[sec]×27000000[Hz]≒3515[カウンタ値]・・・(2式)
よって、第2のMPEG2TSパケット129のPCR値は、図3に示すように、本来のPCR(=13000)+2packet遅延分(=3515)で表せるので、13000に3515を加算した16515となる。
ΔPCR [sec] = 2 [packet] × 256 [Byte] / 3932160 [Byte / sec] ≈0.0001302 [sec] (1 formula)
Since the PCR counter value ΔPCR (2 packet delay in FIG. 3) has an accuracy of 27 MHz, the value for correcting the actual PCR value is as shown in (Formula 2) below.
ΔPCR [counter value] = 0.0001302 [sec] × 27000000 [Hz] ≈3515 [counter value] (2 formulas)
Therefore, as shown in FIG. 3, the PCR value of the second
パケット到着時刻補正情報で補正されたPCR値と、実際の到着時刻とを用いて、PCR揺らぎ量を計算し、PCR補正部110はシステムクロックをPCR揺らぎ補正する。PCR基準時刻補正もここで行う。また、MPEG2復号部111や合成部114は復号・表示のためにPTS・DTSを必要とするが、デマルチプレクサ109はPCRを補正した補正値及びPTS・DTSの値を保持しており、MPEG2復号部111・合成部114からのPTS・DTS問い合わせに対してPCRと同様に補正した値を通知する。図3の例では、第3のMPEG2TSパケット130は、本来14000というPTSを持っているが、PCRが上記計算式に基づいて補正されていることを受けて、同様に補正される。実際のPTS値は、14000に3515を加算した17515となる。
The PCR fluctuation amount is calculated using the PCR value corrected by the packet arrival time correction information and the actual arrival time, and the
以上のように構成して処理することで、プログラム同期情報を保ちつつ、MPEG2TSと任意のデータを多重することが可能となる。また、複数のMPEGTSについても、プログラム同期情報を保ちつつ多重することが可能となる。 By configuring and processing as described above, MPEG2TS and arbitrary data can be multiplexed while maintaining program synchronization information. Also, a plurality of MPEGTS can be multiplexed while maintaining the program synchronization information.
なお、本実施の形態では、簡単のため伝送路107のビットレートと各入力ストリームの想定するビットレートとを同一としたが、実際はこのようにならない場合もある。その場合は、まず伝送路107のビットレートとストリームの想定するビットレートの違いから到着時刻の補正を行う必要があるが、本実施の形態で説明した手法で補正が可能である。
In the present embodiment, for simplicity, the bit rate of the
また、本実施の形態では、マルチプレクサ106で挿入した新規パケットの数をそのまま用いてパケット到着時刻の補正を行うようにしたが、パケット到着時刻の補正の手段はこれに限らない。例えば、前述したデマルチプレクサ109側で行っている計算結果をマルチプレクサ106側で行い、パケット上に記述してもよい。
この場合、パケット到着時刻補正情報は、例えば、第2のMPEG2TSパケット129に付加されているPCRを、第1のMPEG2TSパケット126と第2のMPEG2TSパケット129の間に挿入されたパケットの数に基づく情報に基づいて補正した情報になる。
In this embodiment, the number of new packets inserted by the
In this case, the packet arrival time correction information is based on, for example, the number of packets inserted between the
さらに、本実施の形態が示すものは本発明の一つの例であり、本発明を限定するものではない。システム構成、多重パケットの構成は本発明の趣旨に基づくものであれば変更可能である。
また、本実施の形態では、MPEG2TSを例に挙げて説明したが、MPEG2PSを用いても前述したのと同様にして処理することができる。
Furthermore, what this embodiment shows is an example of the present invention, and does not limit the present invention. The system configuration and the multiplex packet configuration can be changed as long as they are based on the spirit of the present invention.
In the present embodiment, MPEG2TS has been described as an example. However, even if MPEG2PS is used, processing can be performed in the same manner as described above.
(第2の実施の形態)
以下、本発明の第2の実施の形態を、図面を用いて説明する。図4は、本実施の形態に係るデジタル放送受信装置の構成の一例を示すブロック図である。
(Second Embodiment)
Hereinafter, a second embodiment of the present invention will be described with reference to the drawings. FIG. 4 is a block diagram showing an example of the configuration of the digital broadcast receiving apparatus according to this embodiment.
本実施の形態では、録画番組が記憶されているハードディスクから入力された3つのMPEG2TSを信号受信部で受信し、時分割多重して信号処理部へ伝送し、信号処理部で3つのMPEG2TSのデコードを行い、出力画像を合成して表示する。 In the present embodiment, three MPEG2TSs input from a hard disk in which a recorded program is stored are received by the signal receiving unit, time-division multiplexed, transmitted to the signal processing unit, and the MPEG2TS decoded by the signal processing unit. The output image is synthesized and displayed.
図4において、201はデジタル放送を記憶しておくハードディスク(HDD)、202はハードディスクコントローラ(HDDコントローラ)、203は本システムにおける信号受信部、204はハードディスクから読み出したTSを保持するTS保持メモリである。205は、TS保持メモリ204から読み出す複数のTSを、パケット到着時刻補正情報及びストリーム間PCR差分情報を付加しながら時分割多重するマルチプレクサである。207は本システムにおける信号処理部、206は信号受信部203から信号処理部207へ信号を伝送する伝送路、208はマルチプレクサ205の多重した時分割多重データを分解するデマルチプレクサである。209は、マルチプレクサ205で付加したパケット到着時刻補正情報及びストリーム間PCR差分情報に基づきシステムクロックを補正するPCR補正部、210はMPEG2の各種ESを復号するMPEG2復号部である。211は、MPEG2復号部210の出力する画像を画面内に合成する合成部、212はディスプレイ等の画像表示装置(出力装置)である。
In FIG. 4, 201 is a hard disk (HDD) for storing digital broadcasts, 202 is a hard disk controller (HDD controller), 203 is a signal receiving unit in this system, and 204 is a TS holding memory for holding TS read from the hard disk. is there.
ユーザが、ハードディスク201に記憶された複数のMPEG2TS番組を選択すると、HDDコントローラ202を介して本システムにおける信号受信部203に複数のTSが入力される。信号受信部203は、TS保持メモリ204とマルチプレクサ205を有して構成される。TS保持メモリ204には、ハードディスクコントローラ202から入力された各MPEG2TSストリームを蓄積する。本実施の形態では、3つのTSを入力した状態を想定してTS保持メモリ204を3つ示してあるが、模式的な図でありTS保持メモリは論理的に3つの領域があればよい。
When the user selects a plurality of MPEG2 TS programs stored in the
ここで、マルチプレクサ205の作成するパケットの例を図5に示す。
図5において、第1の実施の形態と同一の意味を持つ領域には、図2に付した符号と同一の符号を付して、詳細な説明を省略する。213はストリーム間PCR差分情報として付加されるテーブルのサイズを示すPcr_Offset_Table_Size領域、214はストリーム間PCR差分情報を示すPcr_Offset_Table領域である。
An example of a packet created by the
In FIG. 5, regions having the same meaning as in the first embodiment are denoted by the same reference numerals as those in FIG. 2, and detailed description thereof is omitted.
各MPEG2TSの実態はPayload領域121に入り、それに各種ヘッダ116〜120と、Pcr_Offset_Table_Size領域213と、Pcr_Offset_Table領域214とが付加されているような形である。ヘッダ情報には、パケット到着時刻補正情報として、Arrival_Revise領域120が付加される。本実施の形態では、付加される情報は、本来のMPEG2TSパケットの間に挿入された別のMPEG2TSパケットの数である。
The actual state of each MPEG2TS is in a
また、Pcr_Offset_Table領域214には、ストリーム間PCR差分情報として、それぞれのMPEG2TSがもつPCR間の差分値をテーブルとして付加する。Pcr_Offset_Table領域214のパケット中のサイズを確定するために、Pcr_Offset_Table_Size領域213に、テーブルのサイズを付加する。
In addition, in the
マルチプレクサ205で多重化した信号は、伝送路206を通してシステムの信号処理部207に送られる。伝送路206の帯域は任意である。信号処理部207は、伝送路206から入力された信号群をデコードして出力する処理部である。
The signal multiplexed by the
デマルチプレクサ208は、マルチプレクサ205で多重化したパケットを分解するとともに、パケット到着時刻補正情報(Arrival_Revise領域120)に基づき、パケット到着時刻を示すPCR値を補正する。
The
また、デマルチプレクサ208は、ユーザもしくはシステムにより選択された、システムクロックを補正するための基準となるMPEG2TSの、パケット到着時刻補正情報により補正されたPCR値をPCR補正部209に送る。システムクロックは単一であり、PCR揺らぎ補正の基準とするストリームは、たとえ複数のMPEG2TSがあっても1つのみである。
In addition, the
PCR補正部209は、基準として選択されたTSの、パケット到着時刻補正情報で補正されたPCR値に基づきシステムクロックをPCR揺らぎ補正する。PCR基準時刻補正もここで行う。PCR基準ストリームとして選択されなかったストリームについては、ストリーム間PCR差分情報(Pcr_Offset_Table領域214)に基づき、さらにPCR値を補正する。
The
MPEG2復号部210は、それぞれのMPEG2TSをデコードし、PCR補正部209の補正したシステムクロックに従い、ストリームを出力する。出来上がったストリームは合成部211で合成され、マルチ画面として画像表示装置(出力装置)212から出力される。
The
マルチプレクサ205の動作と、ストリーム間PCR差分情報について具体的に述べる。
マルチプレクサ205のパケット多重動作は、第1の実施の形態と同様である。また、デマルチプレクサ208のパケット分解のために付加する情報も、第1の実施の形態と同様である。
The operation of the
The packet multiplexing operation of the
本実施の形態が第1の実施の形態と異なるのは、MPEG2TS、つまりプログラム同期情報をもつストリームが複数ある点である。プログラム同期情報をもつストリームが複数あっても、システムクロックにPCR基準時刻補正及びPCR揺らぎ補正を反映させることができるストリームは、システムクロックが単一である以上、1つであることは明らかで、選択されたストリームについてPCR基準時刻補正及びPCR揺らぎ補正を行うためこの点については第1の実施の形態と変わらない。 This embodiment is different from the first embodiment in that there are a plurality of MPEG2TS, that is, a plurality of streams having program synchronization information. Even if there are a plurality of streams having program synchronization information, it is clear that there is only one stream that can reflect the PCR reference time correction and the PCR fluctuation correction in the system clock as long as there is a single system clock. Since the PCR reference time correction and the PCR fluctuation correction are performed on the selected stream, this point is the same as in the first embodiment.
しかし、各ストリームが異なる時刻に作成されたPCRを持っているため、同一の時刻に補正する必要がある。同一の時間に補正するための基準となるストリーム、これはPCR揺らぎ補正を反映させるストリームと同一になるが、この選択はユーザもしくはシステムが行う。選択の手法は規定しない。たとえば、現在表示されている画面上で、最も広い面積を占めているストリームを基準とするといった方法が考えられる。 However, since each stream has a PCR created at a different time, it is necessary to correct it at the same time. The reference stream for correcting at the same time, which is the same as the stream reflecting the PCR fluctuation correction, is selected by the user or the system. The method of selection is not specified. For example, a method may be considered in which a stream occupying the widest area on the currently displayed screen is used as a reference.
これを実現するために、マルチプレクサ205は、第1の実施の形態で用いたパケット到着時刻補正情報、つまり本来のMPEG2TSの間に挿入されたパケットの数をArrival_Revise領域120に付加すると共に、ある時刻における各ストリームのPCR値の相対関係をプログラム間PCR差分情報領域としてPcr_Offset_Table領域214に付加する。マルチプレクサ205の作成する多重化ストリームと、プログラム間PCR差分情報の例は、図6のようになる。
In order to realize this, the
図6において、215は本来のMPEG2TSストリーム−1、216は本来のMPEG2TSストリーム−2、217は本来のMPEG2TSストリーム−3、218は本実施の形態による多重化ストリーム、219は第1のMPEG2TS−1パケット、220は第1のMPEG2TS−2パケット、221は第1のMPEG2TS−3パケット、222は第2のMPEG2TS−1パケット、223は第2のMPEG2TS−2パケット、224は第2のMPEG2TS−3パケット、225は第1のMPEG2TS−1パケット219に付加されるPcr_Offset_Table、226は第1のMPEG2TS−2パケット220に付加されるPcr_Offset_Table、227は第一のMPEG2TS−3パケット221に付加されるPcr_Offset_Tableである。
In FIG. 6, 215 is an original MPEG2TS stream-1, 216 is an original MPEG2TS stream-2, 217 is an original MPEG2TS stream-3, 218 is a multiplexed stream according to the present embodiment, and 219 is a first MPEG2TS-1. Packet, 220 is a first MPEG2 TS-2 packet, 221 is a first MPEG2TS-3 packet, 222 is a second MPEG2TS-1 packet, 223 is a second MPEG2TS-2 packet, and 224 is a second MPEG2TS-3
各プログラム間PCR差分情報は、すべてのストリーム間のPCR差分情報を持っている。これは、ユーザもしくはシステムがどのストリームをクロック基準としてもプログラム同期情報が破綻しないようにするためのものである。 Each program PCR difference information has PCR difference information between all streams. This is to prevent the program synchronization information from failing whatever stream the user or system uses as a clock reference.
デマルチプレクサ208では、PCRを含むパケットを受け取ると、そのパケットを含むストリームがクロック基準として選択されているかどうかをチェックする。クロック基準として選択されているストリーム(クロック基準ストリーム)であれば、ストリーム間PCR差分情報は使用しない。この場合は、第1の実施の形態と同様に、パケット到着時刻補正情報によりPCR値を補正し、PCR補正部209にPCR補正値を通知する。
一方、クロック基準ストリームでない場合は、まずパケット到着時刻補正情報でPCR値を補正したあと、さらにストリーム間PCR差分情報に基づき、クロック基準ストリームと、自身のPCRとの差分値を取得し、さらにPCR値を補正する。
When the
On the other hand, if it is not the clock reference stream, first the PCR value is corrected with the packet arrival time correction information, and further, the difference value between the clock reference stream and its own PCR is obtained based on the inter-stream PCR difference information. Correct the value.
図6の例で、具体的なPCR値の補正を説明する。ストリーム基準をMPEG2TS−1に指定した場合、MPEG2TS−1に関しては第1の実施の形態と同様に動作する。つまり、第1の実施の形態と同様に間に2つのパケットがあることがパケット到着時刻補正情報であるArrival_Revise領域120に示されている。第1のMPEG2TS−1パケット219のPCRが10000で、第2のMPEG2TSのPCRが13000、パケットサイズ256Byte・ビットレート30Mbpsを仮定すると、パケット到着時刻補正情報によるPCR値は第1の実施の形態で計算したとおり、13515(10000+3515=13515)となる。
A specific PCR value correction will be described with reference to the example of FIG. When the stream standard is designated as MPEG2TS-1, the MPEG2TS-1 operates in the same manner as in the first embodiment. That is, the arrival_revise
MPEG2TS−1がPCRの基準として選択されている際のMPEG2TS−2及びMPEG2TS−3の時間補正は、以下のようになる。まず、パケット到着時刻補正情報であるArrival_Revise領域には、第1のMPEG2TS−2パケット220及び第1のMPEG2TS−3パケット221の双方とも「2」が示されており、第1の実施の形態で計算したとおり、それぞれのPCRに3515を加えたものが第1のPCR値となる。さらに、MPEG2TS−2については、第1のMPEG2TS220に付加されているPcr_Offset_Table226より、MPEG2TS−1とのPCRオフセットが+7700とわかるので、加算が行われ、プログラム間PCR差分情報適用後のPCR値は、2300と3515と7700とを加算して(2300+3515+7700)、13515となる。MPEG2TS−3についても同様の計算が行われ、PCR値は13515となる。この例では、間に挿入されるパケットの数が同一で、同じタイミングでPCRが取得されているので、補正後のPCRはすべて同じ値になり、プログラム同期を取ることができる。
The time correction of MPEG2TS-2 and MPEG2TS-3 when MPEG2TS-1 is selected as the PCR standard is as follows. First, in the Arrival_Revise area which is packet arrival time correction information, both “1” are shown for both the first MPEG2 TS-2
プログラム間PCR差分情報であるPcr_Offset_Tableの作成手法について図7を用いて具体的に説明する。
図7において、228はシステムクロック値を示す直線、229は第1のMPEG2TS−1パケット219のPCR値、230は第2のMPEG2TS−1パケット222のPCR値、231は第1のMPEG2TS−2パケット220のPCR値、232は第2のMPEG2TS−2パケット223のPCR値、233は第1のMPEG2TS−3パケット221のPCR値、234は第2のMPEG2TS−3パケット224のPCR値である。
A method for creating Pcr_Offset_Table, which is PCR difference information between programs, will be described in detail with reference to FIG.
In FIG. 7, 228 is a straight line indicating a system clock value, 229 is a PCR value of the first MPEG2TS-1
Pcr_Offset_Tableは、各ストリームのローカル時間の差分を示すものである。よって、例えば、第2のMPEG2TS−1パケット222のPCR値230を受信した際のPcr_Offset_Tableを作成する場合、当然MPEG2TS−1との差分は0である。MPEG2TS−2との差分は、第1のMPEG2TS−2パケット220のPCR値231で計算されているシステムクロックとの差分値と、第2のMPEG2TS−1パケット222のPCR値230で計算されているシステムクロックとの差分値を加算すればよい。MPEG2TS−3のPCR値との差分値も同様にして求めることができる。マルチプレクサ205は、各ストリームのPCR値を受信するたびに、上記処理を行うことで、Pcr_Offset_Tableを作成する。
Pcr_Offset_Table indicates the difference in local time of each stream. Therefore, for example, when creating the Pcr_Offset_Table when the
上記のように構成することで、複数のプログラム同期情報をもつストリームを多重する場合でも、簡易な変更で、大きなプログラム同期の破綻を招くことなくストリーム多重を行うことができる。 With the configuration described above, even when a stream having a plurality of program synchronization information is multiplexed, stream multiplexing can be performed with a simple change without causing a large program synchronization failure.
なお、本実施の形態では、簡単のため伝送路206のビットレートと各入力ストリームの想定するビットレートとを同一としたが、実際はこのようにならない場合もある。その場合は、まず伝送路206のビットレートとストリームの想定するビットレートとの違いから到着時刻の補正を行う必要があるが、本実施の形態で説明した手法で補正が可能である。
In this embodiment, for simplicity, the bit rate of the
また、本実施の形態では、マルチプレクサ205で挿入した新規パケットの数をそのまま用いてパケット到着時刻の補正を行うようにしたが、パケット到着時刻の補正の手段はこれに限らない。例えば、前述したデマルチプレクサ208側で行っている計算結果をマルチプレクサ205側で行い、パケット上に記述してもよい。
In this embodiment, the number of new packets inserted by the
さらに、本実施の形態が示すものは本発明の一つの例であり、本発明を限定するものではない。システム構成、多重パケットの構成は本発明の趣旨に基づくものであれば変更可能である。
また、本実施の形態では、MPEG2TSを例に挙げて説明したが、MPEG2TSの代わりにMPEG2PSを用いても前述したのと同様にして処理することができる。
Furthermore, what this embodiment shows is an example of the present invention, and does not limit the present invention. The system configuration and the multiplex packet configuration can be changed as long as they are based on the spirit of the present invention.
In the present embodiment, MPEG2TS has been described as an example. However, even if MPEG2PS is used instead of MPEG2TS, processing can be performed in the same manner as described above.
(第3の実施の形態)
以下、本発明の第3の実施の形態を、図面を用いて説明する。図8は、本実施の形態に係るデジタル放送受信装置の構成の一例を示すブロック図である。
(Third embodiment)
The third embodiment of the present invention will be described below with reference to the drawings. FIG. 8 is a block diagram showing an example of the configuration of the digital broadcast receiving apparatus according to the present embodiment.
本実施の形態では、チューナから入力されたMPEG2TSと、デジタルカメラから入力されたJPEG、DVから入力されたDVストリームを、信号受信部で受信し、時分割多重して信号処理部へ伝送し、信号処理部でMPEG2TS・JPEG・DVのデコードを行い、出力画像を合成して表示する。 In this embodiment, the MPEG2TS input from the tuner, the JPEG input from the digital camera, and the DV stream input from the DV are received by the signal receiving unit, time-division multiplexed and transmitted to the signal processing unit, The signal processing unit decodes MPEG2TS / JPEG / DV and synthesizes and displays the output image.
図8において、第1の実施の形態と同一の動作をするものについては、図1に付した符号と同一の符号を付して、詳細な説明を省略する。301は本システムにおける信号受信部、302は、デジタル放送受信チューナ103や各種インタフェース104、105から入力された各種データ列を、多重化するストリームの種類によって異なるSYNCパターンを付加して時分割多重するマルチプレクサである。303は本システムにおける信号処理部、304はマルチプレクサ302で多重化された時分割多重データを分解すると共に、本来の単一ストリームの間に挿入されたパケットの数をカウントするデマルチプレクサである。
In FIG. 8, the same reference numerals as those in FIG. 1 are assigned to the same operations as those in the first embodiment, and the detailed description thereof is omitted.
アンテナ101から受信されたデジタル放送信号と、デジタルカメラからの画像信号と、DVCからのDV信号は、本システムにおける信号受信部102で受信される。信号受信部301は、ユーザの入力・データの入力等に基づく入力信号を処理する処理部である。信号受信部102はデジタル放送受信チューナ103、USBインタフェース104、IEEE1394インタフェース105を持ち、それぞれがデジタル放送のMPEG2、デジタルカメラからのJPEG、DVCからのDVストリームを受信する。受信した信号はマルチプレクサ302に送られ、多重化される。
The digital broadcast signal received from the
SYNCパターンは、MPEG2TSであれば0x47であり、それ以外の任意のパケットについてはあらかじめ値を決めておく。たとえば図9のようなものである。MPEG2TSパケットについては何も変わらない。JPEGを多重化する場合、図10(a)のように、JPEGを示すSYNCパターン0x50の後ろに、JPEGデータがそのまま挿入される。DVについても同様であり、図10(b)のように、DVを示すSYNCパターン0x30のうしろに、そのままDVデータが挿入される。 The SYNC pattern is 0x47 in the case of MPEG2TS, and values are determined in advance for any other packets. For example, as shown in FIG. Nothing changes for MPEG2TS packets. When JPEG is multiplexed, as shown in FIG. 10A, the JPEG data is inserted as it is after the SYNC pattern 0x50 indicating JPEG. The same applies to DV. As shown in FIG. 10B, DV data is inserted as it is after the SYNC pattern 0x30 indicating DV.
マルチプレクサ302で多重化した信号は、伝送路107を通してシステムの信号処理部303に送られる。伝送路107の帯域は任意である。信号処理部303は、伝送路107から入力された信号群をデコードして出力する処理部である。
The signal multiplexed by the
デマルチプレクサ304は、マルチプレクサ302によってマルチプレックスされたパケットを受け取り、分解処理を行う。また、デマルチプレクサ304は、本来のTSパケットに付加されているPCR情報と、本来のTSパケットの間に挿入されたパケット数と、伝送路107のビットレートから、PCRの補正値を計算し、PCR補正部110に送る。本来のTSパケットの間に挿入されたパケットの数は、デマルチプレクサ304がカウントする。
The
PCR補正部110は、その情報からシステムクロックをPCR揺らぎ補正する。PCR基準時刻補正もここで行う。MPEG2復号部111は、通常のMPEG2復号を行い、PCR補正部110で補正したシステムクロックに基づき映像および音声を出力する。JPEG復号部112、DV復号部113は一般的なものでよい。出来が上がった画像群は、合成部114で合成され、マルチ画面として画像表示装置(出力装置)115から出力される。
The
マルチプレクサ302の動作について具体的に述べる。マルチプレクサ302は、デジタル放送受信チューナ103や入出力インタフェース104、105からの入力を受け取り、MPEG2TSについてはそのまま、JPEG/DVについては図3のような固定サイズのパケット形式にする。パケットサイズはMPEG2TSと同じサイズでなければならず、188Byteである。各ストリーム本体はPayload領域305に配置される。パケットは適当な順番に並べられ、伝送路107から出力される。パケットの順番は適当でよく、本実施の形態では、デジタル放送受信チューナ103や入出力インタフェース104、105から入力された順番に配置することとする。多重化の模式図を図11に示す。
The operation of the
図11において、306は本来のMPEG2TSストリーム、307は本来のJPEGストリーム、308は本来のDVストリーム、309は本実施の形態により生成される多重化ストリーム、310は第1のMPEG2TSパケット、311は第1のJPEGパケット、312は第1のDVパケット、313は第2のMPEG2TSパケット、314は第3のMPEG2TSパケットである。 In FIG. 11, 306 is an original MPEG2TS stream, 307 is an original JPEG stream, 308 is an original DV stream, 309 is a multiplexed stream generated according to this embodiment, 310 is a first MPEG2TS packet, and 311 is a first MPEG2TS packet. 1 JPEG packet, 312 is a first DV packet, 313 is a second MPEG2TS packet, and 314 is a third MPEG2TS packet.
デマルチプレクサ304は、マルチプレクサ302の付加したSYNCパターンに基づき時分割多重の分解を行うと共に、本来のMPEG2TSパケットの間に多重された新規パケットの数をカウントし、それに基づいてPCRの示すパケット到着時刻を補正する。具体的には、カウントされたパケット数とパケットサイズ、ビットレートから、PCRの示す本来の到着時刻を遅延させたPCR値に補正する。カウントされたパケット数からPCR値を補正する手法は、第1の実施の形態で説明したものと同一である。
The
上記計算で補正されたPCR値と、実際の到着時刻とを用いて、PCR揺らぎ量を計算し、PCR補正部110はシステムクロックをPCR揺らぎ補正する。補正についても第1の実施の形態と同一である。
The PCR fluctuation amount is calculated using the PCR value corrected in the above calculation and the actual arrival time, and the
このように構成・処理することで、同期情報を保ちつつ、MPEG2TSと任意のデータを多重することが可能となる。ただし、本実施の形態では新たに挿入されたパケットの数をデマルチプレクサ304でカウントするので、複数の、同一SYNCパターンを持つストリームをマルチプレックスすることはできない。しかし、MPEG2TSについてはパケットに何ら操作を加えていないため、デマルチプレクサ304側が本実施の形態による時分割多重に対応していない場合は、0x47でないSYNCパターンを持つパケットを破棄するようにするだけで、本来のMPEG2TSを受信してデコードすることが可能となるメリットがある。
By configuring and processing in this way, it is possible to multiplex MPEG2TS and arbitrary data while maintaining synchronization information. However, in this embodiment, since the number of newly inserted packets is counted by the
なお、本実施の形態が示すものは本発明の一つの例であり、本発明を限定するものではない。システム構成、多重パケットの構成は本発明の趣旨に基づくものであれば変更可能である。 In addition, what this Embodiment shows is an example of this invention, and does not limit this invention. The system configuration and the multiplex packet configuration can be changed as long as they are based on the gist of the present invention.
(第4の実施の形態)
以下、本発明の第4の実施の形態を、図面を用いて説明する。図12は、本実施の形態に係るデジタル放送受信装置の構成の一例を示すブロック図である。
(Fourth embodiment)
The fourth embodiment of the present invention will be described below with reference to the drawings. FIG. 12 is a block diagram showing an example of the configuration of the digital broadcast receiving apparatus according to this embodiment.
図12において、第1の実施の形態と同一の動作を行うものについては、図1に付した符号と同一の符号を付して、詳細な説明を省略する。401は本システムにおける信号受信部、402は、デジタル放送受信チューナ103や各種インタフェース104、105から入力された各種データ列を、多重化するストリームの種類及び本来のストリームの間に挿入されたパケットの数によって異なるSYNCパターンを付加して時分割多重するマルチプレクサである。403は本システムにおける信号処理部、404はマルチプレクサ402の多重した時分割多重データを分解するデマルチプレクサである。
12, components that perform the same operations as those in the first embodiment are denoted by the same reference numerals as those in FIG. 1, and detailed description thereof is omitted. 401 is a signal receiving unit in the present system, 402 is a type of stream to be multiplexed and various packets inserted from the digital
本実施の形態が第3の実施の形態と異なるのは、SYNCパターンがあらかじめ規定されておらず、SYNCパターンの対応表をマルチプレクサ201が作成してストリームに多重することと、マルチプレクサ412が新たに多重したパケットの数の情報をSYNCパターンに持たせる点である。その他の形態は第3の実施の形態と変わらない。
This embodiment differs from the third embodiment in that the SYNC pattern is not defined in advance, the
マルチプレクサ402で付加するSYNCパターンと、それに基づくデマルチプレクサ404とPCR補正部110の動作をより具体的に説明する。
マルチプレクサ402で付加するSYNCパターンには、デマルチプレクサ404で多重化した情報を分解できるように付加する情報と、パケット到着時刻補正情報として付加する情報を持たせる。図13にSYNCパターンを示す。多重化した情報を分解できるように付加する情報は、SYNCパターンの上位4Bitに付加し、パケットの到着時刻の補正をするための情報として、新規挿入パケットの数をSYNCパターンの下位4Bitに付加する。
The SYNC pattern added by the
The SYNC pattern added by the
SYNCパターンの上位4Bitに付加される情報はストリームの種類を示す情報である。本実施の形態では、多様なストリームを4Bitで表現するために、SYNCパターン0x11のパケットにSYNCパターンの対応表を多重する。本実施の形態ではSYNCパターンの対応表を多重するSYNCパターンのパケットを0x11としたが、マルチプレクサ402とでマルチプレクサ404が共通で認識できるパターンであれば多重するパターンはこれに限定されず、任意でよい。
Information added to the upper 4 bits of the SYNC pattern is information indicating the type of stream. In this embodiment, in order to express various streams in 4 bits, a SYNC pattern correspondence table is multiplexed on a packet of the SYNC pattern 0x11. In this embodiment, the SYNC pattern packet that multiplexes the SYNC pattern correspondence table is set to 0x11. However, the multiplexed pattern is not limited to this as long as the
SYNCパターンの対応表は、一定時間の間隔で多重される。SYNCパターンの対応表の例を図14に示す。SYNCパターンの下位4Bitに付加される情報は、本来のMPEG2TSパケットの間に挿入された新規多重パケットの数である。図11の例であれば、第1のMPEG2TSパケット310と第2のMPEG2TSパケット313は、本来のMPEG2TSストリーム306上では連続したパケットだが、マルチプレクサ402において、間に第1のJPEGパケット311と、第1のDVパケット312が挿入されているため、第2のMPEG2TSパケット313におけるSYNCパターンの下位4Bitには「2」という数値が付加される。
The SYNC pattern correspondence table is multiplexed at regular time intervals. An example of the correspondence table of SYNC patterns is shown in FIG. The information added to the lower 4 bits of the SYNC pattern is the number of newly multiplexed packets inserted between the original MPEG2 TS packets. In the example of FIG. 11, the first
デマルチプレクサ404は、まず、マルチプレクサ402の付加した、多重化分解用情報に基づきデマルチプレックスを行う。デマルチプレクサは、まず0x11のパケットが受信されるまで待ち、SYNCパターンの対応表を取得する。SYNCパターンの対応表を取得したあとは、対応表に指定された情報を元に多重ストリームのデマルチプレックスを行う。
First, the
次に、デマルチプレクサ404は、パケット到着時刻補正情報に基づいて、PCRの示すパケット到着時刻を補正する。具体的には、PCRの値に、SYNCパケットの下位4Bitで示された値とパケットサイズ、ビットレートから、PCRの示す本来の到着時刻を遅延させたPCR値に補正する。補正の計算式は第1の実施の形態と同一である。
Next, the
パケット到着時刻補正情報で補正されたPCR値と、実際の到着時刻を用いて、PCR揺らぎ量を計算し、PCR補正部110はシステムクロックをPCR揺らぎ補正する。PCR基準時刻補正もここで行う。補正の手法は第1の実施の形態と同一である。
The PCR fluctuation amount is calculated using the PCR value corrected by the packet arrival time correction information and the actual arrival time, and the
このように構成・処理することで、同期情報を保ちつつ、MPEG2TSと任意のデータを多重することが可能となる。 By configuring and processing in this way, it is possible to multiplex MPEG2TS and arbitrary data while maintaining synchronization information.
なお、本実施の形態が示すものは本発明の一つの例であり、本発明を限定するものではない。システム構成、多重パケットの構成は本発明の趣旨に基づくものであれば変更可能である。 In addition, what this Embodiment shows is an example of this invention, and does not limit this invention. The system configuration and the multiplex packet configuration can be changed as long as they are based on the gist of the present invention.
(第5の実施の形態)
以下、本発明の第5の実施の形態を、図面を用いて説明する。図15は、本実施の形態に係るデジタル放送受信装置の構成の一例を示すブロック図である。
(Fifth embodiment)
Hereinafter, a fifth embodiment of the present invention will be described with reference to the drawings. FIG. 15 is a block diagram showing an example of the configuration of the digital broadcast receiving apparatus according to the present embodiment.
本実施の形態では、チューナから入力されたMPEG2TSと、録画番組が記憶されているハードディスクから入力されたMPEG2TSと、DVから入力されたDVストリームとを、信号受信部で受信し、時分割多重して信号処理部へ伝送し、信号処理部で2つのMPEG2TS・DVのデコードを行い、出力画像を合成して表示する。 In this embodiment, the MPEG2TS input from the tuner, the MPEG2TS input from the hard disk in which the recorded program is stored, and the DV stream input from the DV are received by the signal receiving unit and time-division multiplexed. Are transmitted to the signal processing unit, the MPEG2TS • DV is decoded by the signal processing unit, and the output image is synthesized and displayed.
図15において、第1の実施の形態と同一の意味を持つ領域には、図2に付した符号と同一の符号を付して、詳細な説明を省略する。また、第2の実施の形態と同一の意味を持つ領域には、図4に付した符号と同一の符号を付して、詳細な説明を省略する。
図15において、501は本システムにおける信号受信部、502はアンテナ101から入力される放送波MPEG2TSと、TS保持メモリ204から読み出す蓄積MPEG2TSと、IEEE1394から入力されるDVストリームを、パケット到着時刻補正情報及びストリーム間PCR差分情報を付加しながら時分割多重するマルチプレクサである。503は本システムにおける信号処理部、504はマルチプレクサ502の多重した時分割多重データを分解するデマルチプレクサである。
15, regions having the same meaning as in the first embodiment are denoted by the same reference numerals as those in FIG. 2, and detailed description thereof is omitted. In addition, the same reference numerals as those in FIG. 4 are given to regions having the same meaning as in the second embodiment, and detailed description thereof is omitted.
In FIG. 15, 501 is a signal receiving unit in this system, 502 is a broadcast wave MPEG2TS inputted from the
アンテナ101で受信されたデジタル放送信号と、ハードディスク201からHDDコントローラ202を介して入力される蓄積放送信号と、DVC(Digital Video Camera)からのDV信号は、本システムにおける信号受信部501に入力される。信号受信部501はデジタル放送受信チューナ103、IEEE1394インタフェース105、TS保持メモリ204を持ち、それぞれがデジタル放送のMPEG2、DVCからのDVストリーム、ハードディスクからの蓄積MPEG2を受信する。本実施の形態では、アンテナから入力される放送波のTSと、蓄積媒体から入力される蓄積TSの2つのTS入力と、DVCからの1つのDVストリームが同時に入力された状態を想定している。受信した信号はマルチプレクサ502に送られ、多重化される。
A digital broadcast signal received by the
マルチプレクサ502の作成するパケットは、第2の実施の形態と同一のパケットであり、図5で示されるものである。
つまり、本実施の形態においても2つのMPEG2TSの実態およびDVストリームの実態はPayload領域121に入り、それに各種ヘッダ116〜120と、Pcr_Offset_Table_Size領域213と、Pcr_Offset_Table領域214とが付加されているような形となる。ヘッダ情報には、パケット到着時刻補正情報として、Arrival_Revise領域120が付加される。本実施の形態では、付加される情報は、本来のMPEG2TSパケットの間に挿入されたもう一方のMPEG2TSパケットの数およびDVパケットの数である。
The packet created by the
That is, also in the present embodiment, the actual state of the two MPEG2TSs and the actual state of the DV stream enter the
また、第2の実施の形態と同様にPcr_Offset_Table領域214には、ストリーム間PCR差分情報として、2つのMPEG2TSがもつPCR間の差分値をテーブルとして付加する。Pcr_Offset_Table領域214のパケット中のサイズを確定するために、Pcr_Offset_Table_Size領域213に、テーブルのサイズを付加する。
Similarly to the second embodiment, the
マルチプレクサ502で多重化した信号は、伝送路107を通してシステムの信号処理部503に送られる。伝送路107の帯域は任意である。信号処理部503は、伝送路107から入力された信号群をデコードして出力する処理部である。
The signal multiplexed by the
デマルチプレクサ504は、マルチプレクサ502で多重化したパケットを分解するとともに、パケット到着時刻補正情報(Arrival_Revise領域120)に基づき、パケット到着時刻を示すPCR値を補正する。
The
また、デマルチプレクサ504は、ユーザもしくはシステムにより選択された、システムクロックを補正するための基準となるMPEG2TSの、パケット到着時刻補正情報により補正されたPCR値をPCR補正部209に送る。システムクロックは単一であり、PCR揺らぎ補正の基準とするストリームは、たとえ複数のMPEG2TSがあっても1つのみであることは第2の実施の形態と変わらない。
Further, the
DV復号部113の動作は第1の実施の形態と同様であり、PCR補正部209およびMPEG2復号部210は、第2の実施の形態と同様である。復号処理の結果出来上がったストリームは合成部114で合成され、マルチ画面として画像表示装置(出力装置)115から出力される。
The operation of the
マルチプレクサ502の動作と、ストリーム間PCR差分情報について具体的に述べる。
マルチプレクサ502のパケット多重動作は、第1および第2の実施の形態と同様である。また、デマルチプレクサ504のパケット分解のために付加する情報も、第1および第2の実施の形態と同様である。
The operation of the
The packet multiplexing operation of the
本実施の形態が第1、第2の実施の形態と異なるのは、MPEG2TS、つまりプログラム同期情報をもつストリームが複数あり、かつ同期情報をもたないDVストリームが同時に多重される点である。 This embodiment is different from the first and second embodiments in that there are a plurality of MPEG2TS, that is, a plurality of streams having program synchronization information, and DV streams having no synchronization information are simultaneously multiplexed.
第2の実施の形態ですでに説明したとおり、2つのMPEG2TSストリームが異なる時刻に作成されたPCRを持っているため、補正の基準となるストリームを選択し、ストリーム時間を合わせる処理を行う。 As already described in the second embodiment, since two MPEG2 TS streams have PCRs created at different times, a stream serving as a reference for correction is selected and processing for adjusting the stream time is performed.
実際のマルチプレクサ502の動作は、第1の実施の形態と第2の実施の形態で行った処理をあわせたものとなる。パケット到着時刻補正情報として、もう一方のMPEG2TSおよびDVのパケット数を用いる。マルチプレクサ502の作成する多重化ストリームと、プログラム間PCR差分情報の例は、図16のようになる。
The actual operation of the
図16において、505は本来の放送波のMPEG2TS−1ストリーム、506は本来の蓄積MPEG2TS−2ストリーム、507は本来のDVストリーム、508は本実施の形態による多重化ストリーム、509は第1の放送波MPEG2TS−1パケット、510は第1の蓄積MPEG2TSパケット−2、511は第1のDVパケット、512は第2の放送波MPEG2TS−1パケット、513は第2の蓄積MPEG2TS−2パケット、514は第2のDVパケット、515は第1の放送波MPEG2TS−1パケット509に付加されるPcr_Offset_Table、516は第1の蓄積MPEG2TS−2パケット510に付加されるPcr_Offset_Tableである。
In FIG. 16, 505 is the original broadcast MPEG2 TS-1 stream, 506 is the original stored MPEG2 TS-2 stream, 507 is the original DV stream, 508 is the multiplexed stream according to the present embodiment, and 509 is the first broadcast. Wave MPEG2TS-1 packet, 510 is the first accumulated MPEG2TS packet-2, 511 is the first DV packet, 512 is the second broadcast wave MPEG2TS-1 packet, 513 is the second accumulated MPEG2TS-2 packet, 514 The
各プログラム間PCR差分情報は、2つのMPEG2TSストリーム間のPCR差分情報を持っている。これは、ユーザもしくはシステムがどちらのストリームをクロック基準としてもプログラム同期情報が破綻しないようにするためのものである。 Each program PCR difference information has PCR difference information between two MPEG2 TS streams. This is to prevent the program synchronization information from failing regardless of which stream the user or system uses as the clock reference.
デマルチプレクサ504は、STREAM_TYPE領域118の情報からパケットがプログラム同期情報を含むパケットか否かを判断する。プログラム同期情報を含むパケットの場合、つぎにそのパケットを含むストリームがクロック基準として選択されているかどうかをチェックする。クロック基準として選択されているストリーム(クロック基準ストリーム)であれば、ストリーム間PCR差分情報は使用しない。この場合は、第1、第2の実施の形態と同様に、パケット到着時刻補正情報によりPCR値を補正し、PCR補正部209にPCR補正値を通知する。
The
STREAM_TYPE領域118で指示されるストリームタイプがプログラム同期情報を含むストリームであり、かつクロック基準ストリームでない場合の動作は、第2の実施の形態に記載済みである。つまり、まずパケット到着時刻補正情報でPCR値を補正したあと、さらにストリーム間PCR差分情報に基づき、クロック基準ストリームと、自身のPCRとの差分値を取得し、さらにPCR値を補正するというものである。
The operation when the stream type indicated in the
STREAM_TYPE領域118で指示されるストリームタイプがプログラム同期情報を含まないストリーム、本実施の形態ではDVストリームである場合は、Payload121をDV復号部113に出力するのみである。
When the stream type indicated in the
図16の例で、具体的なPCR値の補正を説明する。ストリーム基準を放送波MPEG2TS−1に指定した場合、放送波MPEG2TS−1に関しては第1の実施の形態と同様に動作する。つまり、第1の実施の形態と同様に間に2つのパケットがあることがパケット到着時刻補正情報であるArrival_Revise領域120に示されている。第1のMPEG2TS−1パケット219のPCRが10000で、第2のMPEG2TSのPCRが13000、パケットサイズが256Byte、ビットレートが30Mbpsであると仮定すると、パケット到着時刻補正情報によるPCR値は第1の実施の形態で計算したとおり、13515(10000+3515=13515)となる。
With reference to the example of FIG. 16, a specific PCR value correction will be described. When the stream standard is designated as the broadcast wave MPEG2TS-1, the broadcast wave MPEG2TS-1 operates in the same manner as in the first embodiment. That is, the arrival_revise
放送波MPEG2TS−1がPCRの基準として選択されている際の蓄積MPEG2TS−2の時間補正は、第2の実施の形態と同様である。つまり、まず、パケット到着時刻補正情報であるArrival_Revise領域120には、第1の蓄積MPEG2TS−2パケット510には第1の放送波MPEG2TSパケット509と第1のDVストリームパケット511が挿入されたことを示す「2」が示されており、第1の実施の形態で計算したとおり、PCRに3515を加えたものが第1のPCR値となる。さらに、第1の蓄積MPEG2TS−2パケット510に付加されているPcr_Offset_Table515より、放送波MPEG2TS−1とのPCRオフセットが+7700とわかるので、加算が行われ、プログラム間PCR差分情報適用後のPCR値は、2300と3515と7700とを加算して(2300+3515+7700)、13515となる。
The time correction of the stored MPEG2TS-2 when the broadcast wave MPEG2TS-1 is selected as the PCR standard is the same as in the second embodiment. That is, first, in the
プログラム間PCR差分情報であるPcr_Offset_Tableの作成手法も第2の実施の形態と同一であるので説明は省略する。
なお、本実施の形態が示すものは本発明の一つの例であり、本発明を限定するものではない。システム構成、多重パケットの構成は本発明の趣旨に基づくものであれば変更可能である。
また、本実施の形態では、MPEG2TSを例に挙げて説明したが、MPEG2TSの代わりにMPEG2PSを用いても前述したのと同様にして処理することができる。
Since the method for creating Pcr_Offset_Table, which is the inter-program PCR difference information, is also the same as in the second embodiment, the description thereof is omitted.
In addition, what this Embodiment shows is an example of this invention, and does not limit this invention. The system configuration and the multiplex packet configuration can be changed as long as they are based on the gist of the present invention.
In the present embodiment, MPEG2TS has been described as an example. However, even if MPEG2PS is used instead of MPEG2TS, processing can be performed in the same manner as described above.
(本発明の他の実施形態)
上述した実施形態の機能を実現するべく各種のデバイスを動作させるように、該各種デバイスと接続された装置あるいはシステム内のコンピュータに対し、前記実施形態の機能を実現するためのソフトウェアのプログラムコードを供給し、そのシステムあるいは装置のコンピュータ(CPUあるいはMPU)に格納されたプログラムに従って前記各種デバイスを動作させることによって実施したものも、本発明の範疇に含まれる。
(Other embodiments of the present invention)
In order to operate various devices to realize the functions of the above-described embodiments, program codes of software for realizing the functions of the above-described embodiments are provided to an apparatus or a computer in the system connected to the various devices. What is implemented by operating the various devices according to a program supplied and stored in a computer (CPU or MPU) of the system or apparatus is also included in the scope of the present invention.
また、この場合、前記ソフトウェアのプログラムコード自体が上述した実施形態の機能を実現することになり、そのプログラムコード自体、およびそのプログラムコードをコンピュータに供給するための手段、例えば、かかるプログラムコードを格納した記録媒体は本発明を構成する。かかるプログラムコードを記憶する記録媒体としては、例えばフレキシブルディスク、ハードディスク、光ディスク、光磁気ディスク、CD−ROM、磁気テープ、不揮発性のメモリカード、ROM等を用いることができる。 Further, in this case, the program code of the software itself realizes the functions of the above-described embodiments, and the program code itself and means for supplying the program code to the computer, for example, the program code is stored. The recorded medium constitutes the present invention. As a recording medium for storing the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.
また、コンピュータが供給されたプログラムコードを実行することにより、上述の実施形態の機能が実現されるだけでなく、そのプログラムコードがコンピュータにおいて稼働しているOS(オペレーティングシステム)あるいは他のアプリケーションソフト等と共同して上述の実施形態の機能が実現される場合にもかかるプログラムコードは本発明の実施形態に含まれることは言うまでもない。 Further, by executing the program code supplied by the computer, not only the functions of the above-described embodiments are realized, but also the OS (operating system) or other application software in which the program code is running on the computer, etc. It goes without saying that the program code is also included in the embodiment of the present invention even when the functions of the above-described embodiment are realized in cooperation with the embodiment.
さらに、供給されたプログラムコードがコンピュータの機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに格納された後、そのプログラムコードの指示に基づいてその機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって上述した実施形態の機能が実現される場合にも本発明に含まれることは言うまでもない。 Further, after the supplied program code is stored in the memory provided in the function expansion board of the computer or the function expansion unit connected to the computer, the CPU provided in the function expansion board or function expansion unit based on the instruction of the program code Needless to say, the present invention includes a case where the functions of the above-described embodiment are realized by performing part or all of the actual processing.
101 アンテナ
102 信号受信部
103 デジタル放送受信チューナ
104 USBインタフェース
105 IEEE1394インタフェース
106 マルチプレクサ
107 伝送路
108 信号処理部
109 デマルチプレクサ
110 PCR補正部
111 MPEG2復号部
112 JPEG復号部
113 DV復号部
114 合成部
115 画像表示装置
116 SYNC領域
117 Arrival_Revise_Flag領域
118 Stream_Type領域
119 Stream_Id領域
120 Arrival_Revise領域
121 Payload領域
122 本来のMPEG2TSストリーム
123 本来のJPEGストリーム
124 本来のDVストリーム
125 多重化ストリーム
126 第1のMPEG2TSパケット
127 第1のJPEGパケット
128 第1のDVパケット
129 第2のMPEG2TSパケット
130 第3のMPEG2TSパケット
201 ハードディスク
202 ハードディスクコントローラ
203 信号入力部
204 TS保持メモリ
205 マルチプレクサ
206 伝送路
207 信号処理部
208 デマルチプレクサ
209 PCR補正部
210 MPEG2復号部
211 合成部
212 画像表示装置
213 Pcr_Offset_Table_Size領域
214 Pcr_Offset_Table領域
215 本来のMPEG2TS−1ストリーム
216 本来のMPEG2TS−2ストリーム
217 本来のMPEG2TS−3ストリーム
218 多重化ストリーム
219 第1のMPEG2TS−1パケット
220 第1のMPEG2TS−2パケット
221 第1のMPEG2TS−3パケット
222 第2のMPEG2TS−1パケット
223 第2のMPEG2TS−2パケット
224 第2のMPEG2TS−3パケット
225〜227 Pcr_Offset_Table
228 システムクロック
229 第1のMPEG2TS−1パケットのPCR値
230 第2のMPEG2TS−1パケットのPCR値
231 第1のMPEG2TS−2パケットのPCR値
232 第2のMPEG2TS−2パケットのPCR値
233 第1のMPEG2TS−3パケットのPCR値
234 第2のMPEG2TS−3パケットのPCR値
301 信号受信部
302 マルチプレクサ
303 信号処理部
304 デマルチプレクサ
305 マルチプレクサの作成するパケットのペイロード
306 本来のMPEG2TSストリーム
307 本来のJPEGストリーム
308 本来のDVストリーム
309 多重化ストリーム
310 第1のMPEG2TSパケット
311 第1のJPEGパケット
312 第1のDVパケット
313 第2のMPEG2TSパケット
314 第3のMPEG2TSパケット
401 信号受信部
402 マルチプレクサ
403 信号処理部
404 デマルチプレクサ
501 信号受信部
502 マルチプレクサ
503 信号処理部
504 デマルチプレクサ
505 本来の放送波のMPEG2TS−1ストリーム
506 本来の蓄積MPEG2TS−2ストリーム
507 本来のDVストリーム
508 多重化ストリーム
509 第1の放送波MPEG2TS−1パケット
510 第1の蓄積MPEG2TSパケット−2
511 第1のDVパケット
512 第2の放送波MPEG2TS−1パケット
513 第2の蓄積MPEG2TS−2パケット
514 第2のDVパケット
515、516 Pcr_Offset_Table
DESCRIPTION OF
228
511
Claims (5)
前記マルチプレクサにより作成された多重化ストリームを分離するデマルチプレクサとを具備し、
前記多重化するパケットの内容毎に異なるSYNCパターンは、あらかじめ定められた各ストリームを示すパターンに、前記MPEG2トランスポートストリームの間に挿入された前記任意のデータのパケット数を加えたパターンであることを特徴とするデジタルデータ受信装置。 A plurality of MPEG2 transport streams and a plurality of arbitrary data are divided into 188 bytes which are the data packet size of the MPEG2 transport stream, and the SYNC pattern of the MPEG2 transport stream is divided for each content of the packet to be multiplexed. A multiplexer that changes and adds different patterns to create a multiplexed stream;
A demultiplexer for separating the multiplexed stream created by the multiplexer,
The SYNC pattern that differs depending on the content of the packet to be multiplexed is a pattern obtained by adding the number of packets of the arbitrary data inserted between the MPEG2 transport streams to a predetermined pattern indicating each stream. A digital data receiving device.
前記複数の任意のデータを入力する入出力インタフェースとを具備し、
前記マルチプレクサは、前記複数のMPEG2トランスポートストリームを、前記デジタル放送受信チューナから受け取り、前記複数の任意のデータを前記入出力インタフェースから受け取ることを特徴とする請求項1に記載のデジタルデータ受信装置。 A digital broadcast receiving tuner for inputting the plurality of MPEG2 transport streams;
An input / output interface for inputting the plurality of arbitrary data,
2. The digital data receiving apparatus according to claim 1, wherein the multiplexer receives the plurality of MPEG2 transport streams from the digital broadcast receiving tuner and receives the plurality of arbitrary data from the input / output interface.
前記多重化ストリーム作成ステップにより作成された多重化ストリームを分離する多重化ストリーム分離ステップとを具備し、
前記多重化するパケットの内容毎に異なるSYNCパターンは、あらかじめ定められた各ストリームを示すパターンに、前記MPEG2トランスポートストリームの間に挿入された前記任意のデータのパケット数を加えたパターンであることを特徴とするデジタルデータ受信方法。 A plurality of MPEG2 transport streams and a plurality of arbitrary data are divided into 188 bytes which are the data packet size of the MPEG2 transport stream, and the SYNC pattern of the MPEG2 transport stream is divided for each content of the packet to be multiplexed. A multiplexed stream creation step for creating a multiplexed stream by changing and adding different patterns,
A multiplexed stream separating step for separating the multiplexed stream created by the multiplexed stream creating step;
The SYNC pattern that differs depending on the content of the packet to be multiplexed is a pattern obtained by adding the number of packets of the arbitrary data inserted between the MPEG2 transport streams to a predetermined pattern indicating each stream. A method of receiving digital data.
前記多重化ストリーム作成ステップにより作成された多重化ストリームを分離する多重化ストリーム分離ステップとをコンピュータに実行させ、
前記多重化するパケットの内容毎に異なるSYNCパターンは、あらかじめ定められた各ストリームを示すパターンに、前記MPEG2トランスポートストリームの間に挿入された前記任意のデータのパケット数を加えたパターンであることを特徴とするコンピュータプログラム。 A plurality of MPEG2 transport streams and a plurality of arbitrary data are divided into 188 bytes which are the data packet size of the MPEG2 transport stream, and the SYNC pattern of the MPEG2 transport stream is divided for each content of the packet to be multiplexed. A multiplexed stream creation step for creating a multiplexed stream by changing and adding different patterns,
Causing the computer to execute a multiplexed stream separation step of separating the multiplexed stream created by the multiplexed stream creation step;
The SYNC pattern that differs depending on the content of the packet to be multiplexed is a pattern obtained by adding the number of packets of the arbitrary data inserted between the MPEG2 transport streams to a predetermined pattern indicating each stream. A computer program characterized by the above.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004186667A JP3885068B2 (en) | 2003-07-18 | 2004-06-24 | Digital data receiving apparatus, digital data receiving method, and computer program |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003277077 | 2003-07-18 | ||
JP2004186667A JP3885068B2 (en) | 2003-07-18 | 2004-06-24 | Digital data receiving apparatus, digital data receiving method, and computer program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005057733A JP2005057733A (en) | 2005-03-03 |
JP3885068B2 true JP3885068B2 (en) | 2007-02-21 |
Family
ID=34379987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004186667A Expired - Fee Related JP3885068B2 (en) | 2003-07-18 | 2004-06-24 | Digital data receiving apparatus, digital data receiving method, and computer program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP3885068B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2008092391A (en) * | 2006-10-04 | 2008-04-17 | Hitachi Ltd | Recording stream generating method and reproducing method thereof, recording device, and reproducing device |
CN114928421B (en) * | 2022-04-26 | 2024-05-24 | 青岛广电海创文化科技有限公司 | CDR low-rate data transmission system and transmission method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09321727A (en) * | 1996-05-24 | 1997-12-12 | Matsushita Electric Ind Co Ltd | Multiplexer |
JP4081936B2 (en) * | 1999-03-17 | 2008-04-30 | ソニー株式会社 | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND RECORDING MEDIUM |
JP2001251266A (en) * | 2000-03-07 | 2001-09-14 | Sony Corp | Data transmitter, transport stream generator and data stream generation method |
JP2002101063A (en) * | 2000-09-25 | 2002-04-05 | Matsushita Electric Ind Co Ltd | Transport stream mixing device |
JP2002374220A (en) * | 2001-06-14 | 2002-12-26 | Nippon Telegr & Teleph Corp <Ntt> | Stream transmission reception system, and stream transmitter and receiver |
JP2002374472A (en) * | 2001-06-14 | 2002-12-26 | Matsushita Electric Ind Co Ltd | Digital broadcast receiver |
JP3736396B2 (en) * | 2001-07-25 | 2006-01-18 | 日本電信電話株式会社 | Stream transmitting apparatus and receiving apparatus |
JP2003101976A (en) * | 2001-09-26 | 2003-04-04 | Toshiba Corp | Stream generator |
JP2003101974A (en) * | 2001-09-26 | 2003-04-04 | Nec Corp | Pcr correcting device and pcr value correcting method used for the same |
-
2004
- 2004-06-24 JP JP2004186667A patent/JP3885068B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005057733A (en) | 2005-03-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5898695A (en) | Decoder for compressed and multiplexed video and audio data | |
JP3309069B2 (en) | Device for receiving multi-coded video and audio data | |
US6269107B1 (en) | Device and method for demultiplexing transport stream | |
KR100631463B1 (en) | Digital data transmission apparatus, digital data reception apparatus, digital broadcast reception apparatus, digital data transmission method, digital data reception method, digital broadcast reception method, and computer readable recording medium | |
JP2004297577A (en) | Image reproducing device | |
KR100555658B1 (en) | Stream decode device | |
EP1269743A2 (en) | Demultiplexing devices and process for at least two transport streams and a corresponding digital stream | |
CN100401784C (en) | Data synchronization method and apparatus for digital multimedia data receiver | |
US20120237027A1 (en) | Multiple stream decrypting and decoding systems and related methods thereof | |
US9100379B2 (en) | Transmitting apparatus, transmitting method, receiving apparatus, receiving method, program, and electronic apparatus | |
KR20040004167A (en) | Broadcasting receiving and reproducing system and broadcasting receiving apparatus | |
JP3885068B2 (en) | Digital data receiving apparatus, digital data receiving method, and computer program | |
KR20060113523A (en) | Data processing device and method of digital broadcast receiver | |
JP2002300128A (en) | Transport stream decoder and digital broadcast receiver using the same | |
JPH08275151A (en) | Distribution decoder for multiplexed compressed image-audio data | |
US6665001B1 (en) | Multiplex and demultiplex controlling apparatus, multiplex and demultiplex controlling system, and method thereof | |
JP4475273B2 (en) | Information processing apparatus and method | |
JP4028641B2 (en) | Digital communication system and method | |
JPH11340936A (en) | Method and device for multiplexing data | |
JP2001136456A (en) | Digital broadcast receiver | |
JP4435061B2 (en) | Digital broadcast signal transmission device | |
US10178040B2 (en) | Data processing device, receiving device, data processing method, and program | |
JPH1051496A (en) | Device and method for multiplexing | |
JP4187767B2 (en) | Digital communication system and method | |
JP2002353920A (en) | Data processor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050209 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20060811 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060822 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20061003 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20061107 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20061120 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101124 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101124 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111124 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121124 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131124 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |