JP3429652B2 - Digital coding and multiplexing equipment - Google Patents

Digital coding and multiplexing equipment

Info

Publication number
JP3429652B2
JP3429652B2 JP32981797A JP32981797A JP3429652B2 JP 3429652 B2 JP3429652 B2 JP 3429652B2 JP 32981797 A JP32981797 A JP 32981797A JP 32981797 A JP32981797 A JP 32981797A JP 3429652 B2 JP3429652 B2 JP 3429652B2
Authority
JP
Japan
Prior art keywords
packet
input
multiplexing
pcr
significant
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
Application number
JP32981797A
Other languages
Japanese (ja)
Other versions
JPH11163817A (en
Inventor
憲英 大元
潤 佐波
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP32981797A priority Critical patent/JP3429652B2/en
Publication of JPH11163817A publication Critical patent/JPH11163817A/en
Application granted granted Critical
Publication of JP3429652B2 publication Critical patent/JP3429652B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)
  • Time-Division Multiplex Systems (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、1又は複数のプロ
グラムデータ(映像データ、音響データ等)を他のビッ
トストリーム(プログラムデータを含む)に多重化し、
1つのビットストリームとして出力するディジタル符号
化多重化装置に関する。
The present invention multiplexes one or more program data (video data, audio data, etc.) into another bit stream (including program data),
The present invention relates to a digital encoding / multiplexing device for outputting as one bit stream.

【0002】[0002]

【従来の技術】MPEG2(ISO/IEC1381
8)に代表される多重化方式においては、複数のプログ
ラムデータ(例えば、音響データと映像データ)を、1
つのトランスポートストリームに多重化するための規約
が定められている(ITU−T勧告H.222.0)。
2. Description of the Related Art MPEG2 (ISO / IEC1381
In the multiplexing method represented by 8), a plurality of program data (for example, audio data and video data)
The protocol for multiplexing into one transport stream is defined (ITU-T Recommendation H.222.0).

【0003】図2は、かかるディジタル符号化多重化装
置の従来例であり、図3は、その動作例である。なお、
図2及び図3は、いずれも2つのプログラムデータを、
1つのトランスポートストリームに多重化する場合につ
いて表している。
FIG. 2 shows a conventional example of such a digital encoding / multiplexing apparatus, and FIG. 3 shows an example of its operation. In addition,
2 and 3 both contain two program data,
The figure shows the case of multiplexing into one transport stream.

【0004】図2に示すディジタル符号化多重化装置
は、2つプログラムデータA及びBをそれぞれトランス
ポートストリームに符号化し出力する音響映像(AV)
符号化器1A及び1Bと、その出力であるトランスポー
トストリームTS(A)及びTS(B)を1本のトラン
スポートストリームTS(C)に多重して出力する多重
化器(MUX)2からなる。
The digital encoding / multiplexing device shown in FIG. 2 encodes two program data A and B into a transport stream, and outputs an audiovisual image (AV).
It includes encoders 1A and 1B and a multiplexer (MUX) 2 that multiplexes the output transport streams TS (A) and TS (B) into one transport stream TS (C) and outputs the multiplexed transport stream TS (C). .

【0005】多重化器2は、音響映像(AV)符号化器
1A及び1Bから入力される各トランスポートストリー
ムA及びBを、各トランスポートストリームの2倍のデ
ータ伝送レートで多重化し、1つのトランスポートスト
リームTS(C)として出力するよう構成されている。
The multiplexer 2 multiplexes the transport streams A and B input from the audio-visual (AV) encoders 1A and 1B at a data transmission rate twice as high as that of each transport stream. It is configured to output as a transport stream TS (C).

【0006】[0006]

【発明が解決しようとする課題】しかし、かかる構成の
ディジタル符号化多重化装置の場合には、図3に示すよ
うに、多重化時にビットレートの変更が必須となるとい
う課題があった。しかも、かかる多重化処理(データ伝
送レートの変更)を行うと、各プログラムデータが正確
なクロックを復号側で再生できるように有している情報
が多重化により損なわれるという課題があった。
However, in the case of the digital coding / multiplexing apparatus having such a structure, there is a problem that the bit rate must be changed at the time of multiplexing as shown in FIG. Moreover, when such a multiplexing process (change of the data transmission rate) is performed, there is a problem that the information that each program data has so that the correct clock can be reproduced on the decoding side is lost due to the multiplexing.

【0007】本発明は、以上の点を考慮してなされたも
ので、多重化される側のビットストリームについてはデ
ータ伝送レートに何らの変更を加えることなく、プログ
ラムデータを多重化できるディジタル符号化多重化装置
を提案しようとするものである。
The present invention has been made in consideration of the above points, and a digital encoding capable of multiplexing program data without changing the data transmission rate of the bit stream to be multiplexed. It is intended to propose a multiplexer.

【0008】[0008]

【課題を解決するための手段】かかる課題を解決するた
め、本発明においては、(1) 入力されるビットストリー
ムに、符号に意味のない冗長符号が含まれているか否か
検出し、含まれている場合、冗長符号が検出されるた
び、当該冗長符号の検出期間を示す検出信号を出力する
冗長符号検出手段と、(2) 入力されたプログラムデータ
を圧縮符号化し、パケットデータストリームとして出力
する圧縮符号化手段と、(3) 圧縮符号化手段から入力さ
れるパケットデータストリームについての送出タイミン
グを、冗長符号検出手段から与えられる検出信号に基づ
いて調整し、ビットストリームの有意パケットデータと
パケットデータストリーム中の有意パケットデータとの
競合を回避する遅延手段と、(4) 多重化ビットストリー
ムに現れる冗長符号期間又は空き時間に、遅延手段から
入力される有意パケットデータを挿入し、上記ビットス
トリーム上に有意パケットデータが挿入されていない上
記冗長符号期間又は空き時間に、冗長符号を挿入して、
ビットストリームと同一伝送レートを有する多重化ビッ
トストリームとして出力する多重化手段とをディジタル
符号化多重化装置に備えるようにする。
In order to solve such a problem, according to the present invention, (1) it is detected whether or not a code includes a meaningless redundant code, and it is included. When the redundant code is detected, redundant code detecting means for outputting a detection signal indicating the detection period of the redundant code, and (2) the input program data are compression-encoded and output as a packet data stream. The compression coding means and (3) the transmission timing of the packet data stream input from the compression coding means is adjusted based on the detection signal given from the redundant code detection means, and significant packet data and packet data of the bit stream are adjusted. Delay means to avoid contention with significant packet data in the stream, and (4) redundant code period or redundant code period appearing in the multiplexed bitstream. The idle time, insert a significant packet data inputted from the delay means, the Bittosu
No significant packet data is inserted in the stream
Insert a redundant code in the redundant code period or idle time,
A digital coding and multiplexing apparatus is provided with a multiplexing means for outputting a multiplexed bitstream having the same transmission rate as the bitstream.

【0009】このように、プログラムデータを圧縮符号
化してパケットデータストリームに空き時間を生成し、
当該空き時間を利用した遅延制御により、多重化対象と
なる他のビットストリームとの有意パケットデータの競
合を回避し、当該他のビットストリームに現れる冗長符
号期間又は空き時間にプログラムデータから得た有意パ
ケットデータを挿入することにより、伝送レートの変更
なく多重化できる。
As described above, the program data is compression-encoded to generate a free time in the packet data stream,
By delay control using the idle time, it is possible to avoid contention of significant packet data with other bitstreams to be multiplexed, and to obtain the significance obtained from the program data in the redundant code period or idle time appearing in the other bitstream. By inserting packet data, multiplexing can be performed without changing the transmission rate.

【0010】[0010]

【発明の実施の形態】以下、本発明に係るディジタル符
号化多重化装置の実施形態例を、図面を用いて順番に説
明する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of a digital coding and multiplexing apparatus according to the present invention will be described below in order with reference to the drawings.

【0011】(A)第1の実施形態 (A−1)第1の実施形態装置の構成 図1に、第1の実施形態に係るディジタル符号化多重化
装置の機能ブロック構成を示す。
(A) First Embodiment (A-1) First Embodiment Device Configuration FIG. 1 shows a functional block configuration of a digital encoding and multiplexing device according to the first embodiment.

【0012】このディジタル符号化多重化装置は、音響
映像(AV)符号化器11、ヌルパケット発生器12、
多重化器(MUX)13で構成されている。
This digital encoding / multiplexing apparatus comprises an audiovisual (AV) encoder 11, a null packet generator 12,
It is composed of a multiplexer (MUX) 13.

【0013】音響映像(AV)符号化器11は、プログ
ラムデータA(音響データ又は映像データ)を圧縮符号
化してパケット化し、トランスポートストリームTS
(A)として出力する手段である。なお、ここでの圧縮
率は、制御信号CTLに基づいて制御され、圧縮後のデ
ータレート(単位時間あたりの発生情報量)が、データ
伝送レート(トランスポートストリームTS(A)及び
TS(C)の伝送レート)以下となるように定められて
いる。
The audio-visual (AV) encoder 11 compresses and encodes the program data A (acoustic data or video data) into packets, and then the transport stream TS.
(A) is a means for outputting. The compression rate here is controlled based on the control signal CTL, and the data rate after compression (the amount of information generated per unit time) is the data transmission rate (transport streams TS (A) and TS (C)). (Transmission rate of)).

