JP2001177568A - Stream multiplexer - Google Patents

Stream multiplexer

Info

Publication number
JP2001177568A
JP2001177568A JP35699999A JP35699999A JP2001177568A JP 2001177568 A JP2001177568 A JP 2001177568A JP 35699999 A JP35699999 A JP 35699999A JP 35699999 A JP35699999 A JP 35699999A JP 2001177568 A JP2001177568 A JP 2001177568A
Authority
JP
Japan
Prior art keywords
output
input
packet
time
pcr
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
JP35699999A
Other languages
Japanese (ja)
Inventor
Mitsuru Kaji
充 加治
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 Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP35699999A priority Critical patent/JP2001177568A/en
Publication of JP2001177568A publication Critical patent/JP2001177568A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To realize a stream multiplexer performing stream multiplexing and PCR correction with a simple configuration. SOLUTION: An input time measuring part 12 measures the input time of each packet included in an input stream. An input controlling part 13 writes each packet data and the input time included in the input stream into buffer memory 18. An output order deciding means 16 decides the output order of the packets written in the memory 18. A PCR correcting means 17 rewrites a PCR by using the input time and an output time stored in the buffer memory 11 when the PCR is included in the packet whose output order is decided by the means 16. An output controlling part 14 reads and outputs packet data from the memory 18 in the order decided by the means 11.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、複数のストリーム
を多重化して送出する際に、多重化ストリームに含まれ
るPCRを補正する機能を持つストリーム多重化装置に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a stream multiplexing apparatus having a function of correcting PCR contained in a multiplexed stream when multiplexing and transmitting a plurality of streams.

【0002】[0002]

【従来の技術】CS放送やディジタルCATV放送で
は、複数の番組が多重化されて、1つのチャンネルで放
送が行われる。即ち、放送局側は、各番組の映像/音声
信号をMPEG2規格に従って符号化(エンコード)
し、トランスポート・ストリーム(以下、ストリームと
いう)を生成する。そして放送局は、得られた複数のス
トリームを多重化して、1つの多重化ストリームを生成
し、伝送路を介して受信者側に送出する。受信者側は、
送出された多重化ストリームを受信して、そこから所望
の番組に対応するストリームを抽出して復号化(デコー
ド)する。そして得られた映像/音声信号をテレビ等を
通じて再生する。
2. Description of the Related Art In a CS broadcast or a digital CATV broadcast, a plurality of programs are multiplexed and broadcast on one channel. That is, the broadcasting station encodes the video / audio signal of each program according to the MPEG2 standard.
Then, a transport stream (hereinafter, referred to as a stream) is generated. Then, the broadcasting station multiplexes the plurality of obtained streams to generate one multiplexed stream, and transmits the multiplexed stream to the receiver via the transmission path. The recipient side
The transmitted multiplexed stream is received, and a stream corresponding to a desired program is extracted therefrom and decoded (decoded). Then, the obtained video / audio signal is reproduced through a television or the like.

【0003】以下では、放送局側に設けられ、上記のよ
うにして映像/音声信号を符号化する装置をエンコーダ
と呼び、複数のエンコーダの出力ストリームを多重化す
る装置をストリーム多重化装置と呼ぶ。また、受信者側
に設けられ、放送局からの多重化ストリームを受信して
特定のストリームを抽出して復号する装置をデコーダと
呼ぶ。
[0003] In the following, a device provided on a broadcast station side for encoding a video / audio signal as described above is called an encoder, and a device for multiplexing output streams of a plurality of encoders is called a stream multiplexing device. . A device provided on the receiver side for receiving a multiplexed stream from a broadcasting station and extracting and decoding a specific stream is called a decoder.

