JPH0974547A - Data multiplexer - Google Patents

Data multiplexer

Info

Publication number
JPH0974547A
JPH0974547A JP8188693A JP18869396A JPH0974547A JP H0974547 A JPH0974547 A JP H0974547A JP 8188693 A JP8188693 A JP 8188693A JP 18869396 A JP18869396 A JP 18869396A JP H0974547 A JPH0974547 A JP H0974547A
Authority
JP
Japan
Prior art keywords
data
packet
private
generating
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP8188693A
Other languages
Japanese (ja)
Inventor
Yoshinobu Kudo
慶喜 工藤
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.)
Nippon Steel Corp
Original Assignee
Nippon Steel Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Steel Corp filed Critical Nippon Steel Corp
Priority to JP8188693A priority Critical patent/JPH0974547A/en
Publication of JPH0974547A publication Critical patent/JPH0974547A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To output the multiplexed data at a fixed rate and to reduce the transmission delay of the private data. SOLUTION: A data multiplexing device is provided with a basic packet part generation means B, an additional packet part generation means C, and a pack generation means D. The means B selects the video data, the audio data or the padding data and generates a basic packet part where the selected data are inserted. The means C selects one or both of the private data and true padding data and generates an additional packet part where the selected data are inserted. Then the means D generates the packs via both basic and additional packet parts. The multiplexed data include the continuous packs which are generated by the means D.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、データ多重化装置
に関し、特に、プライベート・データをビデオ・データ
やオーディオ・データとともに多重化するのに好適なデ
ータ多重化装置に関する。ここで、プライベート・デー
タとしては、例えば、静止画データ、FAXデータおよ
びテキスト・データなどのようなシステム・クロックと
同期していないデータや、クローズド・キャプション・
データのようなビデオ信号と同期して発生するデータで
ある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data multiplexer, and more particularly to a data multiplexer suitable for multiplexing private data with video data and audio data. Here, as the private data, for example, data that is not synchronized with the system clock, such as still image data, FAX data and text data, or closed caption data.
It is data generated in synchronization with a video signal such as data.

【0002】[0002]

【従来の技術】従来、種々の通信機器やコンピュータを
使用して、多くの情報(例えば、画像や音声等の信号)
の処理あるいは加工を行う技術分野においては、多くの
情報のやり取りを短時間で行いたいという要望がある。
2. Description of the Related Art Conventionally, various kinds of information (for example, signals such as images and sounds) have been used by using various communication devices and computers.
In the technical field of processing or processing, there is a demand for exchanging a large amount of information in a short time.

【0003】そこで、近年、やり取りする情報をデジタ
ル信号に変換し、更に、このデジタル信号を独自の方法
で圧縮、多重化することにより情報の量を少なくする技
術が開発されてきている。このようなデジタル信号を圧
縮、多重化する技術を用いた国際標準としてMPEG方
式がある。
Therefore, in recent years, a technique has been developed in which the amount of information is reduced by converting the exchanged information into a digital signal and further compressing and multiplexing this digital signal by an original method. There is an MPEG system as an international standard using a technique for compressing and multiplexing such digital signals.

【0004】このMPEG方式は、例えば、画像信号や
音声信号を高密度に圧縮してCD−ROM(コンパクト
ディスク−ROM)やDVD(デジタル・ビデオ・ディ
スク)等の記録媒体に記録したり、あるいは、デジタル
衛星放送や高品質テレビ会議システム等の圧縮した信号
を伝送して、情報のやり取りを行うことに利用すること
ができる。
In the MPEG system, for example, image signals and audio signals are compressed at a high density and recorded on a recording medium such as a CD-ROM (compact disc-ROM) or a DVD (digital video disc), or It can be used for exchanging information by transmitting a compressed signal such as digital satellite broadcasting or a high quality video conference system.

【0005】ところで、MPEG方式によれば、データ
圧縮されたビデオ・データ及びオーディオ・データプラ
イベート・データとは、パケットによる多重化方式によ
り多重化されて伝送される。すなわち、データ圧縮され
たビデオ・データおよびオーディオ・データとプライベ
ート・データとは、パケットと呼ばれる適当な長さのス
トリームにそれぞれ分割されたのち、ビデオ・データの
パケット、オーディオ・データのパケットおよびプライ
ベート・データのパケットの一つまたは複数の集合であ
るパックごとに、時分割に伝送される。
By the way, according to the MPEG system, data-compressed video data and audio data private data are multiplexed and transmitted by a packet-based multiplexing system. That is, data-compressed video data, audio data, and private data are divided into streams of appropriate length called packets, and then the packets of video data, audio data packets, and private data. Each pack, which is one or a plurality of sets of data packets, is transmitted in a time division manner.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、かかる
多重化方式を実現するに当たっては、以下に示すような
問題があった。 (1)パケットに挿入するデータの選択は、通常、ビデ
オ・データ、オーディオ・データおよびプライベート・
データの発生頻度に応じて決定されるが、静止画デー
タ、FAXデータおよびテキスト・データなどのよう
な、システム・クロックと同期していないプライベート
・データは均等に発生するものではないため、多重化デ
ータ全体の出力レートが不安定になるという問題があ
る。
However, in realizing such a multiplexing system, there are the following problems. (1) The data to be inserted in the packet is usually selected from video data, audio data and private data.
Depending on the frequency of data generation, private data that is not synchronized with the system clock, such as still image data, FAX data, and text data, does not occur evenly, so it is multiplexed. There is a problem that the output rate of the entire data becomes unstable.

【0007】このような問題を解決する一つの手段とし
て、ビデオ・データのパケット、オーディオ・データの
パケットおよびプライベート・データのパケット長を略
同じ大きさにする方法がある。しかし、このような方法
では、ビデオ・データおよびオーディオ・データに比べ
てプライベート・データの発生頻度が非常に小さいの
で、多重化遅延が大きくなってしまう問題があった。
As one means for solving such a problem, there is a method in which the packet length of video data, the packet length of audio data, and the packet length of private data are made substantially the same. However, in such a method, the frequency of generation of private data is very low compared to that of video data and audio data, so that there is a problem that the multiplexing delay becomes large.

【0008】(2)また、クローズド・キャプション・
データのようなピクチャに対して同期しているデータの
場合には、パケット長を同じ大きさで多重化すると、ビ
デオ・データとの同期を維持することが困難になる。
(2) In addition, closed captions
In the case of data such as data that is synchronized with a picture, if the packet lengths are multiplexed in the same size, it becomes difficult to maintain synchronization with video data.

【0009】(3)パケットを用いて複数のプログラム
を生成するマルチ・プログラム対応の多重化において
も、前記(1)および(2)と同様な問題が生じてい
た。
(3) The same problem as in the above (1) and (2) has occurred also in the multiplexing corresponding to the multi-program for generating a plurality of programs using the packet.

【0010】本発明は前述の問題点にかんがみ、多重化
データを定レートで出力できるとともに、プライベート
・データの伝送遅延を小さくすることができるデータ多
重化装置を提供することを第1の目的とする。
In view of the above problems, it is a first object of the present invention to provide a data multiplexer capable of outputting multiplexed data at a constant rate and reducing the transmission delay of private data. To do.

【0011】また、プライベート・データの伝送遅延を
小さくすることができるとともに、プライベート・デー
タとビデオ・データとの同期を維持しながら多重化を行
うことができるようにすることを第2の目的とする。
A second object of the present invention is to reduce the transmission delay of private data and to enable multiplexing while maintaining the synchronization between private data and video data. To do.

【0012】さらに、マルチ・プログラム対応の多重化
において、プライベート・データの伝送遅延を小さくす
ることができるとともに、プライベート・データとビデ
オ・データとの同期を維持しながら多重化を行うことが
できるようにすることを第3の目的とする。
Further, in the multiplexing compatible with the multi-program, the transmission delay of the private data can be reduced, and the multiplexing can be performed while maintaining the synchronization between the private data and the video data. The third purpose is to

【0013】さらに、マルチ・プログラム対応の多重化
において、多重化データを定レートで出力できるととも
に、プライベート・データの伝送遅延を小さくすること
ができるようにすることを第4の目的とする。
A fourth object of the present invention is to enable multiplexed data to be output at a constant rate and to reduce transmission delay of private data in multiplexing compatible with multiple programs.

【0014】[0014]

【課題を解決するための手段】本発明の第1のデータ多
重化装置は、入力されたデータを一定のサイズに分割し
てパケット部を生成するとともに、前記パケット部にパ
ックヘッダを付加してパックを生成するようにしたデー
タ多重化装置において、前記パケット部を生成するため
のパケット部生成手段を、基本パケット部生成手段と付
加パケット部生成手段とで構成し、前記基本パケット部
生成手段は、入力されるビデオ・データ、オーディオ・
データおよびパディング・データの中から一つのデータ
を選択して基本パケット部を生成し、前記付加パケット
部生成手段は、入力されるプライベート・データまたは
パディング・データのどちらか一方のデータ、または両
方のデータを選択して付加パケット部を生成する。
A first data multiplexing apparatus of the present invention divides input data into a fixed size to generate a packet part and adds a pack header to the packet part. In the data multiplexing device for generating a pack, the packet part generating means for generating the packet part is composed of basic packet part generating means and additional packet part generating means, and the basic packet part generating means is Input video data, audio
One data is selected from the data and the padding data to generate the basic packet part, and the additional packet part generating means includes either one of the input private data or the padding data, or both of them. Data is selected and an additional packet part is generated.

【0015】また、本発明の第1のデータ多重化装置
は、パックを構成する基本パケット部に多重化すべき基
本パケットデータとして、入力されるビデオ・データ、
オーディオ・データおよびパディング・データの中から
一つのデータを選択する基本パケットソース選択手段
と、前記基本パケットソース選択手段により選択された
基本パケットデータを所定長のサイズに分割するととも
に、前記所定長のサイズに分割した基本パケットデータ
に基本パケットヘッダを付加して基本パケット部を生成
する基本パケット部生成手段と、パックを構成する付加
パケット部に多重化すべき付加パケットデータとして、
入力されるプライベート・データまたはパディング・デ
ータのどちらか一方のデータ、または両方のデータをパ
ック長に合わせて選択するとともに、前記選択した付加
パケットデータに、付加パケットヘッダを付加して付加
パケット部を生成する付加パケット部生成手段と、前記
基本パケット部生成手段および前記付加パケット部生成
手段からそれぞれ与えられる各パケット部にパックヘッ
ダを付加してパックを生成するパック生成手段とを具備
している。
Further, the first data multiplexing apparatus of the present invention is such that video data input as basic packet data to be multiplexed in the basic packet portion forming the pack,
Basic packet source selecting means for selecting one data from audio data and padding data, basic packet data selected by the basic packet source selecting means is divided into a size of a predetermined length, and Basic packet part generation means for generating a basic packet part by adding a basic packet header to the basic packet data divided into sizes, and additional packet data to be multiplexed in the additional packet part forming the pack,
Either the private data or the padding data to be input, or both data are selected according to the pack length, and an additional packet header is added to the selected additional packet data to add an additional packet section. It is provided with additional packet part generating means for generating, and pack generating means for generating a pack by adding a pack header to each packet part given respectively from the basic packet part generating means and the additional packet part generating means.

【0016】また、本発明の第1のデータ多重化装置
は、前記付加パケット部の長さは、パック長と多重化出
力レートとプライベート・データの最大入力レートより
求めることを特徴とする。
Further, the first data multiplexing apparatus of the present invention is characterized in that the length of the additional packet portion is obtained from a pack length, a multiplexing output rate and a maximum input rate of private data.

【0017】本発明の第1のデータ多重化装置は、前記
技術手段よりなるので、パックが基本パケット部と付加
パケット部との2種類で構成され、また、プライベート
・データパケット長が最大入力レートに合わせて構成さ
れるので、プライベート・データが非同期であっても多
重化遅延を有効に抑えることができるようになり、かつ
前記プライベート・データおよびパディング・データを
選択的に用いて前記付加パケット部が構成されるので、
定レート出力を行うことができるようになる。
Since the first data multiplexing device of the present invention comprises the above technical means, the pack is composed of two types of the basic packet part and the additional packet part, and the private data packet length is the maximum input rate. Therefore, even if the private data is asynchronous, the multiplexing delay can be effectively suppressed, and the private packet and padding data are selectively used to add the additional packet part. Is configured, so
It becomes possible to perform constant rate output.

【0018】また、本発明の第2のデータ多重化装置
は、入力されたデータを一定のサイズに分割してパケッ
ト部を生成するとともに、前記パケット部にパックヘッ
ダを付加してパックを生成するようにしたデータ多重化
装置において、前記パケット部を生成するためのパケッ
ト部生成手段を、基本パケット部生成手段と付加パケッ
ト部生成手段とで構成し、前記基本パケット部生成手段
を、入力されるビデオ・データを挿入した第1の基本パ
ケット部を生成する第1の基本パケット部生成手段と、
入力されるオーディオ・データまたはパディング・デー
タの中からどちらか一方のデータを挿入した第2の基本
パケット部を生成する第2の基本パケット部生成手段と
で構成するとともに、前記付加パケット部生成手段は、
入力されるプライベート・データまたはパディング・デ
ータのどちらか一方のデータ、または両方のデータを選
択して付加パケット部を生成する。
The second data multiplexing apparatus of the present invention divides the input data into a fixed size to generate a packet part, and adds a pack header to the packet part to generate a pack. In the above data multiplexing device, the packet part generating means for generating the packet part is constituted by the basic packet part generating means and the additional packet part generating means, and the basic packet part generating means is inputted. First basic packet part generating means for generating a first basic packet part in which video data is inserted;
And a second basic packet part generating means for generating a second basic packet part in which either one of the input audio data or padding data is inserted, and the additional packet part generating means. Is
Either the private data or the padding data to be input, or both data are selected to generate the additional packet portion.

【0019】また、本発明の第2のデータ多重化装置
は、入力されるビデオ・データからピクチャ情報を検出
するピクチャ情報検出手段と、入力されるビデオ・デー
タ、オーディオ・データまたはパディング・データの中
からパックに多重化すべきソースを選択するソース選択
手段と、前記ソース選択手段により選択されたソースか
ら基本パケット部を生成する基本パケット部生成手段
と、ビデオ信号に同期したプライベート・データの未多
重のブロック数をカウントするカウント手段と、前記プ
ライベート・データまたはパディング・データの中から
前記パックに多重化すべきソースを選択するとともに、
前記選択したソースをパック長に合わせて切り出して付
加パケット部を生成する付加パケット部生成手段と、前
記基本パケット部生成手段および前記付加パケット部生
成手段により生成される各パケット部にパックヘッダを
付加してパックを生成するパック生成手段とを具備して
いる。
The second data multiplexing apparatus of the present invention further comprises a picture information detecting means for detecting picture information from the input video data, and the input video data, audio data or padding data. Source selecting means for selecting a source to be multiplexed into a pack, basic packet part generating means for generating a basic packet part from the source selected by the source selecting means, and unmultiplexing of private data synchronized with a video signal A counting means for counting the number of blocks, and a source to be multiplexed in the pack from the private data or padding data,
Additional packet part generation means for cutting out the selected source according to the pack length to generate an additional packet part, and a pack header added to each packet part generated by the basic packet part generation means and the additional packet part generation means. And a pack generating means for generating a pack.

【0020】また、本発明の第2のデータ多重化装置
は、前記ビデオ信号に同期したプライベート・データ
は、クローズド・キャプションデータである。
In the second data multiplexing device of the present invention, the private data synchronized with the video signal is closed caption data.

【0021】本発明の第2のデータ多重化装置は、前記
技術手段より成るので、パックのパケット部が、基本パ
ケット部単独で構成されるか、または基本パケット部と
付加パケット部とで構成されるので、ビデオ信号と同期
したプライベート・データの場合でも多重化遅延が抑え
られ、かつ多重化に際してはビデオパケットにのみ付加
パケット部が加えられるので、ビデオ信号との同期を維
持しつつプライベート・データを多重化することができ
るようになる。
Since the second data multiplexing apparatus of the present invention comprises the above technical means, the packet part of the pack is composed of the basic packet part alone or the basic packet part and the additional packet part. Therefore, even in the case of private data synchronized with the video signal, the multiplexing delay is suppressed, and the additional packet part is added only to the video packet during multiplexing, so the private data can be maintained while synchronizing with the video signal. Will be able to be multiplexed.

【0022】また、本発明の第3のデータ多重化装置
は、PESパケットを用いたマルチプログラム対応のデ
ータ多重化装置において、1ピクチャに対応するプライ
ベート・データよりプライベート・データPESパケッ
トを生成するプライベート・データPESパケット生成
手段と、前記プライベート・データPESパケット生成
手段によって生成されるプライベート・データPESパ
ケットを、ピクチャ・スタート・コードを含むビデオ・
データの後に多重化する多重化手段とを具備している。
A third data multiplexing apparatus of the present invention is a multi-program-compatible data multiplexing apparatus using PES packets, in which private data PES packets are generated from private data corresponding to one picture. A video containing a picture start code for the data PES packet generation means and the private data PES packet generated by the private data PES packet generation means
And multiplexing means for multiplexing after the data.

【0023】また、本発明の第3のデータ多重化装置
は、PESパケットを用いたマルチプログラム対応のデ
ータ多重化装置において、入力されるビデオ・データを
所定の大きさだけ切り出すとともに、前記切り出したビ
デオ・データにヘッダ情報を付加してビデオPESパケ
ットを生成するビデオPESパケット生成手段と、前記
ビデオPESパケット生成部から出力されるビデオPE
Sパケットからピクチャの始まりを示すピクチャ・スタ
ート・コードが存在するか否かを検出するピクチャ情報
検出手段と、入力されるオーディオ・データを所定の大
きさだけ切り取るとともに、前記切り取ったオーディオ
・データにヘッダ情報を付加してオーディオPESパケ
ットを生成するオーディオPESパケット生成手段と、
前記ピクチャ情報検出手段から与えられる検出結果情報
に基づいて、前記ピクチャ・スタート・コードが検出さ
れたピクチャに対応するプライベート・データにヘッダ
情報を付加してプライベート・データPESパケットを
生成するプライベート・データPESパケット生成手段
と、前記ビデオPESパケット、オーディオPESパケ
ットおよびプライベート・データPESパケットの中か
ら出力するPESパケットを選択する手段であって、前
記ピクチャ情報検出手段の検出結果に基づいて、出力す
るビデオ・データの中にピクチャ・スタート・コードが
存在するとプライベート・データPESパケットを出力
するようにする多重化手段とを具備している。
The third data multiplexing apparatus of the present invention is a data multiplexing apparatus compatible with a multi-program using PES packets, which cuts input video data by a predetermined size and cuts it out. Video PES packet generation means for generating a video PES packet by adding header information to the video data, and a video PE output from the video PES packet generation unit.
Picture information detecting means for detecting whether or not there is a picture start code indicating the beginning of a picture from an S packet, and audio data to be input are cut by a predetermined size, and the cut audio data is Audio PES packet generation means for generating an audio PES packet by adding header information,
Private data for generating private data PES packets by adding header information to private data corresponding to the picture in which the picture start code is detected, based on the detection result information provided from the picture information detecting means. PES packet generation means, means for selecting a PES packet to be output from the video PES packet, audio PES packet, and private data PES packet, and the video to be output based on the detection result of the picture information detection means. And a multiplexing means for outputting a private data PES packet when a picture start code exists in the data.

【0024】また、本発明の第3のデータ多重化装置
は、前記多重化手段は、前記ピクチャ情報検出手段から
出力された検出結果情報がピクチャ有りであった場合に
はフラグを立てておくとともに、前記フラグが立ってい
たらプライベート・データPESパケットを出力すると
判定し、前記判定を行ったら前記フラグを下げる処理を
行う。
Further, in the third data multiplexing apparatus of the present invention, the multiplexing means sets a flag when the detection result information output from the picture information detection means indicates that there is a picture. If the flag is set, it is determined that the private data PES packet is to be output, and if the determination is made, the process of lowering the flag is performed.