【0014】ヌルパケット発生器12は、ヌルパケット
(Null)と呼ばれる音響映像(AV)情報を含まな
いビットストリームを発生する冗長パケット生成手段で
ある。
The null packet generator 12 is a redundant packet generating means for generating a bit stream called null packet (Null) which does not include audiovisual (AV) information.

【0015】多重化器(MUX)13は、トランスポー
トストリームTS(A)の空き時間にヌルパケット(N
ull)を多重化し、トランスポートストリームTS
(C)として出力する多重化手段であり、そのデータ伝
送レートに応じた圧縮率を制御信号CTLとして、音響
映像(AV)符号化器11に指示するようになってい
る。なお、この多重化器(MUX)13に入力されるデ
ータ伝送レートと当該多重化器(MUX)13から出力
されるデータ伝送レートとは同じであり、入力側と出力
側とで同一クロックでの動作が可能なように構成されて
いる。
The multiplexer (MUX) 13 has a null packet (N) in the idle time of the transport stream TS (A).
and the transport stream TS
(C) is a multiplexing unit that outputs a compression rate corresponding to the data transmission rate to the audio-visual (AV) encoder 11 as a control signal CTL. The data transmission rate input to the multiplexer (MUX) 13 and the data transmission rate output from the multiplexer (MUX) 13 are the same, and the same clock is used on the input side and the output side. It is configured to be operable.

【0016】(A−2)第1の実施形態装置による多重
化動作 次に、第1の実施形態装置であるディジタル符号化多重
化装置の多重化動作を説明する。
(A-2) Multiplexing Operation by the First Embodiment Apparatus Next, the multiplexing operation of the digital coding and multiplexing apparatus which is the first embodiment apparatus will be described.

【0017】まず、ディジタル符号化多重化装置は、入
力されたプログラムデータAを、音響映像(AV)符号
化器11に入力する。音響映像(AV)符号化器11
は、制御信号CTLが指示する圧縮率で当該プログラム
Aを圧縮し、パケット化してトランスポートストリーム
TS(A)として出力する。図4上段に「A」と表され
ているパケットがこれに対応する。
First, the digital encoding / multiplexing apparatus inputs the inputted program data A to the audio-visual (AV) encoder 11. Audiovisual (AV) encoder 11
Compresses the program A at a compression rate indicated by the control signal CTL, packetizes it, and outputs it as a transport stream TS (A). The packet represented by “A” in the upper part of FIG. 4 corresponds to this.

【0018】なお、図4は、トランスポートストリーム
TS(A)のデータレート(単位時間あたりの発生情報
量)を、データ伝送レート(トランスポートストリーム
TS(A)及びTS(C)のデータ伝送レート)の1/
4に定めた場合の例である。
In FIG. 4, the data rate of the transport stream TS (A) (the amount of information generated per unit time) is calculated as the data transmission rate (data transmission rate of the transport streams TS (A) and TS (C)). ) 1 /
This is an example of the case defined in 4.

【0019】多重化器(MUX)13は、このように圧
縮符号化された有意パケットが音響映像(AV)符号化
器11から入力される場合には、これを入力時と同じデ
ータ伝送レートで出力する。これに対し、圧縮符号化さ
れた有意パケットが入力されない場合には(すなわち、
無入力時には)、ヌルパケット発生器12から入力され
るヌルパケット(Null)を当該空き期間に挿入す
る。これにより、図4下段に示すように、冗長ビットで
あるヌルパケット(Null)が任意のタイミングで現
れるトランスポートストリームTS(C)が出力される
ことになる。
When the significant packet compressed and encoded in this way is input from the audio-visual (AV) encoder 11, the multiplexer (MUX) 13 sets it at the same data transmission rate as that at the time of input. Output. On the other hand, when the compression-coded significant packet is not input (that is,
When there is no input), the null packet (Null) input from the null packet generator 12 is inserted in the empty period. As a result, as shown in the lower part of FIG. 4, the transport stream TS (C) in which the null packet (Null) that is the redundant bit appears at an arbitrary timing is output.

【0020】(A−3)第1の実施形態装置の効果 以上のように、第1の実施形態によれば、プログラムデ
ータAのデータレート(単位時間あたりの発生情報量)
を、多重化器13から出力されるトランスポートストリ
ームTS(C)のデータ伝送レート以下となるように圧
縮し、当該圧縮処理により生成された空き時間内に冗長
パケットを挿入するようにしたことにより、再多重化が
容易なトランスポートストリームTS(C)を生成でき
るディジタル符号化多重化装置を実現することができ
る。
(A-3) Effects of the First Embodiment As described above, according to the first embodiment, the data rate of the program data A (the amount of information generated per unit time).
Are compressed so that the data transmission rate of the transport stream TS (C) output from the multiplexer 13 is equal to or lower than the data transmission rate, and redundant packets are inserted in the free time generated by the compression processing. Thus, it is possible to realize a digital coding and multiplexing apparatus that can generate a transport stream TS (C) that can be easily re-multiplexed.

【0021】また、多重化に際しては、多重化器13の
入出力間でデータ伝送レートの変更を必要としないの
で、従来生じていた課題、すなわち、データ伝送レート
の高速化やクロック再生に要する時間情報の損失等を有
効に回避できる。
Further, in multiplexing, since it is not necessary to change the data transmission rate between the input and output of the multiplexer 13, there is a problem that has occurred in the past, that is, the time required for speeding up the data transmission rate and clock reproduction. Information loss, etc. can be effectively avoided.

【0022】(B)第2の実施形態 (B−1)第2の実施形態装置の構成 図5に、第2の実施形態に係るディジタル符号化多重化
装置の機能ブロック構成を示す。なお、図5には、図1
との同一部分に同一符号を付して示している。
(B) Second Embodiment (B-1) Second Embodiment Device Configuration FIG. 5 shows a functional block configuration of a digital encoding and multiplexing device according to a second embodiment. Note that FIG.
The same parts as and are indicated by the same reference numerals.

【0023】ディジタル符号化多重化装置は、音響映像
(AV)符号化器11、ヌルパケット発生器12、遅延
器21、ヌルパケット検出器22、多重化器(MUX)
23で構成される。すなわち、音響映像(AV)符号化
器11及びヌルパケット発生器12の構成は、それぞれ
第1の実施形態と同じである。従って、以下では、その
他の構成部分について説明する。
The digital coding / multiplexing apparatus includes an audiovisual (AV) encoder 11, a null packet generator 12, a delay device 21, a null packet detector 22, and a multiplexer (MUX).
23. That is, the configurations of the audiovisual (AV) encoder 11 and the null packet generator 12 are the same as those in the first embodiment. Therefore, the other components will be described below.