【0004】図4は従来のCS放送システムの構成例で
あり、放送局側と加入者側の基本構成を示している。ス
トリームを構成する特定のパケット(188バイト)に
は、パケット先頭から6バイトの位置に、エンコーダ側
のシステム・クロックの歩調とデコーダ側のシステム・
クロックの歩調とを相互に一致させるため、参照値とな
るプログラム・クロック・リファレンス(以下、PCR
という)が挿入される。このようなパケットをPCRパ
ケットという。仮にエンコーダ側のシステム・クロック
とデコーダ側のシステム・クロックとの間で歩調のず
れ、即ち時間の進行にずれが生じると、デコーダでの復
号化処理に支障が生じてしまう。その結果、加入者側で
再生画像が乱れるなどの支障が発生する。このようなト
ラブルを防ぐためにPCRが定期的に送出される。
FIG. 4 shows an example of the configuration of a conventional CS broadcasting system, showing a basic configuration of a broadcasting station side and a subscriber side. In a specific packet (188 bytes) constituting the stream, the step of the system clock on the encoder side and the system
In order to match the clock steps with each other, a program clock reference (hereinafter referred to as PCR
Is inserted. Such a packet is called a PCR packet. If there is a step lag between the system clock on the encoder side and the system clock on the decoder side, that is, a lag in the progress of time, the decoding processing in the decoder will be hindered. As a result, troubles such as disorder of the reproduced image occur on the subscriber side. In order to prevent such troubles, the PCR is periodically transmitted.

【0005】夫々のエンコーダ50は、出力するストリ
ーム中の特定のパケットであるPCRパケットを送出す
る際に、自己の持つシステム・クロックの値をPCRと
してPCRパケットに添付する。このPCRパケットは
ストリーム中に所定数パケット毎に1つ含まれている。
デコーダ54は、受信したPCRパケットに添付された
PCRを参照して、自己の持つシステム・クロックを修
正する。即ち、エンコーダ50側のシステム・クロック
の歩調に、自己の持つシステム・クロックの歩調を合わ
せる。
Each encoder 50 attaches its own system clock value as a PCR to a PCR packet when transmitting a PCR packet which is a specific packet in the output stream. One PCR packet is included in the stream for every predetermined number of packets.
The decoder 54 corrects its own system clock with reference to the PCR attached to the received PCR packet. That is, the system clock of the encoder 50 is made to match the system clock of the encoder 50 side.

【0006】そこで、ストリーム多重化装置51では、
複数のストリームを多重化して送出する際に、送出しよ
うとする多重化ストリームに含まれ、夫々のエンコーダ
50で添付されたPCRを補正処理を行う必要がある。
Therefore, in the stream multiplexing device 51,
When a plurality of streams are multiplexed and transmitted, it is necessary to perform a correction process on the PCR included in the multiplexed stream to be transmitted and attached by each encoder 50.

【0007】[0007]

【発明が解決しようとする課題】上記従来のストリーム
多重装置51では、複数ある夫々の入力ストリームのデ
ータを、個々に設けたバッファメモリに格納していた。
よって、上記従来のストリーム多重化装置51では、入
力ストリームの数、つまり多重化数に等しい個数のバッ
ファメモリを必要とした。その結果として、特に多重化
数が多くなると、装置規模が大きくなるという問題点が
あった。
In the above-described conventional stream multiplexing apparatus 51, data of a plurality of input streams are stored in buffer memories provided individually.
Therefore, the conventional stream multiplexing device 51 requires a buffer memory of the number equal to the number of input streams, that is, the number of multiplexing. As a result, there is a problem that the device scale becomes large, especially when the number of multiplexing increases.

【0008】本発明は、このような従来の問題点に鑑み
てなされたものであって、入力ストリーム毎にバッファ
メモリを設けず、しかも簡単な構成でストリームの多重
化とPCRの補正とを行うことのできるストリーム多重
化装置を実現することを目的とする。
The present invention has been made in view of such conventional problems, and does not provide a buffer memory for each input stream, and performs stream multiplexing and PCR correction with a simple configuration. It is an object of the present invention to realize a stream multiplexing device capable of performing such operations.

【0009】[0009]

【課題を解決するための手段】本願の請求項1の発明
は、複数の入力ストリームを多重化して出力するストリ
ーム多重化装置であって、各入力ストリームにおける夫
々の入力パケットの入力時刻を測定する入力時刻測定手
段と、前記多重化ストリームにおける夫々の出力パケッ
トの出力時刻を測定する出力時刻測定手段と、前記入力
パケットとその入力時刻を一時保持する入力キュー、及
び前記出力パケットアドレスとその出力時刻を一時保持
する出力キューを有するバッファメモリと、前記バッフ
ァメモリの入力キューに記憶されている各パケットの出
力順序を決定する出力順決定手段と、前記出力順決定手
段により出力順が決定されたパケットにPCR(プログ
ラム・クロック・リファレンス)が含まれる場合に、前
記PCRを書きかえるPCR補正手段と、を具備するこ
とを特徴とするものである。
The invention according to claim 1 of the present application is a stream multiplexing apparatus for multiplexing a plurality of input streams and outputting the multiplexed streams, and measures the input time of each input packet in each input stream. Input time measuring means, output time measuring means for measuring an output time of each output packet in the multiplexed stream, an input queue for temporarily holding the input packet and its input time, and the output packet address and its output time A buffer memory having an output queue for temporarily holding the packet, an output order determining means for determining an output order of each packet stored in an input queue of the buffer memory, and a packet whose output order is determined by the output order determining means. Rewrites the PCR if it contains a PCR (Program Clock Reference) It is characterized in that it comprises a PCR correction means.

【0010】本願の請求項2の発明は、請求項1のスト
リーム多重化装置において、前記バッファメモリは、入
出力バスを介して前記入力時刻測定手段及び前記出力時
刻測定手段に接続され、制御バスを介して前記出力順決
定手段及び前記PCR補正手段に接続され、前記バッフ
ァメモリに対する前記各パケット書き込み及び読み出
し、及び前記入力時刻及び前記出力時刻の書きこみを、
前記入出力バスを用いて行うことを特徴とするものであ
る。
According to a second aspect of the present invention, in the stream multiplexing device of the first aspect, the buffer memory is connected to the input time measuring means and the output time measuring means via an input / output bus. Is connected to the output order determination means and the PCR correction means through the, write and read each packet to the buffer memory, and write the input time and the output time,
It is characterized by using the input / output bus.

【0011】本願の請求項3の発明は、請求項1のスト
リーム多重化装置において、前記PCR補正手段は、前
記バッファメモリに記憶されている特定パケットの入力
時刻と、既に前記特定パケットより先に出力されたパケ
ットの出力時刻とを用いて前記PCRを書き変えること
を特徴とするものである。
According to a third aspect of the present invention, in the stream multiplexing apparatus of the first aspect, the PCR correction means determines whether the input time of the specific packet stored in the buffer memory is earlier than the input time of the specific packet. The PCR is rewritten using the output time of the output packet.

【0012】本願の請求項4の発明は、請求項1のスト
リーム多重化装置において、前記出力順決定手段は、前
記バッファメモリに記憶されている各パケットの入力時
刻と、既に出力された各パケットの出力時刻とを用いて
出力順を決定することを特徴とするものである。
According to a fourth aspect of the present invention, in the stream multiplexing apparatus of the first aspect, the output order determining means determines an input time of each packet stored in the buffer memory and an output time of each packet already output. The output order is determined using the output time.

【0013】[0013]

【発明の実施の形態】本発明の実施の形態によるストリ
ーム多重化装置について図面を参照しつつ説明する。図
1は本実施の形態におけるストリーム多重化装置の構成
を示すブロック図である。このストリーム多重化装置
は、複数の入力ストリームを多重化するため、複数の入
力部10A,10B,・・・10Nと、1つの出力部1
1が設けられている。入力部10Aは、入力時刻測定部
12と入力制御部13を有している。入力部10B〜1
0Nは入力部10Aと同一の構成である。各入力部10
A〜10Nは、入出力バス19を介して出力部11及び
バッファメモリ18に接続される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A stream multiplexing apparatus according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the stream multiplexing apparatus according to the present embodiment. This stream multiplexing apparatus includes a plurality of input units 10A, 10B,... 10N and one output unit 1 for multiplexing a plurality of input streams.
1 is provided. The input unit 10A includes an input time measurement unit 12 and an input control unit 13. Input unit 10B-1
0N has the same configuration as the input unit 10A. Each input unit 10
A to 10N are connected to the output unit 11 and the buffer memory 18 via the input / output bus 19.

【0014】入力部10Aの入力時刻測定部12は、入
力ストリームの各パケットが入力部10Aに入力された
時刻を測定するものである。入力制御部13は、入力ス
トリームの各パケットデータと、入力時刻測定部12が
測定した入力時刻を、バッファメモリ18の一部に書き
込むものである。
The input time measuring unit 12 of the input unit 10A measures the time at which each packet of the input stream is input to the input unit 10A. The input control unit 13 writes each packet data of the input stream and the input time measured by the input time measuring unit 12 into a part of the buffer memory 18.

【0015】バッファメモリ18は、入力ストリーム別
の複数の入力キューと、1つの出力キューとを持つメモ
リである。入力キューとは、パケットデータとそのパケ
ットの入力時刻及び入力フラグを格納するデータ配列で
ある。出力キューとは、出力順が決定されたP個のパケ
ットの入力キューにおけるアドレスと、そのパケットの
出力時刻及び出力フラグとを格納するデータ配列であ
る。バッファメモリ18の構成は図2に示すように、上
位アドレスから下位アドレスに渡って、複数の入力キュ
ーと1つの出力キューのデータ領域が設けられている。
このようなデータ領域を有するバッファメモリ18は、
制御バス20を介して出力順決定手段16とPCR補正
手段17とに接続されている。
The buffer memory 18 is a memory having a plurality of input queues for each input stream and one output queue. The input queue is a data array that stores the packet data, the input time and the input flag of the packet. The output queue is a data array that stores the addresses in the input queue of the P packets whose output order has been determined, and the output times and output flags of the packets. As shown in FIG. 2, the buffer memory 18 has a plurality of input queues and a data area of one output queue from the upper address to the lower address.
The buffer memory 18 having such a data area is
The output order determining means 16 and the PCR correcting means 17 are connected via the control bus 20.

【0016】図1に示す出力部11には、出力制御部1
4と出力時刻測定部15が設けられている。出力制御部
14は、バッファメモリ18の出力キューに記録された
アドレスを読み出し、そのアドレスが指し示すパケット
データを入力キューから読み出して出力するものであ
る。出力時刻測定部15は、各出力パケットの先頭部が
ストリーム多重化装置から実際に出力される時刻を測定
するものである。出力順決定手段16は、複数のストリ
ームにおける各出力パケットの出力順序を決定するもの
であり、放送チャンネル数、各入力ストリームのビット
レート、各パケットデータのDTS(デコーディング・
タイム・スタンプ)、出力ストリームのビットレート等
によってその順序が決まる。ここで決定されたパケット
の出力順序は出力キューに記録される。
The output unit 11 shown in FIG.
4 and an output time measuring unit 15 are provided. The output control unit 14 reads an address recorded in the output queue of the buffer memory 18, reads out packet data indicated by the address from the input queue, and outputs the packet data. The output time measuring unit 15 measures the time at which the head of each output packet is actually output from the stream multiplexer. The output order determining means 16 determines the output order of each output packet in a plurality of streams, and includes the number of broadcast channels, the bit rate of each input stream, and the DTS (decoding / decoding) of each packet data.
Time stamp), the bit rate of the output stream, and the like. The output order of the packets determined here is recorded in the output queue.

