[go: up one dir, main page]

JPH099215A - Data multiplexing method, data transmission method, multiplex data decoding method, multiplex data decoding device - Google Patents

Data multiplexing method, data transmission method, multiplex data decoding method, multiplex data decoding device

Info

Publication number
JPH099215A
JPH099215A JP15287495A JP15287495A JPH099215A JP H099215 A JPH099215 A JP H099215A JP 15287495 A JP15287495 A JP 15287495A JP 15287495 A JP15287495 A JP 15287495A JP H099215 A JPH099215 A JP H099215A
Authority
JP
Japan
Prior art keywords
data
packet
decoding
image
reference time
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
JP15287495A
Other languages
Japanese (ja)
Inventor
Toshiya Takahashi
俊也 高橋
Yoshinori Matsui
義徳 松井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP15287495A priority Critical patent/JPH099215A/en
Priority to US08/666,784 priority patent/US6449352B1/en
Publication of JPH099215A publication Critical patent/JPH099215A/en
Pending legal-status Critical Current

Links

Landscapes

  • Television Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

(57)【要約】 【目的】 画像、音声データを多重、伝送、復号する装
置において、クロックのジッタを少なくし、かつ伝送す
るデータの内容が変化した場合でも、確実に復号できる
データ多重、伝送、復号装置を提供する。 【構成】 1種類以上のデジタルデータを含むパケット
と、復号装置の基準時間信号を含むパケットを多重した
第1のパケット列を入力し、1種類以上のデジタルデー
タを含むパケットと、復号装置の基準時間信号を含むパ
ケットを多重した第2のパケット列を入力し、前記第1
のパケット列と、前記第2のパケット列を多重して第3
のパケット列を出力する場合において、前記第1のパケ
ット列中の基準時間信号を含むパケットと、前記第2の
パケット列中の基準時間信号を含むパケットが一定の時
間以内に入力した場合、前記第1のパケット列中の基準
時間信号を含むパケットから基準時間信号を削除するこ
とを特徴とするデータ多重方法。
(57) [Abstract] [Purpose] In a device for multiplexing, transmitting, and decoding image and audio data, data multiplexing and transmission can be performed to reduce clock jitter and to reliably decode even when the content of data to be transmitted changes. , A decoding device is provided. A packet including one or more kinds of digital data and a packet including a reference time signal of a decoding device are input as a first packet sequence, and a packet including one or more kinds of digital data and a reference of the decoding device are input. A second packet string in which packets including a time signal are multiplexed is input, and the first packet string is input.
Packet sequence and the second packet sequence are multiplexed to produce a third packet sequence.
In the case of outputting the packet sequence of, when the packet including the reference time signal in the first packet sequence and the packet including the reference time signal in the second packet sequence are input within a certain time, A data multiplexing method characterized by deleting a reference time signal from a packet including a reference time signal in a first packet sequence.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、デジタル画像、音声、
デジタルデータ等を多重して伝送する際のデータ多重方
法、データ伝送方法及び多重したデータを復号するため
の復号方法、及び装置に関するものである。
BACKGROUND OF THE INVENTION The present invention relates to digital images, audio,
The present invention relates to a data multiplexing method for multiplexing and transmitting digital data, a data transmission method, a decoding method for decoding multiplexed data, and an apparatus.

【0002】[0002]

【従来の技術】圧縮技術の進歩に伴い、近年、放送、CA
TVなどでデジタル画像、音声サービスが一部実用化され
ている。デジタル画像、音声またその他のデータを伝送
する際には圧縮技術とともに、いかにそれらのデータを
多重するかも重要な課題である。
2. Description of the Related Art In recent years, with the progress of compression technology, broadcasting, CA
Some digital image and voice services have been put to practical use on TVs. When transmitting digital images, voice, and other data, how to multiplex those data as well as compression techniques is an important issue.

【0003】以下図面を参考にしながら、上述したデー
タ多重方法の国際規格であるMPEGデータ多重方法およ
び、多重したデータを復号する多重データ復号装置につ
いて説明する。
An MPEG data multiplexing method, which is an international standard of the above-described data multiplexing method, and a multiplex data decoding apparatus for decoding multiplexed data will be described below with reference to the drawings.

【0004】図11、12、13は従来のMPEG2データ
多重方法の説明図である。図14はMPEG2データ多重方
法で多重したデータを復号する多重データ復号装置のブ
ロック図である。図14において、141は分離部で1
411のバッファ、1412のCPUより構成される。ま
た142はクロック制御部、143は画像デコーダ、1
44は音声デコーダである。図15は分離部のCPU14
12の動作を示すフローチャートである。
11, 12, and 13 are explanatory views of a conventional MPEG2 data multiplexing method. FIG. 14 is a block diagram of a multiplex data decoding apparatus for decoding data multiplexed by the MPEG2 data multiplexing method. In FIG. 14, reference numeral 141 denotes a separating unit.
It is composed of a buffer 411 and a CPU 1412. Further, 142 is a clock control unit, 143 is an image decoder, 1
Reference numeral 44 is an audio decoder. FIG. 15 shows the CPU 14 of the separation unit.
12 is a flowchart showing the operation of No. 12.

【0005】以上のように構成された従来のMPEG2デー
タ多重方法及び多重データ復号装置について、以下その
動作を説明する。
The operation of the conventional MPEG2 data multiplexing method and multiplex data decoding apparatus configured as described above will be described below.

【0006】画像データ、音声データは、画像であれば
フレーム、音声であれば1024など一定のサンプル数(MP
EGでは音声の場合もこれをフレームと呼ぶ)ごとに圧縮
符号化し、1フレームあるいは複数フレームをまとめて
PESパケットと称するパケットを作る。図13がPESパケ
ットのフォーマットの概略で、PESパケットにはヘッダ
がつくが、ヘッダ中には後に続くデータエリアが画像デ
ータか、音声データか、あるいはその他のデータかを示
すストリームID、あるいは特殊再生のためのデータであ
ることを示すトリックモードフラグ等の情報を含んでい
る。PESパケットは後述する複数個の188バイト長のTSパ
ケットに分割して伝送する。
Image data and audio data are composed of a fixed number of samples (MP
In the EG, even in the case of voice, this is also called a frame) and compression-coded for each frame, or one frame or multiple frames
Create a packet called a PES packet. FIG. 13 shows the outline of the PES packet format. A header is attached to the PES packet, but in the header, the stream ID indicating whether the subsequent data area is image data, audio data, or other data, or special reproduction It includes information such as a trick mode flag indicating that the data is for. The PES packet is divided into a plurality of 188-byte-long TS packets, which will be described later, and transmitted.

【0007】図11がTSパケットのフォーマットの概略
である。TSパケットにはそれぞれPIDと呼ぶパケット固
有の番号がついている。PIDはTSパケットごとに異なる
のではなく同じPESパケットは同じPIDを持つ。TSパケッ
トは、図11(b)で示すようにヘッダに続きデータある
いはアダプテーションフィールドと呼ばれる多重化デー
タの分離等に使う情報を送る。アダプテーションフィー
ルドの長さは送る情報によって異なるため、短い場合は
アダプテーションフィールドに続けてデータも送ること
が可能である。TSパケットのPIDは図11(c)のようにヘ
ッダの一部として送る。図11(d)はアダプテーション
フィールドの内容の一部を示した図、図11(e)はアダ
プテーションフィールドの一部のオプションフィールド
の内容の一部を示した説明図である。アダプテーション
フィールドにはオプションフィールドとして図11(e)
のように復号に必要な基準時間クロックPCRを送ること
が可能である。MPEG2では多重装置、分離装置のクロッ
ク周波数を27MHzと定めており、バッファのオーバーフ
ローアンダーフローを防ぐため、多重装置のクロックを
27MHzでカウントした数値、PCRを送っている。分離装置
は受信したPCRから多重装置と同期したクロックを再生
する。このPCRは常に送る必要はなく分離装置の同期に
必要な間隔、例えば0.7秒に1回程度の間隔で送る。従
ってアダプテーションフィールドではオプションフィー
ルドとして、送っても送らなくても良いような構造とな
っている。また、異なったプログラムを送る場合などは
異なった画像エンコーダで符号化する場合が多いので、
基準クロックは一般に異なる。異なったPCRを同一のプ
ログラム番号等で送るときは、アダプテーションフィー
ルドにある不連続フラグを1にし、PCRの不連続点が存
在することを分離装置に知らせる。
FIG. 11 shows an outline of the format of a TS packet. Each TS packet has a packet-specific number called PID. The PID is not different for each TS packet, but the same PES packet has the same PID. As shown in FIG. 11 (b), the TS packet sends information to be used for separating data or multiplexed data called an adaptation field, following the header. Since the length of the adaptation field depends on the information to be sent, if the length is short, it is possible to send data following the adaptation field. The PID of the TS packet is sent as a part of the header as shown in FIG. 11 (c). FIG. 11 (d) is a diagram showing a part of the contents of the adaptation field, and FIG. 11 (e) is an explanatory diagram showing a part of the contents of the optional fields of the adaptation field. The adaptation field is shown in Fig. 11 (e) as an optional field.
It is possible to send the reference time clock PCR necessary for decoding as in. In MPEG2, the clock frequency of the multiplexer and demultiplexer is set to 27MHz, and the clock of the multiplexer is set to prevent overflow underflow of the buffer.
I am sending the PCR, the number counted at 27MHz. The demultiplexer regenerates the clock synchronized with the multiplexer from the received PCR. This PCR does not have to be sent at all times, but is sent at intervals necessary for synchronizing the separation device, for example, once every 0.7 seconds. Therefore, the adaptation field has a structure such that it may or may not be sent as an optional field. Also, when sending different programs, it is often the case that different image encoders encode.
The reference clock is generally different. When sending different PCRs with the same program number or the like, the discontinuity flag in the adaptation field is set to 1 to notify the separator that the PCR discontinuity exists.