【0024】遅延器21は、1又は複数のパケットを記
憶するのに十分な容量を有する先入れ先出しメモリ(F
IFOメモリ)からなる遅延手段であり、遅延出力をト
ランスポートストリームTS(A)’として出力する手
段である。ただし、その遅延時間は、当該遅延器21に
入力されるトランスポートストリームTS(A)と多重
される関係にある他方のビットストリーム(ここでは、
トランスポートストリームTS(B))との間で生じる
競合状態及び当該FIFOメモリの内部格納状態に応じ
て定まるため一定ではない。
The delay device 21 is a first-in first-out memory (F) having a sufficient capacity to store one or a plurality of packets.
IFO memory), and is a means for outputting the delayed output as a transport stream TS (A) ′. However, the delay time of the other bit stream (here, in the relation to be multiplexed with the transport stream TS (A) input to the delay device 21 (here,
It is not constant because it is determined according to a race condition generated with the transport stream TS (B) and an internal storage state of the FIFO memory.

【0025】例えば、ヌルパケット検出器22から与え
られるヌルパケット検出信号が有意(例えば「H」レベ
ル)の場合であって、送出待ちパケットがないときは、
遅延器21は、入力されたパケットを書き込みと同時に
読み出すのに対し(このとき、遅延時間は零)、送出待
ちのパケットがあるときは、遅延器21は、待ち時間が
最も長いパケットを読み出すように動作する(このとき
出力されるパケットの遅延時間は、送出までの待ち時間
に応じて可変する)。
For example, when the null packet detection signal provided from the null packet detector 22 is significant (for example, "H" level) and there are no packets waiting to be sent,
While the delay device 21 reads the input packet at the same time as writing (at this time, the delay time is zero), when there is a packet waiting for transmission, the delay device 21 reads the packet with the longest waiting time. (The delay time of the packet output at this time varies depending on the waiting time until transmission).

【0026】一方、ヌルパケット検出器22から与えら
れるヌルパケット検出信号が有意でない(例えば「L」
レベル)場合、遅延器21は、競合状態が生じ得るとし
て、入力されたパケットを、送出待ちパケットの最後尾
に続くアドレスに格納する。
On the other hand, the null packet detection signal provided from the null packet detector 22 is not significant (for example, "L").
Level), the delay device 21 stores the input packet at the address following the end of the packet waiting to be sent, because a race condition may occur.

【0027】このため、遅延器21には、書き込みアド
レス及び読み出しアドレスの双方を任意に指定できるF
IFOメモリが用いられている。
Therefore, in the delay device 21, both the write address and the read address can be arbitrarily designated.
IFO memory is used.

【0028】ヌルパケット検出器22は、トランスポー
トストリームTS(A)’と多重される関係にあるトラ
ンスポートストリームTS(B)に、ヌルパケット(N
ull)と呼ばれる音響映像(AV)情報を含まないビ
ットストリームが含まれているか否か検出し、その検出
結果(タイミング)を示すヌルパケット検出信号を遅延
器21に与える手段である。
The null packet detector 22 adds a null packet (N) to the transport stream TS (B) which is in a relationship of being multiplexed with the transport stream TS (A) '.
It is a means for detecting whether or not a bit stream that does not include audio-visual (AV) information called "ull)" is included and for giving a null packet detection signal indicating the detection result (timing) to the delay unit 21.

【0029】ヌルパケット検出器22は、ヌルパケット
(Null)が検出されたとき、ヌルパケット検出信号
を有意レベル(「H」レベル)とし、ヌルパケット(N
ull)が検出されなかったとき、ヌルパケット検出信
号を無意レベル(「L」レベル)とする。
When a null packet (Null) is detected, the null packet detector 22 sets the null packet detection signal to a significant level (“H” level) and outputs the null packet (N).
null) is not detected, the null packet detection signal is set to the insignificant level (“L” level).

【0030】このヌルパケット検出器22と遅延器21
の存在により、多重化器(MUX)23の入力に、プロ
グラムデータAの有意パケットとトランスポートストリ
ームTS(B)の有意パケットが同タイミングで入力さ
れる事態の回避が図られている。
The null packet detector 22 and the delay device 21
By the existence of the above, it is possible to avoid the situation in which the significant packet of the program data A and the significant packet of the transport stream TS (B) are input to the input of the multiplexer (MUX) 23 at the same timing.

【0031】多重化器(MUX)23は、トランスポー
トストリームTS(A)’と、ヌルパケット(Nul
l)のビットストリームと、トランスポートストリーム
TS(B)を入力し、これらを多重して、1つのトラン
スポートストリームTS(C)として出力する手段であ
る。
The multiplexer (MUX) 23 receives the transport stream TS (A) 'and a null packet (Nul).
It is a means for inputting the bit stream of 1) and the transport stream TS (B), multiplexing them, and outputting them as one transport stream TS (C).

【0032】多重化器(MUX)23は、トランスポー
トストリームTS(A)’及びTS(B)のうち有意パ
ケットが含まれている方のストリームを選択し、その有
意パケットをトランスポートストリームTS(C)とし
て出力するが、両ストリーム共に有意パケットを含まな
い場合には、当該パケットタイミングにおいてヌルパケ
ット(Null)を出力するように構成されている。
The multiplexer (MUX) 23 selects one of the transport streams TS (A) 'and TS (B), whichever contains the significant packet, and selects the significant packet as the transport stream TS ( However, when both streams do not include a significant packet, a null packet (Null) is output at the packet timing.

【0033】なお、多重化器(MUX)23が、そのデ
ータ伝送レートに応じた圧縮率を制御信号CTLとし
て、音響映像(AV)符号化器11に指示する点は、第
1の実施形態に係る多重化器(MUX)23の場合と同
じである。
In the first embodiment, the multiplexer (MUX) 23 instructs the audio-visual (AV) encoder 11 as a control signal CTL, which is a compression rate corresponding to the data transmission rate. This is the same as the case of the multiplexer (MUX) 23.

【0034】(B−2)第2の実施形態装置による多重
化動作 次に、第2の実施形態装置であるディジタル符号化多重
化装置の多重化動作を説明する。ここでは、その動作例
を、図6を用いて説明する。なお、図6では、多重化対
象であるビットストリームとして、ヌルパケット(Nu
ll)が任意のタイミングに含まれる、第1の実施形態
装置で得られるようなトランスポートストリームTS
(B)を用いるものとする。
(B-2) Multiplexing operation by the second embodiment device Next, the multiplexing operation of the digital coding and multiplexing device which is the second embodiment device will be described. Here, an example of the operation will be described with reference to FIG. Note that in FIG. 6, a null packet (Nu packet) is set as the bit stream to be multiplexed.
transport stream TS as obtained by the apparatus of the first embodiment in which 11) is included at any timing
(B) shall be used.

【0035】また、このディジタル符号化多重化装置
は、第1の実施形態装置と異なり、2つのデータ入力を
有しており、一方のデータ入力には自装置内で得られた
ストリーム(以下、「自装置内ストリーム」という。)
を入力し、他方のデータ入力には他装置において処理さ
れたビットストリーム(以下、「他装置ストリーム」と
いう。)を入力するようになっている。
Also, this digital encoding and multiplexing apparatus has two data inputs unlike the apparatus of the first embodiment, and one of the data inputs has a stream (hereinafter, "It is called" internal device stream ".)
And a bit stream processed by another device (hereinafter, referred to as “other device stream”) is input to the other data input.

【0036】まず、音響映像(AV)符号化器11は、
自装置内ストリームであるプログラムデータA(音響デ
ータ又は映像データ)として有意データが入力される
と、制御信号CTLで指示された圧縮率で圧縮符号化後
パケット化し、トランスポートストリームTS(A)と
して出力する。このトランスポートストリームTS
(A)を、図6では、離散的に出現する有意パケット
「A」で表している。
First, the audiovisual (AV) encoder 11
When significant data is input as the program data A (audio data or video data) which is a stream in the device itself, it is packetized after compression encoding at the compression rate designated by the control signal CTL, and is used as the transport stream TS (A). Output. This transport stream TS
In FIG. 6, (A) is represented by a significant packet “A” that appears discretely.

【0037】他方、ヌルパケット検出器22は、他装置
ストリームであるトランスポートストリームTS(B)
を入力すると、現入力パケットがヌルパケット(Nul
l)か否か判断する。このトランスポートストリームT
S(B)を、図6では、「B」と「Null」のパケッ
ト列で表している。
On the other hand, the null packet detector 22 uses the transport stream TS (B) which is a stream of another device.
If you enter, the current input packet
It is judged whether it is 1) or not. This transport stream T
In FIG. 6, S (B) is represented by a packet sequence of “B” and “Null”.

【0038】さて、この図6の場合には、他装置ストリ
ームの先頭パケット(図6左端に示す)が有意パケット
「B」であるので、ヌルパケット(Null)でないこ
とを表す「L」レベルのヌルパケット検出信号が、ヌル
パケット検出器22から遅延器21に出力される。この
ヌルパケット検出信号を入力した遅延器21は、同タイ
ミングで当該遅延器21に入力された自装置内ストリー
ムの有意パケット「A」の読み出しを禁止し、そのデー
タ内容を保持するよう動作する。
In the case of FIG. 6, since the head packet (shown at the left end of FIG. 6) of the stream of another device is the significant packet “B”, it is at the “L” level indicating that it is not a null packet (Null). The null packet detection signal is output from the null packet detector 22 to the delay device 21. The delay device 21 to which this null packet detection signal is input inhibits the reading of the significant packet “A” of the in-device stream input to the delay device 21 at the same timing, and operates to hold the data content.