【0017】PCR補正手段17は、バッファメモリ1
8に保持された各パケットの入力時刻と出力時刻に基づ
いてPCRの補正値を計算し、修正されたPCRを生成
するものである。前記の出力時刻とは、既に出力された
パケットの出力時刻がPパケット分、出力キューに保存
されているので、その出力時刻をいう。図3はPCR補
正手段17におけるPCRの補正原理を示すタイムチャ
ートである。PCRパケットの入力時刻Tinを図3
(a)に示し、PCRパケットの出力時刻Tout を同一
の時間軸を用いて図3(c)に示す。
The PCR correction means 17 includes a buffer memory 1
The correction value of the PCR is calculated on the basis of the input time and the output time of each packet held in No. 8 to generate a corrected PCR. The output time refers to the output time of P packets already output in the output queue because the output time is stored in the output queue. FIG. 3 is a time chart showing the principle of PCR correction in the PCR correction means 17. FIG. 3 shows the input time Tin of the PCR packet.
FIG. 3A shows the output time Tout of the PCR packet using the same time axis as shown in FIG.

【0018】本図に示すように、PCRはPCRパケッ
トの先頭位置から6バイト目の位置、即ち時間軸上でP
CRパケットの先頭位置からx時間の位置に挿入されて
いる。このようなPCRパケットは、複数パケット毎に
定期的に1個生成されるが、当該PCRパケットの出力
時刻Tout は、パケットの多重化により入力時刻Tinよ
り時間τだけ遅れるものとする。図2の出力キューに記
録可能なパケット数をPとすると、図3(b)に示すよ
うに、当該PCRパケットよりQ(Q<P)個前、例え
ば2個前に位置するパケットを監視対象にする。このパ
ケットは、図1に示すストリーム多重化装置から出力時
刻Tout より時間yだけ早い時刻T'outに出力される。
この出力時刻T'outは、前述したように当該PCRパケ
ットの出力される時刻より以前に、バッファメモリ18
の出力キューに記録されているので、この出力キューを
参照することにより判る。時間yは、PCRパケットの
出力時より前に予測又は計測できるので、次の式を用い
て遅延時間τを得る。 τ=T'out−Tin+y
As shown in the figure, the PCR is located at the position of the sixth byte from the head position of the PCR packet, that is, P on the time axis.
It is inserted at a position x time from the head position of the CR packet. One such PCR packet is periodically generated for each of a plurality of packets, and the output time Tout of the PCR packet is delayed by the time τ from the input time Tin due to multiplexing of the packets. Assuming that the number of packets that can be recorded in the output queue of FIG. 2 is P, as shown in FIG. 3B, a packet positioned Q (Q <P) prior to the PCR packet, for example, two packets before, is monitored. To This packet is output from the stream multiplexing device shown in FIG. 1 at a time T'out earlier by a time y than the output time Tout.
The output time T′out is, as described above, before the time when the PCR packet is output, as described above.
Is recorded in the output queue, and can be determined by referring to this output queue. Since the time y can be predicted or measured before the output of the PCR packet, the delay time τ is obtained using the following equation. τ = T'out−Tin + y