【0025】本発明の第3のデータ多重化装置は、前記
技術手段よりなるので、プライベート・データPESパ
ケットが1ピクチャに対応して構成されることにより、
プライベート・データのPESパケットが短い構成とな
り、ビデオ・データと同期したプライベート・データの
場合でも多重化遅延が抑えられる。また、ピクチャ・ス
タート・コードを含むビデオ・データの後にプライベー
ト・データが常に多重化されるので、ビデオ・データと
の同期を維持しつつプライベート・データを多重化する
ことが可能となる。
Since the third data multiplexing apparatus of the present invention comprises the above technical means, the private data PES packet is configured to correspond to one picture.
The PES packet of the private data has a short structure, and the multiplexing delay can be suppressed even in the case of the private data synchronized with the video data. Further, since the private data is always multiplexed after the video data including the picture start code, it is possible to multiplex the private data while maintaining the synchronization with the video data.

【0026】また、本発明の第4のデータ多重化装置
は、PESパケットを用いたマルチプログラム対応のデ
ータ多重化装置において、ビデオ・データおよびオーデ
ィオ・データとともに多重化するプライベート・データ
のPESパケットを生成するプライベート・データPE
Sパケット生成手段と、前記プライベート・データPE
Sパケット生成手段によって生成されるプライベート・
データのPESパケット長を適応的に変化させるPES
パケット長変化手段と、前記ビデオ・データおよびオー
ディオ・データとともに多重化するプライベート・デー
タの量に応じて適応的にパディング・データを詰込むよ
うにするパディング・データ詰込み手段とを具備してい
る。
A fourth data multiplexer of the present invention is a multi-program-compatible data multiplexer using PES packets, in which PES packets of private data to be multiplexed with video data and audio data are multiplexed. Private data PE to generate
S packet generation means and the private data PE
Private generated by S packet generation means
PES that adaptively changes the PES packet length of data
Packet length changing means and padding data filling means for filling padding data adaptively according to the amount of private data multiplexed with the video data and audio data are provided. .

【0027】また、本発明の第4のデータ多重化装置
は、ビデオ・データおよびオーディオ・データとともに
プライベート・データを多重化するタイミングを通知す
るタイミング通知手段と、前記タイミング通知手段から
多重化のタイミングが通知された時点で存在するデータ
量に応じて前記プライベート・データのPESパケット
長を決定するPESパケット長決定手段と、前記PES
パケット長決定手段によって決定された長さでプライベ
ート・データPESパケットを生成するとともに、前記
プライベート・データを多重化するタイミングが通知さ
れた時に、前記プライベート・データが存在しない場合
にはプライベート・データPESパケットを生成しない
ようにするプライベート・データPESパケット生成手
段と、前記タイミング通知手段からの通知を受けたタイ
ミングでトランスポートパケットのペイロードをプライ
ベート・データに決定するペイロード決定手段と、前記
ペイロード決定手段がペイロードをプライベート・デー
タに決定したときに、前記プライベート・データのPE
Sパケット長が予め規定したペイロード長より短い場合
には、アダプテーション・フィールドのスタッフィング
・バイトで長さ調整を行うようにする長さ調整手段と、
前記ペイロード決定手段がペイロードをプライベート・
データに決定したときに、プライベート・データが存在
しない場合にはペイロードにパディング・データを詰め
るようにするパディング・データ詰込み手段とを具備し
ている。
The fourth data multiplexing device of the present invention is a timing notifying means for notifying the timing of multiplexing the private data together with the video data and the audio data, and the timing of the multiplexing from the timing notifying means. The PES packet length determining means for determining the PES packet length of the private data in accordance with the amount of data existing at the time of being notified, and the PES.
A private data PES packet is generated with the length determined by the packet length determining means, and when the private data PES packet is not notified when the timing for multiplexing the private data is notified, the private data PES is generated. The private data PES packet generation means for not generating a packet, the payload determination means for determining the payload of the transport packet as private data at the timing when the notification from the timing notification means is received, and the payload determination means. When the payload is determined to be private data, the PE of the private data
If the S packet length is shorter than the predetermined payload length, a length adjusting means for adjusting the length by the stuffing byte of the adaptation field,
The payload determining means determines that the payload is private
When the data is decided, padding data packing means for packing the padding data in the payload when private data does not exist is provided.

【0028】本発明の第4のデータ多重化装置は前記技
術手段よりなるので、プライベート・データのPESパ
ケット長が適応的に変化することにより、非同期なプラ
イベート・データの場合でも多重化遅延が抑えられ。ま
た、プライベート・データの量によってパディング・デ
ータが適応的に詰められるので、出力レートを一定に保
ちながらビデオ・データおよびオーディオ・データとと
もにプライベート・データを不都合なく多重化すること
が可能となる。
Since the fourth data multiplexer of the present invention comprises the above technical means, the PES packet length of the private data is adaptively changed, so that the multiplexing delay is suppressed even in the case of asynchronous private data. It is. Also, since the padding data is adaptively packed depending on the amount of private data, it is possible to multiplex the private data together with the video data and audio data without any inconvenience while keeping the output rate constant.

【0029】[0029]

【発明の実施の形態】以下、本発明のデータ多重化装置
の一実施の形態を図面を参照して説明する。図1は、本
発明の第1の実施の形態を示し、データ多重化装置の主
要な構成を示す構成図である。図1に示したように、本
実施の形態のデータ多重化装置は、ビデオ・データ、オ
ーディオ・データ、プライベート・データおよびパディ
ング・データが入力される入力端子Eと、基本パケット
部生成手段Bおよび付加パケット部生成手段Cを含むパ
ック生成手段D、出力端子Fとを備える。
BEST MODE FOR CARRYING OUT THE INVENTION An embodiment of a data multiplexing apparatus of the present invention will be described below with reference to the drawings. FIG. 1 shows a first embodiment of the present invention and is a configuration diagram showing a main configuration of a data multiplexing apparatus. As shown in FIG. 1, the data multiplexing apparatus of the present embodiment has an input terminal E to which video data, audio data, private data and padding data are input, a basic packet part generating means B and A pack generation means D including an additional packet part generation means C and an output terminal F are provided.

【0030】前記基本パケット部生成手段Bは、入力さ
れるビデオ・データ、オーディオ・データおよびパディ
ング・データの中から一つのデータを選択して基本パケ
ット部を生成する。また、前記付加パケット部生成手段
Cは、入力されるプライベート・データおよびパディン
グ・データのどちらか一方、または両方のデータを選択
して付加パケット部を生成する。
The basic packet part generating means B selects one data from the input video data, audio data and padding data to generate a basic packet part. Further, the additional packet part generation means C selects either one or both of the input private data and padding data to generate the additional packet part.

【0031】前記パック生成手段Dは、前記基本パケッ
ト部生成手段Bおよび前記付加パケット部生成手段Cか
らそれぞれ入力される基本パケット部および付加パケッ
ト部にパック・ヘッダを付加してパックを生成する。
The pack generating means D adds a pack header to the basic packet portion and the additional packet portion respectively input from the basic packet portion generating means B and the additional packet portion generating means C to generate a pack.

【0032】このように構成された本実施の形態のデー
タ多重化装置によれば、プライベート・データのパケッ
トをビデオ・データおよびオーディオ・データのパケッ
トと別に生成するため、パケット長を最大入力レートに
対応させてプライベート・データのパケットを生成する
ことができる。
According to the data multiplexing apparatus of the present embodiment configured as described above, since the packet of private data is generated separately from the packets of video data and audio data, the packet length is set to the maximum input rate. Correspondingly, a packet of private data can be generated.

【0033】その結果、静止画データ、FAXデータお
よびテキスト・データなどのようなシステム・クロック
と同期していないプライベート・データについても、多
重化遅延を抑えることができる。
As a result, the multiplexing delay can be suppressed even for private data such as still image data, FAX data and text data which are not synchronized with the system clock.

【0034】また、前記付加パケット部生成手段Cにお
いて、付加パケット部はプライベート・データおよびパ
ディング・データを選択的に用いて生成されるため、多
重化データを定レートで出力することができる。
Further, in the additional packet section generating means C, the additional packet section is generated by selectively using the private data and the padding data, so that the multiplexed data can be output at a constant rate.

【0035】次に、本発明の第1のデータ多重化装置の
第2の実施の形態によるビデオ・データ/オーディオ・
データ多重化装置について、図2〜図5を参照しながら
説明する。本実施の形態のビデオ・データ/オーディオ
・データ多重化装置は、図2に示すように、ビデオ・デ
ータ入力端子1と、オーディオ・データ入力端子2と、
プライベート・データ入力端子3と、基本パケット選択
部4と、基本パケット部生成部5と、パック生成部6
と、付加パケット部生成部7と、多重化バッファ部8
と、多重化データ出力端子9とを具備している。
Next, the video data / audio data according to the second embodiment of the first data multiplexing apparatus of the present invention will be described.
The data multiplexing device will be described with reference to FIGS. As shown in FIG. 2, the video data / audio data multiplexing device of the present embodiment has a video data input terminal 1, an audio data input terminal 2, and
Private data input terminal 3, basic packet selection unit 4, basic packet unit generation unit 5, and pack generation unit 6
An additional packet unit generation unit 7 and a multiplexing buffer unit 8
And a multiplexed data output terminal 9.

【0036】ビデオ・データ入力端子1には、不図示の
ビデオ・データ符号化装置によって符号化(データ圧
縮)されたビデオ・データ26が入力される。オーディ
オ・データ入力端子2には、不図示のオーディオ・デー
タ符号化装置によって符号化(データ圧縮)されたオー
ディオ・データ27が入力される。これらのビデオ・デ
ータ26およびオーディオ・データ27は、基本パケッ
ト選択部4にそれぞれ与えられる。
Video data 26 encoded (compressed) by a video data encoding device (not shown) is input to the video data input terminal 1. Audio data 27 encoded (data compressed) by an audio data encoding device (not shown) is input to the audio data input terminal 2. These video data 26 and audio data 27 are given to the basic packet selection unit 4, respectively.

【0037】プライベート・データ入力端子3には、プ
ライベート・データ28が入力されるが、プライベート
・データ28としては、静止画データ、FAXデータお
よびテキスト・データなどのようなシステム・クロック
と同期していないデータや、クローズド・キャプション
・データのようなビデオ信号と同期して発生するデータ
などがある。プライベート・データ28は、付加パケッ
ト部生成部7に与えられる。
Private data 28 is input to the private data input terminal 3, and the private data 28 is synchronized with a system clock such as still image data, FAX data and text data. There is data that does not exist or data that occurs in synchronization with the video signal, such as closed caption data. The private data 28 is given to the additional packet unit generation unit 7.

【0038】基本パケット選択部4は、データの発生状
況や仮想した分離/復号化装置でのバッファ状況等から
想定して、パックを構成するにあたってビデオ・データ
26およびオーディオ・データ27のどちらを基本パケ
ット部14(図3の(a)参照)に入れた方が復号化を
スムーズに行うことができるかを判断する。
The basic packet selection unit 4 assumes which of the video data 26 and the audio data 27 is to be used in constructing a pack in consideration of the data generation status and the buffer status in the virtual separation / decoding device. It is determined whether the packet section 14 (see FIG. 3A) can be smoothly decoded.

【0039】そして、この判断の結果に基づいて、ビデ
オ・データ26およびオーディオ・データ27のどちら
か一方を選択する。なお、基本パケット選択部4は、ビ
デオ・データ26およびオーディオ・データ27のどち
らも適当でないと判断した場合には、パディング・デー
タ29(冗長データ)を発生する。
Then, based on the result of this judgment, either one of the video data 26 and the audio data 27 is selected. If the basic packet selection unit 4 determines that neither the video data 26 nor the audio data 27 is appropriate, it generates padding data 29 (redundant data).

【0040】基本パケット選択部4からは、選択された
ビデオ・データ26若しくは、オーディオ・データ27
または発生されたパディング・データ29がパケット・
データ長だけ切り出され、基本パケット・データS4と
して出力される。
From the basic packet selection section 4, the selected video data 26 or audio data 27 is selected.
Alternatively, the generated padding data 29 is a packet.
The data length is cut out and output as basic packet data S4.

【0041】基本パケット部生成部5は、基本パケット
ヘッダ17(図3B参照)を基本パケット・データS4
に加えて、基本パケット部14を生成する。ここで、基
本パケットヘッダ17は、パケットの開始を示すパケッ
ト・スタート・コードや、パケット長、ビデオ・デー
タ、オーディオ・データおよびプライベート・データの
復号時期を示すタイム・スタンプの情報などからなる。
The basic packet part generator 5 uses the basic packet header 17 (see FIG. 3B) as the basic packet data S4.
In addition to the above, the basic packet unit 14 is generated. Here, the basic packet header 17 is composed of a packet start code indicating the start of a packet, information on a packet length, video data, audio data, and a time stamp indicating the decoding time of private data.

【0042】付加パケット部生成部7は、下記の(1)
式により求められるプライベート・データ・パケット・
データ長PLだけプライベート・データ28を切り出す
とともに、切り出したプライベート・データ28に付加
パケット・ヘッダ18(図3参照)を付加して、プライ
ベート・データ28を収納した付加パケット部15を生
成する(図3B参照)。
The additional packet section generator 7 has the following (1)
Private data packet calculated by the formula
The private data 28 is cut out by the data length PL, and the additional packet header 18 (see FIG. 3) is added to the cut out private data 28 to generate the additional packet unit 15 in which the private data 28 is stored (FIG. See 3B).

【0043】 PL=PA×PR/MR+1 …(1) (1)式において、PAはパケット長、PRはプライベ
ート・データ・ビットレート、MRは多重化レートを示
し、プライベート・データパケットデータ長PLは、小
数点以下切り捨てにより求められる。
PL = PA × PR / MR + 1 (1) In the equation (1), PA is the packet length, PR is the private data bit rate, MR is the multiplexing rate, and the private data packet data length PL is , Rounded down to the nearest whole number.

【0044】なお、プライベート・データ28がパケッ
ト・データ長分だけ存在しない場合には、存在するプラ
イベート・データ28と余ったデータ長に対応して発生
されたパディング・データ29とを用いて付加パケット
部15が生成される(図3の(c)参照)
If the private data 28 does not exist for the packet data length, the additional packet is added using the existing private data 28 and the padding data 29 generated corresponding to the surplus data length. The part 15 is generated (see (c) of FIG. 3).

【0045】また、プライベート・データ28が付加パ
ケット部生成部7に入力されなかった場合には、パディ
ング・データ29のみを用いて付加パケット部15が生
成される(図3の(d)参照)。
If the private data 28 is not input to the additional packet unit generator 7, the additional packet unit 15 is generated using only the padding data 29 (see (d) in FIG. 3). .

【0046】パック生成部6は、基本パケット部生成部
5から出力される基本パケット部14および/または付
加パケット部生成部7から出力される付加パケット部1
5にパックヘッダ16を加えて、パック12を生成する
(図3の(a)参照)。ここで、パックヘッダ16は、
パック識別コードや、前述したタイムスタンプに対する
基準となるシステム・クロック・リファレンスなどの情
報からなる。
The pack generation unit 6 includes the basic packet unit 14 output from the basic packet unit generation unit 5 and / or the additional packet unit 1 output from the additional packet unit generation unit 7.
The pack header 16 is added to 5 to generate the pack 12 (see FIG. 3A). Here, the pack header 16 is
It includes information such as a pack identification code and a system clock reference that serves as a reference for the above-mentioned time stamp.

【0047】多重化バッファ部8は、パック生成部6か
ら出力される多重化データを一旦蓄えてバースト性を調
整する。バースト性が調整された多重化データは、多重
化データ出力端子9を介して外部に出力されて、記録媒
体に記録されたり、伝送路を介して送信されたりする。
The multiplexing buffer unit 8 temporarily stores the multiplexed data output from the pack generation unit 6 and adjusts the burst property. The burst data adjusted multiplexed data is output to the outside via the multiplexed data output terminal 9, recorded on a recording medium, or transmitted via a transmission path.

【0048】次に、このビデオ・データ/オーディオ・
データ多重化装置により多重化された多重化データのデ
ータ構造について、図3〜図5を参照して説明する。多
重化データは、図3の(a)、図4の(a)、図5の
(a)に示すように、連続した複数のパック12からな
る。ここで、各パック12は、前述したように、時間基
準情報等の情報を示すパックヘッダ16と、基本パケッ
ト部14および付加パケット部15とから構成される
が、先頭のパック12には、ストリーム全体の概要を示
すシステムヘッダがさらに付加される(なお、システム
ヘッダは2番目以降のパックにも付加されてもよ
い。)。
Next, this video data / audio
The data structure of the multiplexed data multiplexed by the data multiplexing device will be described with reference to FIGS. The multiplexed data is composed of a plurality of consecutive packs 12 as shown in FIGS. 3 (a), 4 (a) and 5 (a). Here, each pack 12 is composed of the pack header 16 indicating information such as time reference information, the basic packet part 14 and the additional packet part 15, as described above. A system header showing the overall outline is further added (the system header may also be added to the second and subsequent packs).

【0049】基本パケット部14は、一種類のパケット
・データからなり、図3の(b)に示すように、基本パ
ケットヘッダ17とビデオ・データ26、図4の(b)
に示すように、基本パケットヘッダ17とオーディオ・
データ27、または図5の(b)に示すように、基本パ
ケットヘッダ17とパディング・データ29で構成され
る。
The basic packet section 14 is made up of one type of packet data. As shown in FIG. 3B, the basic packet header 17 and video data 26, and FIG. 4B.
The basic packet header 17 and audio
The data 27, or as shown in FIG. 5B, is composed of a basic packet header 17 and padding data 29.

【0050】付加パケット部15の構成は、第1から第
3のタイプの3種類に分類される。第1のタイプの付加
パケット部15は、図3の(b)、図4の(b)、図5
の(b)に示すように、付加パケット・ヘッダ18が加
えられたプライベート・データ28で構成される。
The structure of the additional packet unit 15 is classified into three types, first to third types. The additional packet unit 15 of the first type is shown in FIG. 3 (b), FIG. 4 (b), and FIG.
(B), it is composed of private data 28 to which the additional packet header 18 is added.

【0051】第2のタイプの付加パケット部15は、図
3の(c)、図4の(c)、図5の(c)に示すよう
に、付加パケット・ヘッダ18が加えられたプライベー
ト・データ28と、付加パケット・ヘッダ18が加えら
れたパディング・データ29とで構成される。
The second type of additional packet unit 15 has a private packet added with an additional packet header 18 as shown in FIGS. 3C, 4C and 5C. It is composed of data 28 and padding data 29 to which the additional packet header 18 is added.

【0052】第3のタイプの付加パケット部15は、図
3の(d)、図4の(d)、図5の(d)に示すよう
に、付加パケット・ヘッダ18が加えられたパディング
・データ29とで構成される。
The third type of additional packet section 15 has a padding / adding section to which an additional packet header 18 is added, as shown in FIGS. 3 (d), 4 (d) and 5 (d). And data 29.

【0053】第1から第3のタイプの付加パケット部1
5のいずれを選択するかは、存在するプライベート・デ
ータ28のデータ量で決まる。すなわち、所定量以上の
プライベート・データ28が存在する場合には、第1の
タイプの付加パケット部15が選択される。
Additional packet unit 1 of the first to third types
Which of 5 is selected depends on the amount of private data 28 existing. That is, when there is a predetermined amount or more of private data 28, the first type additional packet unit 15 is selected.