【0008】TSパケットのデータ領域には図11で示し
たPESパケットの他にPSIと呼ばれる番組選択の情報を送
ることが可能である。図12がPSIの1つであるプログ
ラムテーブルPMTの構造を示したものである。PMTには伝
送するプログラムの番号を示すプログラム番号、及びそ
のプログラムの再生に必要なPCR、画像データPES、音声
データPES、データPESパケットそれぞれのPIDを多重し
て送る。
In addition to the PES packet shown in FIG. 11, it is possible to send program selection information called PSI to the data area of the TS packet. FIG. 12 shows the structure of the program table PMT which is one of PSI. A program number indicating the number of the program to be transmitted, and PIDs of PCR, image data PES, audio data PES, and data PES packet, which are necessary for reproducing the program, are multiplexed and sent to the PMT.

【0009】図14は以上のように多重化したデータを
受信してデータを再生する従来の多重データ復号装置の
一例である。受信した多重データはまずバッファ141
1で記憶する。CPU1412は図15で示したフローチ
ャートに基づいて動作し、最初に伝送されたデータから
外部から設定したプログラム番号のPMTを探す。PMTを検
出したら、そのPMTからPCR、画像データPES、音声デー
タPES、データPESパケットのPIDを抽出する。次に、受
信データのうちTSパケットのPIDを見て、プログラムを
再生するために必要なTSパケットを抽出する。TSパケッ
トのうちPCRを含んだパケットはクロック制御部142
に送り画像、音声デコーダに必要な基準クロックを再生
する。TSパケットのうち画像、音声のパケットはそれぞ
れのデコーダ143、144に送る。復号部では再生し
た基準クロックを用いて画像、音声データ復号、伸張し
番組を再生することができる(例えば、ISO/IEC JTC1/S
C29N801, "ISO/IEC CD 13818-1: Information technolo
gy - Generic coding of moving pictures and associa
ted audio : Systems", 1994.11)。
FIG. 14 shows an example of a conventional multiplex data decoding apparatus for receiving the data multiplexed as described above and reproducing the data. First, the received multiplexed data is buffer 141
Remember with 1. The CPU 1412 operates based on the flowchart shown in FIG. 15, and searches the first transmitted data for the PMT having the program number set from the outside. When the PMT is detected, the PID of the PCR, the image data PES, the audio data PES, and the data PES packet is extracted from the PMT. Next, looking at the PID of the TS packet in the received data, the TS packet necessary for reproducing the program is extracted. The packet including PCR among the TS packets is the clock control unit 142.
Sends to the picture, reproduces the reference clock required for the audio decoder. The image and audio packets of the TS packets are sent to the respective decoders 143 and 144. The decoding unit can decode the image and audio data using the reproduced reference clock and decompress and reproduce the program (for example, ISO / IEC JTC1 / S
C29N801, "ISO / IEC CD 13818-1: Information technolo
gy-Generic coding of moving pictures and associa
ted audio: Systems ", 1994.11).

【0010】[0010]

【発明が解決しようとする課題】しかしながら、上記の
ような構成のみでは復号装置に種々の問題が生ずる。ま
ず複数のプログラムのTSパケットを多重する際、基準ク
ロックPCRを有するTSパケットがパケット多重の際に衝
突する可能性があり、結果としてPCRパケットの間隔が
ゆらぎジッタとなる。復号装置ではPLLを構成して基準
クロックを再生するが、PCRの間隔が一定値以上になる
とジッタを吸収できず、クロックの再生が不可能にな
る。
However, various problems occur in the decoding device only with the above-mentioned configuration. First, when TS packets of a plurality of programs are multiplexed, TS packets having a reference clock PCR may collide during packet multiplexing, resulting in fluctuation jitter in the PCR packet intervals. In the decoding device, a PLL is used to regenerate the reference clock. However, if the PCR interval exceeds a certain value, the jitter cannot be absorbed and the clock cannot be regenerated.

【0011】また、プログラムの最初や、プログラムが
切り替わった際などPCRが不連続となるが、不連続なパ
ケットが到着する前に図11における不連続フラグが不
連続であることを示す位置になっている保証はない。従
って最悪の場合不連続フラグなしに次の不連続なPCRが
到来し、復号装置は全く異なるPCRに同期しようとする
ため、動作が不安定となる。
Further, PCR becomes discontinuous at the beginning of the program or when the program is switched, but the discontinuity flag in FIG. 11 is at a position indicating discontinuity before the discontinuous packet arrives. There is no guarantee. Therefore, in the worst case, the next discontinuous PCR arrives without the discontinuity flag, and the decoding device tries to synchronize with a completely different PCR, resulting in unstable operation.

【0012】さらに、画像のフレーム周波数やオーディ
オのサンプリング周波数などが変化した場合、復号装置
からの出力クロックも変える必要があるが、一般に同期
を確立するには一定の時間が必要で、サンプリング周波
数が異なったデータを受信した場合、同期系が確立でき
ず出力が乱れる可能性がある。
Further, when the frame frequency of the image or the sampling frequency of the audio changes, the output clock from the decoding device also needs to be changed, but in general, a certain time is required to establish synchronization, and the sampling frequency is If different data is received, the synchronization system cannot be established and the output may be disturbed.

【0013】一方、図13においてPESヘッダ中にはト
リックモードフラグがあり、早送り、静止などのコマン
ドがPESパケットとともに送れるが、復号装置の動作の
明確な規定はなく、確実な動作の保証がない。
On the other hand, in FIG. 13, there is a trick mode flag in the PES header, and commands such as fast forward and still can be sent together with the PES packet, but there is no clear regulation of the operation of the decoding device and there is no guarantee of reliable operation. .

【0014】本発明は上記問題点に鑑み、通常、あるい
は特殊再生時の多重化データ復号装置の動作を確実にす
るデータ多重方法、データ伝送方法、多重データ伝送方
法及び多重データ復号方法、多重データ復号装置を提供
するものである。
In view of the above problems, the present invention provides a data multiplexing method, a data transmission method, a multiple data transmission method, a multiple data decoding method, and multiple data for ensuring the operation of a multiplexed data decoding device in normal or special reproduction. A decoding device is provided.

【0015】[0015]

【課題を解決するための手段】上記問題点を解決するた
めに本発明のデータ多重方法は、1種類以上のデジタル
データを含むパケットと、復号装置の基準時間信号を含
むパケットを多重した第1のパケット列を入力し、1種
類以上のデジタルデータを含むパケットと、復号装置の
基準時間信号を含むパケットを多重した第2のパケット
列を入力し、前記第1のパケット列と、前記第2のパケ
ット列を多重して第3のパケット列を出力する場合にお
いて、前記第1のパケット列中の基準時間信号を含むパ
ケットと、前記第2のパケット列中の基準時間信号を含
むパケットが一定の時間以内に入力した場合、前記第1
のパケット列中の基準時間信号を含むパケットから基準
時間信号を削除する、あるいは、1種類以上のデジタル
データを含むデータパケットと、パケットの内容及びパ
ケットの番号を示すテーブルを含んだテーブルパケット
を多重して多重パケットを生成する場合において、テー
ブルパケットの内容を変更する際、変更したテーブルパ
ケットに対応するデータパケットを送る前に、テーブル
パケットが変更することを示す指示信号及び変更したテ
ーブルパケットを前記多重パケットに多重する、あるい
は、1種類以上のデジタルデータを含むパケットと、復
号装置の基準時間信号を含むパケットを多重する場合に
おいて、前記デジタルデータを含むパケットの前、また
はデジタルデータの内容が不連続な場合、不連続なデジ
タルデータを含むパケットの前、に多重する基準時間信
号のパケットは、基準時間信号が連続していないことを
示す基準時間信号不連続フラグを付与し、前記フラグも
多重するものである。
In order to solve the above problems, the data multiplexing method of the present invention is a first method in which a packet containing one or more kinds of digital data and a packet containing a reference time signal of a decoding device are multiplexed. Input packet sequence, and a second packet sequence in which a packet including one or more types of digital data and a packet including a reference time signal of a decoding device are input, and the first packet sequence and the second packet sequence are input. When the third packet sequence is output by multiplexing the second packet sequence, the packet including the reference time signal in the first packet sequence and the packet including the reference time signal in the second packet sequence are constant. If you enter within the time
The reference time signal is deleted from the packet including the reference time signal in the packet sequence of, or the data packet including one or more kinds of digital data and the table packet including the table indicating the packet content and the packet number are multiplexed. In the case of generating a multiplex packet by changing the contents of the table packet, before sending the data packet corresponding to the changed table packet, an instruction signal indicating that the table packet is changed and the changed table packet are In the case of multiplexing in a multiplex packet, or in the case of multiplexing a packet containing one or more types of digital data and a packet containing the reference time signal of the decoding device, the content of the digital data before the packet containing the digital data or the content of the digital data is incorrect. If continuous, includes discontinuous digital data Packet of the reference time signal to be multiplexed before, the packet is assigned a reference time signal discontinuity flag indicating that the reference time signal is not continuous, the flag is also intended to multiplexing.

【0016】また本発明のデータ多重方法は、音声デー
タ、画像データ及びその他のデジタルデータを含む複数
のパケットを用いて特殊再生する場合において、画像、
または音声データを含むパケットは同一のフレームのデ
ータのみで特殊再生パケットを構成し、前記特殊再生パ
ケットを伝送するものである。また本発明の多重データ
復号方法は、フレームあるいはフィールド内圧縮符号
化、及びフレームあるいはフィールド間圧縮符号化を用
いて圧縮したデジタル画像データを含むパケットを復号
し、前記復号したデータを用いて任意のフレームあるい
はフィールドで静止する際、静止命令信号を受信した時
点で、直前あるいは直後のフレーム内あるいはフィール
ド内圧縮符号化した画像データを復号した画像を静止画
像として表示する、あるいは、圧縮したデジタル画像デ
ータに復号または表示時間を示したフラグを付与したパ
ケットを復号し、前記復号したデータを用いて任意のフ
レームあるいはフィールドで静止する際、静止命令信号
を受信した時点で、時間的に直前あるいは直後のアクセ
ス可能な画像データの復号または表示時間を示したフラ
グを記憶し、静止再開時には前記アクセス可能な画像デ
ータの復号または表示時間を示したフラグを多重装置に
送り、前記アクセス可能な画像データからの復号を再開
するものである。
Further, the data multiplexing method of the present invention, when performing special reproduction using a plurality of packets containing audio data, image data and other digital data,
Alternatively, a packet including audio data constitutes a special reproduction packet only with data of the same frame, and the special reproduction packet is transmitted. In addition, the multiplex data decoding method of the present invention decodes a packet including digital image data compressed using intraframe or intrafield compression coding and interframe or interfield compression coding, and uses the decoded data to determine an arbitrary value. When stationary in a frame or field, at the time of receiving a stationary command signal, the image obtained by decoding the immediately before or immediately after the intraframe or intrafield compression-encoded image data is displayed as a still image, or compressed digital image data When a packet with a flag indicating the decoding or display time is decoded and the still data is stopped in an arbitrary frame or field using the decoded data, the time immediately before or immediately after the still command signal is received. Shows the decoding or display time of accessible image data Storing the lugs, at rest resume sending flag showing decoding or display time of the image data that can be the access multiplexer, is to resume decoding from the accessible image data.

【0017】[0017]

【作用】本発明は上記した構成によって、基準信号PCR
の間隔が一定値以下となるのでクロック再生に支障をき
たすことがない。また、プログラム変更の際にはPMTやP
CRなどを変更した内容のデータに先立ち送出するので復
号装置の動作が確実になる。さらに、特殊再生時には同
一ピクチャのみのデータをPESパケットに構成して復号
装置に送出するため画像が途中で途切れることがない。
画像表示静止時にもフレーム内符号化ピクチャで静止
し、静止したピクチャの時間情報を伝送装置に送ること
によって静止ピクチャの画像データから再送することで
静止終了後も連続した画像を再生することができること
となる。
According to the present invention, the reference signal PCR
Since the interval is less than a certain value, there is no problem in clock recovery. Also, when changing the program, PMT or P
The data of which contents such as CR are changed is sent before the operation of the decoding device. Furthermore, at the time of trick play, the data of only the same picture is formed into a PES packet and is sent to the decoding device, so that the image is not interrupted on the way.
It is possible to reproduce a continuous image even after the end of the still picture by transmitting the time information of the still picture to the transmission device and retransmitting it from the image data of the still picture even when the image display is still. Becomes

【0018】[0018]

【実施例】以下本発明の第1の実施例におけるデータ多
重方法について、図面を参照しながら説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A data multiplexing method according to a first embodiment of the present invention will be described below with reference to the drawings.

【0019】図1は本発明の第1の実施例におけるデー
タ多重装置のブロック図である。図1において1は第1
のデータ多重部でクロック生成回路11、CPU12、バ
ッファ13よりなる。2は第2のデータ多重部、3は第
2のデータ多重部で、両方とも第1のデータ多重部と同
じ構成をとっている。図2は第3のデータ多重部におけ
るCPU32の動作の一部を示す説明図である。
FIG. 1 is a block diagram of a data multiplexer in the first embodiment of the present invention. In FIG. 1, 1 is the first
The data multiplexing unit of the above comprises a clock generation circuit 11, a CPU 12, and a buffer 13. Reference numeral 2 is a second data multiplexing unit, and 3 is a second data multiplexing unit, both of which have the same configuration as the first data multiplexing unit. FIG. 2 is an explanatory diagram showing a part of the operation of the CPU 32 in the third data multiplexing unit.

【0020】以上のように構成されたデータ多重装置に
おけるデータ多重方法について図1、図2を用いて説明
する。
A data multiplexing method in the data multiplexing apparatus configured as described above will be described with reference to FIGS. 1 and 2.

【0021】多重化する画像データ、音声データ、その
他のデータは、それぞれ画像エンコーダ14、音声エン
コーダ15、データエンコーダ16で圧縮符号化し従来
例における図13のようなPESパケットにして第1、第
2のデータ多重部に入力する。第1、第2のデータ多重
部1、2では画像、音声、データの同期及び多重データ
復号装置でのバッファのオーバーフロー、アンダーフロ
ーが生じないようにPESパケットからTSパケットに変換
しつつ多重化する。データ多重部1とデータ多重部2の
出力はデータ多重部3で更に多重化する。これは例えば
データ多重部1と2の出力がそれぞれ4Mbpsで、両者を8
Mbpsの伝送路に送出する場合などを想定している。デー
タ多重部3は図2に示すように、データ多重部1及びデ
ータ多重部2からTSパケットを210、211で入力
し、それぞれの入力を例えば交互に多重化して出力す
る。その際問題になるのは、双方のパケットが同時に多
重データ復号装置で必要となる基準クロックPCRを含ん
でいる場合である。多重データ復号装置の設計をしやす
くするために基準クロックPCRの揺らぎはある一定値以
下に抑えることが望ましく従来例に引用した例では30pp
m以下となっている。ところが多重部1と2のTSパケッ
トが同時にデータ多重部3に入力した場合、多重化のた
めに1TSパケットのずれが生じ、結果としてPCRが揺らい
でしまう。そこで本実施例ではあらかじめ頻繁に基準ク
ロックPCRを多重データ中に挿入しておき、衝突した際
は図2のフローチャート212、215にあるように多
重部1の入力側のTSパケットに含まれるPCRフィールド
を消去してしまう。PCRフィールドはオプションであり
消去してもなんら影響はない。PCRを含むパケットの間
隔は若干延びることとなるが、あらかじめ頻繁に挿入し
ているため多重データ復号装置の動作に支障はきたさな
い。
Image data, audio data, and other data to be multiplexed are compression-encoded by an image encoder 14, an audio encoder 15, and a data encoder 16, respectively, to form PES packets as shown in FIG. Input to the data multiplexing section of. The first and second data multiplexers 1 and 2 perform multiplexing while converting PES packets into TS packets so that image, audio and data synchronization and buffer overflow and underflow do not occur in the multiplex data decoding device. . The outputs of the data multiplexer 1 and the data multiplexer 2 are further multiplexed by the data multiplexer 3. This is because, for example, the output of the data multiplexers 1 and 2 is 4 Mbps, and both are 8
It is assumed that the data will be sent to the Mbps transmission line. As shown in FIG. 2, the data multiplexing unit 3 inputs TS packets from the data multiplexing unit 1 and the data multiplexing unit 2 at 210 and 211, and multiplexes the respective inputs alternately and outputs them. The problem then arises when both packets simultaneously contain the reference clock PCR required by the multiplex data decoder. In order to facilitate the design of the multiplex data decoder, it is desirable to suppress the fluctuation of the reference clock PCR to a certain value or less, and in the example cited in the conventional example, 30pp
It is less than m. However, when the TS packets of the multiplexing units 1 and 2 are input to the data multiplexing unit 3 at the same time, a shift of 1 TS packet occurs due to multiplexing, and as a result, PCR fluctuates. Therefore, in this embodiment, the reference clock PCR is frequently inserted in the multiplexed data in advance, and when a collision occurs, the PCR field included in the TS packet on the input side of the multiplexing unit 1 as shown in the flowcharts 212 and 215 of FIG. Will be erased. The PCR field is optional and deleting it has no effect. Although the interval of the packet including the PCR will be slightly extended, it does not hinder the operation of the multiplex data decoding device because it is frequently inserted in advance.

【0022】以上のように本実施例によれば多重データ
復号装置の基準クロックPCRに悪影響を及ぼさないデー
タ多重が実現できる。
As described above, according to this embodiment, data multiplexing that does not adversely affect the reference clock PCR of the multiplex data decoding device can be realized.

【0023】図3は本発明の第2の実施例におけるデー
タ多重方法の説明図、図4は多重データ復号方法の説明
図である。図3のフローチャートは図1における第1の
データ多重部1のCPU12の動作を示している。また、図
4は図14における多重データ復号装置141のCPU141
1の動作を示す説明図である。以下図3、4を用いて説
明する。
FIG. 3 is an explanatory diagram of a data multiplexing method in the second embodiment of the present invention, and FIG. 4 is an explanatory diagram of a multiplexed data decoding method. The flowchart in FIG. 3 shows the operation of the CPU 12 of the first data multiplexing unit 1 in FIG. Further, FIG. 4 shows the CPU 141 of the multiplex data decoding device 141 in FIG.
FIG. 3 is an explanatory diagram showing the operation of 1. This will be described below with reference to FIGS.

【0024】データ多重部1において通常動作時はPMT、
PCRを適切なタイミングで送出し、さらに画像、音声、
データのPESパケットを適切なタイミングでTS変換し、
多重して送出する動作を繰り返す。
In the data multiplexer 1 during normal operation, PMT,
Send PCR at the right time, and
TS conversion of data PES packet at appropriate timing,
The operation of multiplex transmission is repeated.

【0025】一方プログラムの開始時は、多重データ復
号装置は多重装置と同期が取れていないので基準時間PC
Rを含んだパケットを送る必要がある。PCRパケットを送
ると復号装置は送られてきたPCRに基づいて同期を試み
る。プログラムの開始時は復号装置とは全く無関係のPC
Rが送られてくるため同期に時間がかかる。そこで図3
における319のようにPCRが不連続であることを示すP
CR不連続フラグを1にセットする。復号装置では不連続
フラグが1であることを検知すると送られてきたPCRと
の同期を試みるのではなく、送られてきたPCR値をセッ
トし次のPCRを待つ。従って同期までの時間が短縮され
ることとなる。また、以上の動作はプログラムの開始時
だけでなく、内容変更があり基準時間PCRが変わる際に
も有効である。
On the other hand, at the start of the program, since the multiplex data decoding device is not synchronized with the multiplex device, the reference time PC
It is necessary to send a packet containing R. When the PCR packet is sent, the decoding device attempts synchronization based on the PCR sent. PC that is completely unrelated to the decryption device when the program starts
Since R is sent, it takes time to synchronize. So Fig. 3
P indicating that the PCR is discontinuous like 319 in
Set the CR discontinuity flag to 1. When the decoding device detects that the discontinuity flag is 1, it does not attempt to synchronize with the sent PCR, but sets the sent PCR value and waits for the next PCR. Therefore, the time until the synchronization is shortened. Further, the above operation is effective not only at the start of the program but also when the reference time PCR changes due to a change in content.

【0026】次に、プログラム開始時にはプログラムと
PIDの関係を表すPMTを送る必要がある。その際、図3に
おける321のように最初にPMTの有効フラグを0にセ
ットにした上で新しいパケット番号PIDに基づいたテー
ブルを作成する(322)。PMTの有効フラグが0であ
ると多重データ復号装置はそのPMTが無効として、一般
的にはそのPMTを使わない。次に有効フラグが1のPMTが
来るとそのPMTを用いて復号を行う。従来例のMPEG2規格
ではプログラムの変更と、PMT有効フラグの使用方法の
明確な規定はない。従ってPMTの有効フラグを1にセッ
トしたまま異なるPMTを送ることも可能である。しかし
ながら、一般の復号装置は、PMTが変更し、変更したPMT
から復号に必要なTSパケットのPIDを求め、所望のPIDを
持つTSパケットの伝送データ中からの抽出を開始すると
いった一連の動作には一定の時間が必要である。結果と
して、変更したPMTを受信した直後のパケットは正確に
抽出することができず一部のデータが失われてしまい、
画像、音声が一瞬とぎれることがある。そこで本発明で
は、新しいPMTを送出する前、すなわちプログラムの開
始時、あるいはプログラムの内容変更時には必ずPMTの
有効フラグ0を付与した上で新しい内容に対応したPMT
を送出する。
Next, when starting the program,
It is necessary to send a PMT that represents the PID relationship. At that time, as in 321 in FIG. 3, the validity flag of the PMT is first set to 0, and then a table based on the new packet number PID is created (322). When the valid flag of PMT is 0, the multiplex data decoding apparatus invalidates the PMT and generally does not use the PMT. Next, when a PMT with a valid flag of 1 comes, decoding is performed using the PMT. In the MPEG2 standard of the conventional example, there is no clear regulation of the program change and the method of using the PMT valid flag. Therefore, it is possible to send different PMTs with the PMT valid flag set to 1. However, in general decoding devices, the PMT changes and the changed PMT
A certain period of time is required for a series of operations such as obtaining the PID of the TS packet required for decoding from, and starting extraction of the TS packet having the desired PID from the transmission data. As a result, the packet immediately after receiving the modified PMT cannot be extracted accurately and some data is lost,
Images and sounds may be interrupted for a moment. Therefore, in the present invention, before sending a new PMT, that is, when the program is started or when the content of the program is changed, the PMT valid flag 0 is always added and then the PMT corresponding to the new content is added.
Is sent.

【0027】多重データ復号装置は、図4のフローチャ
ート46、47に示したように有効フラグ0を有したPM
Tを受信した場合、PMTから必要なPIDを求め、プログラ
ム開始時は、復号に必要なPIDを有したパケットの抽出
を準備する、すなわちPMTを更新し、次に有効フラグ1
を有したPMTに続くPIDから抽出を開始する。また、プロ
グラムの内容が途中で変更する場合、有効フラグ0を有
したPMTを受信した際、現在有効なPIDの抽出を続けると
同時にPMTを新しいPMTで更新し、次に有効フラグ1を有
したPMTに続くPIDから新しい内容に対応したPIDを有す
るTSパケットの抽出を開始する。
The multiplex data decoding apparatus has the PM having the valid flag 0 as shown in the flow charts 46 and 47 of FIG.
When T is received, the required PID is obtained from the PMT, and at the start of the program, the packet having the PID necessary for decoding is prepared for extraction, that is, the PMT is updated, and then the valid flag 1 is set.
Extraction starts from the PID that follows the PMT with. Also, when the contents of the program change in the middle, when the PMT having the valid flag 0 is received, the extraction of the currently valid PID is continued, the PMT is updated with the new PMT, and then the valid flag 1 is provided. The extraction of the TS packet having the PID corresponding to the new content is started from the PID following the PMT.

【0028】以上のように、有効フラグ0を有したPMT
を実際に有効なPMTに先立ち送出することで、復号装置
に遅延があってもPIDの抽出抜けはなく、画像、音声が
途切れることなく再生可能となる。
As described above, the PMT having the valid flag 0
Is transmitted prior to actually valid PMT, even if there is a delay in the decoding device, there is no PID extraction omission, and video and audio can be played back without interruption.

【0029】また、画像におけるフレーム周波数、音声
におけるサンプリング周波数は復号装置の出力周波数及
び動作を決める周波数で、これらのもととなるクロック
は受信した基準クロックPCRから一般的には生成する。
音声におけるエンファシス特性も出力音声を変化させ、
その特性自体を設定する必要があり、これらの設定変更
には一定の時間が必要である。従ってこれらの特性が変
化したデータを連続して送ると、設定に要する時間に受
信したパケットのデータを正確に復号することが不可能
となる。そこで本発明では、図3において323、32
4、325、326、327、328で示すように、変
化するデータを送出する前に、PMTのデスクリプタと呼
ばれる領域中に変化後の画像のフレーム周波数、音声に
サンプリング周波数もしくはエンファシス特性を記述し
て送出する。以上のようなデータを送出することで、復
号装置はクロック、あるいは特性を実際のデータを受信
する前に変えることが可能となるため、変化したデータ
を受信しても正常な復号が可能となる。
Further, the frame frequency in the image and the sampling frequency in the audio are frequencies that determine the output frequency and operation of the decoding device, and the clock that is the basis of these is generally generated from the received reference clock PCR.
Emphasis characteristics in voice also change the output voice,
It is necessary to set the characteristics themselves, and changing these settings requires a certain amount of time. Therefore, if the data whose characteristics are changed is continuously sent, it becomes impossible to accurately decode the data of the packet received in the time required for the setting. Therefore, in the present invention, in FIG.
As shown by 4, 325, 326, 327, and 328, before sending the changing data, describe the frame frequency of the changed image in the area called the descriptor of the PMT, the sampling frequency or the emphasis characteristic in the audio. Send out. By transmitting the data as described above, the decoding device can change the clock or the characteristics before receiving the actual data, and thus the normal decoding can be performed even if the changed data is received. .

【0030】図5、図6は本発明の第3の実施例におけ
るデータ多重方法を示す説明図である。以下、図5、図
6を用いて説明する。
FIGS. 5 and 6 are explanatory views showing a data multiplexing method in the third embodiment of the present invention. This will be described below with reference to FIGS. 5 and 6.

【0031】画像のPESパケットは図5(a)に示したよう
に1つのパケット内に複数のピクチャが含まれている可
能性がある。ここでピクチャとは、MPEG画像圧縮におい
てフレームあるいはフィールドを指す。フレームかフィ
ールドかは、圧縮符号化の方法によって異なる。図5
(a)では2つのピクチャのデータが同一パケットに含ま
れている。早送り、スロー、静止などの特殊再生を行う
場合、図13に示したように、PESヘッダ中にある早送
り等の動作をデータ復号装置に知らせるトリックモード
フラグをセットして画像データとともに送る。これらの
フラグを読んで、復号装置はバッファ制御、画面制御を
行う。通常、これらの特殊再生動作はフレームあるいは
フィールド、すなわちピクチャ単位で制御する。ところ
が図5(a)の用にPESパケット内に1ピクチャ以上のデー
タが混在すると、復号装置にバッファをおき、2つのPE
Sパケットから1ピクチャ分のデータを構成し直すとい
った操作が必要となる。そこで本発明では、図5(a)の
ようなPESパケットを図5(b)のように伝送前に1ピクチ
ャ1パケットに構成しなおしてから伝送する。図6は、
前記動作を実現するフローチャートで、例えば図1にお
ける第1のデータ多重部1のCPU12のアルゴリズムとし
て用いる。CPUの動作としては特殊再生を要求する信号
の入力があった場合、まず64で1ピクチャが1PESパケ
ットで構成されているかどうかを確認し、そうでなけれ
ば66、67、68でPESヘッダの位置をピクチャヘッ
ダの直前になるように更新する。
The PES packet of an image may include a plurality of pictures in one packet as shown in FIG. 5 (a). Here, a picture refers to a frame or field in MPEG image compression. Whether it is a frame or a field depends on the compression encoding method. FIG.
In (a), the data of two pictures are included in the same packet. When performing special reproduction such as fast-forward, slow-motion, still, etc., as shown in FIG. 13, a trick mode flag in the PES header for informing the data decoding device of the operation such as fast-forward is set and sent together with the image data. By reading these flags, the decoding device performs buffer control and screen control. Usually, these trick play operations are controlled in units of frames or fields, that is, pictures. However, when data of one picture or more is mixed in the PES packet for the case of FIG.
It is necessary to reconstruct the data for one picture from the S packet. Therefore, in the present invention, the PES packet as shown in FIG. 5 (a) is reconfigured into one picture / one packet before transmission as shown in FIG. 5 (b) and then transmitted. FIG.
It is used as an algorithm of the CPU 12 of the first data multiplexing unit 1 in FIG. 1 in the flowchart for realizing the above operation. As for the operation of the CPU, when a signal requesting trick play is input, first check at 64 whether one picture consists of one PES packet, and if not, at 66, 67, 68 the position of the PES header. To be immediately before the picture header.

【0032】上記動作により、1パケット中には同一ピ
クチャしか含まれないこととなり、トリックモードフラ
グとピクチャデータとの対応が明確になると同時に、複
雑な復号装置の動作、またはハードウェアが不要とな
る。
With the above operation, only one picture is included in one packet, the correspondence between the trick mode flag and the picture data is clarified, and at the same time, complicated operation of the decoding device or hardware is not required. .

【0033】なお以上の実施例では、画像データについ
てのみ説明したが音声データでも同様の動作が有効であ
る。ただし音声データの場合はピクチャではなく圧縮符
号化の単位を示すフレームとなる。
Although only the image data has been described in the above embodiments, the same operation is effective for the audio data. However, in the case of audio data, it is not a picture but a frame indicating a unit of compression encoding.

【0034】図7は本発明の第4の実施例における多重
データ復号方法を示す説明図、図8は多重データの内容
を示す説明図である。以下、図7、図8を用いて説明す
る。
FIG. 7 is an explanatory diagram showing a multiplex data decoding method in the fourth embodiment of the present invention, and FIG. 8 is an explanatory diagram showing the contents of multiplex data. This will be described below with reference to FIGS. 7 and 8.

【0035】今、多重データのうちの画像データが図8
で示したようにフレーム内符号化ピクチャ(Iピクチ
ャ)、前方予測フレーム間符号化ピクチャ(Pピクチ
ャ)、両方向予測フレーム間符号化ピクチャ(Bピクチ
ャ)で構成されているとする。Iピクチャはそれ自身の
みで復号できるのに対し、Pピクチャはその前に伝送し
たIピクチャ、Bピクチャはその前に伝送したI及びPピク
チャがないと復号できない。図8ではBピクチャに続きI
1、B0、P3、B2の順で伝送している。復号は伝送順序で
行うが、表示は最初のBピクチャを無視すると、B0、I
1、B2、P3のように順序が逆転する。また、上記のよう
な手法で画像圧縮符号化する際、一般にI、Pピクチャの
画質を良く、Bピクチャの画質を若干悪くする方が全体
の画質が上がることが知られている。
Now, the image data of the multiplexed data is shown in FIG.
As described above, it is assumed that the frame is composed of an intra-frame coded picture (I picture), a forward prediction inter-frame coded picture (P picture), and a bidirectionally predicted inter-frame coded picture (B picture). The I picture can be decoded by itself, whereas the P picture cannot be decoded without the previously transmitted I picture and the B picture without the previously transmitted I and P pictures. In FIG. 8, I follows B picture
1, B0, P3, B2 are transmitted in this order. Decoding is done in transmission order, but the display is B0, I
The order is reversed like 1, B2, P3. It is also known that, when image compression encoding is performed by the above-described method, it is generally preferable that the image quality of I and P pictures is good and the image quality of B picture is slightly deteriorated.

【0036】特殊再生時に画像を静止する際、以上の理
由からBピクチャ以外で静止した方が画質の良い画像が
得られる。また、静止解除の際、同じフレームから開始
する方が望ましい。上記のようなデータを伝送する際、
それ自身で復号できるIピクチャの前にシーケンスヘッ
ダを入れるなどしてランダムアクセス可能にすることが
一般的である。従って、Iピクチャからのアクセスすな
わち静止再開は比較的容易である。
When the image is stopped during special reproduction, an image with better image quality can be obtained by stopping the image other than the B picture for the above reason. Further, it is desirable to start from the same frame when releasing the stillness. When transmitting the above data,
It is common to put a sequence header in front of an I-picture that can be decoded by itself to enable random access. Therefore, access from the I picture, that is, resumption of stillness, is relatively easy.

【0037】以上の動作を図14におけるデータ復号装
置のCPU1412のフローチャートで示したのが図7であ
る。図7では72で、IピクチャのDTS(デコードタイム
スタンプ:デコード時間を基準時間PCRで表したもの)
を常に記憶しておく。静止信号を入力した際、76でI
ピクチャが表示されたかどうかを確認し、表示した時点
で画像表示更新を止め、静止する。その後、80で最後
に記憶したIピクチャ、すなわち現在静止表示しているI
ピクチャ、のDTSをデータ多重装置に送る。多重装置で
は、復号装置から送られたDTSをもとに現在静止表示し
ているIピクチャを決定し、静止終了とともにDTSに該当
するIピクチャから送信を開始する。復号装置では、Iピ
クチャの次の最初のPピクチャの間にあるBピクチャは、
Iピクチャの前のIあるいはPピクチャがないと復号でき
ないため、前記Bピクチャの復号、表示はせず、Iピクチ
ャの復号、表示から開始する。以上の動作により、静止
したIピクチャから途切れることなく静止終了時に連続
して再生することが可能となる。
FIG. 7 shows the above operation in a flowchart of the CPU 1412 of the data decoding apparatus in FIG. In FIG. 7, at 72, the DTS of the I picture (decoding time stamp: the decoding time is represented by the reference time PCR)
Always remember. When a stationary signal is input, I at 76
Check if the picture is displayed and stop updating the image display when the picture is displayed and stop the picture. After that, at 80, the last I picture stored, that is, the I that is currently displayed still
The DTS of the picture is sent to the data multiplexer. In the multiplexing device, the I picture currently displayed still is determined based on the DTS sent from the decoding device, and the transmission is started from the I picture corresponding to the DTS at the end of the stillness. In the decoding device, the B picture between the first P picture after the I picture is
Since decoding cannot be performed without an I or P picture before the I picture, the B picture is not decoded and displayed, but the I picture is decoded and displayed. By the above operation, it is possible to continuously reproduce the still I-pictures at the end of stillness without interruption.

【0038】図9は本発明の第5の実施例における多重
データ復号方法を示す説明図である。第4の実施例と異
なるのは92で静止信号が入力した時点で95のように
表示更新をやめ現在表示している画像をそのまま表示し
続けることである。静止終了した時点で、現在受信して
いるデータを解析し、Iピクチャから復号を再開する。
本実施例によれば、同じピクチャから再生することは不
可能であるがデータ多重装置にDTSを送る必要がなく、
システム全体を安価に構成することができる。
FIG. 9 is an explanatory view showing a multiplex data decoding method in the fifth embodiment of the present invention. The difference from the fourth embodiment is that at 92, when the still signal is input, the display update is stopped as at 95 and the currently displayed image continues to be displayed as it is. At the time of the end of stillness, the currently received data is analyzed and decoding is restarted from the I picture.
According to this embodiment, it is impossible to reproduce from the same picture, but it is not necessary to send DTS to the data multiplexer,
The entire system can be constructed at low cost.

【0039】なお、以上の実施例では現在表示している
画像で静止するとしたが、これに限る物ではなく第4の
実施例のようにIピクチャで静止するようにしても良
い。
In the above embodiment, the image currently displayed is assumed to be still, but the present invention is not limited to this, and it is also possible to use an I picture as in the fourth embodiment.

【0040】図10は本発明の第6の実施例における多
重データ復号方法を示す説明図である。本実施例が第
4、第5の実施例と異なるのは、静止信号入力時に表示を
停止するのではなく105で示したように入力を停止す
る点である。一般に画像デコーダは入力がなくなると表
示可能な最後の画像をそのまま表示し続ける。従って復
号装置の入力を停止することにより、画像が静止するこ
ととなる。また、入力の最後の画像がIまたはPピクチャ
の時、それらのピクチャは画質が良いためそのピクチャ
を静止画として利用するのが望ましいが、伝送順序でI
またはPに続くBピクチャ、すなわち表示順序でIまたはP
ピクチャの前のBピクチャがないため、入力の最後のIま
たはPピクチャを表示せずにそれ以前に送られたBピクチ
ャで静止してしまう。本実施例では図10における10
6、107、108のように最後に入力したピクチャが
IまたはPの場合、デコード時間を示すDTSや表示時間を
示すPTSを無視してIまたはPピクチャを表示してから静
止するようにする。
FIG. 10 is an explanatory diagram showing a multiplex data decoding method in the sixth embodiment of the present invention. This example is first
The difference from the fourth and fifth embodiments is that the display is not stopped when the still signal is input, but the input is stopped as shown by 105. Generally, the image decoder continues to display the last displayable image as it is when there is no input. Therefore, by stopping the input of the decoding device, the image becomes still. Also, when the last input image is an I or P picture, it is desirable to use that picture as a still image because those pictures have good image quality.
B picture following P or P, that is I or P in display order
Since there is no B picture before the picture, the last I or P picture of the input is not displayed and the B picture sent before that is stopped. In this embodiment, 10 in FIG.
The last input picture like 6, 107, 108
In the case of I or P, the DTS indicating the decoding time and the PTS indicating the display time are ignored and the I or P picture is displayed and then stopped.

【0041】以上の動作により、表示系に新しいハード
ウェアを追加せず復号装置の入力のみを変えることによ
って静止の特殊再生が実現できることとなる。
With the above operation, still special reproduction can be realized by changing only the input of the decoding device without adding new hardware to the display system.

【0042】[0042]

【発明の効果】以上のように本発明は、基準時間PCRの
ジッタを一定値以下に抑えるので復号装置の動作に支障
をきたすことがない。また、プログラム変更の際にはPM
TやPCRなどを変更した内容のデータに先立ち送出するの
で復号装置の動作が確実になる。さらに、特殊再生時に
は同一ピクチャのみのデータをPESパケットに構成して
復号装置に送出するため画像が途中で途切れることがな
い。画像表示静止時にもフレーム内符号化ピクチャで静
止し、静止したピクチャの時間情報を伝送装置に送るこ
とによって静止ピクチャの画像データから再送すること
で静止終了後も連続した画像を再生することが可能とな
る。
As described above, according to the present invention, the jitter of the reference time PCR is suppressed to a certain value or less, so that the operation of the decoding device is not hindered. When changing the program, PM
Since the data with changed contents such as T and PCR is transmitted prior to the data, the operation of the decoding device is ensured. Furthermore, at the time of trick play, the data of only the same picture is formed into a PES packet and is sent to the decoding device, so that the image is not interrupted on the way. It is possible to play back a continuous image even after the end of stillness by retransmitting from the image data of the still picture by sending the time information of the still picture to the transmission device by stillness in the intra-coded picture even when the image display is still Becomes

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

【図1】本発明の第1の実施例におけるデータ多重装置
のブロック図
FIG. 1 is a block diagram of a data multiplexing apparatus according to a first embodiment of the present invention.

【図2】本発明の第1の実施例における第3のデータ多
重部におけるCPU32の動作の一部を示す説明図
FIG. 2 is an explanatory diagram showing a part of the operation of the CPU 32 in the third data multiplexing unit in the first embodiment of the present invention.

【図3】本発明の第2の実施例におけるデータ多重方法
の説明図
FIG. 3 is an explanatory diagram of a data multiplexing method according to a second embodiment of the present invention.

【図4】本発明の第2の実施例多重データ復号方法の説
明図
FIG. 4 is an explanatory diagram of a second embodiment multiplex data decoding method of the present invention.

【図5】本発明の第3の実施例におけるデータ多重方法
を示す説明図
FIG. 5 is an explanatory diagram showing a data multiplexing method according to a third embodiment of the present invention.

【図6】本発明の第3の実施例におけるデータ多重方法
を示す説明図
FIG. 6 is an explanatory diagram showing a data multiplexing method according to a third embodiment of the present invention.

【図7】本発明の第4の実施例における多重データ復号
方法を示す説明図
FIG. 7 is an explanatory diagram showing a multiplexed data decoding method according to a fourth embodiment of the present invention.

【図8】本発明の第4の実施例における多重データの内
容を示す説明図
FIG. 8 is an explanatory diagram showing the contents of multiplexed data according to the fourth embodiment of the present invention.

【図9】本発明の第5の実施例における多重データ復号
方法を示す説明図
FIG. 9 is an explanatory diagram showing a multiplexed data decoding method according to a fifth embodiment of the present invention.

【図10】本発明の第6の実施例における多重データ復
号方法を示す説明図
FIG. 10 is an explanatory diagram showing a multiplex data decoding method according to the sixth embodiment of the present invention.

【図11】従来の多重データ伝送方法の説明図FIG. 11 is an explanatory diagram of a conventional multiplex data transmission method.

【図12】従来の多重データ伝送方法の説明図FIG. 12 is an explanatory diagram of a conventional multiplex data transmission method.

【図13】従来の多重データ伝送方法の説明図FIG. 13 is an explanatory diagram of a conventional multiplex data transmission method.

【図14】従来のデータ多重方法で多重したデータを復
号する多重データ復号装置のブロック図
FIG. 14 is a block diagram of a multiplex data decoding device that decodes data multiplexed by a conventional data multiplexing method.

【図15】従来の多重データ復号装置におけるCPUの動
作を示す説明図
FIG. 15 is an explanatory diagram showing the operation of the CPU in the conventional multiplex data decoding device.

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

1 第1のデータ多重部 2 第2のデータ多重部 3 第3のデータ多重部部 11 クロック生成回路 12 CPU 13 バッファ 14 画像エンコーダ 15 音声エンコーダ 16 データエンコーダ 21 画像エンコーダ 22 音声エンコーダ 23 データエンコーダ 1 1st data multiplex part 2 2nd data multiplex part 3 3rd data multiplex part 11 Clock generation circuit 12 CPU 13 Buffer 14 Image encoder 15 Audio encoder 16 Data encoder 21 Image encoder 22 Audio encoder 23 Data encoder

Claims (15)

【特許請求の範囲】[Claims] 【請求項1】1種類以上のデジタルデータを含むパケッ
トと、復号装置の基準時間信号を含むパケットを多重し
た第1のパケット列を入力し、1種類以上のデジタルデ
ータを含むパケットと、復号装置の基準時間信号を含む
パケットを多重した第2のパケット列を入力し、前記第
1のパケット列と、前記第2のパケット列を多重して第
3のパケット列を出力する場合において、前記第1のパ
ケット列中の基準時間信号を含むパケットと、前記第2
のパケット列中の基準時間信号を含むパケットが一定の
時間以内に入力した場合、前記第1のパケット列中の基
準時間信号を含むパケットから基準時間信号を削除する
ことを特徴とするデータ多重方法。
1. A packet including one or more types of digital data and a packet including a packet including a reference time signal of a decoding device, which is input, and a packet including one or more types of digital data, and a decoding device. In the case of inputting a second packet sequence in which a packet including the reference time signal of 1 is input, and outputting the third packet sequence by multiplexing the first packet sequence and the second packet sequence, A packet including a reference time signal in one packet sequence;
If the packet including the reference time signal in the packet sequence of 1 is input within a fixed time, the reference time signal is deleted from the packet including the reference time signal in the first packet sequence. .
【請求項2】1種類以上のデジタルデータを含むデータ
パケットと、パケットの内容及びパケットの番号を示す
テーブルを含んだテーブルパケットを多重して多重パケ
ットを生成する場合において、テーブルパケットの内容
を変更する際、変更したテーブルパケットに対応するデ
ータパケットを送る前に、テーブルパケットが変更する
ことを示す指示信号及び変更したテーブルパケットを前
記多重パケットに多重することを特徴とするデータ多重
方法。
2. When a data packet including one or more types of digital data and a table packet including a table indicating packet contents and packet numbers are multiplexed to generate a multiplexed packet, the contents of the table packet are changed. In this case, before sending the data packet corresponding to the changed table packet, an instruction signal indicating that the table packet is changed and the changed table packet are multiplexed in the multiplex packet.
【請求項3】請求項2記載の多重パケットを受信して1
種類以上のデジタルデータを含むデータパケットを分離
する際、テーブルパケットが変更することを示す指示信
号を受信した場合、前記指示信号を受信する前のテーブ
ルパケットで示されたデータパケットと、指示信号を受
信した後のテーブルパケットで示されたデータパケット
の双方を一定時間選択して受信することを特徴とする多
重データ復号方法。
3. When receiving the multiplex packet according to claim 2, 1
When separating the data packet including the digital data of the types or more, when the instruction signal indicating that the table packet is changed is received, the data packet indicated by the table packet before receiving the instruction signal and the instruction signal are A multiplex data decoding method characterized in that both of the data packets indicated by the table packet after being received are selected and received for a certain period of time.
【請求項4】1種類以上のデジタルデータを含むパケッ
トと、復号装置の基準時間信号を含むパケットを多重す
る場合において、前記デジタルデータを含むパケットの
前に多重する基準時間信号のパケットは、基準時間信号
が連続していないことを示す基準時間信号不連続フラグ
を付与し、前記フラグも多重することを特徴とするデー
タ多重方法。
4. When a packet containing one or more kinds of digital data and a packet containing a reference time signal of a decoding device are multiplexed, the packet of the reference time signal to be multiplexed before the packet containing the digital data is a reference A data multiplexing method, wherein a reference time signal discontinuity flag indicating that the time signals are not continuous is added, and the flag is also multiplexed.
【請求項5】1種類以上のデジタルデータを含むパケッ
トと、復号装置の基準時間信号を含むパケットを多重す
る場合において、前記デジタルデータの内容が不連続な
場合、前記不連続点の直後に送出する基準時間信号のパ
ケットは、基準時間信号が連続していないことを示す基
準時間信号不連続フラグを付与し、前記フラグも多重す
ることを特徴とするデータ多重方法。
5. When a packet containing one or more kinds of digital data and a packet containing a reference time signal of a decoding device are multiplexed, if the content of the digital data is discontinuous, it is sent immediately after the discontinuity point. The packet of the reference time signal to be provided is provided with a reference time signal discontinuity flag indicating that the reference time signal is not continuous, and the flag is also multiplexed.
【請求項6】音声データまたは画像データを含む複数の
パケットを多重する場合において、前記音声データまた
は画像データのサンプリング周波数が変化した場合、変
化したサンプリング周波数を記述したパケットを、前記
変化したサンプリング周波数でサンプリングしたデータ
を含むパケットよりも時間的に前に多重することを特徴
とするデータ多重方法。
6. When a plurality of packets containing audio data or image data are multiplexed, if the sampling frequency of the audio data or image data changes, the packet describing the changed sampling frequency is replaced with the changed sampling frequency. A data multiplexing method characterized in that the data is sampled in time before the packet containing the sampled data.
【請求項7】音声データを含む複数のパケットを伝送す
る場合において、前記音声データのエンファシス特性が
変化した場合、エンファシス特性が変化したことを示す
フラグ、またはエンファシス特性そのものを記述したエ
ンファシス特性データを記述したパケットを、前記変化
したエンファシス特性を有する音声データを含むパケッ
トよりも時間的に前に送ることを特徴とするデータ多重
方法。
7. When transmitting a plurality of packets containing voice data, when the emphasis characteristic of the voice data changes, a flag indicating that the emphasis characteristic has changed, or emphasis characteristic data describing the emphasis characteristic itself is transmitted. A data multiplexing method, characterized in that the described packet is sent in time before the packet containing the voice data having the changed emphasis characteristic.
【請求項8】音声データ、画像データ及びその他のデジ
タルデータを含む複数のパケットを用いて特殊再生する
場合において、画像データを含むパケットは同一のフレ
ームのデータのみで特殊再生パケットを構成し、前記特
殊再生パケットを伝送することを特徴とするデータ伝送
方法。
8. When performing special reproduction using a plurality of packets containing audio data, image data and other digital data, the packet containing image data constitutes a special reproduction packet only with data of the same frame. A data transmission method characterized by transmitting a special reproduction packet.
【請求項9】圧縮符号化の単位であるフレームにより構
成した音声データのパケットを用いて特殊再生する場合
において、前記音声データパケットを、同一のフレーム
のデータのみで特殊再生パケットを構成し、前記特殊再
生パケットを伝送することを特徴とするデータ伝送方
法。
9. When performing special reproduction using a packet of audio data composed of a frame which is a unit of compression encoding, the special reproduction packet is composed of only the data of the same frame for the audio data packet, A data transmission method characterized by transmitting a special reproduction packet.
【請求項10】請求項1、2、4、5、6、7、8、9
のいずれかに記載のデータ多重方法、あるいは伝送方法
で多重あるいは伝送したデータを受信して、画像もしく
は音声またはその他のデジタルデータを復号、再生する
多重データ復号方法。
10. Claims 1, 2, 4, 5, 6, 7, 8, 9
Or a multiplex data decoding method for receiving data multiplexed or transmitted by the data multiplexing method according to any one of 1 to 3, and decoding and reproducing image or sound or other digital data.
【請求項11】圧縮したデジタル画像データを含むパケ
ットを復号し、前記復号したデータを用いて任意のフレ
ームで静止する際、静止命令信号を受信した時点で、表
示している画像を更新せず静止させ、静止画像を表示す
ることを特徴とする多重データ復号方法。
11. When a packet containing compressed digital image data is decoded and the decoded data is used to freeze at an arbitrary frame, the displayed image is not updated at the time of receiving a still command signal. A multiplex data decoding method characterized in that a still image is displayed and the still image is displayed.
【請求項12】フレームあるいはフィールド内圧縮符号
化、及びフレームあるいはフィールド間圧縮符号化を用
いて圧縮したデジタル画像データを含むパケットを復号
し、前記復号したデータを用いて任意のフレームあるい
はフィールドで静止する際、静止命令信号を受信した時
点で、直前あるいは直後のフレーム内あるいはフィール
ド内圧縮符号化した画像データを復号した画像を静止画
像として表示することを特徴とする多重データ復号方
法。
12. A packet containing digital image data compressed using intraframe or field compression encoding and frame or interfield compression encoding is decoded, and the decoded data is used to freeze at any frame or field. In this case, when the still command signal is received, an image obtained by decoding the immediately before or immediately after the intra-frame or intra-field compression-encoded image data is displayed as a still image.
【請求項13】圧縮したデジタル画像データに復号また
は表示時間を示したフラグを付与したパケットを復号
し、前記復号したデータを用いて任意のフレームあるい
はフィールドで静止する際、静止命令信号を受信した時
点で、時間的に直前あるいは直後のアクセス可能な画像
データの復号または表示時間を示したフラグを記憶し、
静止再開時には前記アクセス可能な画像データの復号ま
たは表示時間を示したフラグを多重装置に送り、前記ア
クセス可能な画像データからの復号を再開することを特
徴とする多重データ復号方法。
13. A still command signal is received when a packet in which a flag indicating decoding or display time is added to compressed digital image data is decoded and the decoded data is used to stop at an arbitrary frame or field. At this point, a flag indicating the decoding or display time of the immediately accessible or immediately accessible image data is stored,
A method for decoding multiple data, wherein at the time of resumption of stillness, a flag indicating a decoding or display time of the accessible image data is sent to a multiplexer to restart the decoding from the accessible image data.
【請求項14】圧縮したデジタル画像データを含むパケ
ットを復号し、前記復号したデータを用いて任意のフレ
ームあるいはフィールドで静止する際、静止命令信号を
受信した時点で、復号装置への入力を停止することを特
徴とする多重データ復号方法。
14. When a packet including compressed digital image data is decoded, and the decoded data is used to stop at an arbitrary frame or field, input to a decoding device is stopped at the time of receiving a still command signal. A multiplex data decoding method characterized by:
【請求項15】圧縮したデジタル画像データを含むパケ
ットを復号し、前記復号したデータを用いて任意のフレ
ームあるいはフィールドで静止する際、静止命令信号を
受信した時点で、復号装置への入力を停止した場合にお
いて、停止前の最後の入力画像データが復号可能である
際、復号不能な画像を表示せず前記復号可能な画像を静
止画として表示することを特徴とする多重データ復号装
置。
15. When a packet including compressed digital image data is decoded, and the decoded data is used to stop at an arbitrary frame or field, the input to the decoding device is stopped at the time of receiving a still command signal. In this case, when the last input image data before the stop is decodable, the decodable image is not displayed and the decodable image is displayed as a still image.
JP15287495A 1995-06-20 1995-06-20 Data multiplexing method, data transmission method, multiplex data decoding method, multiplex data decoding device Pending JPH099215A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP15287495A JPH099215A (en) 1995-06-20 1995-06-20 Data multiplexing method, data transmission method, multiplex data decoding method, multiplex data decoding device
US08/666,784 US6449352B1 (en) 1995-06-20 1996-06-19 Packet generating method, data multiplexing method using the same, and apparatus for coding and decoding of the transmission data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15287495A JPH099215A (en) 1995-06-20 1995-06-20 Data multiplexing method, data transmission method, multiplex data decoding method, multiplex data decoding device

Related Child Applications (2)

Application Number Title Priority Date Filing Date
JP2003100014A Division JP2003284069A (en) 2003-04-03 2003-04-03 Multiplex data decoding method and multiple data decoding device
JP2003100013A Division JP3671969B2 (en) 2003-04-03 2003-04-03 Data multiplexing method and multiple data decoding method

Publications (1)

Publication Number Publication Date
JPH099215A true JPH099215A (en) 1997-01-10

Family

ID=15550012

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15287495A Pending JPH099215A (en) 1995-06-20 1995-06-20 Data multiplexing method, data transmission method, multiplex data decoding method, multiplex data decoding device

Country Status (1)

Country Link
JP (1) JPH099215A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6377588B1 (en) 1997-11-25 2002-04-23 Nec Corporation Method and apparatus for reducing jitter of a program clock reference in a transport stream of MPEG over ATM, and MPEG decoder
WO2005032131A1 (en) * 2003-09-29 2005-04-07 Victor Company Of Japan, Limited Encoding apparatus and method, recording apparatus and method, and decoding apparatus and method
US6912218B1 (en) 1999-10-01 2005-06-28 Samsung Electronics Co., Ltd. MPEG transport stream encoder and method for encoding MPEG transport stream
JP2006301442A (en) * 2005-04-22 2006-11-02 Sony Corp Multiplexing device, multiplexing method, program, and recording medium

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6377588B1 (en) 1997-11-25 2002-04-23 Nec Corporation Method and apparatus for reducing jitter of a program clock reference in a transport stream of MPEG over ATM, and MPEG decoder
KR100323322B1 (en) * 1997-11-25 2002-05-13 가네코 히사시 Method and apparatus for reducing jitter of program clock reference in MPEG transport stream on ATM, and MPEG decoder
US6912218B1 (en) 1999-10-01 2005-06-28 Samsung Electronics Co., Ltd. MPEG transport stream encoder and method for encoding MPEG transport stream
WO2005032131A1 (en) * 2003-09-29 2005-04-07 Victor Company Of Japan, Limited Encoding apparatus and method, recording apparatus and method, and decoding apparatus and method
GB2425671A (en) * 2003-09-29 2006-11-01 Victor Company Of Japan Encoding apparatus and method,recording apparatus and method, and decoding apparatus and method
GB2425671B (en) * 2003-09-29 2007-12-27 Victor Company Of Japan Encoding apparatus and method, recording apparatus and method, and decoding apparatus and method
JP2006301442A (en) * 2005-04-22 2006-11-02 Sony Corp Multiplexing device, multiplexing method, program, and recording medium
WO2006115163A1 (en) * 2005-04-22 2006-11-02 Sony Corporation Multiplexing device and multiplexing method, program, recording medium
US7688822B2 (en) 2005-04-22 2010-03-30 Sony Corporation Multiplexing device and multiplexing method, program, recording medium
US7974281B2 (en) 2005-04-22 2011-07-05 Sony Corporation Multiplexer and multiplexing method, program, and recording medium
CN101164103B (en) 2005-04-22 2011-12-21 索尼株式会社 Multiplexing device and multiplexing method

Similar Documents

Publication Publication Date Title
US7412149B2 (en) Trick mode generation in video streaming
KR101350754B1 (en) Method for reducing channel change times and synchronizing audio/video content during channel change
US6449352B1 (en) Packet generating method, data multiplexing method using the same, and apparatus for coding and decoding of the transmission data
US20090116814A1 (en) Reproducer, portable telephone, and reproducing method
KR101132043B1 (en) Decoder and decoding method
JPWO2013136754A1 (en) Display device and transmission device
JP2001513606A (en) Processing coded video
JP2007189688A (en) Codec change method and apparatus for playback of video and / or audio data streams encoded using different codecs in the same channel
JP2007012218A (en) Player, video decoder and synchronizing playback method
JP4933145B2 (en) Network receiver
CN100416689C (en) Reproducing device and method, and recording medium
JP4613860B2 (en) MPEG encoded stream decoding apparatus
JP4096915B2 (en) Digital information reproducing apparatus and method
US8254764B2 (en) Recording apparatus, image reproducing apparatus, and special reproduction method therefor
JPH099215A (en) Data multiplexing method, data transmission method, multiplex data decoding method, multiplex data decoding device
JP4192766B2 (en) Receiving apparatus and method, recording medium, and program
KR20060099687A (en) Apparatus and method for video synchronization using timestamps
JP3350365B2 (en) Video synchronization signal correction device
JP3671969B2 (en) Data multiplexing method and multiple data decoding method
JP4763589B2 (en) Playback device and playback method thereof
JP2003284069A (en) Multiplex data decoding method and multiple data decoding device
JP3689440B2 (en) Playback device
JP2823806B2 (en) Image decoding device
KR100266311B1 (en) Method and apparatus for forward and reverse playback of MPG system streams
JP5016335B2 (en) Playback apparatus and playback method