【0019】本来ならば、PCRパケットの出力時刻T
out を測定してから、遅延時間をτを知ることになる
が、図3(c)に示すように出力時刻Tout から短い時
間x以内で、補正されたPCRを生成することは時間的
に余裕がないといえる。そこで、本実施の形態では、時
間xより長い時間yを設けて、補正されたPCRを生成
する。こうして得られた遅延時間τを入力時のPCR値
に加算することにより、PCRを補正できる。
Normally, the output time T of the PCR packet
After measuring out, the delay time is known as τ. However, as shown in FIG. 3 (c), generating the corrected PCR within a short time x from the output time Tout has some time margin. It can be said that there is no. Therefore, in the present embodiment, a corrected PCR is generated with a time y longer than the time x. The PCR can be corrected by adding the delay time τ thus obtained to the PCR value at the time of input.

【0020】以上のような構成のストリーム多重化装置
における動作について説明する。入力時刻測定部12
は、入力ストリームの各パケットデータがストリーム多
重化装置に入力された時刻を測定する。入力制御部13
は、入力ストリームの各パケットデータと、入力時刻測
定部12が測定した入力時刻を、図2に示す入力キュー
に書き込み、更に入力フラグを1にする。パケットデー
タ、入力時刻及び入力フラグは、入力キューを構成する
配列の先頭から順に書き込んで行く。1つの入力キュー
にN個のパケットデータの記録領域があれば、配列の最
後、即ちN番目の記録領域に達した場合は、配列の先頭
に戻り、以上の手順を繰り返す。この場合、先のデータ
に上書きされる。
The operation of the stream multiplexing apparatus having the above configuration will be described. Input time measurement unit 12
Measures the time when each packet data of the input stream was input to the stream multiplexer. Input control unit 13
Writes the packet data of the input stream and the input time measured by the input time measuring unit 12 into the input queue shown in FIG. 2, and further sets the input flag to 1. The packet data, the input time, and the input flag are sequentially written from the head of the array forming the input queue. If there are N packet data recording areas in one input queue, the end of the array, that is, if the Nth recording area is reached, return to the top of the array and repeat the above procedure. In this case, the previous data is overwritten.