【0039】従って、先頭パケットについて多重化器
(MUX)23に入力される有意パケットは、他装置ス
トリームから入力される有意パケット「B」のみとな
り、当該パケット「B」が、当該期間におけるトランス
ポートストリームTS(C)として出力されることにな
る。
Therefore, the only significant packet input to the multiplexer (MUX) 23 for the first packet is the significant packet "B" input from the other device stream, and the relevant packet "B" is the transport for the period. It will be output as the stream TS (C).

【0040】次のパケットタイミング(図6中、左から
2番目のパケットタイミング)では、自装置内ストリー
ムであるプログラムデータAの入力がデータの圧縮によ
り無入力となっているので、音響映像(AV)符号化器
11は、当該期間に何らのパケットを出力しない。これ
を図6では、空白で表している。
At the next packet timing (second packet timing from the left in FIG. 6), since the input of the program data A, which is a stream in the own device, is not input due to data compression, the audiovisual (AV The encoder 11 does not output any packet during the period. This is represented by a blank in FIG.

【0041】他方、他装置ストリームであるトランスポ
ートストリームTS(B)については、ヌルパケット
(Null)が入力されているので、当該ヌルパケット
(Null)の存在を検出したヌルパケット検出器22
が、遅延器21に「H」レベルのヌルパケット検出信号
を出力する。
On the other hand, since the null packet (Null) is input to the transport stream TS (B) which is the stream of the other device, the null packet detector 22 which has detected the existence of the null packet (Null).
Outputs a null packet detection signal of “H” level to the delay unit 21.

【0042】この結果、遅延器21は、前パケット期間
に取り込んだ有意パケット「A」の読み出し禁止を解除
し、当該有意パケット「A」をトランスポートストリー
ムTS(A)’のパケットとして、多重化器(MUX)
23に出力する。
As a result, the delay unit 21 removes the read prohibition of the significant packet "A" taken in during the previous packet period and multiplexes the significant packet "A" as a packet of the transport stream TS (A) '. Bowl (MUX)
To 23.

【0043】すなわち、1パケット期間だけ遅延された
有意パケット「A」がトランスポートストリームTS
(A)’として、多重化器(MUX)23に出力される
ことになる。この対応関係を、図6では、トランスポー
トストリームTS(A)からトランスポートストリーム
TS(A)’への斜めの矢印で表している。
That is, the significant packet "A" delayed by one packet period is the transport stream TS.
(A) ′ is output to the multiplexer (MUX) 23. In FIG. 6, this correspondence is represented by an oblique arrow from the transport stream TS (A) to the transport stream TS (A) ′.

【0044】かくして、当該タイミングについて多重化
器(MUX)23に入力される有意パケットは、自装置
内ストリームとして1パケット前に入力された有意パケ
ット「A」のみとなり、当該パケット「A」が、当該期
間におけるトランスポートストリームTS(C)として
出力されることになる。図6下段に表した有意パケット
「A」がこれに対応する。
Thus, the significant packet input to the multiplexer (MUX) 23 for the timing is only the significant packet "A" input one packet before as the in-device stream, and the packet "A" is It is output as the transport stream TS (C) in the period. The significant packet “A” shown in the lower part of FIG. 6 corresponds to this.

【0045】さらに次のパケットタイミング(図6中、
左から3番目のパケットタイミング)では、自装置内ス
トリームであるプログラムデータAとして有意データが
入力される一方で、他装置ストリームであるトランスポ
ートストリームTS(B)についてはヌルパケット(N
ull)が入力される。従って、遅延器21は、音響映
像(AV)符号化器11から入力される有意パケット
「A」を遅延時間なく読み出し、トランスポートストリ
ームTS(A)’として多重化器(MUX)23に出力
する。
Further next packet timing (in FIG. 6,
At the third packet timing from the left), significant data is input as the program data A which is a stream in the own device, while a null packet (N
ull) is input. Therefore, the delay unit 21 reads the significant packet “A” input from the audio-visual (AV) encoder 11 without delay time and outputs it as a transport stream TS (A) ′ to the multiplexer (MUX) 23. .

【0046】これにより、多重化器(MUX)23から
は、自装置ストリームの有意パケット「A」が、当該期
間におけるトランスポートストリームTS(C)として
出力されることになる。
As a result, the multiplexer (MUX) 23 outputs the significant packet "A" of its own device stream as the transport stream TS (C) in the period.

【0047】なお、さらに続くパケットタイミングのよ
うに、自装置内ストリームであるプログラムデータAの
入力が無入力であり、かつ、他装置ストリームであるト
ランスポートストリームTS(B)がヌルパケット(N
ull)である場合には、いずれのストリームについて
も、多重化器(MUX)23への有意パケットの入力が
ないので、ヌルパケット発生器12から入力されたヌル
パケット(Null)がトランスポートストリームTS
(C)として出力されることになる。
It should be noted that, as in the subsequent packet timing, the input of the program data A, which is a stream in the own device, is not input, and the transport stream TS (B), which is a stream of another device, is a null packet (N
If there is no significant packet input to the multiplexer (MUX) 23 in any of the streams, the null packet (Null) input from the null packet generator 12 is the transport stream TS.
(C) will be output.

【0048】以上の動作が繰り返されることにより、多
重化器(MUX)23からは、他装置ストリームのヌル
パケット(Null)入力期間に、自装置内ストリーム
の有意パケット「A」を再多重化したパケット列(…
「B」、「A」、「A」、「Null」、「B」、
「A」、「A」…)が、トランスポートストリームTS
(C)として出力されることになる。
By repeating the above operation, the significant packet "A" of the own apparatus stream is re-multiplexed from the multiplexer (MUX) 23 during the null packet (Null) input period of the stream of another apparatus. Packet sequence (...
"B", "A", "A", "Null", "B",
"A", "A" ...) is the transport stream TS
(C) will be output.

【0049】なお、他装置ストリームであるトランスポ
ートストリームTS(B)が、トランスポートストリー
ムTS(A)と同様に圧縮符号化されたプログラムデー
タである場合には、トランスポートストリームTS
(A)及びTS(B)双方の無入力期間(有意パケット
の存在しない空白期間)に、ヌルパケット発生器12で
発生されたヌルパケット(Null)が、多重化器(M
UX)23から出力されることになる。
When the transport stream TS (B), which is the other device stream, is program data compressed and coded like the transport stream TS (A), the transport stream TS
The null packet (Null) generated by the null packet generator 12 is input to the multiplexer (M) during the non-input period (blank period in which no significant packet exists) of both (A) and TS (B).
UX) 23.

【0050】(B−3)第2の実施形態の効果 以上のように、第2の実施形態によれば、多重化器23
が入力側と出力側とで同一のデータ伝送レートを用いて
多重化処理を行えるため、従来に比して多重化処理の容
易なディジタル符号化多重化装置を実現できる。
(B-3) Effect of Second Embodiment As described above, according to the second embodiment, the multiplexer 23 is used.
Since the input side and the output side can perform the multiplexing process using the same data transmission rate, it is possible to realize a digital coding and multiplexing device in which the multiplexing process is easier than in the past.

【0051】また、音響映像(AV)符号化器11で発
生されるパケット数は、その圧縮率の制御により自由に
増減できるため、再多重化に備えて必要となる空き時間
の設定も自由に行い得る。
Since the number of packets generated by the audio-visual (AV) encoder 11 can be freely increased or decreased by controlling the compression rate, the free time required for re-multiplexing can be set freely. You can do it.

【0052】しかも、その多重化の際には、多重化され
る側のビットストリーム(ここでは、トランスポートス
トリームTS(B))についての情報(ヌルパケット
(Null)の有無)以外は用いないので、その制御自
体も簡略化できる。
Moreover, at the time of multiplexing, information other than the bit stream on the multiplexed side (transport stream TS (B) in this case) (whether there is a null packet (Null)) is not used. The control itself can be simplified.

【0053】(C)第3の実施形態 (C−1)第3の実施形態装置の構成 図7に、第3の実施形態に係るディジタル符号化多重化
装置の機能ブロック構成を示す。なお、図7には、図5
との対応、同一部分に対応、同一符号を付して示してい
る。
(C) Third Embodiment (C-1) Third Embodiment Device Configuration FIG. 7 shows a functional block configuration of a digital encoding and multiplexing device according to a third embodiment. In addition, in FIG.
, And the same parts are designated by the same reference numerals.

【0054】ディジタル符号化多重化装置は、音響映像
(AV)符号化器11、ヌルパケット発生器12、遅延
器21’、ヌルパケット検出器22、多重化器(MU
X)23、PCR(Program Clock Reference:プログ
ラム時刻基準参照値)変更器31からなる。
The digital coding / multiplexing apparatus includes an audiovisual (AV) encoder 11, a null packet generator 12, a delay unit 21 ', a null packet detector 22, and a multiplexer (MU).
X) 23 and a PCR (Program Clock Reference) changing unit 31.