【0054】また、プライベート・データ28が全く存
在しない場合には、第3のタイプの付加パケット部15
が選択される。さらに、プライベート・データ28が所
定量より少ない場合には、切り出せる分のデータ長から
なるプライベート・データ28と残りのデータ長を調整
するためのパディング・データとが挿入された第2のタ
イプの付加パケット部15が選択される。
When the private data 28 does not exist at all, the third type additional packet unit 15
Is selected. Further, when the private data 28 is less than a predetermined amount, the private data 28 having a data length that can be cut out and padding data for adjusting the remaining data length are inserted into the second type. The additional packet unit 15 is selected.

【0055】以上のように、本実施の形態のデータ多重
化装置では、パックを基本パケット部と付加パケット部
とで構成しているため、全てのパックにプライベート・
データを挿入することができるので、プライベート・デ
ータ・パケット長を小さくすることができる。したがっ
て、本実施の形態のデータ多重化装置では、多重化遅延
を抑えることができるとともに、プライベート・パケッ
トとパディング・パケットとを切り替えることにより、
一定のレートで多重化データを出力することができる。
As described above, in the data multiplexing apparatus of the present embodiment, since the pack is composed of the basic packet part and the additional packet part, all packs have private packets.
Since data can be inserted, the private data packet length can be reduced. Therefore, in the data multiplexing apparatus of the present embodiment, the multiplexing delay can be suppressed, and by switching between the private packet and the padding packet,
The multiplexed data can be output at a constant rate.

【0056】すなわち、例えば、ビデオ・データの発生
頻度(すなわち、ビットレート)1,200,000 ビット/
秒、オーディオ・データを192,000 ビット/秒、プライ
ベート・データの最大発生頻度を9,600 ビット/秒、お
よび全体の多重化データの出力レートを、1,500,000 ビ
ット/秒とする。また、パック長をCD−ROMのセク
タに合わせた2,324 バイト、各パケット長を2,286 バイ
トとすれば、プライベート・データパケットを選択する
パックは、約153パックに一回の確率となる。
That is, for example, the frequency of occurrence of video data (ie, bit rate) is 1,200,000 bits /
Seconds, audio data 192,000 bits / second, maximum frequency of private data generation is 9,600 bits / second, and total multiplexed data output rate is 1,500,000 bits / second. If the pack length is set to 2,324 bytes according to the sector of the CD-ROM and each packet length is set to 2,286 bytes, there is a probability that the pack for selecting the private data packet is about once in 153 packs.

【0057】この場合、プライベート・データが最大レ
ートで入力されたとしても、多重化によるものだけで最
大約1.9秒の遅延が生じることになる。また、静止画
やFAX、テキストデータといった非同期なプライベー
ト・データは、一般的に、常に発生しているものではな
くバースト的に発生するので、遅延はさらに大きくなる
可能性もある。また、前記バースト性により、出力レー
トは変動するので、通信回線などのような一定レート出
力を要求されるような出力媒体には不向きであった。
In this case, even if the private data is input at the maximum rate, a delay of a maximum of about 1.9 seconds occurs due to the multiplexing alone. Further, since asynchronous private data such as still images, FAX, and text data are generally generated in bursts rather than always generated, the delay may be further increased. Further, since the output rate fluctuates due to the burst property, it is not suitable for an output medium such as a communication line that requires a constant rate output.

【0058】これに対して、本実施の形態のデータ多重
化装置では、一定のレートで入力されるとともに、デー
タ量も大きなビデオ・データおよびオーディオ・データ
を基本パケット部14に挿入するようにし、また、デー
タ量が小さく、バースト性のあるプライベート・データ
を付加パケット部15に挿入して、一つのパックとして
構成することで、多重化遅延を低減できるようにしてい
る。
On the other hand, in the data multiplexer of the present embodiment, video data and audio data that are input at a constant rate and have a large data amount are inserted into the basic packet unit 14. Also, by inserting private data having a small amount of data and having a burst property into the additional packet unit 15 to form one pack, the multiplexing delay can be reduced.

【0059】すなわち、前記具体例において、プライベ
ート・データ・パケット・データ長PLは、前記(1)
式より15バイトとなるので、パケットヘッダを9バイ
トとすれば、付加パケット部15の長さは24バイトと
なり、基本パケット部14の長さは2,262バイトと
なる。そこで、プライベート・データが常時最大レート
で入力されているとすると、多重化遅延は最大約12ミ
リ秒となり、従来の最大約1.9秒に比較して、大幅に
低減できる。
That is, in the above specific example, the private data packet data length PL is (1)
Since it is 15 bytes from the formula, if the packet header is 9 bytes, the length of the additional packet portion 15 is 24 bytes, and the length of the basic packet portion 14 is 2,262 bytes. Therefore, assuming that private data is always input at the maximum rate, the multiplexing delay becomes about 12 milliseconds at the maximum, which can be greatly reduced compared to the conventional maximum of about 1.9 seconds.

【0060】また、本実施の形態のデータ多重化装置で
は、基本パケット部14を生成する際に、プライベート
・データおよびパディング・データのどちらか一方また
は両方を用いているので、定レート出力が可能である。
Further, in the data multiplexing apparatus of the present embodiment, either one or both of the private data and the padding data are used when the basic packet unit 14 is generated, so that constant rate output is possible. Is.

【0061】すなわち、プライベート・データが発生し
ていないときには、パディング・データを用いて付加パ
ケット部15を構成するようにしているので、多重化デ
ータの出力レートを一定にすることができる。
That is, when the private data is not generated, the additional packet unit 15 is configured by using the padding data, so that the output rate of the multiplexed data can be made constant.

【0062】以上、本発明の第1のデータ多重化装置の
実施の形態について、ビデオ・データ、オーディオ・デ
ータおよびプライベート・データをMPEG規格に基づ
いて多重化する場合を例として説明したが、本発明によ
る第1の多重化装置で多重化するデータとしては、ビデ
オ・データ、オーディオ・データおよびプライベート・
データ以外のデータであってもよい。また、データ圧縮
/多重化技術としては、MPEG方式以外のものでよ
い。
The embodiment of the first data multiplexing apparatus of the present invention has been described above by taking the case of multiplexing video data, audio data and private data based on the MPEG standard as an example. The data to be multiplexed by the first multiplexer according to the invention includes video data, audio data and private data.
It may be data other than data. The data compression / multiplexing technique may be other than the MPEG system.

【0063】前述したように、本発明の第1のデータ多
重化装置によれば、基本パケット部と付加パケット部と
の2種類でパックを構成するとともに、プライベート・
データのパケット長を最大入力レートに合わせて構成す
ることができるので、非同期のプライベート・データを
出力することができ、多重化遅延を飛躍的に小さくする
ことができるとともに、多重化データを定レートで出力
することができる。
As described above, according to the first data multiplexing apparatus of the present invention, the pack is configured with two types of the basic packet portion and the additional packet portion, and the private packet
Since the data packet length can be configured according to the maximum input rate, asynchronous private data can be output, the multiplexing delay can be dramatically reduced, and the multiplexed data can be transmitted at a constant rate. Can be output with.

【0064】以下、本発明の第2のデータ多重化装置の
一実施の形態によるビデオ・データ/オーディオ・デー
タ多重化装置を説明する。この多重化装置は、図6に示
すように、ビデオ・データ、オーディオ・データプライ
ベート・データおよびパディング・データが入力される
入力端子E10と、基本パケット部生成手段B10およ
び付加パケット部生成手段C10を含むパケット部生成
手段A10と、パック生成手段D10と、出力端子F1
0とを備えている。
A video data / audio data multiplexer according to an embodiment of the second data multiplexer of the present invention will be described below. As shown in FIG. 6, this multiplexer includes an input terminal E10 to which video data, audio data private data and padding data are input, a basic packet part generating means B10 and an additional packet part generating means C10. Packet part generating means A10 including the pack part generating means D10 and output terminal F1
It has 0 and.

【0065】基本パケット部生成手段B10は、入力端
子E10を介して入力されるビデオ・データを挿入した
第1の基本パケット部を生成する第1の基本パケット部
生成手段B101 と、入力端子E10を介して入力され
るオーディオ・データおよびパディング・データのどち
らか一方のデータを選択して第2の基本パケット部を生
成する第2の基本パケット部生成手段B102 とを具備
している。
The basic packet part generating means B10 is a first basic packet part generating means B10 1 for generating a first basic packet part into which video data inputted via the input terminal E10 is inserted, and the input terminal E10. Second basic packet part generating means B10 2 for selecting either one of the audio data and the padding data input via the above to generate the second basic packet part.

【0066】付加パケット部生成手段C10は、入力端
子E10を介して入力されるプライベート・データおよ
びパディング・データのどちらか一方または両方を選択
して付加パケット部を生成するか、またはプライベート
・データおよびパディング・データの両方を選択して付
加パケット部を生成する。
The additional packet part generating means C10 selects either one or both of the private data and the padding data input via the input terminal E10 to generate the additional packet part, or the private data and padding data. Both the padding data are selected to generate the additional packet part.

【0067】パック生成手段D10は、前記基本パケッ
ト部生成手段B10および前記付加パケット部生成手段
C10からそれぞれ入力される第1および第2の基本パ
ケット部と付加パケット部とにパックヘッダを付加して
パックを生成する。
The pack generating means D10 adds a pack header to the first and second basic packet portions and the additional packet portion respectively input from the basic packet portion generating means B10 and the additional packet portion generating means C10. Generate a pack.

【0068】このように構成された本実施の形態のビデ
オ/オーディオ・データ多重化装置では、パケット部が
基本パケット部と付加パケット部との2種類で構成され
る。また、パケット部が、基本パケット部単独で構成さ
れるか、または基本パケット部と付加パケット部とで構
成されるので、ビデオ信号と同期したプライベート・デ
ータの場合でも多重化遅延を良好に抑えることができ
る。
In the video / audio data multiplexing apparatus of the present embodiment having such a configuration, the packet portion is composed of two types, that is, the basic packet portion and the additional packet portion. Further, since the packet part is composed of the basic packet part alone or the basic packet part and the additional packet part, the multiplexing delay can be suppressed well even in the case of private data synchronized with the video signal. You can

【0069】さらに、多重化に際しては、ビデオパケッ
トにのみ付加パケット部を加えるようにしているので、
ビデオ信号との同期を維持しながらプライベート・デー
タを多重化することができる。
Furthermore, since the additional packet portion is added only to the video packet when multiplexing,
Private data can be multiplexed while maintaining synchronization with the video signal.

【0070】次に、図7〜図9を参照しながら本発明の
ビデオ/オーディオ・データ多重化装置の具体的な構成
および動作を説明する。本実施の形態は、図7に示すよ
うに、オーディオ・データ入力端子101と、ビデオ・
データ入力端子102と、プライベート・データ入力端
子103と、ピクチャ情報検出部104と、ピクチャ・
カウンタ105と、基本パケット選択部107と、基本
パケット部生成部108と、付加パケット部生成部10
6と、パック生成部109と、多重化バッファ部110
と、多重化データ出力端子111とを具備している。
Next, the specific structure and operation of the video / audio data multiplexing apparatus of the present invention will be described with reference to FIGS. In this embodiment, as shown in FIG. 7, an audio data input terminal 101 and a video
A data input terminal 102, a private data input terminal 103, a picture information detection unit 104, a picture
Counter 105, basic packet selection unit 107, basic packet unit generation unit 108, and additional packet unit generation unit 10
6, the pack generation unit 109, and the multiplexing buffer unit 110
And a multiplexed data output terminal 111.

【0071】オーディオ・データ入力端子101には、
不図示のオーディオ・データ符号化装置によって符号化
(データ圧縮)されたオーディオ・データ127が入力
される。
At the audio / data input terminal 101,
Audio data 127 encoded (data compressed) by an audio data encoding device (not shown) is input.

【0072】ビデオ・データ入力端子102には、不図
示のビデオ・データ符号化装置によってよって符号化
(データ圧縮)されたビデオ・データ122が入力され
る。プライベート・データ入力端子103には、クロー
ズド・キャプション・データのようなピクチャに同期し
たプライベート・データ123が入力される。
To the video data input terminal 102, the video data 122 coded (data compressed) by a video data coding device (not shown) is input. Private data 123 such as closed caption data synchronized with a picture is input to the private data input terminal 103.

【0073】ビデオ・データ入力端子102より入力さ
れたビデオ・データ122は、ピクチャ情報検出部10
4に入力される。ピクチャ情報検出部104では、次回
生成される予定のパケット・データの中にピクチャ・ス
タート・コードが存在するか否かを検出し、パケット内
に存在するピクチャの数分(すなわち、多重化すべきク
ローズド・キャプション・データのブロック数分)だけ
ピクチャ・カウンタ105のレジスタの内容を加算す
る。
The video data 122 input from the video data input terminal 102 is the picture information detection unit 10
4 is input. The picture information detection unit 104 detects whether or not a picture start code exists in the packet data to be generated next time, and detects the number of pictures existing in the packet (that is, the number of closed frames to be multiplexed). -Add the contents of the register of the picture counter 105 by the number of blocks of caption data).

【0074】オーディオ・データ入力端子101より入
力されたオーディオ・データ127とピクチャ情報検出
部104でピクチャ情報が検出されたビデオ・データ1
22とは、基本パケット選択部107にそれぞれ与えら
れる。
Audio data 127 input from the audio data input terminal 101 and video data 1 whose picture information is detected by the picture information detection unit 104.
22 is given to the basic packet selection unit 107, respectively.

【0075】基本パケット選択部107では、データ発
生状況や仮想した分離/復号装置でのバッファ状況等か
ら想定して、パックを構成するにあたってビデオ・デー
タ122およびオーディオ・データ127のどちらを基
本パケット部に入れた方が復号化をスムーズに行うこと
ができるかを判断する。
In the basic packet selection unit 107, whichever of the video data 122 and the audio data 127 is used for constructing a pack, the basic packet unit 107 assumes the data generation condition and the buffer condition in the virtual separation / decoding device. It is judged whether or not it is possible to smoothly perform the decoding.

【0076】そして、この結果に基づいて、ビデオ・デ
ータ122およびオーディオ・データ127のどちらか
一方を選択する。なお、基本パケット選択部107は、
ビデオ・データ122およびオーディオ・データ127
のどちらも適当でないと判断した場合には、パディング
・データ124(冗長データ)を発生する。
Then, based on this result, one of the video data 122 and the audio data 127 is selected. The basic packet selection unit 107
Video data 122 and audio data 127
If it is determined that neither of the above is appropriate, padding data 124 (redundant data) is generated.

【0077】基本パケット選択部107からは、選択さ
れたビデオ・データ122若しくはオーディオ・データ
127または発生されたパディング・データ124がパ
ケット・データ長だけ切り出され、基本パケット・デー
タS104として基本パケット部生成部108に出力さ
れる。また、基本パケット選択部107からは、選択さ
れたデータがビデオ・データ122か否かを示すパケッ
ト情報S101が付加パケット部生成部106に出力さ
れる。
From the basic packet selection unit 107, the selected video data 122 or audio data 127 or the generated padding data 124 is cut out by the packet data length to generate a basic packet unit as basic packet data S104. It is output to the unit 108. In addition, the basic packet selection unit 107 outputs packet information S101 indicating whether the selected data is the video data 122 to the additional packet unit generation unit 106.

【0078】基本パケット部生成部108は、基本パケ
ットヘッダ125(図8の(b)参照)を基本パケット
・データS104に加えて、基本パケット部121を生
成する。ここで、基本パケットヘッダ125は、パケッ
トの開始を示すパケット・スタート・コードや、パケッ
ト長、ビデオ・データ、オーディオ・データおよびプラ
イベート・データの復号時期を示すタイム・スタンプの
情報等からなる。
The basic packet part generator 108 adds the basic packet header 125 (see FIG. 8B) to the basic packet data S104 to generate the basic packet part 121. Here, the basic packet header 125 is composed of a packet start code indicating the start of a packet, packet length, time stamp information indicating the decoding time of video data, audio data, and private data, and the like.

【0079】プライベート・データ123は、付加パケ
ット部生成部106に与えられる。ピクチャ・カウンタ
105は、付加パケット部生成部106を介して与えら
れるプライベート・データ123(クローズド・キャプ
ション・データ)のブロック数をカウントしており、ピ
クチャ情報検出部104で検出されたピクチャ数を加算
するとともに、付加パケット部生成部106でピクチャ
に対応する付加パケット部128を出力するとピクチャ
数を減算する。
The private data 123 is given to the additional packet section generator 106. The picture counter 105 counts the number of blocks of the private data 123 (closed caption data) given via the additional packet unit generation unit 106, and adds the number of pictures detected by the picture information detection unit 104. At the same time, when the additional packet unit generation unit 106 outputs the additional packet unit 128 corresponding to the picture, the number of pictures is subtracted.

【0080】付加パケット部生成部106では、プライ
ベート・データ123はクローズド・キャプション・デ
ータの長さだけ切り出され、切り出されたプライベート
・データ123に付加パケット・ヘッダ126(図8の
(b)参照)が付加されて、プライベート・データ12
3を収納した付加パケット部128が生成される。
In the additional packet portion generation unit 106, the private data 123 is cut out by the length of the closed caption data, and the additional packet header 126 is added to the cut out private data 123 (see FIG. 8B). Is added to the private data 12
An additional packet unit 128 containing 3 is generated.

【0081】この場合、基本パケット選択部107から
出力されるパケット情報S101が付加パケット・ヘッ
ダ126が選択されたことを示し、かつ、ピクチャ・カ
ウンタ105のレジスタの内容が“0”でないことを条
件として、プライベート・データ123の切り出し、お
よび付加パケット・ヘッダ126の付加が行われる。
In this case, the condition is that the packet information S101 output from the basic packet selection unit 107 indicates that the additional packet header 126 has been selected, and that the content of the register of the picture counter 105 is not "0". As a result, the private data 123 is cut out and the additional packet header 126 is added.

【0082】プライベート・データ123がパケット・
データ長分だけ存在しない場合には、存在するプライベ
ート・データ123と余ったデータ長に対応して発生さ
れたパディング・データ124とを用いて付加パケット
部128が生成される(図8の(c)参照)。
The private data 123 is a packet.
If the data length does not exist, the additional packet unit 128 is generated using the existing private data 123 and the padding data 124 generated corresponding to the surplus data length ((c in FIG. 8). )reference).

【0083】また、送るべきプライベート・データ12
3(クローズド・キャプション・データ)の長さが所定
の付加パケット部128の長さよりも長くなる場合(例
えば、一つのビデオ・パケットに複数のピクチャが含ま
れる場合や、一つのピクチャに対するクローズド・キャ
プション・データが大きい場合)には、次のビデオ・パ
ケットのタイミングで残りの長さを出力する。
Private data 12 to be sent
When the length of 3 (closed caption data) is longer than the length of the predetermined additional packet portion 128 (for example, when one video packet includes a plurality of pictures, or closed caption for one picture) -If the data is large), the remaining length is output at the timing of the next video packet.

【0084】ピクチャ・カウンタ105のレジスタの内
容が“0”の場合には、パディング・データ124のみ
を用いて付加パケット部128が生成される(図8の
(d)参照)。
When the content of the register of the picture counter 105 is "0", the additional packet portion 128 is generated using only the padding data 124 (see (d) in FIG. 8).

【0085】付加パケット部生成部106は、付加パケ
ット部128として出力されたプライベート・データ1
23の単位をピクチャ・カウンタ105に出力し、ピク
チャ・カウンタ105は、この数分だけレジスタの内容
を減算する。
The additional packet unit generator 106 outputs the private data 1 output as the additional packet unit 128.
The unit of 23 is output to the picture counter 105, and the picture counter 105 subtracts the contents of the register by this number.