【0021】出力順決定手段16は、放送チャンネル
数、各入力ストリームのビットレート、各パケットデー
タのDTS、出力ストリームのビットレート等によっ
て、複数のストリームにおける各出力パケットの出力順
序を決定し、各パケットの出力順序を出力キューに記録
する。また出力順決定手段16は、定常状態において
は、既にストリーム多重化装置から出力され、出力キュ
ーに記録された各パケットの出力順序を参照することに
より、今後出力するべき順序を決定することもできる。
基本的には同一入力ストリームにおいては、入力時刻と
同様に順序になるよう出力順序が決定される。
The output order determining means 16 determines the output order of each output packet in a plurality of streams based on the number of broadcast channels, the bit rate of each input stream, the DTS of each packet data, the bit rate of an output stream, and the like. Record the packet output order in the output queue. In the steady state, the output order determining means 16 can determine the order to be output in the future by referring to the output order of each packet already output from the stream multiplexer and recorded in the output queue. .
Basically, in the same input stream, the output order is determined in the same order as the input time.

【0022】出力制御部14は、出力順決定手段16よ
り決定され、出力キューに記録されたアドレスを読み出
し、そのアドレスが指し示す先に格納されているパケッ
トデータを読み出して出力する。出力時刻測定部15
は、各パケットの先頭部が、ストリーム多重化装置から
出力される時刻を測定する。出力制御部14は、夫々の
パケットデータが出力されると、出力時刻測定部15が
測定した出力時刻を出力キューに書き込み、出力フラグ
を1にする。アドレス、出力時刻及び出力フラグは、出
力キューを構成する配列の先頭から順に読み書きする。
配列の最後に達した場合は、入力キューの場合と同様、
配列の先頭に戻り以上の手順を繰り返す。
The output control section 14 reads the address determined by the output order determining means 16 and recorded in the output queue, and reads and outputs the packet data stored at the destination indicated by the address. Output time measuring unit 15
Measures the time at which the head of each packet is output from the stream multiplexer. When each packet data is output, the output control unit 14 writes the output time measured by the output time measurement unit 15 in the output queue, and sets the output flag to 1. The address, the output time, and the output flag are read and written sequentially from the top of the array forming the output queue.
When the end of the array is reached, just like in the input queue,
Return to the top of the array and repeat the above steps.