【0055】すなわち、遅延器21’とPCR変更器3
1を除くその他の部分は、第2の実施形態装置と同一の
装置構成でなる。従って、ここでは、遅延器21’とP
CR変更器31のみについて説明し、その他の構成部分
については説明を省略する。
That is, the delay device 21 'and the PCR changer 3
Other parts except 1 have the same device configuration as the device of the second embodiment. Therefore, here, the delay devices 21 'and P
Only the CR changer 31 will be described, and description of other components will be omitted.

【0056】遅延器21’は、第2の実施形態に係るデ
ィジタル符号化多重化装置を構成する遅延器21に対応
する手段であり、その基本構成は遅延器21と同じであ
る。すなわち、当該遅延器21’は、1又は複数のパケ
ットを記憶するのに十分な容量を有する先入れ先出しメ
モリ(FIFOメモリ)からなる遅延手段で構成されて
いる。
The delay device 21 ′ is means corresponding to the delay device 21 which constitutes the digital encoding and multiplexing apparatus according to the second embodiment, and its basic configuration is the same as that of the delay device 21. That is, the delay unit 21 'is composed of a delay unit including a first-in first-out memory (FIFO memory) having a sufficient capacity to store one or a plurality of packets.

【0057】この遅延器21’が遅延器21と異なる点
は、遅延処理を行っている間のみ有意レベル(例えば、
「H」レベル)を与える遅延時間信号TdをPCR変更
器31に与える機能が付加されている点である。これ
は、後述するように、遅延処理により生じる時間情報の
ずれが復号時に影響しないようにするためである。
The difference between the delay device 21 'and the delay device 21 is that a significant level (for example,
The point is that a function of giving a delay time signal Td giving "H" level) to the PCR changer 31 is added. This is to prevent the time information shift caused by the delay processing from affecting the decoding, as will be described later.

【0058】PCR変更器31は、PCR(Program Cl
ock Reference:プログラム時刻基準参照値)と呼ばれ
る、復号側の時刻基準となる基本同期信号の値を復号器
側が意図する値に設定又は校正するための時間情報を、
その遅延量に応じて変更するための手段である。
The PCR changer 31 uses the PCR (Program Cl
ock Reference: Program time reference reference value), which is the time information for setting or calibrating the value of the basic synchronization signal that serves as the time reference on the decoding side to the value intended by the decoder.
It is a means for changing according to the delay amount.

【0059】このため、PCR変更器31は、前段に位
置する遅延器21’から入力される遅延時間信号Tdに
基づいて、その修正を行えるよう構成されている。な
お、かかる用途を目的とする手段であるため、PCR変
更器31は、PCRを含まないパケット(以下「非PC
Rパケット」という。)については、何らの処理を施す
ことなく通過させるよう構成されている。なお、PCR
を含むパケットについては、以下「PCRパケット」と
いう。
Therefore, the PCR changer 31 is constructed so as to be able to correct it based on the delay time signal Td input from the delayer 21 'located in the preceding stage. Since the PCR changer 31 is a means for such an application, the PCR changer 31 does not include a PCR-containing packet (hereinafter, "non-PC").
R packet ”. ) Is configured to pass without any treatment. In addition, PCR
A packet including "" will be referred to as a "PCR packet" below.

【0060】図8に、PCR変更器31の構成例を示
す。図8に示すように、PCR変更器31は、PCR判
定回路32と、PCRレジスタ33と、タイマ34と、
加算器35と、セレクタ36とで構成されている。ま
た、PCR変更器31は、遅延器21’の出力であるト
ランスポートストリームTS(A)’を入力するための
入力端と、各パケットについての遅延時間信号Tdを入
力するための入力端とを有している。
FIG. 8 shows a configuration example of the PCR changer 31. As shown in FIG. 8, the PCR changer 31 includes a PCR determination circuit 32, a PCR register 33, a timer 34,
It is composed of an adder 35 and a selector 36. Further, the PCR changer 31 has an input end for inputting the transport stream TS (A) 'which is the output of the delay device 21' and an input end for inputting the delay time signal Td for each packet. Have

【0061】PCR判定回路32は、入力パケットがP
CRパケットか非PCRパケットか判定する手段であ
る。ここで、PCRパケットであると判定した場合、P
CR判定回路32は、セレクタ36に選択させる入力を
加算器35側に切り替えるよう選択信号を出力すると共
に、PCRパケット内のPCR値を取り出してPCRレ
ジスタ33に格納する。一方、非PCRパケットである
と判定した場合、PCR判定回路32は、セレクタ36
に選択させる入力を遅延器21’側に切り替えるよう選
択信号を出力する。
In the PCR judging circuit 32, when the input packet is P
It is means for determining whether the packet is a CR packet or a non-PCR packet. If it is determined that the packet is a PCR packet, P
The CR determination circuit 32 outputs a selection signal to switch the input to be selected by the selector 36 to the adder 35 side, takes out the PCR value in the PCR packet, and stores it in the PCR register 33. On the other hand, when it is determined that the packet is a non-PCR packet, the PCR determination circuit 32 determines that the selector 36
A selection signal is output so as to switch the input to be selected to the delay device 21 'side.

【0062】PCRレジスタ33は、PCRパケットか
ら取り出されたPCR値を一時保持する一時記憶手段で
ある。
The PCR register 33 is a temporary storage means for temporarily holding the PCR value extracted from the PCR packet.

【0063】タイマ34は、遅延時間信号Tdが有意レ
ベル(例えば、「H」レベル)である間動作し、遅延時
間をカウントする手段である。なお、当該カウント値
は、遅延時間信号Tdが無為レベル(例えば、「L」レ
ベル)に変化するとき、又は一旦無為レベルに変化した
遅延時間信号Tdが再度有意レベルに変化する時点でリ
セットされる。
The timer 34 is means for operating while the delay time signal Td is at a significant level (for example, "H" level) and counting the delay time. The count value is reset when the delay time signal Td changes to a useless level (for example, “L” level) or when the delay time signal Td that has once changed to a useless level changes to a significant level again. .

【0064】加算器35は、PCRレジスタ33に記憶
されているPCR値にタイマ34のカウント値を加算し
出力する手段である。
The adder 35 is means for adding the count value of the timer 34 to the PCR value stored in the PCR register 33 and outputting it.

【0065】セレクタ36は、PCR判定回路32から
与えられる選択信号に基づいて、遅延器21’から入力
される非PCRパケット又はPCR値修正後のPCRパ
ケットのいずれか一方を選択的に出力する手段である。
The selector 36 selectively outputs either the non-PCR packet input from the delay unit 21 'or the PCR packet with the corrected PCR value, based on the selection signal given from the PCR determination circuit 32. Is.

【0066】(C−2)第3実施形態装置による多重化
動作 次に、第3の実施形態装置であるディジタル符号化多重
化装置の多重化動作を説明する。ここでは、その動作例
を、図9を用いて説明する。なお、この図9の場合も、
トランスポートストリームTS(B)には、ヌルパケッ
ト(Null)が任意のタイミングに含まれているもの
を用いる。
(C-2) Multiplexing Operation by the Third Embodiment Apparatus Next, the multiplexing operation of the digital coding and multiplexing apparatus which is the third embodiment apparatus will be explained. Here, an example of the operation will be described with reference to FIG. In the case of FIG. 9 as well,
As the transport stream TS (B), a stream packet containing a null packet (Null) at an arbitrary timing is used.

【0067】図9からも分かるように、この第3の実施
形態装置の基本動作は、基本構成を同じくする第2の実
施形態装置と基本的に同じである。
As can be seen from FIG. 9, the basic operation of the third embodiment device is basically the same as that of the second embodiment device having the same basic configuration.