【0086】パック生成部109は、基本パケット部生
成部108から出力される基本パケット部121がビデ
オ・データ122を含む場合には、付加パケット部生成
部106から出力される付加パケット部128とパック
ヘッダ120とを加えて、パックを生成する(図8の
(a)参照)。ここで、パックヘッダ120はパック識
別コードや、前述したタイムスタンプに対する基準とな
るシステム・クロック・リファレンスなどの情報からな
る。
When the basic packet unit 121 output from the basic packet unit generation unit 108 includes the video data 122, the pack generation unit 109 and the additional packet unit 128 output from the additional packet unit generation unit 106 and the pack. A header 120 is added to generate a pack (see FIG. 8A). Here, the pack header 120 is composed of information such as a pack identification code and a system clock reference serving as a reference for the above-mentioned time stamp.

【0087】多重化バッファ部110は、パック生成部
109から出力される多重化データを一旦蓄えてバース
ト性を調整する。バースト性が調整された多重化データ
は、多重化データ出力端子111を介して外部に出力さ
れて、記録媒体に記録されたり、伝送路を介して送信さ
れたりする。
The multiplexing buffer unit 110 temporarily stores the multiplexed data output from the pack generation unit 109 and adjusts the burst property. The burst data adjusted multiplexed data is output to the outside via the multiplexed data output terminal 111, recorded on a recording medium, or transmitted via a transmission path.

【0088】次に、このビデオ・データ/オーディオ・
データ多重化装置により多重化された多重化データのデ
ータ構造について、図8および図9を参照して説明す
る。多重化データは、図8の(a)および図9の(a)
に示すように、連続したパックからなる。ここで、各パ
ックは、前述したように、時間基準情報などの情報を示
すパックヘッダ120と第1の基本パケット部121a
と付加パケット部128とから、またはパックヘッダ1
20と第2の基本パケット部121bとから構成され
る。
Next, this video data / audio
The data structure of the multiplexed data multiplexed by the data multiplexing device will be described with reference to FIGS. 8 and 9. The multiplexed data is shown in (a) of FIG. 8 and (a) of FIG.
It consists of a continuous pack, as shown in. Here, as described above, each pack includes a pack header 120 indicating information such as time reference information and a first basic packet portion 121a.
And the additional packet part 128 or the pack header 1
20 and the second basic packet unit 121b.

【0089】ここで、第1の基本パケット部121a
は、図8の(a)〜(d)、図9の(a)〜(d)に示
すように、基本パケットヘッダ125が加えられたビデ
オ・データ122で構成される。
Here, the first basic packet portion 121a
Is composed of video data 122 to which a basic packet header 125 is added, as shown in (a) to (d) of FIG. 8 and (a) to (d) of FIG.

【0090】または第2の基本パケット部121bは、
図8の(a)〜(d)の右側に示すように、基本パケッ
トヘッダ125が加えられたオーディオ・データ12
7、または図9の(a)〜(d)の右側に示すように、
基本パケットヘッダ125が加えられたパディング・デ
ータ124で構成される。
Alternatively, the second basic packet part 121b is
As shown on the right side of FIGS. 8A to 8D, the audio data 12 to which the basic packet header 125 is added is added.
7, or as shown on the right side of (a) to (d) of FIG.
It is composed of padding data 124 to which a basic packet header 125 is added.

【0091】付加パケット部128の構成は、第1乃至
第3のタイプの3種類に分けられる。第1のタイプの付
加パケット部128は、図8の(b)および図9の
(b)に示すように、付加パケットヘッダ126が加え
られたプライベート・データ123で構成される。
The structure of the additional packet unit 128 is divided into three types, first to third types. The first type additional packet unit 128 is composed of private data 123 to which an additional packet header 126 is added, as shown in FIGS. 8B and 9B.

【0092】第2のタイプの付加パケット部128は、
図8の(c)および図9の(c)に示すように、付加パ
ケット・ヘッダ126が加えられたプライベート・デー
タ123と付加パケット・ヘッダ126が加えられたパ
ディング・データ124とで構成される。
The second type additional packet unit 128 is
As shown in (c) of FIG. 8 and (c) of FIG. 9, it is composed of private data 123 to which the additional packet header 126 is added and padding data 124 to which the additional packet header 126 is added. .

【0093】第3のタイプの付加パケット部128は、
図8の(d)および図9の(d)に示すように、ビデオ
・データ122が加えられた基本パケットヘッダ125
と付加パケット・ヘッダ126が加えられたパディング
・データ124で構成される。
The third type additional packet unit 128 is
As shown in (d) of FIG. 8 and (d) of FIG. 9, a basic packet header 125 to which the video data 122 is added.
And the additional packet header 126 is added to the padding data 124.

【0094】第1および第2のタイプの付加パケット部
128を選択するのは、第1の基本パケット部121a
内にピクチャ・スタート・コードが存在する場合、また
は前回付加パケット部128で送りきれなかったプライ
ベート・データ123(クローズド・キャプション・デ
ータ)が存在する場合である。
The first and second types of additional packet parts 128 are selected by the first basic packet part 121a.
This is the case where there is a picture start code in it, or there is private data 123 (closed caption data) that could not be sent by the additional packet unit 128 last time.

【0095】また、どちらの場合でもない場合には、第
3のタイプの付加パケット部128が選択される。プラ
イベート・データ123(クローズド・キャプション・
データ)が所定量以上存在する場合には、第1のタイプ
の付加パケット部128のみで構成され、プライベート
・データ123(クローズド・キャプション・データ)
が所定量より少ない場合には、切り出せる分のデータ長
からなるプライベート・データ123と残りの長さを調
整するパディング・データ124とで構成される。
In neither case, the third type additional packet unit 128 is selected. Private data 123 (closed caption
Data) is present in a predetermined amount or more, the private data 123 (closed caption data) is constituted by only the first type additional packet part 128.
Is less than a predetermined amount, it is composed of private data 123 having a data length that can be cut out and padding data 124 for adjusting the remaining length.

【0096】以上のように、本実施の形態のビデオ・デ
ータ/オーディオ・データ多重化装置では、ビデオ・デ
ータ122を含んだパックを第1の基本パケット部12
1aとプライベート・データ123を含む付加パケット
部128とで構成しているため、付加パケット長を小さ
くすることができるので、多重化遅延を抑えることがで
きる。
As described above, in the video data / audio data multiplexing device of the present embodiment, the pack containing the video data 122 is stored in the first basic packet unit 12 as a pack.
Since the additional packet unit 128 includes the 1a and the additional packet unit 128 including the private data 123, the additional packet length can be reduced, and the multiplexing delay can be suppressed.

【0097】また、第1の基本パケット部121aにピ
クチャのスタート・コードを含む場合には、プライベー
ト・データ123を含む付加パケット部128を挿入す
るため、ビデオ・データ122とプライベート・データ
123との同期を完全にとることができる。
When the first basic packet portion 121a includes the picture start code, the additional packet portion 128 including the private data 123 is inserted, so that the video data 122 and the private data 123 are combined. It can be completely synchronized.

【0098】すなわち、例えば、ビデオ・データ122
の発生頻度(すなわち、ビットレート)を1,200,000 ビ
ット/秒、ビデオ・データ122の秒間ピクチャ数を3
0、オーディオ・データ127の発生頻度を192,000 ビ
ット/秒、プライベート・データ123を1ピクチャ当
たり2バイトのクローズド・キャプション・データとす
ると、プライベート・データ123の発生頻度(ビット
レート)は480ビット/秒となる。
That is, for example, the video data 122
Occurrence frequency (that is, bit rate) is 1,200,000 bits / sec, and the number of pictures per second of the video data 122 is 3
0, the frequency of audio data 127 is 192,000 bits / second, and the private data 123 is 2 bytes of closed caption data per picture, the frequency of private data 123 (bit rate) is 480 bits / second. Becomes

【0099】また、全体の多重化データの出力レート
を、1,500,000 ビット/秒として、パック長をCD−R
OMのセクタに合わせた2,324 バイト、各パケット長を
2,286バイトとすれば、プライベート・データ123を
選択するパックは、約3,074 パックに一回の確率とな
る。
The output rate of the entire multiplexed data is 1,500,000 bits / second, and the pack length is CD-R.
2,324 bytes for each OM sector, each packet length
With 2,286 bytes, there is a probability that the pack that selects the private data 123 is about once for every 3,074 packs.

【0100】この場合、従来のビデオ・データ/オーデ
ィオ・データ多重化装置では、多重化によるものだけで
最大約38.1秒の遅延が生じることになる。また、付
加パケット部には、1,143 ピクチャ分のクローズド・キ
ャプション・データが一度に多重化されるので、復号装
置側でのビデオ・データ122と同期した復号は困難と
なる。
In this case, in the conventional video data / audio data multiplexer, a delay of up to about 38.1 seconds occurs due to the multiplexing alone. Also, since closed caption data for 1,143 pictures is multiplexed at once in the additional packet portion, it is difficult to perform decoding in synchronization with the video data 122 on the decoding device side.

【0101】これに対して、本実施の形態のビデオ・デ
ータ/オーディオ・データ多重化装置では、データ量が
大きなビデオ・データ122やオーディオ・データ12
7、およびレート調整のためのパディング・データ12
4のパケットを基本パケット部121とし、また、デー
タ量が小さなプライベート・データ123とパック長を
調整するためパディング・データ124のパケットを、
パケット長の短い付加パケット部128として多重化す
る。
On the other hand, in the video data / audio data multiplexer of the present embodiment, the video data 122 and the audio data 12 having a large data amount are recorded.
7 and padding data 12 for rate adjustment
4 is used as the basic packet portion 121, and the private data 123 having a small data amount and the padding data 124 packet for adjusting the pack length are
The additional packet unit 128 having a short packet length is multiplexed.

【0102】すなわち、本実施の形態のビデオ・データ
/オーディオ・データ多重化装置では、ビデオ・データ
122のパケットの場合には、第1の基本パケット部1
21aと付加パケット部128とでパックを構成し、オ
ーディオ・データ127またはパディング・データ12
4のパケットの場合には、第2の基本パケット部121
bのみでパックを構成することで、付加パケット長を短
くして多重化遅延を抑えることができるようにしてい
る。
That is, in the video data / audio data multiplexing apparatus of the present embodiment, in the case of the packet of the video data 122, the first basic packet unit 1
21a and the additional packet unit 128 constitute a pack, and audio data 127 or padding data 12
In the case of a packet of 4, the second basic packet part 121
By configuring the pack with only b, the additional packet length can be shortened and the multiplexing delay can be suppressed.

【0103】また、ビデオ・データ122のパケットに
ピクチャのスタート・コードが存在する場合には、プラ
イベート・データ123を含む付加パケット部128を
付加することにより、ピクチャとクローズド・キャプシ
ョン・データとの同期をとることができる。
When the picture start code is present in the packet of the video data 122, the additional packet portion 128 including the private data 123 is added to synchronize the picture with the closed caption data. Can be taken.

【0104】前記具体例において、付加パケット部12
8をピクチャ分で生成するとすれば、パケット・データ
長は2バイトとなり、パケットヘッダを8バイトとすれ
ば、付加パケット部128の長さは10バイトとなり、
ビデオ・データ122を含む第1の基本パケット部12
1aのパケット長は2,276バイトとなり、その他の
基本パケット部121の長さは2,286バイトとな
る。
In the above specific example, the additional packet unit 12
If 8 is generated for each picture, the packet data length is 2 bytes, and if the packet header is 8 bytes, the length of the additional packet part 128 is 10 bytes,
First basic packet portion 12 containing video data 122
The packet length of 1a is 2,276 bytes, and the length of the other basic packet portion 121 is 2,286 bytes.

【0105】このときの多重化によって発生する遅延は
最大約33ミリ秒となる。また、ピクチャ・スタート・
コードとほぼ同時にクローズド・キャプション・データ
を多重化できるので、ピクチャとクローズド・キャプシ
ョン・データとの同期は維持される。
The delay caused by the multiplexing at this time is about 33 milliseconds at maximum. Also, picture start
Closed caption data can be multiplexed at approximately the same time as the code so that synchronization between the picture and the closed caption data is maintained.

【0106】本実施の形態のビデオ・データ/オーディ
オ・データ多重化装置では、ビデオ信号とプライベート
・データとの同期を良好に維持することができるので、
例えば、カラオケ通信において、曲の進行に合わせて文
字色を変化させる場合等に良好に利用することができ
る。
In the video data / audio data multiplexing device of the present embodiment, since the synchronization between the video signal and the private data can be maintained well,
For example, in karaoke communication, it can be favorably used when changing the character color in accordance with the progress of a song.

【0107】以上、本発明の第2の多重化装置の実施の
形態について、ビデオ・データ、オーディオ・データお
よびプライベート・データをMPEG規格に基づいて多
重化する場合を例として説明したが、本発明による第2
の多重化装置で多重化するデータとしては、ビデオ・デ
ータ、オーディオ・データおよびプライベート・データ
以外であってもよい。また、データ圧縮/多重化技術と
しては、MPEG方式以外のものでもよい。
The embodiment of the second multiplexer of the present invention has been described above by taking the case of multiplexing video data, audio data and private data based on the MPEG standard as an example. By the second
The data to be multiplexed by the multiplexing device may be other than video data, audio data and private data. The data compression / multiplexing technique may be other than the MPEG system.

【0108】前述したように、本発明の第2のデータ多
重化装置によれば、ビデオ信号に同期したプライベート
・データを含む多重化を行う場合に、ビデオ・パケット
と対でプライベート・データが加えられて基本パケット
部が構成されるため、多重化遅延を飛躍的に小さくする
ことができるとともに、常にビデオ信号と同期をとりな
がらプライベート・データを多重化することができる。
As described above, according to the second data multiplexing apparatus of the present invention, when multiplexing including private data synchronized with a video signal, private data is added in pairs with a video packet. Since the basic packet portion is configured by this, the multiplexing delay can be dramatically reduced, and the private data can be multiplexed while always synchronizing with the video signal.

【0109】次に、本発明のデータ多重化装置の第3の
実施の形態を、図10および図11を参照しながら説明
する。図10に示すように、本実施の形態のデータ多重
化装置では、ビデオ・データ入力端子201と、オーデ
ィオ・データ入力端子202と、プライベート・データ
入力端子203と、ビデオPESパケット生成部204
と、オーディオPESパケット生成部205と、プライ
ベートPESパケット生成部206と、ピクチャ情報検
出部207と、トランスポート・パケット選択部208
と、トランスポート・パケット生成部209と、多重化
バッファ部210と、多重化データ出力端子211とを
具備している。
Next, a third embodiment of the data multiplexing apparatus of the present invention will be described with reference to FIGS. 10 and 11. As shown in FIG. 10, in the data multiplexing apparatus of the present embodiment, a video data input terminal 201, an audio data input terminal 202, a private data input terminal 203, and a video PES packet generation unit 204.
An audio PES packet generator 205, a private PES packet generator 206, a picture information detector 207, and a transport packet selector 208.
A transport packet generator 209, a multiplexing buffer 210, and a multiplexed data output terminal 211.

【0110】ビデオ・データ入力端子201には、ビデ
オ・データ符号化装置によって符号化(データ圧縮)さ
れたビデオ・データ224が入力される。また、オーデ
ィオ・データ入力端子202には、図示しないオーディ
オ・データ符号化装置で符号化(データ圧縮)されたオ
ーディオ・データ225が入力される。さらに、プライ
ベート・データ入力端子203には、クローズド・キャ
プション・データのようなピクチャに同期したプライベ
ート・データ226が入力される。
Video data 224 coded (data compressed) by the video data coding apparatus is input to the video data input terminal 201. Audio data 225 encoded (data compressed) by an audio data encoder (not shown) is input to the audio data input terminal 202. Further, private data 226 synchronized with a picture, such as closed caption data, is input to the private data input terminal 203.

【0111】ビデオPESパケット生成部204は、ビ
デオ・データ入力端子201から入力されたビデオ・デ
ータ224を所定の大きさだけ切り出したのち、この切
り出したビデオ・データ224にヘッダ情報を付加して
ビデオPESパケット(図11の(b)参照)を生成す
る。ビデオPESパケット生成部204で付加されるヘ
ッダ情報は、PESパケットの開始を示すパケット・ス
タート・コードやパケット長、ビデオ・データ、オーデ
ィオ・データ、およびプライベート・データの復号時期
を示すタイムスタンプの情報などからなる。
The video PES packet generator 204 cuts out the video data 224 input from the video data input terminal 201 by a predetermined size, and then adds header information to the cut out video data 224 to add video information. A PES packet (see FIG. 11B) is generated. The header information added by the video PES packet generation unit 204 is packet start code indicating the start of the PES packet, packet length, time stamp information indicating the decoding time of video data, audio data, and private data. And so on.

【0112】ピクチャ情報検出部207は、前記ビデオ
PESパケット生成部204から与えられるビデオPE
Sパケットの内、次回のトランスポートパケット221
(図11の(a)参照)として選択される部分に、ピク
チャの始まりを示すピクチャ・スタート・コード228
(図11の(b)参照)が存在するか否かを検出し、前
記検出結果情報S201をプライベート・データPES
パケット生成部206とトランスポートパケット選択部
208とに出力する。
The picture information detecting unit 207 receives the video PE supplied from the video PES packet generating unit 204.
Next transport packet 221 among S packets
A picture start code 228 indicating the beginning of a picture is displayed in the portion selected as (see (a) of FIG. 11).
(See FIG. 11B), the detection result information S201 is detected as private data PES.
The data is output to the packet generation unit 206 and the transport packet selection unit 208.

【0113】オーディオPESパケット生成部205
は、オーディオ・データ入力端子202から入力される
オーディオ・データ225を所定の大きさだけ切り出し
たのち、この切り出したオーディオ・データ225にヘ
ッダ情報を付加してオーディオPESパケット(図11
の(d)参照)を生成する。
Audio PES packet generator 205
11 cuts the audio data 225 input from the audio data input terminal 202 by a predetermined size, adds header information to the cut audio data 225, and adds the audio PES packet (see FIG. 11).
(See (d)).

【0114】プライベート・データPESパケット生成
部206は、前記ピクチャ情報検出部207から与えら
れる検出結果情報S201が、ピクチャの存在を示して
いる場合には、検出されたピクチャに対応するプライベ
ート・データ226をプライベート・データ入力端子2
03を介して受け取り、これにヘッダ情報を付加してプ
ライベート・データPESパケット(図11の(c)参
照)を生成する。
When the detection result information S201 provided from the picture information detection unit 207 indicates the presence of a picture, the private data PES packet generation unit 206 outputs the private data 226 corresponding to the detected picture. Private data input terminal 2
03, and adds header information to this to generate a private data PES packet (see (c) of FIG. 11).

【0115】トランスポート・パケット選択部208
は、今回出力するトランスポート・パケット221のペ
イロードをビデオ・データ224、オーディオ・データ
225、プライベート・データ226およびパディング
・データ227の中から選択してPESパケット・デー
タを決定し、決定したPESパケットデータを、トラン
スポート・パケット221のデータ長だけ切り取って出
力する。この場合、トランスポート・パケット選択部2
08は、まずプライベート・データ226を選択するか
否かを判定し、プライベート・データ226を選択しな
いときには、ビデオ・データ224、オーディオ・デー
タ225およびパディング・データ227の中から適宜
に選択する。
Transport packet selection unit 208
Selects the payload of the transport packet 221 to be output this time from the video data 224, the audio data 225, the private data 226 and the padding data 227 to determine the PES packet data, and the determined PES packet The data is cut out by the data length of the transport packet 221 and output. In this case, the transport packet selector 2
08, first determines whether or not to select the private data 226. When the private data 226 is not selected, the video data 224, the audio data 225, and the padding data 227 are appropriately selected.