【0023】PCR補正手段17は、出力順決定手段1
6から渡されたアドレスのパケットにPCRが含まれる
場合、前述したように、アドレスと同時に入力時刻と出
力時刻からPCRの補正値を計算し、PCRの補正を行
う。
The PCR correction means 17 includes the output order determination means 1
If the packet of the address passed from 6 contains a PCR, as described above, the PCR correction value is calculated from the input time and the output time simultaneously with the address, and the PCR is corrected.

【0024】このように本実施の形態によれば、各入力
ストリームのデータを1つのバッファメモリに入力し、
その内容を入力キュー及び出力キューで管理することに
より、バッファメモリの個数を削減することができる。
また本実施の形態によれば、バッファメモリに記録され
た各パケットの入力時刻と出力時刻とを用いて、PCR
パケットの出力以前にPCRの補正値を得ることができ
る。
As described above, according to the present embodiment, the data of each input stream is input to one buffer memory,
By managing the contents in the input queue and the output queue, the number of buffer memories can be reduced.
Further, according to the present embodiment, the PCR is performed using the input time and the output time of each packet recorded in the buffer memory.
A correction value of the PCR can be obtained before outputting the packet.

【0025】[0025]

【発明の効果】このような本願の請求項1〜4の発明に
よれば、1つのバッファメモリを用いた簡易な構成で、
ストリームの多重化とPCRの補正を実現することがで
きる。
According to the first to fourth aspects of the present invention, with a simple configuration using one buffer memory,
Stream multiplexing and PCR correction can be realized.

【0026】特に請求項1記載の発明によれば、各入力
ストリーム毎にバッファメモリを設ける必要がなくなる
ため、装置規模を小さくすることができる。
In particular, according to the first aspect of the present invention, it is not necessary to provide a buffer memory for each input stream, so that the apparatus scale can be reduced.

【0027】特に請求項2記載の発明によれば、入出力
バスは高速に動作させ、制御バスは低速で動作させるこ
とで、高価な部品を用いなくても高性能な多重化装置を
実現できる。
According to the second aspect of the present invention, the input / output bus operates at a high speed and the control bus operates at a low speed, so that a high-performance multiplexer can be realized without using expensive components. .

【0028】特に請求項3記載の発明によれば、高い精
度及び簡易な構成でPCRの補正を行うことができる。
According to the third aspect of the present invention, PCR can be corrected with high accuracy and a simple configuration.

【0029】特に請求項4記載の発明によれば、高い精
度及び簡易な構成で出力順を決定することができる。
According to the fourth aspect of the present invention, the output order can be determined with high accuracy and a simple configuration.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の実施の形態におけるストリーム多重化
装置の構成図である。
FIG. 1 is a configuration diagram of a stream multiplexing device according to an embodiment of the present invention.

【図2】本実施の形態のストリーム多重化装置に用いら
れるバッファメモリにおいて、パケット、入力時刻、出
力時刻の格納場所を示すメモリマップである。
FIG. 2 is a memory map showing storage locations of packets, input times, and output times in a buffer memory used in the stream multiplexing device of the present embodiment.

【図3】本実施の形態のストリーム多重化装置におい
て、PCRの補正方法を示すタイムチャートである。
FIG. 3 is a time chart showing a method of correcting a PCR in the stream multiplexing device of the present embodiment.