【0068】すなわち、同タイミングで入力される自装
置内ストリームであるプログラムAのパケットと他装置
ストリームであるトランスポートストリームTS(B)
のパケットとが共に有意パケットである場合には、トラ
ンスポートストリームTS(B)のパケットを優先して
プログラムAのパケットを遅延させるのに対し、トラン
スポートストリームTS(B)にヌルパケット(Nul
l)が入力された場合には、遅延させておいた自装置内
ストリームのパケット又は同タイミングに入力される自
装置内ストリームの有意パケットを多重化器23から選
択的に出力させるよう動作する。
That is, the packet of the program A which is the stream in the own apparatus and the transport stream TS (B) which is the stream of the other apparatus are input at the same timing.
When the packet of the transport stream TS (B) is a significant packet, the packet of the program A is delayed by prioritizing the packet of the transport stream TS (B), while the null packet (Nul) is added to the transport stream TS (B).
When 1) is input, the multiplexer 23 selectively outputs the delayed packet of the in-device stream or the significant packet of the in-device stream input at the same timing.

【0069】従って、ここでは、第3実施形態に特有の
動作部分、特に、自装置内ストリームであるプログラム
データAとしてPCRパケットが入力される場合の動作
を説明する。
Therefore, here, the operation part peculiar to the third embodiment, particularly the operation when the PCR packet is input as the program data A which is the stream in the own device, will be described.

【0070】まず、音響映像(AV)符号化器11から
出力されるPCRパケットと、他装置ストリームである
トランスポートストリームTS(B)の有意パケットと
の競合がない場合(すなわち、ヌルパケット検出器22
においてヌルパケット(Null)が検出される場合)
について説明する。
First, when there is no competition between the PCR packet output from the audio-visual (AV) encoder 11 and the significant packet of the transport stream TS (B) which is the other device stream (that is, the null packet detector). 22
When a null packet (Null) is detected in
Will be described.

【0071】この場合、遅延器21’に入力されるPC
Rパケットは、待ち時間無く即座にPCR変更器31に
与えられる。このとき、PCR変更器31に対して入力
される遅延時間信号Tdは、一度も有意レベル(例え
ば、「H」レベル)に変化することなく、無為レベル
(例えば、「L」レベル)のままである。従って、タイ
マ34から出力されるカウント値は零のままであり、加
算器35の出力値は、当該PCR変更器31に入力され
た時の値と同じである。
In this case, the PC input to the delay unit 21 '
The R packet is immediately given to the PCR changer 31 without waiting time. At this time, the delay time signal Td input to the PCR changer 31 does not change to a significant level (for example, “H” level) even once, and remains at a dead level (for example, “L” level). is there. Therefore, the count value output from the timer 34 remains zero, and the output value of the adder 35 is the same as the value when input to the PCR changer 31.

【0072】この結果、PCR値に何らの変更が加えら
れなかったPCRパケットが、PCR変更器31の出力
であるトランスポートストリームTS(A)’’とし
て、多重化器(MUX)23に入力されて再多重化さ
れ、トランスポートストリームTS(C)として出力さ
れることになる。
As a result, the PCR packet whose PCR value has not been changed is input to the multiplexer (MUX) 23 as the transport stream TS (A) ″ output from the PCR changer 31. It is re-multiplexed and output as the transport stream TS (C).

【0073】次に、音響映像(AV)符号化器11から
出力されるPCRパケットと、他装置ストリームである
トランスポートストリームTS(B)の有意パケットと
が競合する場合(すなわち、ヌルパケット検出器22に
おいてヌルパケット(Null)が検出されない場合)
について説明する。この動作は、図9中、右から3番目
と2番目に表されているパケットタイミングの動作であ
る。
Next, when the PCR packet output from the audio-visual (AV) encoder 11 and the significant packet of the transport stream TS (B) which is another device stream compete with each other (that is, the null packet detector). If no null packet (Null) is detected in 22)
Will be described. This operation is the packet timing operation shown in the third and second parts from the right in FIG.

【0074】この場合(図9中、右から3番目のパケッ
トタイミング)、遅延器21’に入力されるPCRパケ
ットは、所定アドレスに書き込まれたまま出力が禁止さ
れる。一方、同タイミングで入力されたトランスポート
ストリームTS(B)の有意パケット「B」について
は、多重化器(MUX)23で選択され、トランスポー
トストリームTS(C)としてそのまま出力されること
になる。
In this case (third packet timing from the right in FIG. 9), the PCR packet input to the delay unit 21 'is prohibited from being output while being written in the predetermined address. On the other hand, the significant packet “B” of the transport stream TS (B) input at the same timing is selected by the multiplexer (MUX) 23 and output as it is as the transport stream TS (C). .

【0075】なお、このとき、遅延器21’からは有意
レベル(「H」レベル)の遅延時間信号Tdが出力され
る。
At this time, the delay unit 21 'outputs the delay time signal Td at a significant level ("H" level).

【0076】ところが、次のパケットタイミング(図9
中、右から2番目のパケットタイミング)では、他装置
ストリームであるトランスポートストリームTS(B)
としてヌルパケット(Null)が入力されるので、ヌ
ルパケット検出器22から遅延器21’に対して有意レ
ベル(「H」レベル)のヌルパケット検出信号が出力さ
れ、遅延器21’に格納されていたPCRパケットがP
CR変更器31へ読み出される。なお、この読み出しと
同時に、遅延器21’から出力される遅延時間信号Td
は、無為レベル(「L」レベル)へと変化する。
However, the next packet timing (see FIG. 9)
In the middle and second packet timing from the right), the transport stream TS (B) which is the other device stream.
Since a null packet (Null) is input as, the null packet detector 22 outputs a null packet detection signal of a significant level (“H” level) to the delay device 21 ′ and is stored in the delay device 21 ′. PCR packet is P
It is read to the CR changer 31. Simultaneously with this reading, the delay time signal Td output from the delay device 21 '
Changes to an ineffective level (“L” level).

【0077】ここで、PCR変更器31は、入力された
パケットがPCRパケットであることをPCR判定回路
32で判定すると、PCRレジスタ33にそのPCR値
を取り込むと共に、現パケットタイミングの出力として
は、変更後のPCR値を有するPCRパケットを出力す
るように選択信号をセレクタ36に出力する。
Here, when the PCR changer 31 determines that the input packet is a PCR packet by the PCR determination circuit 32, the PCR value is loaded into the PCR register 33, and the output of the current packet timing is as follows. The selection signal is output to the selector 36 so that the PCR packet having the changed PCR value is output.

【0078】この後、PCRレジスタ33からは入力の
あったPCRパケットから取り込まれたPCR値が読み
出され、当該PCRパケットが遅延器21’で遅延され
ている間、その遅延時間を計測していたタイマ34のカ
ウント値と、加算器35において加算される。これによ
り、PCRパケットのPCR値を正しい値に修正する。
そして、かかる修正後のPCR値を有するPCRパケッ
トがセレクタ36から多重化器23に与えられ、トラン
スポートストリームTS(C)として出力される。
Thereafter, the PCR value fetched from the input PCR packet is read from the PCR register 33, and the delay time is measured while the PCR packet is delayed by the delay unit 21 '. The count value of the timer 34 is added by the adder 35. As a result, the PCR value of the PCR packet is corrected to the correct value.
Then, the PCR packet having the corrected PCR value is given from the selector 36 to the multiplexer 23, and is output as the transport stream TS (C).

【0079】(C−3)第3の実施形態の効果 以上のように、第3の実施形態においても、第2の実施
形態の場合と同様、入出力ストリーム間でデータ伝送レ
ートの変更を必要としない多重化処理の容易なディジタ
ル符号化多重化装置を実現できる。また、圧縮率を変更
すれば音響映像(AV)符号化器11で発生されるパケ
ット数の増減も自在に行えるため、再度の多重化に備え
て空き時間の設定も自由に行い得る。
(C-3) Effects of Third Embodiment As described above, also in the third embodiment, it is necessary to change the data transmission rate between the input and output streams, as in the case of the second embodiment. Thus, it is possible to realize a digital coding and multiplexing device which can easily perform a multiplexing process. Further, by changing the compression rate, the number of packets generated by the audio-visual (AV) encoder 11 can be freely increased or decreased, so that the idle time can be freely set in preparation for the re-multiplexing.

【0080】しかも、かかる第3の実施形態装置の出力
である再多重化後のトランスポートストリームでは、P
CR値が正しい値に変更されているので、当該トランス
ポートストリームを復号化する際にも、再多重化による
ジッタのない正確なPCR値を元にした正確なクロック
の再生が可能であり、再生クロックの時間変動による復
号器側での悪影響を排除することが可能となる。
Moreover, in the transport stream after re-multiplexing which is the output of the apparatus of the third embodiment, P
Since the CR value has been changed to the correct value, it is possible to reproduce the correct clock based on the correct PCR value without jitter due to re-multiplexing even when the transport stream is decoded. It is possible to eliminate the adverse effect on the decoder side due to the time variation of the clock.

