JPH09139720A - Multiplex method and multiplexer - Google Patents

Multiplex method and multiplexer

Info

Publication number
JPH09139720A
JPH09139720A JP14505096A JP14505096A JPH09139720A JP H09139720 A JPH09139720 A JP H09139720A JP 14505096 A JP14505096 A JP 14505096A JP 14505096 A JP14505096 A JP 14505096A JP H09139720 A JPH09139720 A JP H09139720A
Authority
JP
Japan
Prior art keywords
multiplexing
data
buffer memory
amount
input
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.)
Granted
Application number
JP14505096A
Other languages
Japanese (ja)
Other versions
JP3248669B2 (en
Inventor
Hideki Takehara
英樹 竹原
Ichiro Ando
一郎 安藤
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.)
Victor Company of Japan Ltd
Original Assignee
Victor Company of Japan 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 Victor Company of Japan Ltd filed Critical Victor Company of Japan Ltd
Priority to JP14505096A priority Critical patent/JP3248669B2/en
Publication of JPH09139720A publication Critical patent/JPH09139720A/en
Application granted granted Critical
Publication of JP3248669B2 publication Critical patent/JP3248669B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Compression Of Band Width Or Redundancy In Fax (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Time-Division Multiplex Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Television Signal Processing For Recording (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

PROBLEM TO BE SOLVED: To generate a multiplexed stream suitable for recording plural data such as moving image and voice signals to a recording medium such as a disk or for transmission of the data to a transmission line. SOLUTION: The device stores plural input coded signals in 1st buffer memories 41, 42 tentatively for each input coded signal and calculates a generating period of packets obtained based on a multiplexing rate applied in advance and the size of packets to be multiplexed, then calculates the transmission information amount of each input coded signal to be sent for the period based on a coding rate applied in advance and adds the transmission information amount to a virtual packet buffer supplement amount of each input coded signal to obtain a virtual buffer supplement amount of each of input data for each packet generation period. Then a control means 1 controls transfer of the input coded signal in the 1st buffer memory to a means 6 adding a header to the signal based on the supplement amount and subtracts the transferred information amount from the virtual buffer of the input coded signal transferred to the addition means 6.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、符号化された動画
像や音声等の複数のデータを、ディスク等の記録媒体に
記録する場合や、伝送路上に送り出す場合に使用して、
好適な多重化ストリームを生成する多重化装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention is used for recording a plurality of encoded data such as moving images and voices on a recording medium such as a disc or sending the data on a transmission line.
The present invention relates to a multiplexer that generates a suitable multiplexed stream.

【0002】[0002]

【従来の技術】データ(情報)の多重化処理において重
要視されることは、デコーダバッファにおいて、アンダ
ーフローやオーバフローを起こさないように多重化しな
ければならないことである。デコーダバッファにおい
て、アンダーフローが起こるとデコードするデータがな
くなるため、そのデータが時系列データである場合に
は、アンダーフローが発生した時間のデータ(情報)が
なくなる。また、オーバフローが起きるとデータ(情
報)の欠落が生じるため、正しくデコードすることが出
来ない。
2. Description of the Related Art An important point in data (information) multiplexing processing is that the decoder buffer must be multiplexed so as not to cause underflow or overflow. In the decoder buffer, when an underflow occurs, there is no data to decode, so when the data is time-series data, there is no data (information) at the time when the underflow occurs. Further, when overflow occurs, data (information) is lost, so that correct decoding cannot be performed.

【0003】よって、従来の多重化においては、デコー
ダにおいてアンダーフローやオーバフローを起こさない
ような割合で各入力データを多重化するために、入力さ
れた各データを夫々一時バッファメモリに蓄積し、パケ
ットを多重化する周期で各入力データのバッファメモリ
を検査し、パケットに挿入するデータ量が溜まった入力
データをパケット化して、そのデータ量だけバッファメ
モリから消去することで、多重化の制御を行なってい
た。
Therefore, in the conventional multiplexing, in order to multiplex each input data at a rate such that an underflow or an overflow does not occur in a decoder, each input data is temporarily stored in a buffer memory and packetized. The buffer memory for each input data is inspected at the cycle of multiplexing, and the input data in which the amount of data to be inserted into the packet is accumulated is packetized, and the amount of data is erased from the buffer memory to control multiplexing. Was there.

【0004】[0004]

【発明が解決しようとする課題】ここで、上記入力バッ
ファメモリの充足量を管理制御することで多重化制御を
行なう多重化装置の例を示す。この多重化装置は、固定
長のパケット多重を行ない、入力バッファメモリの充足
量が所定値に達したときにパケットを発生するものとす
る。図5は、入力データが一定レートである場合のパケ
ット発生の様子を示したものであり、図6は、入力デー
タがバースト的である場合のパケット発生の様子を示し
たものである。図5、図6において、(a) は多重化装置
への入力レートを示し、(b) は入力バッファメモリの充
足量の変化を示し、(c) は発生したパケットの発生度合
の様子を夫々示している。
Here, an example of a multiplexing device for performing multiplexing control by managing and controlling the filling amount of the input buffer memory will be shown. It is assumed that this multiplexer performs fixed-length packet multiplexing and generates a packet when the filling amount of the input buffer memory reaches a predetermined value. FIG. 5 shows how packets are generated when the input data has a constant rate, and FIG. 6 shows how packets are generated when the input data is bursty. In FIGS. 5 and 6, (a) shows the input rate to the multiplexer, (b) shows the change of the filling amount of the input buffer memory, and (c) shows the occurrence degree of the generated packet, respectively. Shows.

【0005】図5、図6からわかるように、入力データ
が一定レートである場合には、発生するパケットは一定
間隔になり、入力データがバースト的である場合には、
発生するパケットの周期は局部的に集中している部分と
閑散としている部分があることがわかる。次に、図8
に、上記多重化装置に一定の入力レートで、音声データ
と動画像データが入力された場合の様子を示す。また、
図9に、上記多重化装置にバースト的な入力レートで、
音声データと動画像データが入力された場合の様子を示
す。ただし、音声・動画像データともに固定長パケット
で多重化され、図8、図9ともに一定時間内におけるパ
ケットの発生総数は等しいものとする。
As can be seen from FIGS. 5 and 6, when the input data has a constant rate, the generated packets have a constant interval, and when the input data is bursty,
It can be seen that the cycle of the generated packet has a locally concentrated portion and a quiet portion. Next, FIG.
FIG. 7 shows a case where the audio data and the moving image data are input to the above-mentioned multiplexing device at a constant input rate. Also,
FIG. 9 shows a burst-like input rate to the above multiplexer.
The situation where voice data and moving image data are input is shown. However, it is assumed that both voice and moving image data are multiplexed in fixed length packets, and the total number of packets generated in a fixed time is the same in both FIGS.

【0006】(a) は動画像データのパケット(V)の発
生を、(b) は音声データのパケット(A)の発生を示し
ている。(c) は(a) 動画像のパケットと(b) の音声パケ
ットが多重化されたストリームを示す。音声パケットと
動画像パケットが同時に発生したときには、音声パケッ
トの方を優先的に多重化し、音声パケットと動画像パケ
ットとが共に存在しない場合には、スタッフィングパケ
ット(P)を多重化している。
(A) shows the generation of a packet (V) of moving image data, and (b) shows the generation of a packet (A) of audio data. (c) shows a stream in which (a) video packets and (b) audio packets are multiplexed. When an audio packet and a moving image packet are generated at the same time, the audio packet is preferentially multiplexed, and when both the audio packet and the moving image packet do not exist, the stuffing packet (P) is multiplexed.

【0007】(d) はデコーダにおける動画像データのバ
ッファメモリの遷移の様子を示し、(e) はデコーダにお
ける音声データのバッファメモリの遷移の様子を夫々示
している。上記入力バッファメモリの充足量により多重
化の制御を行なう方法では、一定レートの入力データに
対しては、多重化されるデータパケットの間隔はほぼ一
定となり、デコーダの処理速度とデコーダに入力される
データレートの整合がとれるように多重化されるため、
デコーダのバッファメモリにおいて、オーバフローやア
ンダーフローは発生しない。
(D) shows the transition of the buffer memory for moving image data in the decoder, and (e) shows the transition of the buffer memory for audio data in the decoder. In the method of controlling the multiplexing by the filling amount of the input buffer memory, the interval of the data packets to be multiplexed becomes almost constant for the input data of the constant rate, and the processing speed of the decoder and the input to the decoder are performed. Since it is multiplexed so that the data rates can be matched,
No overflow or underflow occurs in the decoder buffer memory.

【0008】これに対して、バースト的な入力に対して
は、特定データのパケットが局部的に集中したり閑散し
たりするため、局部的に集中している部分では、デコー
ダの処理速度以上のレートでデータが入力されるため、
バッファメモリにおいて、オーバフローが発生し、局部
的にパケットが閑散としている部分では、デコーダの処
理速度以下でデータが供給されるため、アンダーフロー
が生じる。図9(c) のような多重化データを、オーバフ
ローを起こすことなくデコードするためには、デコーダ
のバッファメモリをデコーダの処理速度と転送されるデ
ータ速度のミスマッチを解消出来る程度に大きなものに
する必要があり、アンダーフローの対策は、デコード遅
延を大きくし、それに見合うだけのデコーダのバッファ
メモリの大きさが必要となる。
On the other hand, in the case of a burst-like input, the packets of specific data are locally concentrated or scattered, so that in the locally concentrated part, the processing speed of the decoder is higher than the processing speed. Since data is input at a rate,
In the buffer memory, where overflow occurs and packets are locally scattered, data is supplied at a speed lower than the processing speed of the decoder, so underflow occurs. In order to decode the multiplexed data as shown in FIG. 9 (c) without causing overflow, the buffer memory of the decoder is made large enough to eliminate the mismatch between the processing speed of the decoder and the data speed of the transferred data. As a countermeasure against underflow, the decoding delay is increased and the size of the buffer memory of the decoder corresponding to the delay is required.

【0009】以上のように、多重化間隔が適当でない多
重化ストリームをデコードするためには、デコーダのバ
ッファメモリに必要以上の大きさが要求されるだけでな
く、必要以上の遅延が生じることになる。バッファメモ
リを大きくすることは、コスト高となり、また遅延が大
きいことは、システム運営の上で非常に不利となる。と
ころが、一般的には動画像データや音声データを符号化
する場合、画像や音声をある単位でまとめて処理するた
めに、処理するだけのデータが溜まるまで待ち、処理す
るだけのデータが溜まった時点で一括処理して送り出す
ため、エンコーダの出力はバースト的な出力となる。
As described above, in order to decode a multiplexed stream with an inappropriate multiplexing interval, not only the buffer memory of the decoder is required to have an unnecessarily large size but also an unnecessarily long delay occurs. Become. Increasing the buffer memory results in high cost, and large delay is very disadvantageous in system operation. However, in general, when encoding moving image data and audio data, in order to collectively process images and audio in a certain unit, wait until data to be processed is accumulated, and data to be processed is accumulated. Since the batch processing is performed at the time of sending, the output of the encoder becomes a burst-like output.

【0010】そこで、デコーダのバッファメモリの大き
さを変更することなく、前記多重化装置でバースト的な
入力データに対して、デコーダのバッファメモリにアン
ダーフローやオーバフローを起こすことなく多重化する
には、バースト的入力を一定レート入力に変換する装置
が必要となる。ところが、上記のようなバースト的入力
を一定レート入力に変換する装置を多様な入力レートに
対して動作させるためには、多様なクロックの生成を強
いられるために、その装置は非常に高価なものとなる。
本発明の目的は、上記のようにバースト的な入力データ
に対しても、デコーダのバッファメモリの大きさを変更
することなく、また多重化装置の前段にバースト的な入
力を一定レートに変換するような装置を設けることな
く、多重化を行ない、デコーダにおいて、バッファメモ
リのアンダーフローやオーバフローを起こさないように
することを目的とする。
Therefore, it is possible to multiplex burst input data in the multiplexer without changing the size of the buffer memory of the decoder without causing underflow or overflow in the buffer memory of the decoder. , A device for converting a burst input into a constant rate input is required. However, in order to operate the device for converting the bursty input to the constant rate input for various input rates, it is necessary to generate various clocks, so that the device is very expensive. Becomes
An object of the present invention is to convert bursty input into a constant rate in the preceding stage of the multiplexer without changing the size of the buffer memory of the decoder even for bursty input data as described above. It is an object of the present invention to perform multiplexing without providing such a device and prevent an underflow or an overflow of the buffer memory in the decoder.

【0011】また、出力する伝送路のクロックが入力デ
ータのクロックと同期していることを前提に多重化を行
なっている多重化装置では、出力する伝送路のクロック
が入力データのクロックと非同期である場合には、クロ
ックの不整合により、伝送路への出力データに過不足が
生じる。上記クロックの不整合により生じる出力データ
の過不足を解消するために、ダミーデータの挿入や多重
化データの削除を行なった場合、多重化データ中に存在
する時刻情報は、同期を前提に演算しているために、時
刻情報にずれが生じ、デコーダでは正しい時刻の再生が
出来なくなる。よって、本発明の目的は、同期していな
くても、デコーダでは正しい時刻の再生が出来るように
することを目的とする。
Further, in a multiplexing device which performs multiplexing on the assumption that the clock of the output transmission line is synchronized with the clock of the input data, the clock of the output transmission line is asynchronous with the clock of the input data. In some cases, the mismatch of clocks causes excess or deficiency in the output data to the transmission line. When dummy data is inserted or multiplexed data is deleted to eliminate the excess or deficiency of output data caused by the clock mismatch, the time information existing in the multiplexed data is calculated on the premise of synchronization. Therefore, the time information is displaced, and the decoder cannot reproduce the correct time. Therefore, it is an object of the present invention to enable a decoder to reproduce a correct time even if they are not synchronized.

【0012】[0012]

【課題を解決するための手段】従来は入力データのパケ
ット化のタイミングを実際のバッファメモリ充足量を管
理・制御することでおこなっていたが、本発明では各入
力データのパケット化のタイミングを演算により管理し
ている。これは実際のバッファではなく、仮想上のバッ
ファメモリを管理していることと同じである。図7にデ
ータがバースト的なレートで入力される場合の本発明に
よるパケット発生の様子を示す。図7 (a)はバースト的
な入力レートを示している。 (c)は演算により算出され
る仮想バッファメモリの充足量の遷移を示したものであ
り、仮想バッファ量が所定量に達したときにパケット化
を行なう。図7(d) はパケットの発生の様子を示してい
るが、バースト的な入力にも関わらず、一定間隔でパケ
ットが発生している。(b) は入力バッファメモリの様子
を示している。このように、本発明では、各入力データ
に対して実際のバッファメモリ充足量を管理・制御して
パケット化を行なう代わりに、仮想バッファメモリ充足
量を演算して、その充足量を管理・制御してパケット化
を行なうことで、バースト的な入力信号に対しても正確
な多重化が可能な多重化装置を提供する。
Conventionally, the packetization timing of input data has been performed by managing and controlling the actual buffer memory filling amount, but in the present invention, the packetization timing of each input data is calculated. It is managed by. This is the same as managing the virtual buffer memory, not the actual buffer. FIG. 7 shows how packets are generated according to the present invention when data is input at a burst rate. FIG. 7A shows a burst-like input rate. (c) shows a transition of the amount of sufficiency of the virtual buffer memory calculated by calculation, and packetization is performed when the amount of virtual buffer reaches a predetermined amount. FIG. 7D shows how packets are generated, but packets are generated at regular intervals in spite of burst-like input. (b) shows the state of the input buffer memory. As described above, in the present invention, instead of managing / controlling the actual buffer memory filling amount for each input data and performing packetization, the virtual buffer memory filling amount is calculated and the filling amount is managed / controlled. By performing packetization by means of packetizing, it is possible to provide a multiplexer capable of accurately multiplexing even a burst-like input signal.

【0013】また、このような目的を達成するために、
多重化装置の出力を入力データのクロックと同期した所
定レートでバッファに入力し、伝送路クロックに同期し
た所定レートでバッファから読み出し、バッファの充足
量に応じて、ダミーデータの挿入や多重化データの削除
を行なった後、多重化データ中の時刻情報を補正するこ
とで、入力データのクロックと伝送路クロックが非同期
である場合においても、正確な時刻情報を持った多重化
データを生成する多重化装置を提供する。
Further, in order to achieve such an object,
The output of the multiplexer is input to the buffer at a specified rate in synchronization with the clock of the input data, read from the buffer at a specified rate in synchronization with the transmission line clock, and dummy data is inserted or multiplexed data is added depending on the buffer fill amount. After deleting the data, the time information in the multiplexed data is corrected to generate multiplexed data with accurate time information even when the input data clock and the transmission path clock are asynchronous. To provide a rectification device.

【0014】[0014]

【発明の実施の形態】本発明の多重化装置の一実施例を
図面と共に以下に説明する。 (実施例1)入力データは単一の動画像符号化データ及
び単一の音声符号化データであり、動画像符号化データ
と音声符号化データを固定長パケットの固定長データ領
域に多重化する場合について、実施例1として図1、図
2及び図3を用いて説明する。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of the multiplexer of the present invention will be described below with reference to the drawings. (Embodiment 1) Input data is single moving image coded data and single voice coded data, and moving image coded data and voice coded data are multiplexed in a fixed length data area of a fixed length packet. A case will be described as Example 1 with reference to FIGS. 1, 2, and 3.

【0015】動画像データ符号部2は、入力された動画
像データを1ピクチャ単位で圧縮符号化して、各ピクチ
ャの符号化が終了した時点で、その符号化データをバー
スト的にバッファメモリ41に送出する。また、動画像
データ符号部2は、ある周期毎の平均符号化レート情報
を、制御部1に供給する。
The moving picture data coding unit 2 compresses and codes the inputted moving picture data in units of one picture, and at the time when the coding of each picture is completed, the coded data is burst-stored in the buffer memory 41. Send out. In addition, the moving image data coding unit 2 supplies the average coding rate information for each certain period to the control unit 1.

【0016】音声データ符号部3は、入力された音声デ
ータをある単位(以下フレームと呼ぶ)で圧縮符号化し
て、各フレームの符号化が終了した時点で、その符号化
データをバースト的にバッファメモリ42に送出する。
また、音声データ符号部3は、ある周期毎の平均符号化
レート情報を、制御部1に供給する。
The audio data encoding unit 3 compresses and encodes the input audio data in a certain unit (hereinafter referred to as a frame), and when the encoding of each frame is completed, the encoded data is buffered in a burst form. It is sent to the memory 42.
Further, the audio data encoding unit 3 supplies the average encoding rate information for each certain period to the control unit 1.

【0017】多重化レートはRmax[bytes/sec] であり、
多重化するパケットの大きさ Stp[bytes] は固定長であ
る。上記多重化レートと多重化パケットの大きさとから
次式(数1)によって、1つの多重化パケット当りの時
間である多重化単位時間Tpを算出する。
The multiplexing rate is Rmax [bytes / sec],
The size of packets to be multiplexed Stp [bytes] has a fixed length. The multiplexing unit time Tp, which is the time per one multiplexing packet, is calculated from the above multiplexing rate and the size of the multiplexing packet by the following equation (Equation 1).

【0018】[0018]

【数1】 (Equation 1)

【0019】制御部1は、図2に示されるように、デー
タ符号部2,3から供給された符号化レート情報から、
上記多重化単位時間Tpにおける仮想バッファ増加量を演
算する仮想バッファ増加量演算部12,13と、上記多
重化単位時間Tp毎に仮想バッファ充足量を演算する仮想
バッファ充足量演算部14,15と、仮想バッファ充足
量を検査してヘッダ付加部6に転送するデータを判定す
る出力データ判定部11とから構成されている。
As shown in FIG. 2, the control unit 1 determines from the coding rate information supplied from the data coding units 2 and 3 that
Virtual buffer increase amount calculation units 12 and 13 that calculate the virtual buffer increase amount in the multiplexing unit time Tp, and virtual buffer fill amount calculation units 14 and 15 that calculate the virtual buffer fill amount in each of the multiplexing unit time Tp , And an output data determination unit 11 that determines the data to be transferred to the header addition unit 6 by checking the virtual buffer filling amount.

【0020】動画像データと音声データの多重化を開始
する時間を最初の符号化レート情報に基づいて、次式
(数2)のような仮想バッファ量に変換する。こうする
ことで、各入力データの多重化開始時間をも仮想バッフ
ァ充足量により管理することが可能になる。
The time to start the multiplexing of the moving image data and the audio data is converted into a virtual buffer amount as in the following equation (Equation 2) based on the first coding rate information. By doing so, the multiplexing start time of each input data can be managed by the virtual buffer filling amount.

【0021】[0021]

【数2】 (Equation 2)

【0022】符号化レートが初期値である場合は、仮想
バッファ増加量演算部12,13において、データ符号
部2,3からの符号化レートと多重化単位時間Tpから仮
想バッファ増加量を、次式(数3)により算出する。ま
た、符号化されたデータが可変レートである場合には、
符号化レートに変更があった場合にも、次式により仮想
バッファ増加量を演算することにより、可変レートにも
対応することが出来る。
When the coding rate is the initial value, the virtual buffer increment calculation units 12 and 13 calculate the virtual buffer increment from the coding rate from the data encoders 2 and 3 and the multiplexing unit time Tp. It is calculated by the formula (Equation 3). Also, if the encoded data has a variable rate,
Even if the coding rate is changed, the variable rate can be dealt with by calculating the virtual buffer increase amount by the following equation.

【0023】[0023]

【数3】 (Equation 3)

【0024】仮想バッファ充足量演算部14,15で
は、多重化単位時間Tp毎に、仮想バッファ充足量を次式
(数4)により算出する。
The virtual buffer sufficiency calculation units 14 and 15 calculate the virtual buffer sufficiency by the following equation (Equation 4) for each multiplexing unit time Tp.

【0025】[0025]

【数4】 (Equation 4)

【0026】次に、出力データ判定部11において、動
画像データの仮想バッファ充足量 Bv_v(n)と音声データ
の仮想バッファ充足量 Bv_a(n)とを検査する。即ち、出
力データ判定部11は、動画像データの仮想バッファ充
足量 Bv_v(n)がパケットに挿入するべきデータ量に達し
ていなくて、音声データの仮想バッファ充足量 Bv_a(n)
もパケットに挿入するべきデータ量に達していない場合
には、ヘッダ付加部6に転送するデータを、スタッフィ
ングデータと判定する。
Next, the output data determination unit 11 checks the virtual buffer filling amount Bv_v (n) of moving image data and the virtual buffer filling amount Bv_a (n) of audio data. That is, the output data determination unit 11 determines that the virtual buffer filling amount Bv_v (n) of the moving image data has not reached the data amount to be inserted into the packet, and the virtual buffer filling amount Bv_a (n) of the audio data is
If the amount of data to be inserted into the packet has not reached, the data to be transferred to the header addition unit 6 is determined to be stuffing data.

【0027】更に、出力データ判定部11は、動画像デ
ータの仮想バッファ充足量 Bv_v(n)がパケットに挿入す
るべきデータ量に達していて、音声データの仮想バッフ
ァ充足量 Bv_a(n)がパケットに挿入するべきデータ量に
達していない場合には、ヘッダ付加部6に転送するデー
タを、動画像データと判定する。
Further, the output data judgment unit 11 determines that the virtual buffer filling amount Bv_v (n) of the moving image data has reached the data amount to be inserted into the packet, and the virtual buffer filling amount Bv_a (n) of the audio data is the packet amount. If the amount of data to be inserted into the header has not reached, the data to be transferred to the header adding unit 6 is determined to be moving image data.

【0028】更に、音声データの仮想バッファ充足量 B
v_a(n)がパケットに挿入するべきデータ量に達してい
て、動画像データの仮想バッファ充足量 Bv_v(n)がパケ
ットに挿入するべきデータ量に達していない場合には、
ヘッダ付加部6に転送するデータを、音声データと判定
する。更にまた、動画像データの仮想バッファ充足量 B
v_v(n)がパケットに挿入するべきデータ量に達してい
て、音声データの仮想バッファ充足量 Bv_a(n)もパケッ
トに挿入するべきデータ量に達している場合は、各入力
データの仮想バッファ充足量を、次式(数5)で重み付
けする。
Furthermore, the virtual buffer filling amount B for voice data
If v_a (n) has reached the amount of data to be inserted into the packet and the virtual buffer fill amount Bv_v (n) of the moving image data has not reached the amount of data to be inserted into the packet,
The data transferred to the header adding unit 6 is determined as audio data. Furthermore, the virtual buffer filling amount B for moving image data
If v_v (n) has reached the amount of data to be inserted in the packet and the amount of virtual buffer for voice data Bv_a (n) has also reached the amount of data to be inserted in the packet, the amount of virtual buffer for each input data is filled. The quantity is weighted by the following equation (Equation 5).

【0029】[0029]

【数5】 (Equation 5)

【0030】重み付けした値を比較して、値の大きい方
(時間的に早くパケットに挿入すべきデータ量に達した
方)をヘッダ付加部6に転送するデータであると判定す
る。ヘッダ付加部6に転送したデータが、動画像データ
であれば、仮想バッファ充足量を仮想バッファ充足量演
算部14において、次式(数6)のように減算する。
The weighted values are compared, and it is determined that the larger value (the one that has reached the amount of data to be inserted into the packet earlier in time) is the data to be transferred to the header adding unit 6. If the data transferred to the header adding unit 6 is moving image data, the virtual buffer filling amount calculation unit 14 subtracts the virtual buffer filling amount as in the following equation (Equation 6).

【0031】[0031]

【数6】 (Equation 6)

【0032】ヘッダ付加部6に転送したデータが、音声
データであれば、仮想バッファ充足量を仮想バッファ充
足量演算部15において、次式(数7)のように減算す
る。
If the data transferred to the header adding unit 6 is voice data, the virtual buffer filling amount calculation unit 15 subtracts the virtual buffer filling amount from the following equation (Equation 7).

【0033】[0033]

【数7】 (Equation 7)

【0034】また、出力データ判定部11は、出力する
と判定したデータの情報(種類及びデータ量)をスイッ
チ5とヘッダ付加部6に送出する。スイッチ5は、制御
部1から指定されたデータを指定されたデータ量だけヘ
ッダ付加部6に転送する。ヘッダ付加部6では、制御部
1から指定されたデータの種類に適合したヘッダ情報を
付加して、ヘッダを付加した(パケット化された)デー
タを出力インターフェース7へと転送する。
Further, the output data judging section 11 sends information of the data judged to be outputted (type and data amount) to the switch 5 and the header adding section 6. The switch 5 transfers the data designated by the control unit 1 to the header adding unit 6 by the designated data amount. The header addition unit 6 adds header information suitable for the type of data designated by the control unit 1 and transfers the header-added (packetized) data to the output interface 7.

【0035】スタッフィングデータ送出部43は、制御
部1から指示があれば、スイッチ5を介して、スタッフ
ィングデータを指定された量(即ち、スイッチ5がスタ
ッフィングデータ送出部43に接続されている時間で決
定される量)だけ、ヘッダ付加部6に転送する。
If there is an instruction from the control unit 1, the stuffing data sending unit 43 sends the stuffing data via the switch 5 in a designated amount (that is, at a time when the switch 5 is connected to the stuffing data sending unit 43). Only the determined amount) is transferred to the header addition unit 6.

【0036】出力インターフェース7は、図3で示され
るように、出力制御部71、平滑部72、出力バッファ
メモリ73、スタッフィングパケット送出部74、スイ
ッチ75、及びヘッダ変更部76から構成されている。
As shown in FIG. 3, the output interface 7 comprises an output control unit 71, a smoothing unit 72, an output buffer memory 73, a stuffing packet sending unit 74, a switch 75, and a header changing unit 76.

【0037】平滑部72は、ヘッダ付加部6から転送さ
れたパケットを、所定の一定レートで出力バッファメモ
リ73へパケットを転送する。
The smoothing unit 72 transfers the packet transferred from the header adding unit 6 to the output buffer memory 73 at a predetermined constant rate.

【0038】出力バッファメモリ73は、平滑部72か
ら転送されるパケットを一時蓄積し、出力制御部71か
らの指示があればその指示されたパケットをスイッチ7
5に送る。
The output buffer memory 73 temporarily stores the packets transferred from the smoothing unit 72, and if there is an instruction from the output control unit 71, the designated packet is switched to the switch 7.
Send to 5.

【0039】出力制御部71は、出力伝送路クロックと
同期して動作し、出力伝送路からパケット送出の要求が
あれば、出力バッファメモリ73の充足量を検査して、
出力バッファメモリ73の充足量が所定量に達していれ
ば、出力バッファメモリ73に最も長い期間存在するパ
ケットをスイッチ75に転送するよう出力バッファメモ
リ73に指示する。ここで、出力伝送路クロックと入力
信号の同期が保証されていれば、出力制御部71は入力
信号と同期して動作してもよい。
The output control unit 71 operates in synchronism with the output transmission line clock, and if there is a request for packet transmission from the output transmission line, it checks the filling amount of the output buffer memory 73,
When the filling amount of the output buffer memory 73 has reached the predetermined amount, the output buffer memory 73 is instructed to transfer the packet existing in the output buffer memory 73 for the longest period to the switch 75. Here, if the synchronization between the output transmission line clock and the input signal is guaranteed, the output control unit 71 may operate in synchronization with the input signal.

【0040】また、このとき出力バッファメモリ73の
充足量がある上限値を超えていれば、出力バッファメモ
リ73から最も必要でないパケットを消去する。また、
出力制御部71は、スイッチ75に対してもヘッダ変更
部76に転送するパケットを指示する。
At this time, if the filling amount of the output buffer memory 73 exceeds a certain upper limit value, the least necessary packet is deleted from the output buffer memory 73. Also,
The output control unit 71 also instructs the switch 75 to send a packet to the header changing unit 76.

【0041】ヘッダ変更部76は、入力信号と同期した
クロックで動作するカウンタ(図示せず)を有し、出力
バッファメモリ73から送られたパケットのヘッダ中
に、時間情報が含まれている場合には、その時間情報は
入力信号クロックと出力伝送路クロックとが同期してい
ることを前提に演算処理されたものであるので、入力信
号クロックと出力伝送路クロックとが非同期である場合
には、このことも考慮して、その時間情報をヘッダ変更
部76のカウンタで実際に計測した時間情報に補正する
ようにする。
The header changing unit 76 has a counter (not shown) which operates with a clock synchronized with the input signal, and when the header of the packet sent from the output buffer memory 73 contains time information. In addition, since the time information is calculated on the premise that the input signal clock and the output transmission path clock are synchronized, if the input signal clock and the output transmission path clock are asynchronous, In consideration of this, the time information is corrected to the time information actually measured by the counter of the header changing unit 76.

【0042】スタッフィングパケット送出部74は、ス
イッチ75がスタッフィングパケット送出部74に接続
されれば、スタッフィングパケットを出力するようにす
る。また、スイッチ75は、出力制御部71の指示によ
り出力バッファメモリ73の出力とスタッフィングパケ
ット送出部74の出力との切り換えを行なう。
The stuffing packet transmitter 74 outputs the stuffing packet when the switch 75 is connected to the stuffing packet transmitter 74. Further, the switch 75 switches between the output of the output buffer memory 73 and the output of the stuffing packet transmitter 74 according to an instruction from the output controller 71.

【0043】ここで、ある特殊な情報を含んだパケット
を必ず偶数番目のパケットに挿入するように制御するた
め、偶数番目のパケットの時に、その特殊な情報を含ん
でいるパケットよりも長い期間出力バッファメモリ73
中に存在するパケットがある場合でも即座に、その情報
を含んでいるパケットをスイッチ75へ転送するように
出力バッファメモリ73に指示する。
Here, in order to control so that a packet containing certain special information is always inserted in an even-numbered packet, it is output for an even-numbered packet for a longer period than a packet containing the special information. Buffer memory 73
Even if there is a packet inside, the output buffer memory 73 is instructed to immediately transfer the packet containing the information to the switch 75.

【0044】また、奇数番目のパケットの時には、その
特殊な情報を含んでいるパケットが最も長い期間出力バ
ッファメモリ73中に存在しているにも関わらず、次に
長い期間出力バッファメモリ73中に存在しているパケ
ットを、スイッチ75へ転送するように出力バッファメ
モリ73に指示する。
In the case of odd-numbered packets, even though the packet containing the special information remains in the output buffer memory 73 for the longest period, it remains in the output buffer memory 73 for the next longest period. The output buffer memory 73 is instructed to transfer the existing packet to the switch 75.

【0045】ヘッダ変更部76は、出力バッファメモリ
73から送られたパケットのヘッダ中に変更すべきもの
がある場合には、出力制御部71からの指示通りにヘッ
ダ内容を変更する。
The header changing unit 76 changes the header contents according to the instruction from the output control unit 71 when there is a packet to be changed in the header of the packet sent from the output buffer memory 73.

【0046】スイッチ75は、出力制御部71で指定さ
れたパケットをヘッダ変更部76に転送する。スタッフ
ィングパケット送出部74は、出力制御部71からの指
示があれば、スタッフィングパケットを出力する。
The switch 75 transfers the packet designated by the output control unit 71 to the header changing unit 76. The stuffing packet transmitter 74 outputs a stuffing packet when instructed by the output controller 71.

【0047】(実施例2)本発明の実施例2として、入
力データが2つの動画像データ、2つの音声データ及び
3つの付加情報データであり、全ての動画像データ及び
音声データは符号化データであって、一つの付加情報デ
ータは時系列データを含んでいるものであり、その他の
付加情報データは時系列データを含まないものとし、全
てのデータは固定長パケットの固定長データ領域に多重
化される場合について、図4を用いて以下に説明する。
(Embodiment 2) As Embodiment 2 of the present invention, the input data is two moving image data, two audio data and three additional information data, and all the moving image data and audio data are encoded data. However, it is assumed that one piece of additional information data includes time-series data and the other additional information data does not include time-series data.All data is multiplexed in the fixed-length data area of the fixed-length packet. The case of being converted will be described below with reference to FIG.

【0048】基本の構成は実施例1の場合と同様であ
る。このように入力データの数が増加すると、多重化単
位時間毎に、各入力データの仮想バッファ充足量を演算
していたのでは、膨大な演算量となる。ここで、多重化
するデータの符号化レートが多重化レートと比較して非
常に小さい場合には、多重化単位時間当りの仮想バッフ
ァ充足量の増加量は非常に小さいため、多重化単位時間
毎に仮想バッファ量を検査しても、その充足量がパケッ
トに挿入する量に達している可能性は非常に低い。
The basic structure is the same as that of the first embodiment. When the number of input data is increased in this way, the virtual buffer filling amount of each input data is calculated for each multiplexing unit time, resulting in a huge calculation amount. Here, when the coding rate of the data to be multiplexed is very small compared to the multiplexing rate, the increment of the virtual buffer filling amount per multiplexing unit time is very small, so that Even if the virtual buffer amount is inspected, it is very unlikely that the sufficiency amount has reached the amount to be inserted into the packet.

【0049】そこで、符号化レートの小さい入力データ
の仮想バッファ充足量の演算は、多重化単位時間毎に毎
回行なうのではなくて、仮想バッファ充足量の増加量
が、パケット化に挿入するデータ量を越えない範囲でま
とめて、仮想バッファ充足量を演算する。例えば16多
重化単位時間に1回演算する場合には、次式(数8)で
仮想バッファ充足量を演算する。
Therefore, the calculation of the virtual buffer filling amount of the input data having a low coding rate is not performed every time the multiplexing unit time is increased, but the increase amount of the virtual buffer filling amount is calculated by the increase amount of the virtual buffer filling amount. The virtual buffer filling amount is calculated in a range that does not exceed. For example, when calculating once in 16 multiplexing unit time, the virtual buffer filling amount is calculated by the following equation (Equation 8).

【0050】[0050]

【数8】 (Equation 8)

【0051】このようにすることで単位時間当りの演算
量を大きく削減出来る。ただし、演算する間隔を大きく
すると、それだけ多重化遅延が生じる可能性があり、そ
のパケットの多重化間隔が厳格に決められている場合
や、デコーダ側のバッファに余裕がないときには特に注
意が必要である。
By doing so, the amount of calculation per unit time can be greatly reduced. However, if the calculation interval is increased, the multiplexing delay may occur, and special care must be taken when the multiplexing interval of the packet is rigorously determined or when the buffer on the decoder side has no margin. is there.

【0052】[0052]

【発明の効果】本発明は、以上説明したように構成され
ているので、下記の効果を有する。 (1) 実バッファメモリの充足量を検査する代わりに、仮
想バッファ充足量を検査することで、バースト的な入力
データに対しても、デコーダバッファの大きさを大きく
することなく、また多重化装置の前段にバースト的な入
力を平均化されたレートに変換するような装置を設ける
ことなく多重化を行ない、デコーダにおいてバッファの
アンダーフローやオーバフローを起こすことなく多重化
する方法(装置)を提供する。
Since the present invention is configured as described above, it has the following effects. (1) Instead of checking the filling amount of the real buffer memory, by checking the filling amount of the virtual buffer, the size of the decoder buffer can be increased without increasing the size of the decoder buffer even for burst input data. Provides a method (apparatus) for performing multiplexing without providing a device for converting a burst-like input into an averaged rate in the preceding stage, without causing buffer underflow or overflow in a decoder. .

【0053】(2) また、ある特定種類の多重化信号を多
重化ストリームの特定位置に挿入することで、デコード
する際に、高速かつ簡単にその特定種類の多重化信号の
位置を認識し、デコードすることが出来る。 (3) さらに、仮想バッファ充足量の演算に利用する符号
化レートを、所定周期毎に変化させることで、入力符号
化信号が可変レートである場合にも対応することが出来
る。
(2) Further, by inserting a specific type of multiplexed signal into a specific position of the multiplexed stream, the position of the specific type of multiplexed signal can be recognized quickly and easily when decoding. It can be decoded. (3) Furthermore, by changing the coding rate used for the calculation of the virtual buffer filling amount every predetermined period, it is possible to deal with the case where the input coded signal has a variable rate.

【0054】(4) 仮想バッファ充足量で単純比較する代
わりに、仮想バッファ充足量が所定量に達する時間を、
重み付けして比較することで、デコーダバッファの状態
をより考慮した、即ち、オーバフローやアンダフローの
発生しない多重化制御を行なうことが出来る。 (5) 多重化の開始時間を仮想バッファの初期充足量に換
算することで、多重化するデータの同期を正確に取るこ
とが出来る。
(4) Instead of simply comparing the virtual buffer filling amount, the time required for the virtual buffer filling amount to reach a predetermined amount is
By weighting and comparing, the state of the decoder buffer is taken into consideration, that is, the multiplexing control in which overflow or underflow does not occur can be performed. (5) By converting the multiplexing start time into the initial filling amount of the virtual buffer, the data to be multiplexed can be accurately synchronized.

【0055】(6) さらに、仮想バッファ充足量を演算す
る周期を長くすることで、演算量を減らすことが出来、
より複雑な判定・多重化制御が行なえる。 (7) 多重化データ中の時間を出力伝送路の時間に変更す
ることで、出力する伝送路のクロックが入力データのク
ロックと非同期である場合のデコーダにおいても、正し
い時刻を再生することが出来る多重化方法(装置)を提
供出来る。
(6) Furthermore, the calculation amount can be reduced by lengthening the period for calculating the virtual buffer filling amount,
More complex judgment and multiplexing control can be performed. (7) By changing the time in the multiplexed data to the time of the output transmission line, the correct time can be reproduced even in the decoder when the clock of the output transmission line is asynchronous with the clock of the input data. A multiplexing method (apparatus) can be provided.

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

【図1】本発明の多重化装置の一実施例を示した図であ
る。
FIG. 1 is a diagram showing an embodiment of a multiplexing device of the present invention.

【図2】本発明の多重化装置の一実施例を示した図であ
る。
FIG. 2 is a diagram showing an embodiment of a multiplexing device of the present invention.

【図3】本発明の多重化装置の一実施例を示した図であ
る。
FIG. 3 is a diagram showing an embodiment of a multiplexing device of the present invention.

【図4】本発明の多重化装置の一実施例を示した図であ
る。
FIG. 4 is a diagram showing an embodiment of a multiplexing device of the present invention.

【図5】入力データが一定レートである場合のパケット
発生の様子を示した図である。
FIG. 5 is a diagram showing how packets are generated when input data has a constant rate.

【図6】入力データがバースト的である場合のパケット
発生の様子を示した図である。
FIG. 6 is a diagram showing how packets are generated when input data is bursty.

【図7】本発明の多重化装置にバースト的な入力レート
で音声データと動画像データとが供給された場合の様子
を示した図である。
FIG. 7 is a diagram showing a state in which audio data and moving image data are supplied to the multiplexing apparatus of the present invention at a burst-like input rate.

【図8】多重化装置に一定の入力レートで音声データと
動画像データとが供給された場合の様子を示した図であ
る。
FIG. 8 is a diagram showing a state in which audio data and moving image data are supplied to the multiplexing device at a constant input rate.

【図9】多重化装置にバースト的な入力レートで音声デ
ータと動画像データとが供給された場合の様子を示した
図である。
FIG. 9 is a diagram showing a state in which audio data and moving image data are supplied to the multiplexer at a burst-like input rate.

【図10】本発明の多重化装置の一実施例を示した図で
ある。
FIG. 10 is a diagram showing an embodiment of a multiplexing device of the present invention.

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

1 制御部 2,21A,21B 動画像データ符号部 3,31A,31B 音声データ符号部 4,41,41A,41B,42,42A,42B,4
4A,44B,44C バッファメモリ(第1のバッフ
ァメモリ) 5,75 スイッチ 6 ヘッダ付加部 7 出力インターフェース 11 出力データ判定部 12,13 仮想バッファ増加量演算部 14,15 仮想バッファ充足量演算部 43 スタッフィングデータ送出部 71 出力制御部 72 平滑部 73 出力バッファメモリ(第2のバッファメモリ) 74 スタッフィングパケット送出部 76 ヘッダ変更部 81A,81B,81C 付加情報データ発生部
1 Control Unit 2, 21A, 21B Moving Image Data Encoding Unit 3, 31A, 31B Audio Data Encoding Unit 4, 41, 41A, 41B, 42, 42A, 42B, 4
4A, 44B, 44C Buffer memory (first buffer memory) 5,75 Switch 6 Header addition unit 7 Output interface 11 Output data determination unit 12, 13 Virtual buffer increase amount calculation unit 14, 15 Virtual buffer filling amount calculation unit 43 Stuffing Data sending unit 71 Output control unit 72 Smoothing unit 73 Output buffer memory (second buffer memory) 74 Stuffing packet sending unit 76 Header changing unit 81A, 81B, 81C Additional information data generating unit

【手続補正書】[Procedure amendment]

【提出日】平成8年8月12日[Submission date] August 12, 1996

【手続補正1】[Procedure amendment 1]

【補正対象書類名】明細書[Document name to be amended] Statement

【補正対象項目名】図面の簡単な説明[Correction target item name] Brief description of drawings

【補正方法】変更[Correction method] Change

【補正内容】[Correction contents]

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

【図1】本発明の多重化装置の一実施例を示した図であ
る。
FIG. 1 is a diagram showing an embodiment of a multiplexing device of the present invention.

【図2】本発明の多重化装置の一実施例を示した図であ
る。
FIG. 2 is a diagram showing an embodiment of a multiplexing device of the present invention.

【図3】本発明の多重化装置の一実施例を示した図であ
る。
FIG. 3 is a diagram showing an embodiment of a multiplexing device of the present invention.

【図4】本発明の多重化装置の一実施例を示した図であ
る。
FIG. 4 is a diagram showing an embodiment of a multiplexing device of the present invention.

【図5】入力データが一定レートである場合のパケット
発生の様子を示した図である。
FIG. 5 is a diagram showing how packets are generated when input data has a constant rate.

【図6】入力データがバースト的である場合のパケット
発生の様子を示した図である。
FIG. 6 is a diagram showing how packets are generated when input data is bursty.

【図7】本発明の多重化装置にバースト的な入力レート
で音声データと動画像データとが供給された場合の様子
を示した図である。
FIG. 7 is a diagram showing a state in which audio data and moving image data are supplied to the multiplexing apparatus of the present invention at a burst-like input rate.

【図8】多重化装置に一定の入力レートで音声データと
動画像データとが供給された場合の様子を示した図であ
る。
FIG. 8 is a diagram showing a state in which audio data and moving image data are supplied to the multiplexing device at a constant input rate.

【図9】多重化装置にバースト的な入力レートで音声デ
ータと動画像データとが供給された場合の様子を示した
図である。
FIG. 9 is a diagram showing a state in which audio data and moving image data are supplied to the multiplexer at a burst-like input rate.

【符号の説明】 1 制御部 2,21A,21B 動画像データ符号部 3,31A,31B 音声データ符号部 4,41,41A,41B,42,42A,42B,4
4A,44B,44C バッファメモリ(第1のバッフ
ァメモリ) 5,75 スイッチ 6 ヘッダ付加部 7 出力インターフェース 11 出力データ判定部 12,13 仮想バッファ増加量演算部 14,15 仮想バッファ充足量演算部 43 スタッフィングデータ送出部 71 出力制御部 72 平滑部 73 出力バッファメモリ(第2のバッファメモリ) 74 スタッフィングパケット送出部 76 ヘッダ変更部 81A,81B,81C 付加情報データ発生部
[Description of Codes] 1 control unit 2, 21A, 21B moving image data coding unit 3, 31A, 31B audio data coding unit 4, 41, 41A, 41B, 42, 42A, 42B, 4
4A, 44B, 44C Buffer memory (first buffer memory) 5,75 Switch 6 Header addition unit 7 Output interface 11 Output data determination unit 12, 13 Virtual buffer increase amount calculation unit 14, 15 Virtual buffer filling amount calculation unit 43 Stuffing Data sending unit 71 Output control unit 72 Smoothing unit 73 Output buffer memory (second buffer memory) 74 Stuffing packet sending unit 76 Header changing unit 81A, 81B, 81C Additional information data generating unit

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 H04N 5/92 H04N 5/92 H 7/24 7/13 Z ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification number Office reference number FI technical display location H04N 5/92 H04N 5/92 H 7/24 7/13 Z

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】符号化信号の多重化を行なう多重化方法に
おいて、複数の入力符号化信号を各入力符号化信号毎に
一時第1のバッファメモリに蓄積して、予め申告された
多重化レートと多重化するパケットの大きさから求めら
れる前記パケットの発生周期を演算し、前記パケット発
生周期の間に伝送される各入力符号化信号の伝送情報量
を予め申告された符号化レートに基づいて演算し、各入
力符号化信号の仮想バッファ充足量に夫々の前記伝送情
報量を加算して、前記パケット発生周期毎の各入力デー
タの仮想バッファ充足量を求め、前記仮想バッファ充足
量に基づいて、前記第1のバッファメモリの入力符号化
信号のヘッダを付加するステップへの転送を制御し、前
記ヘッダを付加するステップに転送された入力符号化信
号の仮想バッファから前記転送された情報量を減算する
ステップを有するようにしたことを特徴とする多重化方
法。
1. A multiplexing method for multiplexing coded signals, wherein a plurality of input coded signals are temporarily accumulated in a first buffer memory for each input coded signal, and a previously declared multiplexing rate is set. Is calculated from the size of the packet to be multiplexed, and the transmission information amount of each input coded signal transmitted during the packet generation period is calculated based on the previously declared coding rate. Calculate, add the respective transmission information amount to the virtual buffer filling amount of each input coded signal, obtain the virtual buffer filling amount of each input data for each packet generation period, based on the virtual buffer filling amount A virtual buffer of the input coded signal transferred to the step of adding the header, controlling the transfer of the input coded signal of the first buffer memory to the step of adding the header Multiplexing method being characterized in that so as to have a step of subtracting et the transferred amount of information.
【請求項2】請求項1に記載された多重化方法におい
て、前記ヘッダが付加された多重化信号を一時第2のバ
ッファメモリに蓄積し、前記第2のバッファメモリによ
り蓄積された多重化信号の中で所定の種類の多重化信号
を所定期間待機させるようにしたことを特徴とする多重
化方法。
2. The multiplexing method according to claim 1, wherein the multiplexed signal to which the header is added is temporarily stored in a second buffer memory, and the multiplexed signal stored by the second buffer memory is stored. Among them, a multiplexing method characterized in that a predetermined type of multiplexed signal is made to stand by for a predetermined period.
【請求項3】請求項1に記載された多重化方法におい
て、仮想バッファ充足量の演算に利用する符号化レート
を、所定周期毎に変化させるステップを備えるようにし
たことを特徴とする多重化方法。
3. The multiplexing method according to claim 1, further comprising a step of changing a coding rate used for calculation of a virtual buffer filling amount every predetermined period. Method.
【請求項4】請求項1に記載された多重化方法におい
て、前記ヘッダを付加するステップへの転送を制御する
ステップを行なう場合に、入力符号化信号の符号化レー
トにより前記仮想バッファ充足量を重み付けするステッ
プを備えるようにしたことを特徴とする多重化方法。
4. The multiplexing method according to claim 1, wherein when the step of controlling the transfer to the step of adding the header is performed, the virtual buffer filling amount is determined by the coding rate of the input coded signal. A multiplexing method comprising a weighting step.
【請求項5】請求項1に記載された多重化方法におい
て、仮想バッファ初期量を各符号化信号の多重化開始時
間として設定するようにしたことを特徴とする多重化方
法。
5. The multiplexing method according to claim 1, wherein the virtual buffer initial amount is set as a multiplexing start time of each coded signal.
【請求項6】請求項1に記載された多重化方法におい
て、仮想バッファ充足量を演算するステップを行なう場
合に、前記仮想バッファ充足量の演算を前記周期の整数
倍毎に行なうようにしたことを特徴とする多重化方法。
6. The multiplexing method according to claim 1, wherein when the step of calculating the virtual buffer filling amount is performed, the calculation of the virtual buffer filling amount is performed every integer multiple of the cycle. A multiplexing method characterized by.
【請求項7】符号化信号の多重化を行なう多重化装置に
おいて、複数の入力符号化信号を各入力符号化信号毎に
一時第1のバッファメモリに蓄積して、予め申告された
多重化レートと多重化するパケットの大きさから求めら
れる前記パケットの発生周期を演算し、前記パケット発
生周期の間に伝送される各入力符号化信号の伝送情報量
を予め申告された符号化レートに基づいて演算し、各入
力符号化信号の仮想バッファ充足量に夫々の前記伝送情
報量を加算して、前記パケット発生周期毎の各入力デー
タの仮想バッファ充足量を求め、前記仮想バッファ充足
量に基づいて、前記第1のバッファメモリの入力符号化
信号のヘッダを付加する手段への転送を制御し、前記ヘ
ッダを付加する手段に転送された入力符号化信号の仮想
バッファから前記転送された情報量を減算する手段を備
えるようにしたことを特徴とする多重化装置。
7. A multiplexing device for multiplexing coded signals, wherein a plurality of input coded signals are temporarily stored in a first buffer memory for each input coded signal, and a previously declared multiplexing rate is set. Is calculated from the size of the packet to be multiplexed, and the transmission information amount of each input coded signal transmitted during the packet generation period is calculated based on the previously declared coding rate. Calculate, add the respective transmission information amount to the virtual buffer filling amount of each input coded signal, obtain the virtual buffer filling amount of each input data for each packet generation period, based on the virtual buffer filling amount Controlling the transfer of the input coded signal of the first buffer memory to the means for adding a header, and from the virtual buffer of the input coded signal transferred to the means for adding the header, Multiplexer being characterized in that so as to comprise means for subtracting the transmission information amount.
【請求項8】請求項7に記載された多重化装置におい
て、前記ヘッダが付加された多重化信号を一時第2のバ
ッファメモリに蓄積し、前記第2のバッファメモリによ
り蓄積された多重化信号の中で所定の種類の多重化信号
を所定期間待機させるようにしたことを特徴とする記載
の多重化装置。
8. The multiplexing device according to claim 7, wherein the multiplexed signal to which the header is added is temporarily stored in a second buffer memory, and the multiplexed signal stored by the second buffer memory is stored. The multiplexing apparatus according to claim 1, characterized in that a multiplexed signal of a predetermined type is held in a standby state for a predetermined period.
【請求項9】請求項7に記載された多重化装置におい
て、仮想バッファ充足量の演算に利用する符号化レート
を、所定周期毎に変化させる手段を備えるようにしたこ
とを特徴とする多重化装置。
9. The multiplexing device according to claim 7, further comprising means for changing a coding rate used for calculation of a virtual buffer filling amount at every predetermined cycle. apparatus.
【請求項10】請求項1に記載された多重化方法におい
て、ヘッダが付加された多重化信号を一時第2のバッフ
ァメモリに蓄積し、前記第2のバッファメモリにより蓄
積された多重化信号に含まれている時間情報と実際にそ
の時間情報が出力伝送路へ出力される時間とのずれを計
測して補正するようにしたことを特徴とする多重化方
法。
10. The multiplexing method according to claim 1, wherein the multiplexed signal added with the header is temporarily stored in a second buffer memory, and the multiplexed signal stored by the second buffer memory is added. A multiplexing method characterized in that a deviation between the included time information and the time when the time information is actually output to the output transmission line is measured and corrected.
【請求項11】請求項7に記載された多重化装置におい
て、ヘッダが付加された多重化信号を一時第2のバッフ
ァメモリに蓄積し、前記第2のバッファメモリにより蓄
積された多重化信号に含まれている時間情報と実際にそ
の時間情報が出力伝送路へ出力される時間とのずれを計
測して補正する手段を備えるようにしたことを特徴とす
る記載の多重化装置。
11. The multiplexing device according to claim 7, wherein the header-added multiplexed signal is temporarily stored in a second buffer memory, and the multiplexed signal stored in the second buffer memory is stored. The multiplexing apparatus according to claim 1, further comprising means for measuring and correcting a deviation between the included time information and the time when the time information is actually output to the output transmission path.
JP14505096A 1995-08-31 1996-05-15 Multiplexing method and multiplexer Expired - Lifetime JP3248669B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14505096A JP3248669B2 (en) 1995-08-31 1996-05-15 Multiplexing method and multiplexer

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP7-248479 1995-08-31
JP24847995 1995-08-31
JP14505096A JP3248669B2 (en) 1995-08-31 1996-05-15 Multiplexing method and multiplexer

Publications (2)

Publication Number Publication Date
JPH09139720A true JPH09139720A (en) 1997-05-27
JP3248669B2 JP3248669B2 (en) 2002-01-21

Family

ID=26476303

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14505096A Expired - Lifetime JP3248669B2 (en) 1995-08-31 1996-05-15 Multiplexing method and multiplexer

Country Status (1)

Country Link
JP (1) JP3248669B2 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999012293A1 (en) * 1997-08-28 1999-03-11 Sony Corporation Transmitter for multichannel digital data and transmission method
JP2001510619A (en) * 1997-11-29 2001-07-31 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Audio recording method and apparatus, record carrier, and playback apparatus
JP2003521084A (en) * 2000-01-17 2003-07-08 トムソン ライセンシング ソシエテ アノニム Method for recording or playing back a low bit rate data stream
JP2006157473A (en) * 2004-11-30 2006-06-15 Nippon Hoso Kyokai <Nhk> Stream multiplex transmitter
US7715383B2 (en) 2004-07-28 2010-05-11 Nec Infrontia Corporation Packet transmission control method, packet transmission control apparatus and packet transmission control program product
JP2010250927A (en) * 2009-04-14 2010-11-04 Sony Corp Information processing apparatus, information processing system and information processing method, and program
US8326055B2 (en) 1997-10-02 2012-12-04 S3 Graphics Co., Ltd. Image codec engine
JP2014042110A (en) * 2012-08-21 2014-03-06 Fujitsu Semiconductor Ltd Data transfer device, data transfer method, and semiconductor device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1999012293A1 (en) * 1997-08-28 1999-03-11 Sony Corporation Transmitter for multichannel digital data and transmission method
US6747998B1 (en) 1997-08-28 2004-06-08 Sony Corporation Transmitter for multichannel digital data and transmission method
US8326055B2 (en) 1997-10-02 2012-12-04 S3 Graphics Co., Ltd. Image codec engine
US8908980B2 (en) 1997-10-02 2014-12-09 S3 Graphics Co., Ltd. Image codec engine
JP2001510619A (en) * 1997-11-29 2001-07-31 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Audio recording method and apparatus, record carrier, and playback apparatus
JP2009289398A (en) * 1997-11-29 2009-12-10 Koninkl Philips Electronics Nv Method and device for recording audio, record carrier, and playback device
JP2003521084A (en) * 2000-01-17 2003-07-08 トムソン ライセンシング ソシエテ アノニム Method for recording or playing back a low bit rate data stream
JP4705745B2 (en) * 2000-01-17 2011-06-22 トムソン ライセンシング Method for recording or playing back a low bit rate data stream
US7715383B2 (en) 2004-07-28 2010-05-11 Nec Infrontia Corporation Packet transmission control method, packet transmission control apparatus and packet transmission control program product
JP2006157473A (en) * 2004-11-30 2006-06-15 Nippon Hoso Kyokai <Nhk> Stream multiplex transmitter
JP2010250927A (en) * 2009-04-14 2010-11-04 Sony Corp Information processing apparatus, information processing system and information processing method, and program
JP2014042110A (en) * 2012-08-21 2014-03-06 Fujitsu Semiconductor Ltd Data transfer device, data transfer method, and semiconductor device

Also Published As

Publication number Publication date
JP3248669B2 (en) 2002-01-21

Similar Documents

Publication Publication Date Title
US6157674A (en) Audio and video data transmitting apparatus, system, and method thereof
US5543853A (en) Encoder/decoder buffer control for variable bit-rate channel
CN102640511B (en) Method and system for playing video information, and video information content
US20060036759A1 (en) Mechanism for transmitting elementary streams in a broadcast environment
JPH09509035A (en) Audio / video timing mismatch management
JP2001359072A (en) Data converter and method, data distributor and method, data distribution system
JP4303775B2 (en) Method and apparatus for adaptive bit rate control in an asynchronous coding system
CN100581267C (en) Multiplexing apparatus and multiplexing method
US6151359A (en) Method of video buffer verification
JPH0897825A (en) Data transmitter
JP3644995B2 (en) Time stamp value calculation method in coded transmission system
JPH09191296A (en) Method and equipment for synchronizing clock for digital decoder and digital coder
JP2001094943A (en) Synchronization method and synchronization device for mpeg decoder
JPH09139720A (en) Multiplex method and multiplexer
US7240013B2 (en) Method and apparatus for controlling buffering of audio stream
US7729383B2 (en) Multiplexer and multiplexing method
JPH11163817A (en) Digital encoding multiplexer
JPH09509036A (en) Encoder system level buffer management
JPH09247670A (en) Information multiplexer
JP3299185B2 (en) Encoding device
JPH09312656A (en) Transmitter and method therefor
JP2000152232A (en) Transmission method and system
JPH11298893A (en) Transport stream synchronous circuit
JP3018335B2 (en) Method and apparatus for reducing program clock reference jitter of MPEG over ATM and MPEG decoding apparatus
JPH11262001A (en) Method for calculating time stamp value in encoding transmission system

Legal Events

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

Free format text: PAYMENT UNTIL: 20071109

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20081109

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20091109

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20101109

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111109

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121109

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20121109

Year of fee payment: 11

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20121109

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20121109

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20131109

Year of fee payment: 12

EXPY Cancellation because of completion of term