【図4】従来のストリーム多重化装置を含むCS放送の
システム構成図である。
FIG. 4 is a system configuration diagram of a CS broadcast including a conventional stream multiplexing device.

【符号の説明】[Explanation of symbols]

10A〜10N 入力部 11 出力部 12 入力時刻測定部 13 入力制御部 14 出力制御部 15 出力時刻測定部 16 出力順決定手段 17 PCR補正手段 18 バッファメモリ 19 入出力バス 20 制御バス 10A to 10N Input unit 11 Output unit 12 Input time measurement unit 13 Input control unit 14 Output control unit 15 Output time measurement unit 16 Output order determination unit 17 PCR correction unit 18 Buffer memory 19 Input / output bus 20 Control bus

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.7 識別記号 FI テーマコート゛(参考) H04N 7/08 H04N 7/08 Z 9A001 7/081 7/13 Z 7/24 Fターム(参考) 5C059 KK08 KK34 MA00 RB02 RB06 RB10 RB16 RC04 RC08 RE04 SS02 UA02 UA05 UA38 5C063 AA01 AB03 AB07 AC01 AC05 CA11 DA07 DA13 5K028 AA07 CC02 DD01 DD02 EE03 EE05 EE07 FF11 KK01 KK12 KK24 KK34 LL12 MM04 MM08 MM12 NN31 NN42 SS04 SS14 SS24 5K030 GA05 HB01 HB02 HB21 HB29 JA01 KA02 KA19 KA21 LD07 LE06 5K047 AA16 BB05 CC02 DD01 DD02 GG45 HH01 HH11 JJ06 LL06 MM12 MM24 9A001 BB03 BB04 CC02 HH34 KK60──────────────────────────────────────────────────の Continued on the front page (51) Int.Cl. 7 Identification symbol FI Theme coat ゛ (Reference) H04N 7/08 H04N 7/08 Z 9A001 7/081 7/13 Z 7/24 F term (reference) 5C059 KK08 KK34 MA00 RB02 RB06 RB10 RB16 RC04 RC08 RE04 SS02 UA02 UA05 UA38 5C063 AA01 AB03 AB07 AC01 AC05 CA11 DA07 DA13 5K028 AA07 CC02 DD01 DD02 EE03 EE05 EE07 FF11 KK01 KK12 KK24 NN34 NN34 MM07 JA01 KA02 KA19 KA21 LD07 LE06 5K047 AA16 BB05 CC02 DD01 DD02 GG45 HH01 HH11 JJ06 LL06 MM12 MM24 9A001 BB03 BB04 CC02 HH34 KK60

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 複数の入力ストリームを多重化して出力
するストリーム多重化装置であって、 各入力ストリームにおける夫々の入力パケットの入力時
刻を測定する入力時刻測定手段と、 前記多重化ストリームにおける夫々の出力パケットの出
力時刻を測定する出力時刻測定手段と、 前記入力パケットとその入力時刻を一時保持する入力キ
ュー、及び前記出力パケットアドレスとその出力時刻を
一時保持する出力キューを有するバッファメモリと、 前記バッファメモリの入力キューに記憶されている各パ
ケットの出力順序を決定する出力順決定手段と、 前記出力順決定手段により出力順が決定されたパケット
にPCR(プログラム・クロック・リファレンス)が含
まれる場合に、前記PCRを書きかえるPCR補正手段
と、を具備することを特徴とするストリーム多重化装
置。
1. A stream multiplexer for multiplexing and outputting a plurality of input streams, comprising: input time measuring means for measuring an input time of each input packet in each input stream; Output time measuring means for measuring an output time of an output packet; an input queue for temporarily holding the input packet and its input time; and a buffer memory having an output queue for temporarily holding the output packet address and its output time; Output order determining means for determining the output order of each packet stored in the input queue of the buffer memory; and a case where the output order determining means includes a PCR (program clock reference) in the packet whose output order is determined by the output order determining means. And PCR correction means for rewriting the PCR. Stream multiplexing apparatus according to symptoms.
【請求項2】 前記バッファメモリは、入出力バスを介
して前記入力時刻測定手段及び前記出力時刻測定手段に
接続され、制御バスを介して前記出力順決定手段及び前
記PCR補正手段に接続され、 前記バッファメモリに対する前記各パケット書き込み及
び読み出し、及び前記入力時刻及び前記出力時刻の書き
こみを、前記入出力バスを用いて行うことを特徴とする
請求項1記載のストリーム多重化装置。
2. The buffer memory is connected to the input time measuring means and the output time measuring means via an input / output bus, and connected to the output order determining means and the PCR correcting means via a control bus, 2. The stream multiplexing apparatus according to claim 1, wherein the writing and reading of each packet to and from the buffer memory and the writing of the input time and the output time are performed using the input / output bus.
【請求項3】 前記PCR補正手段は、前記バッファメ
モリに記憶されている特定パケットの入力時刻と、既に
前記特定パケットより先に出力されたパケットの出力時
刻とを用いて前記PCRを書き変えることを特徴とする
請求項1記載のストリーム多重化装置。
3. The PCR correction means rewrites the PCR using an input time of a specific packet stored in the buffer memory and an output time of a packet already output earlier than the specific packet. The stream multiplexing device according to claim 1, wherein:
【請求項4】 前記出力順決定手段は、前記バッファメ
モリに記憶されている各パケットの入力時刻と、既に出
力された各パケットの出力時刻とを用いて出力順を決定
することを特徴とする請求項1記載のストリーム多重化
装置。
4. The output order determining means determines an output order using an input time of each packet stored in the buffer memory and an output time of each packet already output. The stream multiplexing device according to claim 1.
JP35699999A 1999-12-16 1999-12-16 Stream multiplexer Pending JP2001177568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35699999A JP2001177568A (en) 1999-12-16 1999-12-16 Stream multiplexer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35699999A JP2001177568A (en) 1999-12-16 1999-12-16 Stream multiplexer