【0081】(D)他の実施形態 なお、第1の実施形態においては、プログラムデータか
ら再多重化に適したトランスポートストリームを生成す
る装置単体について説明し、第2、第3の各実施形態に
おいては、かかるトランスポートストリームからなるビ
ットストリームに他のプログラムデータを多重化する装
置単体について説明したが、図10に示すように、第1
の実施形態装置と第2の実施形態装置をカスケード接続
し、又は、第1の実施形態装置と第3の実施形態装置を
カスケード接続して多重化システムを構築するようにし
ても良い。
(D) Other Embodiments In the first embodiment, a single device for generating a transport stream suitable for re-multiplexing from program data will be described, and the second and third embodiments will be described. In the above, a single device that multiplexes other program data into a bitstream consisting of such a transport stream has been described, but as shown in FIG.
The apparatus according to the first embodiment and the apparatus according to the second embodiment may be cascade-connected, or the apparatus according to the first embodiment and the apparatus according to the third embodiment may be cascade-connected to construct a multiplexing system.

【0082】このようにすれば、さらに多くのプログラ
ムデータを、データ伝送レートを変更することなく多重
化し、1つのトランスポートストリームTS(C)とし
て出力することができるシステムを容易に構築すること
もできる。
By doing so, it is possible to easily construct a system that can multiplex more program data without changing the data transmission rate and output it as one transport stream TS (C). it can.

【0083】勿論、図10の構成に限られるものではな
く、第1〜第3の各実施形態装置を任意に組み合わせた
構成としても良い。
Of course, the configuration is not limited to that shown in FIG. 10, and the configurations of the first to third embodiments can be arbitrarily combined.

【0084】また、第2、第3の各実施形態において
は、自装置内ストリームであるプログラムデータAを多
重化するビットストリームを他装置ストリームとして説
明し、その信号経路については何ら言及しなかったが、
かかるストリームはネットワークを介して接続された遠
隔地の装置から伝送されてくるようにしても良い。従っ
て、図10に示すシステムについても、必ずしも、同一
地点に構築されるものに限られない。
In each of the second and third embodiments, the bit stream for multiplexing the program data A, which is the in-device stream, is described as the other device stream, and the signal path thereof is not mentioned at all. But,
Such a stream may be transmitted from a remote device connected via a network. Therefore, the system shown in FIG. 10 is not necessarily limited to the system constructed at the same point.

【0085】また、第3の実施形態においては、PCR
変更器31内に設けられたタイマ34によって計測され
た遅延時間を、PCRレジスタ33に加算することによ
りPCR値を正しい値に変更する場合について述べた
が、遅延器21’内にPCRパケットの判定回路と、当
該判定回路によって検出されたPCRパケットについて
の遅延時間を計測するカウンタとを設けるようにし、当
該カウンタで計測されたカウント値をPCR変更器31
に(遅延時間信号Tdに代えて)与えるようにしても良
い。このように構成しても、第3の実施形態と同様、P
CR値を正しい値に変更することができる。
Further, in the third embodiment, PCR
The case where the PCR value is changed to the correct value by adding the delay time measured by the timer 34 provided in the changer 31 to the PCR register 33 has been described. A circuit and a counter for measuring the delay time of the PCR packet detected by the determination circuit are provided, and the count value measured by the counter is used as the PCR changer 31.
(Instead of the delay time signal Td). Even with such a configuration, as in the third embodiment, P
The CR value can be changed to the correct value.

【0086】また、第1〜第3の各実施形態において
は、音響映像(AV)符号化器11が行う圧縮符号化の
際の圧縮率を、多重化器(MUX)13又は23から制
御する構成として説明したが、圧縮後のデータレート
(単位時間あたりの発生情報量)が、多重化器13又は
23から出力されるトランスポートストリームTS
(C)のデータ伝送レート以下の関係が満たされればこ
れに限らない。すなわち、予め定めた固定の圧縮率で圧
縮符号化するようにしても良く、また、システム全体を
制御する制御手段からこれを制御させるようにしても良
い。
In each of the first to third embodiments, the compression rate at the time of compression encoding performed by the audio / video (AV) encoder 11 is controlled by the multiplexer (MUX) 13 or 23. Although described as the configuration, the data rate after compression (the amount of information generated per unit time) is the transport stream TS output from the multiplexer 13 or 23.
It is not limited to this as long as the relationship below the data transmission rate of (C) is satisfied. That is, the compression coding may be performed at a fixed compression rate determined in advance, or the control means for controlling the entire system may control this.

【0087】[0087]

【発明の効果】上述のように、本発明によれば、圧縮符
号化手段における圧縮符号化により生成したパケットデ
ータストリーム中の空き時間を利用した遅延制御によ
り、多重化対象となる他のビットストリームとの有意パ
ケットデータの競合を回避し、当該他のビットストリー
ムに現れる冗長符号期間又は空き時間にプログラムデー
タから得た有意パケットデータを挿入し、上記ビットス
トリーム上に有意パケットデータが挿入されていない上
記冗長符号期間又は空き時間に、冗長符号を挿入するこ
とにより、伝送レートの変更を必要とせず多重化処理を
実行できるディジタル符号化多重化装置を容易に実現で
きる。
As described above, according to the present invention, another bit stream to be multiplexed is controlled by the delay control utilizing the free time in the packet data stream generated by the compression encoding in the compression encoding means. avoiding conflicts significant packet data and inserts a significant packet data obtained from the program data to the redundant code period or idle time appear on the other bit streams, the Bittosu
No significant packet data is inserted in the stream
By inserting the redundant code in the redundant code period or the vacant time, it is possible to easily realize the digital coding and multiplexing apparatus that can execute the multiplexing process without changing the transmission rate.

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

【図1】第1の実施形態装置であるディジタル符号化多
重化装置の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a digital encoding and multiplexing apparatus that is a first embodiment apparatus.

【図2】従来装置の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a conventional device.

【図3】従来装置の多重化動作例を示す図である。FIG. 3 is a diagram showing an example of a multiplexing operation of a conventional device.

【図4】第1の実施形態装置による多重化動作例を示す
図である。
FIG. 4 is a diagram showing an example of a multiplexing operation performed by the device of the first exemplary embodiment.

【図5】第2の実施形態装置であるディジタル符号化多
重化装置の構成を示すブロック図である。
FIG. 5 is a block diagram showing a configuration of a digital encoding and multiplexing apparatus which is an apparatus according to a second exemplary embodiment.

【図6】第2の実施形態装置による多重化動作例を示す
図である。
FIG. 6 is a diagram showing an example of multiplexing operation by the apparatus of the second embodiment.

【図7】第3の実施形態装置であるディジタル符号化多
重化装置の構成を示すブロック図である。
FIG. 7 is a block diagram showing a configuration of a digital encoding and multiplexing apparatus that is an apparatus according to a third exemplary embodiment.

【図8】PCR変更器の詳細構成を示すブロック図であ
る。
FIG. 8 is a block diagram showing a detailed configuration of a PCR changer.

【図9】第3の実施形態装置による多重化動作例を示す
図である。
FIG. 9 is a diagram showing an example of multiplexing operation by the apparatus of the third embodiment.

【図10】第1〜第3の各実施形態装置により構築され
るシステム例を示す図である。
FIG. 10 is a diagram showing an example of a system constructed by the apparatuses of the first to third embodiments.

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