【0116】すなわち、トランスポート・パケット選択
部208は、最初の判定では、一つ前のトランスポート
・パケット221のペイロードがピクチャ・スタート・
コード228を含むビデオ・データ224であった場
合、プライベート・データ226を選択する。具体的に
は、トランスポート・パケット選択部208は、2番目
の判定でビデオ・データ224を選択した場合に、ピク
チャ情報検出部207から与えられる検出結果情報S2
01がピクチャの存在を示しているときには、フラグを
立てておく。そして、次のトランスポート・パケット2
21の判定で前記フラグが立っていたら、トランスポー
ト・パケット選択部208は、プライベート・データ2
26を選択すると判定したのち、前記フラグを下げる。
That is, the transport packet selecting section 208 determines that the payload of the immediately previous transport packet 221 is the picture start
If it was video data 224 containing code 228, select private data 226. Specifically, the transport packet selection unit 208 selects the detection result information S2 provided from the picture information detection unit 207 when the video data 224 is selected in the second determination.
When 01 indicates the existence of a picture, a flag is set. And the next transport packet 2
If the flag is set in the determination of No. 21, the transport packet selection unit 208 determines that the private data 2
After it is determined that 26 is selected, the flag is lowered.

【0117】2番目の判定では、トランスポート・パケ
ット選択部208は、データの発生状況や仮想した分離
/復号化装置でのバッファ状況などから想定して、ビデ
オ・データ224およびオーディオ・データ225のど
ちらのPESパケット230を入れた方が、復号化をス
ムーズに行うことができるかに基づいて、いずれかを選
択する。なお、トランスポート・パケット選択部208
は、ビデオ・データ224およびオーディオ・データ2
25のどちらも適当でないと判断した場合にはパディン
グ・データ227(冗長データ)を選択する。
In the second determination, the transport packet selection unit 208 assumes that the video data 224 and the audio data 225 will be stored in consideration of the data generation status and the buffer status in the virtual separation / decoding device. Which of the PES packets 230 is put in is selected based on whether decoding can be performed smoothly. The transport / packet selection unit 208
Is video data 224 and audio data 2
If it is determined that neither of the 25 is suitable, the padding data 227 (redundant data) is selected.

【0118】トランスポートパケット生成部209は、
トランスポート・パケット選択部208で切り出された
データに、ヘッダ情報やアダプテーション・フィールド
223を付加してトランスポート・パケット221を生
成する。ここで付加されるヘッダ情報は、同期バイトや
パケットの識別コードなどである。また、アダプテーシ
ョン・フィールド223は、前述したタイム・スタンプ
に対する時間基準となるプログラム・クロック・リファ
レンス等の情報からなる。
The transport packet generator 209
Header information and an adaptation field 223 are added to the data cut out by the transport packet selection unit 208 to generate a transport packet 221. The header information added here is a synchronization byte, a packet identification code, and the like. Further, the adaptation field 223 is composed of information such as a program clock reference serving as a time reference for the above-mentioned time stamp.

【0119】ところで、PESパケット230のタイプ
がプライベート・データ226である場合に、前記のよ
うにしてトランスポート・パケット221を生成する
と、PESパケット230の大きさはトランスポート・
パケット221のデータ領域よりも小さくなることが多
い。この場合には、アダプテーション・フィールド22
3のオプションのスタッフィング・バイトを用いて、ト
ランスポート・パケット221の大きさが一定になるよ
うに長さ調整を行うようにしている。
By the way, when the transport packet 221 is generated as described above when the type of the PES packet 230 is the private data 226, the size of the PES packet 230 is the transport packet.
It is often smaller than the data area of the packet 221. In this case, the adaptation field 22
The length of the transport packet 221 is adjusted so that the size of the transport packet 221 becomes constant by using the optional stuffing byte of 3.

【0120】多重化バッファ部210は、トランスポー
ト・パケット生成部209から出力される多重化データ
を一旦蓄えてバースト性を調整する。バースト性が調整
された多重化データは、多重化データ出力端子211を
介して外部に出力されて、記録媒体に記録されたり、伝
送路を介して送信されたりする。
The multiplexing buffer unit 210 temporarily stores the multiplexed data output from the transport packet generation unit 209 and adjusts the burst property. The burst-adjusted multiplexed data is output to the outside via the multiplexed data output terminal 211, recorded on a recording medium, or transmitted via a transmission path.

【0121】次に、このビデオ・データ/オーディオ・
データ多重化装置により多重化された多重化データのデ
ータ構造について、図11を参照して説明する。多重化
データは、図11の(a)に示すように、連続した複数
のトランスポート・パケット221からなる。ここで、
トランスポート・パケット221は、トランスポート・
パケットヘッダ222、ペイロードおよびアダプテーシ
ョン・フィールド223で構成されている。ここで、ア
ダプテーション・フィールド223は、時間基準等の情
報やトランスポート・パケット221の長さ調整に用い
られる。
Next, this video data / audio
The data structure of the multiplexed data multiplexed by the data multiplexing device will be described with reference to FIG. The multiplexed data is composed of a plurality of consecutive transport packets 221 as shown in FIG. here,
The transport packet 221 is a transport packet.
It is composed of a packet header 222, a payload and an adaptation field 223. Here, the adaptation field 223 is used for information such as a time reference and for adjusting the length of the transport packet 221.

【0122】ペイロードは、ビデオ・データ224、オ
ーディオ・データ225およびプライベート・データ2
26のPESパケットを分割したものや、パディング・
データ227からなっている。ペイロードにプライベー
ト・データ226を選択する判定基準は、一つ前のトラ
ンスポート・パケット221のペイロードがピクチャ・
スタート・コード228を含むビデオ・データ224で
あることである。
The payload includes video data 224, audio data 225 and private data 2.
A fragment of 26 PES packets, padding,
It consists of data 227. The criterion for selecting the private data 226 as the payload is that the payload of the previous transport packet 221 is the picture
It is the video data 224 including the start code 228.

【0123】以上のように、本実施の形態のビデオ・デ
ータ/オーディオ・データ多重化装置では、ビデオ・デ
ータ224に同期したプライベート・データ226の場
合には、1ピクチャに発生するプライベート・データ2
26の長さによって、プライベート・データ226のP
ESパケット230の大きさを決定するようにして、多
重化遅延を可能としている。
As described above, in the video data / audio data multiplexing device of the present embodiment, in the case of private data 226 synchronized with video data 224, private data 2 generated in one picture is
Depending on the length of 26, P of private data 226
By determining the size of the ES packet 230, multiplexing delay is possible.

【0124】ピクチャ・スタート・コード228を含む
ビデオ・データ224のトランスポート・パケット22
1の次のトランスポート・パケット221をプライベー
ト・データ226のトランスポート・パケット221と
することで、ビデオ・データ224とプライベート・デ
ータ226との同期を完全にとることができるようにし
ている。
Transport packet 22 of video data 224 containing picture start code 228
By making the transport packet 221 next to 1 the transport packet 221 of the private data 226, the video data 224 and the private data 226 can be completely synchronized.

【0125】例えば、ビデオ・データ224の発生頻度
(すなわち、ビットレート)を1,200,000 ビット/秒、
ビデオ・データ224の秒間ピクチャ数を30、オーデ
ィオ・データ225の発生頻度を192,000 ビット/秒と
する。プライベート・データ226を1ピクチャ当たり
2バイトのクローズド・キャプション・データとする
と、プライベート・データ226の発生頻度(ビットレ
ート)は480ビット/秒となる。
For example, the frequency of occurrence of the video data 224 (that is, the bit rate) is 1,200,000 bits / second,
The number of pictures per second of the video data 224 is 30, and the frequency of occurrence of the audio data 225 is 192,000 bits / second. When the private data 226 is closed caption data of 2 bytes per picture, the occurrence frequency (bit rate) of the private data 226 is 480 bits / second.

【0126】そして、全体の多重化データの出力レート
を、1,500,000 ビット/秒として、トランスポート・パ
ケット長を非同期転送モード(ATM)のセルに合わせ
た188バイト、各PESパケット長を2,256 バイト、
プライベート・データ226のPESパケット230の
ヘッダ長を9バイトとすれば、従来のビデオ・データ/
オーディオ・データ多重化装置では、プライベート・デ
ータ226の多重化遅延は約6秒となる。
Then, assuming that the output rate of the entire multiplexed data is 1,500,000 bits / sec, the transport packet length is 188 bytes matched to the cells of the asynchronous transfer mode (ATM), and each PES packet length is 2,256 bytes.
If the header length of the PES packet 230 of the private data 226 is set to 9 bytes, the conventional video data /
In the audio data multiplexer, the multiplexing delay of the private data 226 is about 6 seconds.

【0127】また、このプライベート・データ226の
トランスポート・パケット221には、88〜92ピク
チャ分のクローズド・キャプション・データが一度に多
重化されるので、復号装置側でのビデオ・データ224
との同期した復号は困難となる。
Since the closed caption data for 88 to 92 pictures is multiplexed in the transport packet 221 of the private data 226 at one time, the video data 224 on the decoding device side.
It becomes difficult to perform synchronized decoding with.

【0128】これに対して、本実施の形態のビデオ・デ
ータ/オーディオ・データ多重化装置では、プライベー
ト・データ226のPESパケット長を、ビデオ・デー
タ224やオーディオ・データ225のPESパケット
長のように任意の長さではなく、1ピクチャ分に対応す
るプライベート・データ226の発生量の単位として、
多重化する。
On the other hand, in the video data / audio data multiplexing apparatus of this embodiment, the PES packet length of the private data 226 is equal to the PES packet length of the video data 224 and the audio data 225. Not as an arbitrary length, but as a unit of the amount of private data 226 corresponding to one picture,
Multiplex.

【0129】つまり、トランスポート・パケット221
内でのプライベート・データ226を短い単位で生成し
て、多重化遅延を抑えることができるようにした。ま
た、トランスポート・パケット221を選択する際に、
一つ前のトランスポート・パケット221のペイロード
がピクチャ・スタート・コード228を含むビデオ・デ
ータ224である場合には、今回のトランスポート・パ
ケット221のペイロードをプライベート・データ22
6とすることで、ビデオ・データ224とプライベート
・データ226との同期を完全にとるようにして、ピク
チャとクローズド・キャプション・データとの同期をと
ることを可能としている。
That is, the transport packet 221
The internal private data 226 is generated in short units so that the multiplexing delay can be suppressed. Also, when selecting the transport packet 221,
When the payload of the previous transport packet 221 is the video data 224 including the picture start code 228, the payload of the current transport packet 221 is set to the private data 22.
By setting the number to 6, the video data 224 and the private data 226 can be perfectly synchronized, and the picture and the closed caption data can be synchronized.

【0130】前記具体例において、プライベート・デー
タ226のPESパケット230を1ピクチャ分で生成
するとすれば、PESパケット長は2バイトとなり、P
ESパケットヘッダ230aを9バイトとすれば、PE
Sパケット長は11バイトとなる。
In the above specific example, if the PES packet 230 of the private data 226 is generated for one picture, the PES packet length is 2 bytes, and P
If the ES packet header 230a is 9 bytes, PE
The S packet length is 11 bytes.

【0131】したがって、アダプテーション・フィール
ド223の長さは173バイトとなり、この時の多重化
によって発生する遅延は約1ミリ秒となる。また、ピク
チャ・スタート・コード228とほぼ同時にクローズド
・キャプション・データを多重化できるので、ピクチャ
とクローズド・キャプション・データとの同期は維持さ
れる。
Therefore, the length of the adaptation field 223 is 173 bytes, and the delay caused by the multiplexing at this time is about 1 millisecond. Further, since the closed caption data can be multiplexed almost at the same time as the picture start code 228, the synchronization between the picture and the closed caption data is maintained.

【0132】以上、本発明の第3の多重化装置の実施の
形態について、ビデオ・データ、オーディオ・データお
よびプライベート・データをMPEG規格に基づいて多
重化する場合を例として説明したが、本発明による第3
の多重化装置で多重化するデータとしては、ビデオ・デ
ータ、オーディオ・データおよびプライベート・データ
以外のデータであってもよい。また、データ圧縮/多重
化技術としては、MPEG方式以外のものでもよい。
The third embodiment of the multiplexer of the present invention has been described above by taking the case of multiplexing video data, audio data and private data based on the MPEG standard as an example. By the third
The data to be multiplexed by the multiplexing device may be data other than video data, audio data and private data. The data compression / multiplexing technique may be other than the MPEG system.

【0133】前述したように、本発明の第3のデータ多
重化装置によれば、ビデオ・データに同期したプライベ
ート・データを含む多重化を行う場合に、プライベート
・データを1ピクチャ単位で出力できるように構成して
いるため、多重化遅延を飛躍的に小さくすることができ
るとともに、常にビデオ・データと同期をとりながらプ
ライベート・データを多重化することができる。
As described above, according to the third data multiplexing apparatus of the present invention, when multiplexing including private data synchronized with video data is performed, private data can be output in units of one picture. With such a configuration, it is possible to dramatically reduce the multiplexing delay, and it is possible to multiplex the private data while always synchronizing with the video data.

【0134】次に、本発明の第4のデータ多重化装置の
第1の実施の形態について説明する。本実施の形態のビ
デオ・データ/オーディオ・データ多重化装置は、PE
S(Packed Elementary Stream)パケットを用いたマル
チプログラム対応のビデオ・データ/オーディオ・デー
タ多重化装置として用いるものである。
Next, a first embodiment of the fourth data multiplexing apparatus of the present invention will be described. The video data / audio data multiplexer of the present embodiment is a PE
It is used as a multi-program compatible video data / audio data multiplexing device using S (Packed Elementary Stream) packets.

【0135】図12に示したように、本実施例のビデオ
・データ/オーディオ・データ多重化装置は、PESパ
ケットを用いたマルチプログラム対応のビデオ/オーデ
ィオ・データ多重化装置として用いるものであり、ビデ
オ・データおよびオーディオ・データとともに多重化さ
れるプライベート・データ326が入力される入力端子
D30と、PESパケット生成手段A30と、PESパ
ケット長変化手段B30と、パディング・データ詰込み
手段C30と、プライベート・データPESパケット出
力端子E30とを具備している。
As shown in FIG. 12, the video data / audio data multiplexer of this embodiment is used as a video / audio data multiplexer compatible with multi-program using PES packets. An input terminal D30 to which private data 326 multiplexed with video data and audio data is input, a PES packet generating means A30, a PES packet length changing means B30, a padding data filling means C30, and a private. A data PES packet output terminal E30 is provided.

【0136】前記PESパケット生成手段A30は、入
力端子D30を介して入力されるプライベート・データ
326のPESパケットを生成する。PESパケット長
変化手段B30は、PESパケット生成手段A30で生
成されるプライベート・データ326のPESパケット
の長さを適応的に変化させる。パディング・データ詰込
み手段C30は、多重化するプライベート・データ32
6の量に応じて適応的にパディング・データ(冗長デー
タ)を詰込む。
The PES packet generating means A30 generates a PES packet of private data 326 input via the input terminal D30. The PES packet length changing means B30 adaptively changes the length of the PES packet of the private data 326 generated by the PES packet generating means A30. The padding data packing means C30 uses the private data 32 to be multiplexed.
The padding data (redundant data) is adaptively packed according to the amount of 6.

【0137】このように構成された本実施の形態のビデ
オ・データ/オーディオ・データ多重化装置によれば、
前記PESパケット長変化手段B30からの通知を受け
たときに、前記PESパケット生成手段A30は入力端
子D30を介してプライベート・データ326を入力す
るとともに、入力されるプライベート・データ326に
ヘッダ情報を付加してPESパケットを生成する。
According to the video data / audio data multiplexing apparatus of this embodiment having the above-mentioned configuration,
Upon receiving the notification from the PES packet length changing unit B30, the PES packet generating unit A30 inputs the private data 326 via the input terminal D30 and adds the header information to the input private data 326. Then, a PES packet is generated.

【0138】このとき、存在するプライベート・データ
326のデータ長が、予め設定された所定のデータ長よ
りも小さい場合は、入力可能なデータ長でPESパケッ
トは生成され、残りの部分にはパディング・データがパ
ディング・データ詰込み手段C30によって詰め込まれ
る。また、プライベート・データ326が存在しない場
合にはPESパケットは生成されず、パディング・デー
タがパディング・データ詰込み手段C30によって詰め
込まれる。
At this time, when the data length of the existing private data 326 is smaller than the preset predetermined data length, the PES packet is generated with the inputtable data length, and the remaining portion is padded. The data is packed by the padding / data packing means C30. If the private data 326 does not exist, no PES packet is generated and the padding data is packed by the padding data packing means C30.

【0139】したがって、本実施の形態のビデオ/オー
ディオ・データ多重化装置によれば、プライベート・デ
ータ326のPESパケットの長さを適応的に変化させ
ることができるので、ビデオ・データに非同期なプライ
ベート・データ326を含む多重化を行う場合に、多重
化による遅延を低く抑えることができる。
Therefore, according to the video / audio data multiplexer of the present embodiment, the length of the PES packet of the private data 326 can be adaptively changed, so that the private data asynchronous to the video data can be changed. -When multiplexing including the data 326 is performed, the delay due to the multiplexing can be suppressed low.

【0140】また、前記プライベート・データ326の
データ長が所定のデータ長よりも小さい場合およびプラ
イベート・データ326が存在しない場合には、前記パ
ディング・データ詰込み手段C30においてパディング
・データを詰め込むようにしているので、出力レートを
一定に保つことができる。したがって、本実施の形態の
ビデオ/オーディオ・データ多重化装置は、通信系にお
いて有効に利用することができる。
When the data length of the private data 326 is smaller than a predetermined data length or when the private data 326 does not exist, the padding data packing means C30 packs the padding data. Therefore, the output rate can be kept constant. Therefore, the video / audio data multiplexer of the present embodiment can be effectively used in a communication system.

【0141】次に、図13〜図15を参照しながら本発
明の第4の実施の形態によるビデオ・データ/オーディ
オ・データ多重化装置の具体的な構成および動作を詳細
に説明する。
Next, the specific structure and operation of the video data / audio data multiplexing apparatus according to the fourth embodiment of the present invention will be described in detail with reference to FIGS.

【0142】本実施の形態のビデオ・データ/オーディ
オ・データ多重化装置は、図13に示すように、ビデオ
・データ入力端子301と、オーディオ・データ入力端
子302と、プライベート・データ入力端子303と、
ビデオPESパケット生成部304と、オーディオPE
Sパケット生成部305と、PESパケット長決定部3
061 を有するプライベート・データPESパケット生
成部306と、プライベート・データ・タイマ307
と、ペイロード決定部3081 を有するトランスポート
・パケット選択部308と、スタッフィング・バイト長
調整部3091 およびパディング・データ詰込み部30
2 を有するトランスポート・パケット生成部309
と、多重化バッファ部310と、多重化データ出力端子
311とを具備している。
As shown in FIG. 13, the video data / audio data multiplexing apparatus of the present embodiment has a video data input terminal 301, an audio data input terminal 302, and a private data input terminal 303. ,
Video PES packet generator 304 and audio PE
S packet generation unit 305 and PES packet length determination unit 3
06 1 and private data PES packet generation section 306 having the private data timer 307
A transport packet selecting unit 308 having a payload determining unit 308 1 , a stuffing byte length adjusting unit 309 1 and a padding data filling unit 30.
9 2 transport packet generation unit 309 with
And a multiplexed buffer unit 310 and a multiplexed data output terminal 311.

【0143】ビデオ・データ入力端子301には、不図
示のビデオ・データ符号化装置によって符号化(データ
圧縮)されたビデオ・データが入力される。また、オー
ディオ・データ入力端子302には、図示しないオーデ
ィオ・データ符号化装置で符号化(データ圧縮)された
オーディオ・データが入力される。さらに、プライベー
ト・データ入力端子303には、静止画データやFAX
データのようなビデオ・データに非同期なプライベート
・データ326(図14の(a)参照)が入力される。
Video data encoded (data compression) by a video data encoding device (not shown) is input to the video data input terminal 301. Audio data encoded (data compressed) by an audio data encoding device (not shown) is input to the audio data input terminal 302. In addition, the private data input terminal 303 has still image data and FAX.
Asynchronous private data 326 (see (a) of FIG. 14) is input to video data such as data.

【0144】ビデオPESパケット生成部304は、ビ
デオ・データ入力端子301から入力されるビデオ・デ
ータを、予め決められた所定の大きさだけ切り出したの
ち、この切り出したビデオ・データにヘッダ情報を付加
してビデオPESパケット(図14の(e)参照)を生
成する。ビデオPESパケット生成部304で付加され
るヘッダ情報は、PESパケットの開始を示すパケット
・スタート・コードやパケット長、ビデオ・データおよ
びオーディオ・データの復号時期を示すタイムスタンプ
の情報などからなる。
The video PES packet generator 304 cuts out the video data input from the video data input terminal 301 by a predetermined size and adds header information to the cut out video data. Then, a video PES packet (see (e) in FIG. 14) is generated. The header information added by the video PES packet generation unit 304 includes a packet start code indicating the start of a PES packet, a packet length, time stamp information indicating the decoding time of video data and audio data, and the like.

【0145】オーディオPESパケット生成部305
は、オーディオ・データ入力端子302から入力される
オーディオ・データを所定の大きさだけ切り出したの
ち、この切り出したオーディオ・データにヘッダ情報を
付加してオーディオPESパケット(図14の(f)参
照)を生成する。
Audio PES packet generator 305
Cut out audio data input from the audio data input terminal 302 by a predetermined size, add header information to the cut out audio data, and add an audio PES packet (see (f) in FIG. 14). To generate.

【0146】プライベート・データ・タイマ307は、
図12に示したPESパケット長変化手段B30に対応
するもので、プライベート・データPESパケットを生
成すべきタイミングを計算し、所定の時間が経過した
ら、プライベート・データPESパケット生成部306
およびトランスポート・パケット選択部308に生成タ
イミング信号S301を出力する。
The private data timer 307 is
This corresponds to the PES packet length changing unit B30 shown in FIG. 12, calculates the timing at which the private data PES packet should be generated, and when a predetermined time has elapsed, the private data PES packet generation unit 306.
Also, the generation timing signal S301 is output to the transport packet selection unit 308.

【0147】プライベート・データPESパケットを生
成する時間間隔Tは、トランスポート・パケット320
(図14の(a)参照)の最大のペイロードの長さ、ア
ダプテーション・フィールド324(図14の(b)参
照)の最小長さALおよびプライベート・データ326
の最大のビットレートPRを用いて、下記の(2)式に
よって求められる。 T=(TP−AL)/PR …(2)
The time interval T for generating a private data PES packet is the transport packet 320.
The maximum payload length (see FIG. 14A), the minimum length AL of the adaptation field 324 (see FIG. 14B), and the private data 326.
Using the maximum bit rate PR of, the following equation (2) is used. T = (TP-AL) / PR (2)

【0148】プライベート・データPESパケット生成
部306は、図12に示したPESパケット生成部A3
0に対応するものである。このプライベート・データP
ESパケット生成部306は、プライベート・データ・
タイマ307からの生成タイミング信号S301を受け
取ると、PESパケット長決定部3061 において、ト
ランスポート・パケット320の最大のペイロードの長
さTP、アダプテーション・フィールド324の最小の
長さALおよびプライベート・データPESパケットの
ヘッダ長HLを用いて下記の(3)式より、プライベー
ト・データPESパケットの最大データ長DLを求め
る。
The private data PES packet generator 306 is the PES packet generator A3 shown in FIG.
It corresponds to 0. This private data P
The ES packet generation unit 306 uses the private data
Upon receiving the generation timing signal S301 from the timer 307, the PES packet length determination unit 306 1, the maximum payload of the transport packet 320 length TP, the minimum length AL and private data PES adaptation field 324 Using the header length HL of the packet, the maximum data length DL of the private data PES packet is obtained from the following equation (3).

【0149】そして、その後、求めた最大データ長DL
分だけ、プライベート・データ入力端子303を介して
プライベート・データ326を入力するとともに、入力
したプライベート・データ326にヘッダ情報を付加し
てプライベート・データPESパケットを生成する。 DL=TP−AL−HL …(3)
Then, after that, the maximum data length DL obtained
The private data 326 is input via the private data input terminal 303 by the amount, and header information is added to the input private data 326 to generate a private data PES packet. DL = TP-AL-HL (3)

【0150】ここで、プライベート・データPESパケ
ット生成部306は、入力したプライベート・データ3
26のデータ長が前記求めた最大データ長DLよりも小
さい場合は、入力可能なデータ長でプライベート・デー
タPESパケットを生成する。
Here, the private data PES packet generator 306 receives the input private data 3
When the data length of 26 is smaller than the obtained maximum data length DL, the private data PES packet is generated with the inputtable data length.

【0151】また、プライベート・データPESパケッ
ト生成部306は、生成タイミング信号S301を受け
取ったときに、プライベート・データ326が存在しな
い場合には、プライベート・データPESパケットを生
成しない。
When the private data PES packet generator 306 receives the generation timing signal S301 and the private data 326 does not exist, the private data PES packet generator 306 does not generate the private data PES packet.

【0152】トランスポート・パケット選択部308
は、プライベート・データタイマ307から生成タイミ
ング信号S301を受け取ると、ペイロード決定部30
1 において、今回出力するトランスポート・パケット
320のペイロードをビデオ・データ、オーディオ・デ
ータ、プライベート・データ326およびパディング・
データ(冗長データ)325の中から選択して決定した
のち、決定したデータをトランスポート・パケット32
0のデータ長だけ切り取って出力する。
Transport packet selector 308
When receiving the generation timing signal S301 from the private data timer 307, the payload determination unit 30
8 1 , the payload of the transport packet 320 output this time is set to video data, audio data, private data 326 and padding.
After the data (redundant data) 325 is selected and determined, the determined data is transferred to the transport packet 32.
The data length of 0 is cut and output.

【0153】すなわち、トランスポート・パケット選択
部308は、プライベート・データ・タイマ307から
生成タイミング信号S301を受け取ると、まずプライ
ベート・データ326を選択するようにする。そして、
このときに、プライベート・データPESパケット生成
部306からプライベート・データPESパケットが出
力されないときには、パディング・データ325を選択
する。また、それ以外の場合には、ビデオ・データ、オ
ーディオ・データおよびパディング・データ325の中
から適宜に選択する。
That is, when the transport packet selector 308 receives the generation timing signal S301 from the private data timer 307, it first selects the private data 326. And
At this time, when the private data PES packet is not output from the private data PES packet generation unit 306, the padding data 325 is selected. In other cases, the video data, the audio data, and the padding data 325 are appropriately selected.

【0154】ビデオ・データ、オーディオ・データおよ
びパディング・データの中からの選択は、次のようにし
て行われる。まず、データの発生状況や仮想した分離/
復号化装置でのバッファ状況などから想定して、ビデオ
・データおよびオーディオ・データのどちらのPESパ
ケットを入れた方が復号化をスムーズに行うことができ
るかに基づいて、ビデオ・データおよびオーディオ・デ
ータのいずれかを選択する。このとき、ビデオ・データ
およびオーディオ・データのどちらも適当でない場合に
は、パディング・データ325を選択する。
Selection from video data, audio data and padding data is performed as follows. First, data generation status and virtual separation /
Based on whether the PES packet of the video data or the audio data can be smoothly decoded, assuming the buffer situation in the decoding device, etc. Select one of the data. At this time, if neither the video data nor the audio data is appropriate, the padding data 325 is selected.

【0155】トランスポート・パケット生成部309
は、トランスポート・パケット選択部308で切り出さ
れたデータに、ヘッダ情報やアダプテーション・フィー
ルド324を付加してトランスポート・パケット320
を生成する。ここで付加されるヘッダ情報は、同期バイ
トやパケットの識別コードなどである。
Transport packet generator 309
Adds the header information and the adaptation field 324 to the data cut out by the transport packet selecting unit 308 and adds the transport packet 320.
Generate The header information added here is a synchronization byte, a packet identification code, and the like.

【0156】また、アダプテーション・フィールド32
4は、前述したタイム・スタンプに対する時間基準とな
るプログラム・クロック・リファレンスなどの情報から
なる。なお、トランスポート・パケット生成部309
は、PESパケットのタイプがプライベート・データ3
26である場合には、アダプテーション・フィールド3
24を必ず挿入する。
In addition, the adaptation field 32
4 includes information such as a program clock reference serving as a time reference for the above-mentioned time stamp. The transport packet generator 309
Has a PES packet type of private data 3
If 26, adaptation field 3
Be sure to insert 24.

【0157】また、トランスポート・パケット生成部3
09は、PESパケットのデータ長さが前記(3)式で
求めた最大データ長DLよりも小さい場合には、スタッ
フィング・バイト長調整部3091 において、アダプテ
ーション・フィールド324のオプションのスタッフィ
ング・バイト(図15の(c)参照)を用いて、トラン
スポート・パケット320の大きさが一定になるように
長さ調整を行う。
Also, the transport packet generator 3
If the data length of the PES packet is smaller than the maximum data length DL obtained by the equation (3), the stuffing byte length adjusting unit 309 1 stores an optional stuffing byte (of the adaptation field 324) The length is adjusted so that the size of the transport packet 320 becomes constant by using (c) of FIG.

【0158】さらに、トランスポート・パケット生成部
309は、トランスポート・パケット選択部308から
パディング・データ325が送られてきた場合には、パ
ディング・データ詰込み部3092 において、送られて
きたパディング・データ325をペイロードに詰め込ん
で、トランスポート・パケット320を生成する(図1
4の(c)参照)。
[0158] In addition, the transport packet generation unit 309, padding when padding data 325 from the transport packet selector 308 is sent, the padding data packing unit 309 2, sent The data 325 is packed in the payload to generate the transport packet 320 (see FIG. 1).
4 (c)).

【0159】トランスポート・パケット選択部308お
よびトランスポート・パケット生成部309は、図12
に示したパディング・データ詰込み手段C30に対応す
るものである。
The transport packet selector 308 and transport packet generator 309 are shown in FIG.
This corresponds to the padding / data stuffing means C30 shown in FIG.

【0160】多重化バッファ部310は、トランスポー
ト・パケット生成部309から出力される多重化データ
を一旦蓄えてバースト性を調整する。バースト性が調整
された多重化データは、多重化データ出力端子311を
介して外部に出力されて、記録媒体に記録されたり、伝
送路を介して送信されたりする。
The multiplexing buffer unit 310 temporarily stores the multiplexed data output from the transport packet generation unit 309 and adjusts the burst property. The burst data adjusted multiplexed data is output to the outside via the multiplexed data output terminal 311, recorded on a recording medium, or transmitted via a transmission path.

【0161】次に、このビデオ・データ/オーディオ・
データ多重化装置により多重化された多重化データのデ
ータ構造と、プライベート・データのトランスポート・
パケットのデータ構造とについて、図14を参照して説
明する。多重化データは、図14の(a)に示すような
トランスポート・パケット320の連続したものからな
る。
Next, this video data / audio
Data structure of multiplexed data multiplexed by data multiplexer and transport of private data
The data structure of the packet will be described with reference to FIG. The multiplexed data is composed of a series of transport packets 320 as shown in FIG.

【0162】ここで、トランスポート・パケット320
は、トランスポート・パケットヘッダ321、ペイロー
ドおよびアダプテーション・フィールド323で構成さ
れている。ここで、アダプテーション・フィールドは、
時間基準などの情報やトランスポート・パケット320
の長さ調整に用いられる。
Here, the transport packet 320
Is composed of a transport packet header 321, a payload and an adaptation field 323. Where the adaptation field is
Information such as time base and transport packet 320
Used to adjust the length of.

【0163】ペイロードは、ビデオ・データ、オーディ
オ・データおよびプライベート・データのPESパケッ
ト322を分割したものや、パディング・データ325
からなっている。
The payload is a fragment of PES packet 322 of video data, audio data and private data, and padding data 325.
Consists of

【0164】図14の(a)および14の(b)に示す
ように、ペイロードにプライベート・データ326を選
択する判定基準は、プライベート・データ・タイマ30
7から出力される生成タイミング信号S301で決定す
るが、このときに存在するプライベート・データ326
の大きさによって3種類のタイプがある。
As shown in FIGS. 14A and 14B, the private data timer 30 is used as the criterion for selecting the private data 326 for the payload.
The private data 326 existing at this time is determined by the generation timing signal S301 output from
There are three types depending on the size of.

【0165】第1のタイプは、存在するプライベート・
データ326のデータ長Lが、前記(3)式で求めた最
大データ長DLと等しい場合である。この場合は、図1
4の(a)に示すように、アダプテーション・フィール
ド323およびプライベート・データのPESパケット
322だけを用い、アダプテーション・フィールド32
3のスタッフィング・バイト324を用いずに、トラン
スポート・パケット320が構成される。なお、参照符
号327は、PESパケットヘッダを示す。
The first type is an existing private
This is a case where the data length L of the data 326 is equal to the maximum data length DL obtained by the equation (3). In this case, FIG.
4 (a), only the adaptation field 323 and the private data PES packet 322 are used, and the adaptation field 32
Transport packet 320 is constructed without the use of three stuffing bytes 324. Reference numeral 327 indicates a PES packet header.

【0166】第2のタイプは、存在するプライベート・
データ326のデータ長Lが、“0”でなく、かつ前記
(3)式で求めた最大データ長DLよりも小さい場合で
ある。この場合は、図14の(b)に示すように、アダ
プテーション・フィールド323のスタッフィング・バ
イト324を差分(DL−L)だけ詰めて、トランスポ
ート・パケット320の長さを一定にして、トランスポ
ート・パケット320が構成される。
The second type is an existing private
This is a case where the data length L of the data 326 is not "0" and is smaller than the maximum data length DL obtained by the equation (3). In this case, as shown in FIG. 14B, the stuffing bytes 324 of the adaptation field 323 are packed by the difference (DL-L) to make the length of the transport packet 320 constant and A packet 320 is constructed

【0167】第3のタイプは、存在するプライベート・
データ326のデータ長Lが、“0”である場合であ
る。この場合は、図14の(c)に示すように、ペイロ
ードがすべてパディング・データ325にされて、トラ
ンスポート・パケット320が構成される。なお、多重
化データの一例を図14の(d)に、ビデオPESパケ
ットの一例を図14の(e)に、オーディオPESパケ
ットの一例を図14の(f)にそれぞれ示す。
The third type is an existing private
This is the case where the data length L of the data 326 is “0”. In this case, as shown in (c) of FIG. 14, the payload is all padded data 325 to form the transport packet 320. An example of the multiplexed data is shown in (d) of FIG. 14, an example of the video PES packet is shown in (e) of FIG. 14, and an example of the audio PES packet is shown in (f) of FIG.

【0168】次に、“MPEG2”におけるトランスポ
ート・ストリームの詳細について、図15を参照して、
説明する。“MPEG2”におけるトランスポート・ス
トリームは、図15の(a)に示すように、トランスポ
ート・パケットの連続によって構成されている。トラン
スポート・パケットは、図15の(b)に示すように、
同期バイト、誤り表示、ユニット開始表示、トランスポ
ート・パケット・プライオリティ、PID(PacketIden
tification), スクランブル制御、アダプテーション・
フィールド制御、巡回カウンタ(コンティニュティ・カ
ウンタ)およびアダプテーション・フィールドなどから
なっている。
Details of the transport stream in "MPEG2" will be described with reference to FIG.
explain. The transport stream in "MPEG2" is composed of a series of transport packets, as shown in FIG. The transport packet is, as shown in FIG.
Sync byte, error indication, unit start indication, transport packet priority, PID (PacketIden
tification), scramble control, adaptation
It consists of field control, cyclic counter (continuity counter) and adaptation field.

【0169】アダプテーション・フィールドの内容は、
図15の(c)に示すように、アダプテーション・フィ
ールド長、不連続表示、ランダム・アクセス表示、スト
リーム優先表示、5フラグ、コンディショナル・コーデ
ィング(オプショナル・フィールド)、スタフィング・
バイトなどである。
The contents of the adaptation field are
As shown in FIG. 15C, adaptation field length, discontinuous display, random access display, stream priority display, 5 flags, conditional coding (optional field), stuffing
For example, a byte.

【0170】コンディショナル・コーディング(オプシ
ョナル・フィールド)の内容は、図15に示すように、
PCR(Program Clock Reference)、OPCR(Origin
al Program Clock Reference) 、スプライト・カウント
・ダウン、トランスポート・プライベート・データ長と
データおよびアダプテーション・フィールド拡張などで
ある。
The contents of conditional coding (optional field) are as shown in FIG.
PCR (Program Clock Reference), OPCR (Origin
al Program Clock Reference), sprite count down, transport private data length and data and adaptation field extension.

【0171】以上のように、本実施例のビデオ・データ
/オーディオ・データ多重化装置では、ビデオ・データ
と非同期なプライベート・データの場合には、プライベ
ート・データのPESパケットの大きさ(データ長)
を、トランスポート・パケットのペイロードの大きさ以
下で可変することにより、多重化遅延を抑えるようにし
ている。また、プライベート・データが入力されない場
合には、パディング・データを詰め込むことで、出力レ
ートを一定にするようにしている。
As described above, in the video data / audio data multiplexing apparatus of this embodiment, in the case of private data asynchronous with the video data, the size of the PES packet of the private data (data length) )
Is varied by the size of the payload of the transport packet or less to suppress the multiplexing delay. When private data is not input, padding data is packed to keep the output rate constant.

【0172】例えば、トランスポート・パケット長を非
同期転送モード(ATM)のセルに合わせた188 バイ
ト、各PESパケット長を2,256 バイト、プライベート
・データのPESパケットのヘッダ長を9バイト、全体
の多重化データの出力レートを1,500,000 ビット/秒、
プライベート・データの最大発生頻度(すなわち、最大
入力ビットレート)を9,600 ビット/秒として、多重化
時間を60秒でプライベート・データが30,000バイト発
生するようにすると、平均レートは400 ビット/秒とな
り、従来のビデオ・データ/オーディオ・データ多重化
装置では、多重化遅延は平均約3.3秒となる。
For example, the transport packet length is 188 bytes matched to the cells of the asynchronous transfer mode (ATM), each PES packet length is 2,256 bytes, the private data PES packet header length is 9 bytes, and the entire multiplexing is performed. Data output rate of 1,500,000 bits / second,
If you set the maximum frequency of private data (that is, the maximum input bit rate) to 9,600 bits / second and the multiplexing time is 60 seconds to generate 30,000 bytes of private data, the average rate will be 400 bits / second. In the conventional video / audio data multiplexer, the multiplexing delay is about 3.3 seconds on average.

【0173】また、全多重化データが69,000バイト少な
くなり、実際の多重化データの出力レートは、1,490,80
0 ビット/秒となり、目標とする出力レートを満たさな
いこととなる。
The total multiplexed data is reduced by 69,000 bytes, and the actual output rate of the multiplexed data is 1,490,80.
It becomes 0 bits / second, and the target output rate is not met.

【0174】これに対して、本実施例のビデオ・データ
/オーディオ・データ多重化装置では、プライベート・
データのPESパケット長を最大トランスポート・パケ
ットのペイロード長とするとともに、プライベート・デ
ータを送るべきタイミングで存在するプライベート・デ
ータのデータ量によって、プライベート・データのPE
Sパケット長を適応的に変化させるようにしている。
On the other hand, in the video data / audio data multiplexing apparatus of this embodiment, the private data
The PES packet length of data is set as the payload length of the maximum transport packet, and the PE of private data is determined by the amount of private data that exists at the time when private data should be sent.
The S packet length is adaptively changed.

【0175】つまり、トランスポート・パケット内での
プライベート・データを短い単位で生成して、多重化遅
延を抑えることができるようにしている。また、プライ
ベート・データが選択されたときに、プライベート・デ
ータが存在しない場合にはパディング・データを詰込む
ことで、出力レートを一定にすることができる。
That is, the private data in the transport packet is generated in short units so that the multiplexing delay can be suppressed. Further, when private data is selected, if the private data does not exist, the padding data is packed, so that the output rate can be made constant.

【0176】前記具体例において、プライベート・デー
タのPESパケット長を適応的に変化させるので、均等
に400 ビット/ 秒発生しているとして、PESパケット
のヘッダ長は9バイト、データ長は約7バイトとなり、
多重化による遅延は約140ミリ秒となる。
In the above specific example, since the PES packet length of private data is adaptively changed, assuming that 400 bits / sec are generated evenly, the header length of the PES packet is 9 bytes, and the data length is about 7 bytes. Next to
The delay due to multiplexing is about 140 ms.

【0177】また、従来のビデオ・データ/オーディオ
・データ多重化装置では、出力多重化データが69,000バ
イト少なくなっていたが、本実施例のビデオ・データ/
オーディオ・データ多重化装置では、この分にスタフィ
ング・バイトやパディング・データを詰め込むので、出
力レートは1,500,000 ビット/秒一定となる。
Also, in the conventional video data / audio data multiplexer, the output multiplexed data is reduced by 69,000 bytes.
In the audio data multiplexer, stuffing bytes and padding data are packed in this amount, so the output rate is fixed at 1,500,000 bits / sec.

【0178】以上、本発明の第4のデータ多重化装置の
実施態様について、ビデオ・データ、オーディオ・デー
タおよびプライベート・データをMPEG規格に基づい
て多重化する場合を例として説明したが、本発明による
第4のデータ多重化装置で多重化するデータとしては、
ビデオ・データ、オーディオ・データおよびプライベー
ト・データ以外であってもよい。また、データ圧縮/多
重化技術としては、MPEG方式以外のものでよい。
The embodiment of the fourth data multiplexer of the present invention has been described above by taking the case of multiplexing video data, audio data and private data based on the MPEG standard as an example. The data to be multiplexed by the fourth data multiplexing device according to
It may be other than video data, audio data and private data. The data compression / multiplexing technique may be other than the MPEG system.

【0179】[0179]

【発明の効果】前述したように、本発明の第1のデータ
多重化装置によれば、基本パケット部と付加パケット部
との2種類でパックを構成するとともに、パディング・
データのパケット長を最大入力レートに合わせて構成す
ることができるので、非同期のプライベート・データを
出力することができ、多重化遅延を飛躍的に小さくする
ことができるとともに、多重化データを定レートで出力
することができる。
As described above, according to the first data multiplexing apparatus of the present invention, a pack is constructed with two types of basic packet part and additional packet part, and padding
Since the data packet length can be configured according to the maximum input rate, asynchronous private data can be output, the multiplexing delay can be dramatically reduced, and the multiplexed data can be transmitted at a constant rate. Can be output with.

【0180】本発明の第2のデータ多重化装置によれ
ば、ビデオ信号に同期したプライベート・データを含む
多重化を行う場合に、ビデオ・パケットと対でプライベ
ート・データが加えられて基本パケットが構成されるた
め、多重化遅延を飛躍的に小さくすることができるとと
もに、常にビデオ信号と同期をとりながらプライベート
・データを多重化することができる。
According to the second data multiplexing apparatus of the present invention, when multiplexing including private data synchronized with a video signal is performed, private data is added in pairs with a video packet to form a basic packet. Since it is configured, it is possible to dramatically reduce the multiplexing delay, and it is possible to multiplex the private data while always synchronizing with the video signal.

【0181】本発明の第3のデータ多重化装置によれ
ば、ビデオ・データに同期したプライベート・データを
含む多重化を行う場合に、プライベート・データを1ピ
クチャ単位で出力できるように構成しているため、多重
化遅延を飛躍的に小さくすることができるとともに、常
にビデオ・データと同期をとりながらプライベート・デ
ータを多重化することができる。
According to the third data multiplexing apparatus of the present invention, the private data can be output in units of one picture when the multiplexing including the private data synchronized with the video data is performed. Therefore, the multiplexing delay can be dramatically reduced, and the private data can be multiplexed while always synchronizing with the video data.

【0182】本発明の第4のデータ多重化装置によれ
ば、ビデオ・データおよびオーディオ・データとともに
多重化するプライベート・データのPESパケットを生
成する際に、プライベート・データのPESパケット長
を適応的に変化させるとともに、プライベート・データ
のデータ量に応じて適応的にパディング・データを詰め
込むようにしたので、ビデオ・データと非同期なプライ
ベート・データを含む多重化による遅延を低く抑えるこ
とができる。
According to the fourth data multiplexer of the present invention, when the PES packet of the private data to be multiplexed with the video data and the audio data is generated, the PES packet length of the private data is adaptively adjusted. Since the padding data is adaptively packed according to the amount of private data, the delay due to the multiplexing including the video data and the asynchronous private data can be kept low.

【0183】また、プライベート・データがない場合や
プライベート・データのデータ量が少ない場合には、ス
タフィング・バイトやパディング・データを詰め込むよ
うにしたので、出力レートを一定に保つことができ、通
信系に用いて有効なビデオ・データ/オーディオ・デー
タ多重化装置を提供することができる。
If there is no private data or the amount of private data is small, the stuffing bytes and padding data are packed, so that the output rate can be kept constant and the communication system It is possible to provide an effective video data / audio data multiplexing device.

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

【図1】本発明の第1のデータ多重化装置の第1の実施
の形態によるビデオ・データ/オーディオ・データ多重
化装置の主要な構成部を示すブロック図である。
FIG. 1 is a block diagram showing main components of a video data / audio data multiplexer according to a first embodiment of a first data multiplexer of the present invention.

【図2】本発明の第1のデータ多重化装置の第2の実施
の形態によるビデオ・データ/オーディオ・データ多重
化装置を示すブロック図である。
FIG. 2 is a block diagram showing a video data / audio data multiplexer according to a second embodiment of the first data multiplexer of the present invention.

【図3】図2に示したビデオ・データ/オーディオ・デ
ータ多重化装置から出力される多重化データのデータ構
造の一例を示す図である。
3 is a diagram showing an example of a data structure of multiplexed data output from the video data / audio data multiplexing device shown in FIG.

【図4】図2に示したビデオ・データ/オーディオ・デ
ータ多重化装置から出力される多重化データのデータ構
造の一例を示す図である。
4 is a diagram showing an example of a data structure of multiplexed data output from the video data / audio data multiplexing device shown in FIG.

【図5】図2に示したビデオ・データ/オーディオ・デ
ータ多重化装置から出力される多重化データのデータ構
造の一例を示す図である。
5 is a diagram showing an example of a data structure of multiplexed data output from the video data / audio data multiplexing device shown in FIG.

【図6】本発明の第2のデータ多重化装置の第1の実施
の形態によるビデオ・データ/オーディオ・データ多重
化装置の主要な構成部を示すブロック図である。
FIG. 6 is a block diagram showing main components of a video data / audio data multiplexer according to a first embodiment of a second data multiplexer of the present invention.

【図7】本発明の第2のデータ多重化装置の第2の実施
の形態によるビデオ・データ/オーディオ・データ多重
化装置を示すブロック図である。
FIG. 7 is a block diagram showing a video data / audio data multiplexer according to a second embodiment of the second data multiplexer of the present invention.

【図8】図7に示したビデオ・データ/オーディオ・デ
ータ多重化装置から出力される多重化データのデータ構
造の一例を示す図である。
8 is a diagram showing an example of a data structure of multiplexed data output from the video data / audio data multiplexing device shown in FIG.

【図9】図7に示したビデオ・データ/オーディオ・デ
ータ多重化装置から出力される多重化データのデータ構
造の一例を示す図である。
9 is a diagram showing an example of a data structure of multiplexed data output from the video data / audio data multiplexing device shown in FIG.

【図10】本発明の第3のデータ多重化装置の一実施の
形態による、パケットを用いたマルチ・チャンネル方式
のビデオ・データ/オーディオ・データ多重化装置を示
すブロック図である。
FIG. 10 is a block diagram showing a packet-based multi-channel video data / audio data multiplexer according to an embodiment of a third data multiplexer of the present invention.

【図11】図10に示したビデオ・データ/オーディオ
・データ多重化装置より出力される多重化データのデー
タ構造の一例を示す図である。
11 is a diagram showing an example of a data structure of multiplexed data output from the video data / audio data multiplexing device shown in FIG.

【図12】本発明の第4のデータ多重化装置の第1の実
施の形態によるビデオ・データ/オーディオ・データ多
重化装置の主要な構成部を示すブロック図である。
FIG. 12 is a block diagram showing main components of a video data / audio data multiplexer according to a first embodiment of a fourth data multiplexer of the present invention.

【図13】本発明の第4のデータ多重化装置の第2の実
施の形態による、パケットを用いたマルチ・チャンネル
方式のビデオ・データ/オーディオ・データ多重化装置
を示すブロック図である。
FIG. 13 is a block diagram showing a packet-based multi-channel video data / audio data multiplexer according to a second embodiment of the fourth data multiplexer of the present invention.

【図14】図13に示したビデオ・データ/オーディオ
・データ多重化装置より出力される多重化データのデー
タ構造の一例を示す図である。
14 is a diagram showing an example of a data structure of multiplexed data output from the video data / audio data multiplexing device shown in FIG.

【図15】“MPEG2”におけるトランスポート・ス
トリームの詳細を示す図である。
[Fig. 15] Fig. 15 is a diagram illustrating details of a transport stream in "MPEG2".

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

A パケット部生成手段 B 基本パケット部生成手段 C 付加パケット部生成手段 D パック生成手段 1 ビデオ・データ入力端子 2 オーディオ・データ入力端子 3 プライベート・データ入力端子 4 基本パケット選択部 5 基本パケット生成部 6 パック生成部 7 プライベート・データパケット生成部 8 多重化バッファ部 9 多重化データ出力端子 A packet part generating means B basic packet part generating means C additional packet part generating means D pack generating means 1 video data input terminal 2 audio data input terminal 3 private data input terminal 4 basic packet selecting section 5 basic packet generating section 6 Pack generation unit 7 Private data packet generation unit 8 Multiplexing buffer unit 9 Multiplexed data output terminal

───────────────────────────────────────────────────── フロントページの続き (31)優先権主張番号 特願平7−188250 (32)優先日 平7(1995)6月30日 (33)優先権主張国 日本(JP) ─────────────────────────────────────────────────── ─── Continuation of the front page (31) Priority claim number Japanese Patent Application No. 7-188250 (32) Priority date Hei 7 (1995) June 30 (33) Priority claim country Japan (JP)

Claims (20)

【特許請求の範囲】[Claims] 【請求項1】 第1のデータを含む第1の集合部と、第
2のデータを含む第2の集合部と、前記第1のデータお
よび前記第2のデータの少なくとも一方と非同期の第3
のデータを含む第3の集合部とを用いて複数の集合体を
生成して前記第1乃至第3のデータを多重化するデータ
多重化装置であって、 基本集合部を生成する基本集合部生成手段と、 付加集合部を生成する付加集合部生成手段と、 前記基本集合部および前記付加集合部から前記集合体を
生成する集合体生成手段とを具備し、 前記基本集合部生成手段は、前記第1のデータと前記第
2のデータと第1の冗長データとの中から一つのデータ
を選択し、前記第1のデータを選択した場合には前記第
1の集合部を生成し、前記第2のデータを選択した場合
には前記第2の集合部を生成し、前記第1の冗長データ
を選択した場合には前記第1の冗長データを含む第4の
集合部を生成して、前記生成した第1、第2または第4
の集合部を前記基本集合部として出力し、 前記付加集合部生成手段は、前記第3のデータと第2の
冗長データのどちらか一方または前記第3のデータと第
2の冗長データの両方を選択し、前記第3のデータを選
択した場合には第3の集合部を生成し、前記第2の冗長
データを選択した場合には前記第2の冗長データを含む
第5の集合部を生成し、前記第3のデータと第2の冗長
データの両方を選択した場合には、第3のデータと前記
第2の冗長データの両方を含む第6の集合部を生成し
て、前記生成した第3、第5または第6の集合部を前記
付加集合部として出力することを特徴とするデータ多重
化装置。
1. A first aggregation unit including first data, a second aggregation unit including second data, a third aggregation unit asynchronous with at least one of the first data and the second data.
Is a data multiplexing device that multiplexes the first to third data by generating a plurality of aggregates by using a third aggregation part including the data of Generating means, an additional aggregate part generating means for generating an additional aggregate part, and an aggregate generating means for generating the aggregate from the basic aggregate part and the additional aggregate part, the basic aggregate part generating means, One data is selected from the first data, the second data, and the first redundant data, and when the first data is selected, the first aggregation unit is generated, When the second data is selected, the second aggregation unit is generated, and when the first redundant data is selected, the fourth aggregation unit including the first redundant data is generated, The generated first, second or fourth
Of the third data and the second redundant data, or both of the third data and the second redundant data. If the third data is selected, a third aggregation part is generated, and if the second redundant data is selected, a fifth aggregation part including the second redundant data is generated. However, when both the third data and the second redundant data are selected, a sixth aggregation part including both the third data and the second redundant data is generated and the generated A data multiplexing apparatus, wherein a third, fifth or sixth aggregation unit is output as the additional aggregation unit.
【請求項2】 請求項1に記載のデータ多重化装置であ
って、 前記データ多重化装置は、MPEG(Moving Picture E
xperts Group)方式に従うデータ多重化装置であり、 前記第1のデータがビデオ・データであり、前記第2の
データがオーディオ・データであり、前記第3のデータ
がプライベート・データであり、前記第1および第2の
冗長データがパディング・データであることを特徴とす
るデータ多重化装置。
2. The data multiplexing apparatus according to claim 1, wherein the data multiplexing apparatus is an MPEG (Moving Picture E).
xperts Group) data multiplexing device, wherein the first data is video data, the second data is audio data, the third data is private data, and the third data is A data multiplexing device, wherein the first and second redundant data are padding data.
【請求項3】 入力されたデータを一定のサイズに分割
してパケット部を生成するとともに、前記パケット部に
パックヘッダを付加してパックを生成するようにしたデ
ータ多重化装置において、 前記パケット部を生成するためのパケット部生成手段
を、基本パケット部生成手段と付加パケット部生成手段
とで構成し、 前記基本パケット部生成手段は、入力されるビデオ・デ
ータ、オーディオ・データおよびパディング・データの
中から一つのデータを選択して基本パケット部を生成
し、 前記付加パケット部生成手段は、入力されるプライベー
ト・データまたはパディング・データのどちらか一方の
データ、または両方のデータを選択して付加パケット部
を生成することを特徴とするデータ多重化装置。
3. A data multiplexer that divides input data into a fixed size to generate a packet part, and adds a pack header to the packet part to generate a pack. And a packet part generating means for generating a packet part generating means for generating the packet part generating means and the additional packet part generating means. One of the data is selected to generate a basic packet part, and the additional packet part generation means selects and adds either one of the input private data or padding data, or both data. A data multiplexing device characterized by generating a packet part.
【請求項4】 前記付加パケット部の長さは、パック長
と多重化出力レートとプライベート・データの最大入力
レートより求めることを特徴とする請求項3に記載のデ
ータ多重化装置。
4. The data multiplexing apparatus according to claim 3, wherein the length of the additional packet portion is obtained from a pack length, a multiplexing output rate, and a maximum input rate of private data.
【請求項5】 パックを構成する基本パケット部に多重
化すべき基本パケットデータとして、入力されるビデオ
・データ、オーディオ・データおよびパディング・デー
タの中から一つのデータを選択する基本パケットソース
選択手段と、 前記基本パケットソース選択手段により選択された基本
パケットデータを所定長のサイズに分割するとともに、
前記所定長のサイズに分割した基本パケットデータに基
本パケットヘッダを付加して基本パケット部を生成する
基本パケット部生成手段と、 パックを構成する付加パケット部に多重化すべきパケッ
トデータとして、入力されるプライベート・データまた
はパディング・データのどちらか一方のデータ、または
両方のデータをパック長に合わせて選択するとともに、
前記選択した付加パケットデータに付加パケットヘッダ
を付加して付加パケット部を生成する付加パケット部生
成手段と、 前記基本パケット部生成手段および前記付加パケット部
生成手段からそれぞれ与えられる各パケット部にパック
ヘッダを付加してパックを生成するパック生成手段とを
具備することを特徴とするデータ多重化装置。
5. A basic packet source selection means for selecting one data from input video data, audio data and padding data as basic packet data to be multiplexed in a basic packet portion forming a pack. While dividing the basic packet data selected by the basic packet source selecting means into a predetermined length size,
Basic packet part generation means for generating a basic packet part by adding a basic packet header to the basic packet data divided into the predetermined length size, and input as packet data to be multiplexed in the additional packet part forming the pack. Select either private data or padding data, or both data according to the pack length, and
Additional packet part generation means for adding an additional packet header to the selected additional packet data to generate an additional packet part, and a pack header for each packet part given from the basic packet part generation means and the additional packet part generation means, respectively. And a pack generating means for generating a pack by adding the.
【請求項6】 前記付加パケット部の長さは、パック長
と多重化出力レートとプライベート・データの最大入力
レートより求めることを特徴とする請求項5に記載のデ
ータ多重化装置。
6. The data multiplexing apparatus according to claim 5, wherein the length of the additional packet portion is obtained from a pack length, a multiplexing output rate, and a maximum input rate of private data.
【請求項7】 第1のデータを含む第1の集合部と、第
2のデータを含む第2の集合部と、前記第1のデータと
同期した第3のデータを含む第3の集合部を用いて複数
の集合体を生成して前記第1乃至第3のデータを多重化
するデータ多重化装置であって、 前記第1のデータを含む前記第1の集合部を生成する第
1の基本集合部生成手段、および前記第2のデータと第
1の冗長データのどちらか一方のデータを選択して、前
記第2のデータを選択した場合には前記第2の集合部を
生成し、前記第1の冗長データを選択した場合には前記
第1の冗長データを含む第4の集合部を生成する第2の
基本集合部生成手段を有する基本集合部生成手段と、 付加集合部を生成する付加集合部生成手段と、 前記基本集合部および前記付加集合部から前記集合体を
生成する集合体生成手段とを具備し、 前記付加集合部生成手段は、前記第3のデータと前記第
2の冗長データのどちらか一方または前記第3のデータ
と前記第2の冗長データの両方を選択し、前記第3のデ
ータを選択した場合には前記第3の集合部を生成し、前
記第2の冗長データを選択した場合には、前記第2の冗
長データを含む第5の集合部を生成し、前記第3のデー
タと前記第2の冗長データの両方を選択した場合には、
前記第3のデータと前記第2の冗長データの両方を含む
第6の集合部を生成し、前記生成した第3、第5または
第6の集合部を前記付加集合部として出力し、 前記集合体生成手段は、前記第1の基本集合部生成手段
から受け取った前記第1の集合部が所定のコードを含ん
でいる場合には、この前記受け取った第1の集合部と前
記付加集合部生成手段から受け取った前記付加集合部と
から一つの集合体を生成することを特徴とするデータ多
重化装置。
7. A first aggregation part including first data, a second aggregation part including second data, and a third aggregation part including third data synchronized with the first data. A data multiplexing device that multiplexes the first to third data by generating a plurality of aggregates by using a first aggregation unit that includes the first data. Selecting a data of either one of the second data and the first redundant data, and generating the second aggregation part when the second data is selected, Basic set part generation means having a second basic set part generation means for generating a fourth set part including the first redundant data when the first redundant data is selected; and an additional set part. Means for generating an additional aggregation part, and the aggregate from the basic aggregation part and the additional aggregation part And an aggregate generating unit that generates a body, wherein the additional aggregate unit generating unit is one of the third data and the second redundant data, or the third data and the second redundant data. If both are selected and the third data is selected, the third aggregation part is generated, and if the second redundant data is selected, a fifth data including the second redundant data is selected. When the aggregate part of is generated and both the third data and the second redundant data are selected,
Generating a sixth aggregation part including both the third data and the second redundant data, and outputting the generated third, fifth or sixth aggregation part as the additional aggregation part, When the first aggregation unit received from the first basic aggregation unit generation unit includes a predetermined code, the field generation unit generates the received first aggregation unit and the additional aggregation unit. A data multiplexing apparatus, wherein one aggregate is generated from the additional aggregation unit received from the means.
【請求項8】 請求項7に記載のデータ多重化装置であ
って、 前記データ多重化装置は、MPEG(Moving Picture E
xperts Group)方式に従うデータ多重化装置であり、 前記第1のデータがビデオ・データであり、前記第2の
データがオーディオ・データであり、前記第3のデータ
がプライベート・データであり、前記第1および第2の
冗長データがパディング・データであることを特徴とす
るデータ多重化装置。
8. The data multiplexing apparatus according to claim 7, wherein the data multiplexing apparatus is an MPEG (Moving Picture E)
xperts Group) data multiplexing device, wherein the first data is video data, the second data is audio data, the third data is private data, and the third data is A data multiplexing device, wherein the first and second redundant data are padding data.
【請求項9】 入力されたデータを一定のサイズに分割
してパケット部を生成するとともに、前記パケット部に
パックヘッダを付加してパックを生成するようにしたデ
ータ多重化装置において、 前記パケット部を生成するためのパケット部生成手段
を、基本パケット部生成手段と付加パケット部生成手段
とで構成し、 前記基本パケット部生成手段を、入力されるビデオ・デ
ータを挿入した第1の基本パケット部を生成する第1の
基本パケット部生成手段と、入力されるオーディオ・デ
ータまたはパディング・データの中からどちらか一方の
データを挿入した第2の基本パケット部を生成する第2
の基本パケット部生成手段とで構成するとともに、 前記付加パケット部生成手段は、入力されるプライベー
ト・データまたはパディング・データのどちらか一方の
データ、または両方のデータを選択して付加パケット部
を生成することを特徴とするデータ多重化装置。
9. A data multiplexing apparatus, wherein input data is divided into a certain size to generate a packet part, and a pack header is added to the packet part to generate a pack. And a packet unit generating means for generating a packet packet generating unit for generating the packet data, the first packet unit generating unit including the basic packet unit generating unit and the additional packet unit generating unit. And a second basic packet part generating means for generating a second basic packet part in which either one of the input audio data or padding data is inserted.
Of the basic packet part generating means, and the additional packet part generating means generates the additional packet part by selecting either one of the input private data or padding data, or both data. A data multiplexing device characterized by:
【請求項10】 入力されるビデオ・データからピクチ
ャ情報を検出するピクチャ情報検出手段と、 入力されるビデオ・データ、オーディオ・データまたは
パディング・データの中からパックに多重化すべきソー
スを選択するソース選択手段と、 前記ソース選択手段により選択されたソースから基本パ
ケット部を生成する基本パケット部生成手段と、 ビデオ信号に同期したプライベート・データの未多重の
ブロック数をカウントするカウント手段と、 前記プライベート・データまたはパディング・データの
中から前記パックに多重化すべきソースを選択するとと
もに、前記選択したソースをパック長に合わせて切り出
して付加パケット部を生成する付加パケット部生成手段
と、 前記基本パケット部生成手段および前記付加パケット部
生成手段により生成される各パケット部にパックヘッダ
を付加してパックを生成するパック生成手段とを具備す
ることを特徴とするデータ多重化装置。
10. A picture information detecting means for detecting picture information from input video data, and a source for selecting a source to be multiplexed into a pack from the input video data, audio data or padding data. Selecting means, basic packet part generating means for generating a basic packet part from the source selected by the source selecting means, counting means for counting the number of unmultiplexed blocks of private data synchronized with a video signal, and the private An additional packet part generating means for selecting a source to be multiplexed in the pack from data or padding data, and cutting out the selected source according to the pack length to generate an additional packet part; and the basic packet part. Generating means and the additional packet part generating means Data multiplexing apparatus characterized by comprising a pack generating means for generating a pack by adding a pack header to each packet unit which is generated by the.
【請求項11】 前記ビデオ信号に同期したプライベー
ト・データは、クローズド・キャプションデータである
ことを特徴とする請求項10に記載のデータ多重化装
置。
11. The data multiplexing apparatus according to claim 10, wherein the private data synchronized with the video signal is closed caption data.
【請求項12】 PES(Packetized Elementary Stre
am)パケットを用いたマルチプログラム対応のデータ多
重化装置において、 入力されるビデオ・データを所定の大きさだけ切り出す
とともに、前記切り出したビデオ・データにヘッダ情報
を付加してビデオPESパケットを生成するビデオPE
Sパケット生成手段と、 前記ビデオPESパケット生成部から出力されるビデオ
PESパケットからピクチャの始まりを示すピクチャ・
スタート・コードが存在するか否かを検出するピクチャ
情報検出手段と、 入力されるオーディオ・データを所定の大きさだけ切り
取るとともに、前記切り取ったオーディオ・データにヘ
ッダ情報を付加してオーディオPESパケットを生成す
るオーディオPESパケット生成手段と、 前記ピクチャ情報検出手段から与えられる検出結果情報
に基づいて、前記ピクチャ・スタート・コードが検出さ
れたピクチャに対応するプライベート・データにヘッダ
情報を付加してプライベート・データPESパケットを
生成するプライベート・データPESパケット生成手段
と、 前記ビデオPESパケット、オーディオPESパケット
およびプライベート・データPESパケットの中から出
力するPESパケットを選択する手段であって、前記ピ
クチャ情報検出手段の検出結果に基づいて、出力するビ
デオ・データの中にピクチャ・スタート・コードが存在
するとプライベート・データPESパケットを出力する
ようにする多重化手段とを具備することを特徴とするデ
ータ多重化装置。
12. A PES (Packetized Elementary Stre)
am) In a multi-program compatible data multiplexer using packets, input video data is cut out by a predetermined size, and header information is added to the cut out video data to generate a video PES packet. Video PE
An S packet generating means, and a picture indicating the beginning of a picture from the video PES packet output from the video PES packet generating unit.
Picture information detecting means for detecting whether or not a start code is present, and cut the input audio data by a predetermined size, add header information to the cut audio data, and output an audio PES packet. The header information is added to the private data corresponding to the picture in which the picture start code is detected, based on the detection result information provided from the audio PES packet generation means to be generated and the picture information detection means, Private data PES packet generation means for generating a data PES packet, means for selecting a PES packet to be output from the video PES packet, audio PES packet and private data PES packet, and the picture And a multiplexing means for outputting a private data PES packet when a picture start code is present in the output video data based on the detection result of the information detection means. Multiplexer.
【請求項13】 前記多重化手段は、前記ピクチャ情報
検出手段から出力された検出結果情報がピクチャ有りで
あった場合にはフラグを立てておくとともに、前記フラ
グが立っていたらプライベート・データPESパケット
を出力すると判定し、前記判定を行ったら前記フラグを
下げる処理を行うことを特徴とする請求項12に記載の
データ多重化装置。
13. The multiplexing means sets a flag when the detection result information output from the picture information detection means indicates that there is a picture, and when the flag is set, a private data PES packet. 13. The data multiplexing apparatus according to claim 12, wherein it is determined to output, and if the determination is performed, processing for lowering the flag is performed.
【請求項14】 第1のデータと、前記第1のデータと
同期した第2のデータとを多重化する、マルチプログラ
ム対応のデータ多重化装置であって、 前記第1のデータを含む第1の集合部を生成する第1の
集合部生成手段と、 前記第2のデータを含む第2の集合部を生成する第2の
集合部生成手段と、 前記第1の集合部に含まれている前記第1のデータが所
定のコードを含んでいるか否かを判定する判定手段と、 前記判定手段が、前記第1の集合部に含まれている前記
第1のデータが前記所定のコードを含んでいると判定し
た場合には、前記第1の集合部の後に前記第2の集合部
を付加して、前記第1のデータと前記第2のデータとを
多重化する多重化手段とを具備することを特徴とするデ
ータ多重化装置。
14. A multi-program compatible data multiplexing device for multiplexing first data and second data synchronized with the first data, the first data including the first data. Included in the first aggregation part, a first aggregation part generation means for generating an aggregation part of, a second aggregation part generation means for generating a second aggregation part including the second data, Determining means for determining whether or not the first data includes a predetermined code; and the determining means for determining that the first data included in the first collecting portion includes the predetermined code. If it is determined that the second data is collected, the second data collection unit is added after the first data collection unit to multiplex the first data and the second data. A data multiplexing device characterized by:
【請求項15】 請求項14に記載のデータ多重化装置
であって、 前記データ多重化装置は、MPEG(Moving Picture E
xperts Group)方式に従うデータ多重化装置であり、 前記第1のデータがビデオ・データであり、前記第2の
データが1ピクチャに対応するプライベート・データで
あることを特徴とするデータ多重化装置。
15. The data multiplexing apparatus according to claim 14, wherein the data multiplexing apparatus is an MPEG (Moving Picture E).
xperts Group) data multiplexing device, wherein the first data is video data and the second data is private data corresponding to one picture.
【請求項16】 PESパケットを用いたマルチプログ
ラム対応のデータ多重化装置において、 1ピクチャに対応するプライベート・データよりプライ
ベート・データPESパケットを生成するプライベート
・データPESパケット生成手段と、 前記プライベート・データPESパケット生成手段によ
って生成されるプライベート・データPESパケット
を、ピクチャ・スタート・コードを含むビデオ・データ
の後に多重化する多重化手段とを具備することを特徴と
するデータ多重化装置。
16. A data multiplexing apparatus compatible with multi-program using PES packets, private data PES packet generating means for generating private data PES packets from private data corresponding to one picture, and said private data. A data multiplexing apparatus comprising: a multiplexing unit that multiplexes private data PES packets generated by the PES packet generation unit after video data including a picture start code.
【請求項17】 第1のデータと、前記第1のデータと
非同期の第2のデータとを多重化する、マルチプログラ
ム対応のデータ多重化装置であって、 前記第1のデータを含む第1の集合部を生成する第1の
集合部生成手段と、 前記第2のデータを含む第2の集合部を生成する第2の
集合部生成手段と、 前記第2の集合部生成手段で生成される前記第2の集合
部の長さを適応的に変化させる長さ変化手段と、 前記第2のデータのデータ量に応じて冗長データを前記
第2の集合部に詰込む冗長データ詰込み手段と、 前記第1の集合部生成手段で生成された前記第1の集合
部と前記冗長データ詰込み手段から出力される前記第2
の集合部とを用いて、前記第1のデータと前記第2のデ
ータとを多重化する多重化手段とを具備することを特徴
とするデータ多重化装置。
17. A data multiplexing apparatus compatible with a multi-program, which multiplexes first data and second data asynchronous with the first data, the first data including the first data. And a second aggregation part generation means for generating a second aggregation part including the second data, and a second aggregation part generation means. Length changing means for adaptively changing the length of the second collecting portion, and redundant data filling means for filling the second collecting portion with redundant data according to the data amount of the second data. And the second aggregation output from the first aggregation part generated by the first aggregation part generation means and the redundant data packing means.
And a multiplexing unit that multiplexes the first data and the second data by using the collecting unit.
【請求項18】 請求項17に記載のデータ多重化装置
であって、 前記データ多重化装置は、MPEG(Moving Picture E
xperts Group)方式に従うデータ多重化装置であり、 前記第1のデータがビデオ・データであり、前記第2の
データがプライベート・データであることを特徴とする
データ多重化装置。
18. The data multiplexing apparatus according to claim 17, wherein the data multiplexing apparatus is an MPEG (Moving Picture E).
xperts Group) data multiplexing device, wherein the first data is video data and the second data is private data.
【請求項19】 PES(Packetized Elementary Stre
am)パケットを用いたマルチプログラム対応のデータ多
重化装置において、 ビデオ・データおよびオーディオ・データとともに多重
化するプライベート・データのPESパケットを生成す
るプライベート・データPESパケット生成手段と、 前記プライベート・データPESパケット生成手段によ
って生成されるプライベート・データのPESパケット
長を適応的に変化させるPESパケット長変化手段と、 前記ビデオ・データおよびオーディオ・データとともに
多重化するプライベート・データの量に応じて適応的に
パディング・データを詰込むようにするパディング・デ
ータ詰込み手段とを具備することを特徴とするデータ多
重化装置。
19. A PES (Packetized Elementary Stre)
am) in a multi-program compatible data multiplexing device using packets, private data PES packet generation means for generating PES packets of private data to be multiplexed together with video data and audio data, and the private data PES PES packet length changing means for adaptively changing the PES packet length of private data generated by the packet generating means, and adaptively according to the amount of private data to be multiplexed with the video data and audio data. A data multiplexing apparatus comprising padding data packing means for packing padding data.
【請求項20】 ビデオ・データおよびオーディオ・デ
ータとともにプライベート・データを多重化するタイミ
ングを通知するタイミング通知手段と、 前記タイミング通知手段から多重化のタイミングが通知
された時点で存在するデータ量に応じて前記プライベー
ト・データのPESパケット長を決定するPESパケッ
ト長決定手段と、 前記PESパケット長決定手段によって決定された長さ
でプライベート・データPESパケットを生成するとと
もに、前記プライベート・データを多重化するタイミン
グが通知された時に、前記プライベート・データが存在
しない場合にはプライベート・データPESパケットを
生成しないようにするプライベート・データPESパケ
ット生成手段と、 前記タイミング通知手段からの通知を受けたタイミング
でトランスポートパケットのペイロードをプライベート
・データに決定するペイロード決定手段と、 前記ペイロード決定手段がペイロードをプライベート・
データに決定したときに、前記プライベート・データの
PESパケット長が予め規定したペイロード長より短い
場合には、アダプテーション・フィールドのスタッフィ
ング・バイトで長さ調整を行うようにする長さ調整手段
と、 前記ペイロード決定手段がペイロードをプライベート・
データに決定したときに、プライベート・データが存在
しない場合にはペイロードにパディング・データを詰め
るようにするパディング・データ詰込み手段とを具備す
ることを特徴とするデータ多重化装置。
20. A timing notifying unit for notifying a timing of multiplexing the private data together with the video data and the audio data, and a data amount existing at the time of the timing of the multiplexing being notified from the timing notifying unit. PES packet length determining means for determining the PES packet length of the private data, and generating private data PES packets with the length determined by the PES packet length determining means and multiplexing the private data. Private data PES packet generation means for not generating a private data PES packet when the private data does not exist when the timing is notified, and the timing which receives the notification from the timing notification means. Payload determining means for determining the payload of the transport packet as private data, and the payload determining means determines the payload as private data.
When deciding on data, if the PES packet length of the private data is shorter than the payload length specified in advance, length adjusting means for adjusting the length with the stuffing byte of the adaptation field, Payload determination means that the payload is private
A data multiplexing device comprising padding data packing means for packing the padding data into the payload when private data does not exist when the data is decided.
JP8188693A 1995-06-30 1996-06-28 Data multiplexer Pending JPH0974547A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8188693A JPH0974547A (en) 1995-06-30 1996-06-28 Data multiplexer

Applications Claiming Priority (9)

Application Number Priority Date Filing Date Title
JP18824895 1995-06-30
JP7-188248 1995-06-30
JP18824995 1995-06-30
JP7-188247 1995-06-30
JP7-188250 1995-06-30
JP18824795 1995-06-30
JP7-188249 1995-06-30
JP18825095 1995-06-30
JP8188693A JPH0974547A (en) 1995-06-30 1996-06-28 Data multiplexer

Publications (1)

Publication Number Publication Date
JPH0974547A true JPH0974547A (en) 1997-03-18

Family

ID=27528967

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8188693A Pending JPH0974547A (en) 1995-06-30 1996-06-28 Data multiplexer

Country Status (1)

Country Link
JP (1) JPH0974547A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001041434A1 (en) * 1999-12-01 2001-06-07 Matsushita Electric Industrial Co., Ltd. Information recording apparatus and method, and information recording medium by them
JP2001211452A (en) * 1999-11-16 2001-08-03 Sony United Kingdom Ltd Data processing unit and data processing method
KR100434780B1 (en) * 2002-03-13 2004-06-07 (주) 네오시스트 Method for inserting information data of security still image and method for controlling of DVR system using the same
KR20050039958A (en) * 2003-10-27 2005-05-03 주식회사 대우일렉트로닉스 Digital video recording system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001211452A (en) * 1999-11-16 2001-08-03 Sony United Kingdom Ltd Data processing unit and data processing method
WO2001041434A1 (en) * 1999-12-01 2001-06-07 Matsushita Electric Industrial Co., Ltd. Information recording apparatus and method, and information recording medium by them
US7333713B1 (en) 1999-12-01 2008-02-19 Matsushita Electric Industrial Co., Ltd. Information recording apparatus and method, and information recording medium on which information is recorded by using them
KR100434780B1 (en) * 2002-03-13 2004-06-07 (주) 네오시스트 Method for inserting information data of security still image and method for controlling of DVR system using the same
KR20050039958A (en) * 2003-10-27 2005-05-03 주식회사 대우일렉트로닉스 Digital video recording system

Similar Documents

Publication Publication Date Title
JP3197766B2 (en) MPEG audio decoder, MPEG video decoder and MPEG system decoder
EP0654199B1 (en) Rational input buffer arrangements for auxiliary information in video and audio signal processing systems
US5481543A (en) Rational input buffer arrangements for auxiliary information in video and audio signal processing systems
US6396874B1 (en) Decoding method and apparatus and recording method and apparatus for moving picture data
US7656948B2 (en) Transcoding system and method for maintaining timing parameters before and after performing transcoding process
JP4232209B2 (en) Compressed image data editing apparatus and compressed image data editing method
JP3666625B2 (en) Data recording method and data recording apparatus
US8233780B2 (en) Reproducing apparatus and method, and recording medium
CA2483582C (en) Apparatus and method for decoding data for providing browsable slide show, and data storage medium therefor
EP1206141A2 (en) Digital-broadcast recording/playback apparatus
JPH11317768A (en) Transmission system, transmitting device, recording and reproducing device, and recording device
JP3133630B2 (en) MPEG system decoder
CA2490879C (en) Reproducing apparatus and method, and recording medium
JPH0974547A (en) Data multiplexer
CA2725177C (en) Reproducing apparatus and method, and recording medium
JP2001111610A (en) Receiver for information data transmission system
JP2002112194A (en) Data processing method and device, data transmission system, transmission medium
JP2000187940A (en) Recording/reproducing device and recorder
JP2004158921A (en) Data transmitter and data receiver
JP2004007541A (en) Data multiplexing method and multiplexed data decoding method
JPH10271463A (en) Data multiplexer and method therefor
JP2002112221A (en) Data transmission method and device, data transmission system, transmission medium
JP2001119636A (en) Digital television broadcast receiver
JP2000165863A (en) Data coding decoding device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051227

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060327

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060711

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20061011

A602 Written permission of extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A602

Effective date: 20061016

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070109

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070605