Publications (1)

Publication Number Publication Date
JP2001177568A true JP2001177568A (en) 2001-06-29

Family

ID=18451861

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35699999A Pending JP2001177568A (en) 1999-12-16 1999-12-16 Stream multiplexer

Country Status (1)

Country Link
JP (1) JP2001177568A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006020328A (en) * 2004-07-01 2006-01-19 Nextream France Apparatus and method for multiplexing using coding device
JP2007082232A (en) * 2001-07-07 2007-03-29 Lg Electron Inc Reproduction method, reproduction apparatus, recording method, recording apparatus and recording medium for video stream
JP2010141585A (en) * 2008-12-11 2010-06-24 Mitsubishi Electric Corp Image sending device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007082232A (en) * 2001-07-07 2007-03-29 Lg Electron Inc Reproduction method, reproduction apparatus, recording method, recording apparatus and recording medium for video stream
JP2006020328A (en) * 2004-07-01 2006-01-19 Nextream France Apparatus and method for multiplexing using coding device
JP2010141585A (en) * 2008-12-11 2010-06-24 Mitsubishi Electric Corp Image sending device

Similar Documents

Publication Publication Date Title
JP3894572B2 (en) Method for transmitting and receiving compressed television signals
JP3762430B2 (en) Method and apparatus for transmitting data packets
WO1997035393A1 (en) Data separating device
JP2002359818A (en) Device for transmitting reproduced image
JP4207639B2 (en) Data multiplexing method, data multiplexing device, transmission device, and reception device
WO2004071085A1 (en) Code conversion method and device thereof
US20090113501A1 (en) Distribution Apparatus and Playback Apparatus
KR100534291B1 (en) Digital broadcasting writing regenerative apparatus
US7194548B1 (en) Data transmission apparatus, receiving apparatus, and sending apparatus
JP2006332943A (en) Stream control apparatus, stream reproducing method, and video recording and reproducing system
JP6957186B2 (en) Information processing equipment, information processing methods, programs, and recording medium manufacturing methods
JP3185863B2 (en) Data multiplexing method and apparatus
JP2001177568A (en) Stream multiplexer
JPH09247670A (en) Information multiplexer
JP4428779B2 (en) Data multiplexer
US20060133474A1 (en) Encoder and its method
JP2001111969A (en) Ts packet data multiplexing method and ts packet data multiplexer
US20060023755A1 (en) MPEG-TS reproduction apparatus
JP2008017328A (en) Digital broadcast receiver with video recording functions
JP3874225B2 (en) Data processing apparatus and data processing method
US8855130B2 (en) Method and apparatus for demultiplexing, merging, and duplicating packetized elementary stream/program stream/elementary stream data
JP2004040576A (en) Data distributing apparatus and method
US8571053B2 (en) Method and system for architecture of a fast programmable transport demultiplexer using double buffered approach
JP2000174813A (en) Device and method for multiplexing stream
JP2001223656A (en) Multiplex transmitter