11…音響映像(AV)符号化器、12…ヌルパケット
発生器、13、23…多重化器(MUX)、21、2
1’…遅延器、22…ヌルパケット検出器、31…PC
R変更器、32…PCR判定回路、33…PCRレジス
タ、34…タイマ、35…加算器、36…セレクタ。
11 ... Audio-visual (AV) encoder, 12 ... Null packet generator, 13, 23 ... Multiplexer (MUX), 21, 2
1 '... delay device, 22 ... null packet detector, 31 ... PC
R changer, 32 ... PCR determination circuit, 33 ... PCR register, 34 ... Timer, 35 ... Adder, 36 ... Selector.

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平9−168150(JP,A) 特開 平10−173622(JP,A) 特開 昭56−64532(JP,A) 特開 平4−330885(JP,A) 特開 平8−138316(JP,A) 三木康弘,特集5 画像/音声などの ディジタル・データ伝送実験の実際と課 題,Interface,日本,1996 年,Sep,1999,p.154−160 (58)調査した分野(Int.Cl.7,DB名) H04J 3/00 H04N 7/08 H04N 7/081 JICSTファイル(JOIS)─────────────────────────────────────────────────── ─── Continuation of the front page (56) Reference JP-A-9-168150 (JP, A) JP-A-10-173622 (JP, A) JP-A-56-64532 (JP, A) JP-A-4- 330885 (JP, A) Japanese Patent Laid-Open No. 8-138316 (JP, A) Yasuhiro Miki, Special Feature 5 Actual and Challenges of Experiments for Digital Data Transmission of Image / Audio, Interface, Japan, 1996, Sep, 1999, p. . 154-160 (58) Fields investigated (Int.Cl. 7 , DB name) H04J 3/00 H04N 7/08 H04N 7/081 JISST file (JOIS)

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 入力されるビットストリームに、符号に
意味のない冗長符号が含まれているか否か検出し、含ま
れている場合、冗長符号が検出されるたび、当該冗長符
号の検出期間を示す検出信号を出力する冗長符号検出手
段と、 入力されたプログラムデータを圧縮符号化し、パケット
データストリームとして出力する圧縮符号化手段と、 上記圧縮符号化手段から入力されるパケットデータスト
リームについての送出タイミングを、上記冗長符号検出
手段から与えられる検出信号に基づいて調整し、上記ビ
ットストリームの有意パケットデータと上記パケットデ
ータストリーム中の有意パケットデータとの競合を回避
する遅延手段と、 上記ビットストリームに現れる上記冗長符号期間又は空
き時間に、上記遅延手段から入力される有意パケットデ
ータを挿入し、上記ビットストリーム上に有意パケット
データが挿入されていない上記冗長符号期間又は空き時
間に、冗長符号を挿入して、上記ビットストリームと同
一伝送レートを有する多重化ビットストリームを出力す
る多重化手段とを備えることを特徴とするディジタル符
号化多重化装置。
1. A detection is made as to whether or not a code includes a meaningless redundant code in the input bitstream, and if such a code is included, the detection period of the redundant code is set every time the redundant code is detected. Redundant code detecting means for outputting the detection signal shown, compression encoding means for compressing and encoding the input program data and outputting as a packet data stream, and transmission timing for the packet data stream input from the compression encoding means. Appearing in the bitstream, and delay means for adjusting based on the detection signal given from the redundant code detecting means to avoid conflict between the significant packet data of the bitstream and the significant packet data in the packet data stream. During the redundant code period or the idle time, the significant packet input from the delay means is input. Data and insert significant packets on the above bitstream.
The above redundant code period where data is not inserted or when it is empty
A digital encoding / multiplexing apparatus, characterized by comprising a redundant code inserted therebetween and outputting a multiplexed bitstream having the same transmission rate as the bitstream.
【請求項2】 請求項1に記載のディジタル符号化多重
装置において、 上記遅延手段から上記多重化手段に入力されるパケット
データストリーム中に含まれるクロック再生情報を、当
該クロック再生情報を含む有意パケットデータの上記遅
延手段内における遅延時間に応じて更新するクロック再
生情報更新手段をさらに備えることを特徴とするディジ
タル符号化多重化装置。
2. The digital encoding and multiplexing apparatus according to claim 1, wherein the clock reproduction information included in the packet data stream input from the delay means to the multiplexing means is a significant packet including the clock reproduction information. A digital encoding and multiplexing apparatus further comprising clock reproduction information updating means for updating data in accordance with the delay time of the data in the delay means.
JP32981797A 1997-12-01 1997-12-01 Digital coding and multiplexing equipment Expired - Fee Related JP3429652B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP32981797A JP3429652B2 (en) 1997-12-01 1997-12-01 Digital coding and multiplexing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP32981797A JP3429652B2 (en) 1997-12-01 1997-12-01 Digital coding and multiplexing equipment

Publications (2)

Publication Number Publication Date
JPH11163817A JPH11163817A (en) 1999-06-18
JP3429652B2 true JP3429652B2 (en) 2003-07-22

Family

ID=18225570

Family Applications (1)

Application Number Title Priority Date Filing Date
JP32981797A Expired - Fee Related JP3429652B2 (en) 1997-12-01 1997-12-01 Digital coding and multiplexing equipment

Country Status (1)

Country Link
JP (1) JP3429652B2 (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6754905B2 (en) 1998-07-23 2004-06-22 Diva Systems Corporation Data structure and methods for providing an interactive program guide
US9924234B2 (en) 1998-07-23 2018-03-20 Comcast Ip Holdings I, Llc Data structure and methods for providing an interactive program
US6898800B2 (en) 1999-03-31 2005-05-24 Sedna Patent Services, Llc Method and apparatus providing process independence within a heterogeneous information distribution system
US6996098B2 (en) 1999-03-31 2006-02-07 Sedna Patent Services, Llc Method and apparatus for injecting information assets into a content stream
US7096487B1 (en) 1999-10-27 2006-08-22 Sedna Patent Services, Llc Apparatus and method for combining realtime and non-realtime encoded content
US6904610B1 (en) 1999-04-15 2005-06-07 Sedna Patent Services, Llc Server-centric customized interactive program guide in an interactive television environment
US6754271B1 (en) 1999-04-15 2004-06-22 Diva Systems Corporation Temporal slice persistence method and apparatus for delivery of interactive program guide
ATE359669T1 (en) 1999-10-27 2007-05-15 Sedna Patent Services Llc MULTIPLE VIDEO STREAMS USING SLICE-BASED ENCODING
US6801536B1 (en) * 2000-03-23 2004-10-05 International Business Machines Corporation Remultiplexing audio/video PES streams from an MPEG transport system
JP2001308811A (en) 2000-04-18 2001-11-02 Mitsubishi Electric Corp Device, system and method for encoding and multiplexing media data
KR20030080350A (en) * 2002-04-08 2003-10-17 주식회사 에어코드 A system for verifying authorial products for data broadcast
JP4207639B2 (en) 2003-04-11 2009-01-14 パナソニック株式会社 Data multiplexing method, data multiplexing device, transmission device, and reception device
JP4724267B2 (en) * 2006-03-20 2011-07-13 株式会社日立国際電気 Digital transmission device
US8432882B2 (en) 2008-01-02 2013-04-30 Cisco Technology, Inc. Multiple transport receiver
US9154813B2 (en) 2011-06-09 2015-10-06 Comcast Cable Communications, Llc Multiple video content in a composite video stream

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
三木康弘,特集5 画像/音声などのディジタル・データ伝送実験の実際と課題,Interface,日本,1996年,Sep,1999,p.154−160

Also Published As

Publication number Publication date
JPH11163817A (en) 1999-06-18

Similar Documents

Publication Publication Date Title
US7359006B1 (en) Audio module supporting audio signature
JP3429652B2 (en) Digital coding and multiplexing equipment
KR100226528B1 (en) Decoder for compressed and multiplexed video and audio data
US5808722A (en) Apparatus for extending and reproducing video and audio data and a video and audio synchronization controller
US7724682B2 (en) Method and system for generating transport stream packets
JP3438223B2 (en) Multiplexing device and multiplexing method, and transmission device and transmission method
JP4778608B2 (en) Method and apparatus for synchronizing MPEG decoder
JPH11317768A (en) Transmission system, transmitting device, recording and reproducing device, and recording device
JPH0730886A (en) Method and device for processing picture and audio signal
JPH08205146A (en) Time stamp value computing method in encoding transmission system
JP2872104B2 (en) Time stamp adding apparatus and method, and moving image compression / expansion transmission system and method using the same
JP3622451B2 (en) Data processing apparatus, data processing method, and recording medium
JP3185863B2 (en) Data multiplexing method and apparatus
US6829429B1 (en) Video recording device for recording video signal including character information
JPH0746198A (en) Decoding method and decoder
JPH10174069A (en) Packet multiplex method and reproduction method
JPH10126371A (en) Device and method for multiplexing
JP3177825B2 (en) Media coding device
JPH09312656A (en) Transmitter and method therefor
KR0154005B1 (en) Apparatus for generating the presentation time stamp in the system encoder
JP3531324B2 (en) Encoding / multiplexing apparatus, multiplexing preprocessing apparatus, and encoding / multiplexing method
JP2001339688A (en) Playback equipment of transport stream
JP4122624B2 (en) Data receiving method and data receiving apparatus
JP3408458B2 (en) Packet conversion processing system
JP2000187940A (en) Recording/reproducing device and recorder

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080516

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20090516

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20100516

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20110516

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20120516

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20130516

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20140516

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees