JP2004007541A - Data multiplexing method and multiplexed data decoding method - Google Patents

Data multiplexing method and multiplexed data decoding method Download PDF

Info

Publication number
JP2004007541A
JP2004007541A JP2003100013A JP2003100013A JP2004007541A JP 2004007541 A JP2004007541 A JP 2004007541A JP 2003100013 A JP2003100013 A JP 2003100013A JP 2003100013 A JP2003100013 A JP 2003100013A JP 2004007541 A JP2004007541 A JP 2004007541A
Authority
JP
Japan
Prior art keywords
packet
data
multiplexing
multiplexed
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.)
Granted
Application number
JP2003100013A
Other languages
Japanese (ja)
Other versions
JP3671969B2 (en
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 JP2003100013A priority Critical patent/JP3671969B2/en
Publication of JP2004007541A publication Critical patent/JP2004007541A/en
Application granted granted Critical
Publication of JP3671969B2 publication Critical patent/JP3671969B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an apparatus for multiplexing, transmitting and decoding image and audio data capable of surely decoding the data even when contents of the transmitted data are changed by reducing jitter of a clock signal. <P>SOLUTION: The data multiplexing method is characterized in that when a first packet stream multiplexing a packet including digital data of a kind or more with a packet including a reference time signal of the decoding apparatus is received: a second packet stream multiplexing a packet including digital data of a kind or more with a packet including the reference time signal of the decoding apparatus is received; and a third packet stream resulting from multiplexing the first packet stream with the second packet stream is outputted; and when the packet including the reference time signal in the first packet stream and the packet including the reference time signal in the second packet stream are received within a prescribed time, the reference time signal is deleted from the packet including the reference time signal in the first packet stream. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、デジタル画像、音声、デジタルデータ等を多重して伝送する際のデータ多重方法、データ伝送方法及び多重したデータを復号するための復号方法、及び装置に関するものである。
【0002】
【従来の技術】
圧縮技術の進歩に伴い、近年、放送、CATVなどでデジタル画像、音声サービスが一部実用化されている。デジタル画像、音声またその他のデータを伝送する際には圧縮技術とともに、いかにそれらのデータを多重するかも重要な課題である。
【0003】
以下図面を参考にしながら、上述したデータ多重方法の国際規格であるMPEGデータ多重方法および、多重したデータを復号する多重データ復号装置について説明する。
【0004】
図11、12、13は従来のMPEG2データ多重方法の説明図である。図14はMPEG2データ多重方法で多重したデータを復号する多重データ復号装置のブロック図である。図14において、141は分離部で1411のバッファ、1412のCPUより構成される。また142はクロック制御部、143は画像デコーダ、144は音声デコーダである。図15は分離部のCPU1412の動作を示すフローチャートである。
【0005】
以上のように構成された従来のMPEG2データ多重方法及び多重データ復号装置について、以下その動作を説明する。
【0006】
画像データ、音声データは、画像であればフレーム、音声であれば1024など一定のサンプル数(MPEGでは音声の場合もこれをフレームと呼ぶ)ごとに圧縮符号化し、1フレームあるいは複数フレームをまとめてPESパケットと称するパケットを作る。図13がPESパケットのフォーマットの概略で、PESパケットにはヘッダがつくが、ヘッダ中には後に続くデータエリアが画像データか、音声データか、あるいはその他のデータかを示すストリームID、あるいは特殊再生のためのデータであることを示すトリックモードフラグ等の情報を含んでいる。PESパケットは後述する複数個の188バイト長のTSパケットに分割して伝送する。
【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の不連続点が存在することを分離装置に知らせる。
【0008】
TSパケットのデータ領域には図11で示したPESパケットの他にPSIと呼ばれる番組選択の情報を送ることが可能である。図12がPSIの1つであるプログラムテーブルPMTの構造を示したものである。PMTには伝送するプログラムの番号を示すプログラム番号、及びそのプログラムの再生に必要なPCR、画像データPES、音声データPES、データPESパケットそれぞれのPIDを多重して送る。
【0009】
図14は以上のように多重化したデータを受信してデータを再生する従来の多重データ復号装置の一例である。受信した多重データはまずバッファ1411で記憶する。CPU1412は図15で示したフローチャートに基づいて動作し、最初に伝送されたデータから外部から設定したプログラム番号のPMTを探す。PMTを検出したら、そのPMTからPCR、画像データPES、音声データPES、データPESパケットのPIDを抽出する。次に、受信データのうちTSパケットのPIDを見て、プログラムを再生するために必要なTSパケットを抽出する。TSパケットのうちPCRを含んだパケットはクロック制御部142に送り画像、音声デコーダに必要な基準クロックを再生する。TSパケットのうち画像、音声のパケットはそれぞれのデコーダ143、144に送る。復号部では再生した基準クロックを用いて画像、音声データ復号、伸張し番組を再生することができる(例えば、ISO/IEC JTC1/SC29 N801, &quot;ISO/IEC CD 13818−1: Information technology − Generic coding of moving pictures and associated audio : Systems&quot;, 1994.11)。
【0010】
【発明が解決しようとする課題】
しかしながら、上記のような構成のみでは復号装置に種々の問題が生ずる。まず複数のプログラムのTSパケットを多重する際、基準クロックPCRを有するTSパケットがパケット多重の際に衝突する可能性があり、結果としてPCRパケットの間隔がゆらぎジッタとなる。復号装置ではPLLを構成して基準クロックを再生するが、PCRの間隔が一定値以上になるとジッタを吸収できず、クロックの再生が不可能になる。
【0011】
また、プログラムの最初や、プログラムが切り替わった際などPCRが不連続となるが、不連続なパケットが到着する前に図11における不連続フラグが不連続であることを示す位置になっている保証はない。従って最悪の場合不連続フラグなしに次の不連続なPCRが到来し、復号装置は全く異なるPCRに同期しようとするため、動作が不安定となる。
【0012】
さらに、画像のフレーム周波数やオーディオのサンプリング周波数などが変化した場合、復号装置からの出力クロックも変える必要があるが、一般に同期を確立するには一定の時間が必要で、サンプリング周波数が異なったデータを受信した場合、同期系が確立できず出力が乱れる可能性がある。
【0013】
一方、図13においてPESヘッダ中にはトリックモードフラグがあり、早送り、静止などのコマンドがPESパケットとともに送れるが、復号装置の動作の明確な規定はなく、確実な動作の保証がない。
【0014】
本発明は上記問題点に鑑み、通常、あるいは特殊再生時の多重化データ復号装置の動作を確実にするデータ多重方法、データ伝送方法、多重データ伝送方法及び多重データ復号方法、多重データ復号装置を提供するものである。
【0015】
【課題を解決するための手段】
上記問題点を解決するために本発明のデータ多重方法は、1種類以上のデジタルデータを含むパケットと、復号装置の基準時間信号を含むパケットを多重した第1のパケット列を入力し、1種類以上のデジタルデータを含むパケットと、復号装置の基準時間信号を含むパケットを多重した第2のパケット列を入力し、前記第1のパケット列と、前記第2のパケット列を多重して第3のパケット列を出力する場合において、前記第1のパケット列中の基準時間信号を含むパケットと、前記第2のパケット列中の基準時間信号を含むパケットが一定の時間以内に入力した場合、前記第1のパケット列中の基準時間信号を含むパケットから基準時間信号を削除する、あるいは、1種類以上のデジタルデータを含むデータパケットと、パケットの内容及びパケットの番号を示すテーブルを含んだテーブルパケットを多重して多重パケットを生成する場合において、テーブルパケットの内容を変更する際、変更したテーブルパケットに対応するデータパケットを送る前に、テーブルパケットが変更することを示す指示信号及び変更したテーブルパケットを前記多重パケットに多重する、あるいは、1種類以上のデジタルデータを含むパケットと、復号装置の基準時間信号を含むパケットを多重する場合において、前記デジタルデータを含むパケットの前、またはデジタルデータの内容が不連続な場合、不連続なデジタルデータを含むパケットの前、に多重する基準時間信号のパケットは、基準時間信号が連続していないことを示す基準時間信号不連続フラグを付与し、前記フラグも多重するものである。
【0016】
また本発明のデータ多重方法は、音声データ、画像データ及びその他のデジタルデータを含む複数のパケットを用いて特殊再生する場合において、画像、または音声データを含むパケットは同一のフレームのデータのみで特殊再生パケットを構成し、前記特殊再生パケットを伝送するものである。また本発明の多重データ復号方法は、フレームあるいはフィールド内圧縮符号化、及びフレームあるいはフィールド間圧縮符号化を用いて圧縮したデジタル画像データを含むパケットを復号し、前記復号したデータを用いて任意のフレームあるいはフィールドで静止する際、静止命令信号を受信した時点で、直前あるいは直後のフレーム内あるいはフィールド内圧縮符号化した画像データを復号した画像を静止画像として表示する、あるいは、圧縮したデジタル画像データに復号または表示時間を示したフラグを付与したパケットを復号し、前記復号したデータを用いて任意のフレームあるいはフィールドで静止する際、静止命令信号を受信した時点で、時間的に直前あるいは直後のアクセス可能な画像データの復号または表示時間を示したフラグを記憶し、静止再開時には前記アクセス可能な画像データの復号または表示時間を示したフラグを多重装置に送り、前記アクセス可能な画像データからの復号を再開するものである。
【0017】
(作用)
本発明は上記した構成によって、基準信号PCRの間隔が一定値以下となるのでクロック再生に支障をきたすことがない。また、プログラム変更の際にはPMTやPCRなどを変更した内容のデータに先立ち送出するので復号装置の動作が確実になる。さらに、特殊再生時には同一ピクチャのみのデータをPESパケットに構成して復号装置に送出するため画像が途中で途切れることがない。画像表示静止時にもフレーム内符号化ピクチャで静止し、静止したピクチャの時間情報を伝送装置に送ることによって静止ピクチャの画像データから再送することで静止終了後も連続した画像を再生することができることとなる。
【0018】
【発明の実施の形態】
以下本発明の第1の実施例におけるデータ多重方法について、図面を参照しながら説明する。
【0019】
図1は本発明の第1の実施例におけるデータ多重装置のブロック図である。図1において1は第1のデータ多重部でクロック生成回路11、CPU12、バッファ13よりなる。2は第2のデータ多重部、3は第2のデータ多重部で、両方とも第1のデータ多重部と同じ構成をとっている。図2は第3のデータ多重部におけるCPU32の動作の一部を示す説明図である。
【0020】
以上のように構成されたデータ多重装置におけるデータ多重方法について図1、図2を用いて説明する。
【0021】
多重化する画像データ、音声データ、その他のデータは、それぞれ画像エンコーダ14、音声エンコーダ15、データエンコーダ16で圧縮符号化し従来例における図13のようなPESパケットにして第1、第2のデータ多重部に入力する。第1、第2のデータ多重部1、2では画像、音声、データの同期及び多重データ復号装置でのバッファのオーバーフロー、アンダーフローが生じないようにPESパケットからTSパケットに変換しつつ多重化する。データ多重部1とデータ多重部2の出力はデータ多重部3で更に多重化する。これは例えばデータ多重部1と2の出力がそれぞれ4Mbpsで、両者を8Mbpsの伝送路に送出する場合などを想定している。データ多重部3は図2に示すように、データ多重部1及びデータ多重部2からTSパケットを210、211で入力し、それぞれの入力を例えば交互に多重化して出力する。その際問題になるのは、双方のパケットが同時に多重データ復号装置で必要となる基準クロックPCRを含んでいる場合である。多重データ復号装置の設計をしやすくするために基準クロックPCRの揺らぎはある一定値以下に抑えることが望ましく従来例に引用した例では30ppm以下となっている。ところが多重部1と2のTSパケットが同時にデータ多重部3に入力した場合、多重化のために1TSパケットのずれが生じ、結果としてPCRが揺らいでしまう。そこで本実施例ではあらかじめ頻繁に基準クロックPCRを多重データ中に挿入しておき、衝突した際は図2のフローチャート212、215にあるように多重部1の入力側のTSパケットに含まれるPCRフィールドを消去してしまう。PCRフィールドはオプションであり消去してもなんら影響はない。PCRを含むパケットの間隔は若干延びることとなるが、あらかじめ頻繁に挿入しているため多重データ復号装置の動作に支障はきたさない。
【0022】
以上のように本実施例によれば多重データ復号装置の基準クロックPCRに悪影響を及ぼさないデータ多重が実現できる。
【0023】
図3は本発明の第2の実施例におけるデータ多重方法の説明図、図4は多重データ復号方法の説明図である。図3のフローチャートは図1における第1のデータ多重部1のCPU12の動作を示している。また、図4は図14における多重データ復号装置141のCPU1411の動作を示す説明図である。以下図3、4を用いて説明する。
【0024】
データ多重部1において通常動作時はPMT、PCRを適切なタイミングで送出し、さらに画像、音声、データのPESパケットを適切なタイミングでTS変換し、多重して送出する動作を繰り返す。
【0025】
一方プログラムの開始時は、多重データ復号装置は多重装置と同期が取れていないので基準時間PCRを含んだパケットを送る必要がある。PCRパケットを送ると復号装置は送られてきたPCRに基づいて同期を試みる。プログラムの開始時は復号装置とは全く無関係のPCRが送られてくるため同期に時間がかかる。そこで図3における319のようにPCRが不連続であることを示すPCR不連続フラグを1にセットする。復号装置では不連続フラグが1であることを検知すると送られてきたPCRとの同期を試みるのではなく、送られてきたPCR値をセットし次のPCRを待つ。従って同期までの時間が短縮されることとなる。また、以上の動作はプログラムの開始時だけでなく、内容変更があり基準時間PCRが変わる際にも有効である。
【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を送出する。
【0027】
多重データ復号装置は、図4のフローチャート46、47に示したように有効フラグ0を有したPMTを受信した場合、PMTから必要なPIDを求め、プログラム開始時は、復号に必要なPIDを有したパケットの抽出を準備する、すなわちPMTを更新し、次に有効フラグ1を有したPMTに続くPIDから抽出を開始する。また、プログラムの内容が途中で変更する場合、有効フラグ0を有したPMTを受信した際、現在有効なPIDの抽出を続けると同時にPMTを新しいPMTで更新し、次に有効フラグ1を有したPMTに続くPIDから新しい内容に対応したPIDを有するTSパケットの抽出を開始する。
【0028】
以上のように、有効フラグ0を有したPMTを実際に有効なPMTに先立ち送出することで、復号装置に遅延があってもPIDの抽出抜けはなく、画像、音声が途切れることなく再生可能となる。
【0029】
また、画像におけるフレーム周波数、音声におけるサンプリング周波数は復号装置の出力周波数及び動作を決める周波数で、これらのもととなるクロックは受信した基準クロックPCRから一般的には生成する。音声におけるエンファシス特性も出力音声を変化させ、その特性自体を設定する必要があり、これらの設定変更には一定の時間が必要である。従ってこれらの特性が変化したデータを連続して送ると、設定に要する時間に受信したパケットのデータを正確に復号することが不可能となる。そこで本発明では、図3において323、324、325、326、327、328で示すように、変化するデータを送出する前に、PMTのデスクリプタと呼ばれる領域中に変化後の画像のフレーム周波数、音声にサンプリング周波数もしくはエンファシス特性を記述して送出する。以上のようなデータを送出することで、復号装置はクロック、あるいは特性を実際のデータを受信する前に変えることが可能となるため、変化したデータを受信しても正常な復号が可能となる。
【0030】
図5、図6は本発明の第3の実施例におけるデータ多重方法を示す説明図である。以下、図5、図6を用いて説明する。
【0031】
画像のPESパケットは図5(a)に示したように1つのパケット内に複数のピクチャが含まれている可能性がある。ここでピクチャとは、MPEG画像圧縮においてフレームあるいはフィールドを指す。フレームかフィールドかは、圧縮符号化の方法によって異なる。図5(a)では2つのピクチャのデータが同一パケットに含まれている。早送り、スロー、静止などの特殊再生を行う場合、図13に示したように、PESヘッダ中にある早送り等の動作をデータ復号装置に知らせるトリックモードフラグをセットして画像データとともに送る。これらのフラグを読んで、復号装置はバッファ制御、画面制御を行う。通常、これらの特殊再生動作はフレームあるいはフィールド、すなわちピクチャ単位で制御する。ところが図5(a)の用にPESパケット内に1ピクチャ以上のデータが混在すると、復号装置にバッファをおき、2つのPESパケットから1ピクチャ分のデータを構成し直すといった操作が必要となる。そこで本発明では、図5(a)のようなPESパケットを図5(b)のように伝送前に1ピクチャ1パケットに構成しなおしてから伝送する。図6は、前記動作を実現するフローチャートで、例えば図1における第1のデータ多重部1のCPU12のアルゴリズムとして用いる。CPUの動作としては特殊再生を要求する信号の入力があった場合、まず64で1ピクチャが1PESパケットで構成されているかどうかを確認し、そうでなければ66、67、68でPESヘッダの位置をピクチャヘッダの直前になるように更新する。
【0032】
上記動作により、1パケット中には同一ピクチャしか含まれないこととなり、トリックモードフラグとピクチャデータとの対応が明確になると同時に、複雑な復号装置の動作、またはハードウェアが不要となる。
【0033】
なお以上の実施例では、画像データについてのみ説明したが音声データでも同様の動作が有効である。ただし音声データの場合はピクチャではなく圧縮符号化の単位を示すフレームとなる。
【0034】
図7は本発明の第4の実施例における多重データ復号方法を示す説明図、図8は多重データの内容を示す説明図である。以下、図7、図8を用いて説明する。
【0035】
今、多重データのうちの画像データが図8で示したようにフレーム内符号化ピクチャ(Iピクチャ)、前方予測フレーム間符号化ピクチャ(Pピクチャ)、両方向予測フレーム間符号化ピクチャ(Bピクチャ)で構成されているとする。Iピクチャはそれ自身のみで復号できるのに対し、Pピクチャはその前に伝送したIピクチャ、Bピクチャはその前に伝送したI及びPピクチャがないと復号できない。図8ではBピクチャに続きI1、B0、P3、B2の順で伝送している。復号は伝送順序で行うが、表示は最初のBピクチャを無視すると、B0、I1、B2、P3のように順序が逆転する。また、上記のような手法で画像圧縮符号化する際、一般にI、Pピクチャの画質を良く、Bピクチャの画質を若干悪くする方が全体の画質が上がることが知られている。
【0036】
特殊再生時に画像を静止する際、以上の理由からBピクチャ以外で静止した方が画質の良い画像が得られる。また、静止解除の際、同じフレームから開始する方が望ましい。上記のようなデータを伝送する際、それ自身で復号できるIピクチャの前にシーケンスヘッダを入れるなどしてランダムアクセス可能にすることが一般的である。従って、Iピクチャからのアクセスすなわち静止再開は比較的容易である。
【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ピクチャから途切れることなく静止終了時に連続して再生することが可能となる。
【0038】
図9は本発明の第5の実施例における多重データ復号方法を示す説明図である。第4の実施例と異なるのは92で静止信号が入力した時点で95のように表示更新をやめ現在表示している画像をそのまま表示し続けることである。静止終了した時点で、現在受信しているデータを解析し、Iピクチャから復号を再開する。本実施例によれば、同じピクチャから再生することは不可能であるがデータ多重装置にDTSを送る必要がなく、システム全体を安価に構成することができる。
【0039】
なお、以上の実施例では現在表示している画像で静止するとしたが、これに限る物ではなく第4の実施例のようにIピクチャで静止するようにしても良い。
【0040】
図10は本発明の第6の実施例における多重データ復号方法を示す説明図である。本実施例が第4、第5の実施例と異なるのは、静止信号入力時に表示を停止するのではなく105で示したように入力を停止する点である。一般に画像デコーダは入力がなくなると表示可能な最後の画像をそのまま表示し続ける。従って復号装置の入力を停止することにより、画像が静止することとなる。また、入力の最後の画像がIまたはPピクチャの時、それらのピクチャは画質が良いためそのピクチャを静止画として利用するのが望ましいが、伝送順序でIまたはPに続くBピクチャ、すなわち表示順序でIまたはPピクチャの前のBピクチャがないため、入力の最後のIまたはPピクチャを表示せずにそれ以前に送られたBピクチャで静止してしまう。本実施例では図10における106、107、108のように最後に入力したピクチャがIまたはPの場合、デコード時間を示すDTSや表示時間を示すPTSを無視してIまたはPピクチャを表示してから静止するようにする。
【0041】
以上の動作により、表示系に新しいハードウェアを追加せず復号装置の入力のみを変えることによって静止の特殊再生が実現できることとなる。
【0042】
【発明の効果】
以上のように本発明は、基準時間PCRのジッタを一定値以下に抑えるので復号装置の動作に支障をきたすことがない。また、プログラム変更の際にはPMTやPCRなどを変更した内容のデータに先立ち送出するので復号装置の動作が確実になる。さらに、特殊再生時には同一ピクチャのみのデータをPESパケットに構成して復号装置に送出するため画像が途中で途切れることがない。画像表示静止時にもフレーム内符号化ピクチャで静止し、静止したピクチャの時間情報を伝送装置に送ることによって静止ピクチャの画像データから再送することで静止終了後も連続した画像を再生することが可能となる。
【図面の簡単な説明】
【図1】本発明の第1の実施例におけるデータ多重装置のブロック図
【図2】本発明の第1の実施例における第3のデータ多重部におけるCPU32の動作の一部を示す説明図
【図3】本発明の第2の実施例におけるデータ多重方法の説明図
【図4】本発明の第2の実施例多重データ復号方法の説明図
【図5】本発明の第3の実施例におけるデータ多重方法を示す説明図
【図6】本発明の第3の実施例におけるデータ多重方法を示す説明図
【図7】本発明の第4の実施例における多重データ復号方法を示す説明図
【図8】本発明の第4の実施例における多重データの内容を示す説明図
【図9】本発明の第5の実施例における多重データ復号方法を示す説明図
【図10】本発明の第6の実施例における多重データ復号方法を示す説明図
【図11】従来の多重データ伝送方法の説明図
【図12】従来の多重データ伝送方法の説明図
【図13】従来の多重データ伝送方法の説明図
【図14】従来のデータ多重方法で多重したデータを復号する多重データ復号装置のブロック図
【図15】従来の多重データ復号装置におけるCPUの動作を示す説明図
【符号の説明】
1 第1のデータ多重部
2 第2のデータ多重部
3 第3のデータ多重部部
11 クロック生成回路
12 CPU
13 バッファ
14 画像エンコーダ
15 音声エンコーダ
16 データエンコーダ
21 画像エンコーダ
22 音声エンコーダ
23 データエンコーダ
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a data multiplexing method, a data transmission method, a decoding method for decoding multiplexed data, and an apparatus for multiplexing and transmitting digital images, sounds, digital data, and the like.
[0002]
[Prior art]
With the advance of compression technology, digital image and audio services have been partially put to practical use in broadcasting and CATV in recent years. When transmitting digital images, audio, and other data, it is also an important issue how to multiplex the data together with the compression technology.
[0003]
Hereinafter, an MPEG data multiplexing method, which is an international standard of the above-described data multiplexing method, and a multiplexed data decoding device for decoding multiplexed data will be described with reference to the drawings.
[0004]
FIGS. 11, 12, and 13 are explanatory diagrams of a conventional MPEG2 data multiplexing method. FIG. 14 is a block diagram of a multiplexed data decoding device for decoding data multiplexed by the MPEG2 data multiplexing method. In FIG. 14, reference numeral 141 denotes a separation unit which includes a buffer 1411 and a CPU 1412. Reference numeral 142 denotes a clock control unit; 143, an image decoder; and 144, an audio decoder. FIG. 15 is a flowchart illustrating the operation of the CPU 1412 of the separation unit.
[0005]
The operation of the conventional MPEG2 data multiplexing method and multiplexed data decoding device configured as described above will be described below.
[0006]
The image data and the audio data are compression-coded for each fixed number of samples such as a frame for an image and 1024 for an audio (the audio is also called a frame in MPEG), and one frame or a plurality of frames are collectively collected. Create a packet called a PES packet. FIG. 13 shows an outline of the format of the PES packet. A header is attached to the PES packet, and the header includes a stream ID indicating whether the subsequent data area is image data, audio data, or other data, or special reproduction. For example, information such as a trick mode flag indicating that the data is data for the second mode is included. The PES packet is divided into a plurality of TS packets having a length of 188 bytes and transmitted.
[0007]
FIG. 11 shows the 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 transmits information 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 transmitted, if the length is short, data can be transmitted following the adaptation field. The PID of the TS packet is sent as a part of the header as shown in FIG. FIG. 11D is a diagram showing a part of the contents of the adaptation field, and FIG. 11E is an explanatory diagram showing a part of the contents of the option field as a part of the adaptation field. In the adaptation field, a reference time clock PCR necessary for decoding can be transmitted as an option field as shown in FIG. In MPEG2, the clock frequency of the multiplexing device and the demultiplexing device is set to 27 MHz, and a numerical value obtained by counting the clock of the multiplexing device at 27 MHz, PCR, is transmitted in order to prevent buffer overflow and underflow. The separating device reproduces a clock synchronized with the multiplexing device from the received PCR. This PCR need not always be sent, and is sent at intervals necessary for synchronizing the separation device, for example, approximately once every 0.7 seconds. Therefore, the adaptation field has a structure that does not need to be transmitted as an option field. Also, when a different program is sent, encoding is often performed by a different image encoder, so that the reference clock is generally different. When different PCRs are transmitted with the same program number or the like, the discontinuity flag in the adaptation field is set to 1 to notify the separation device that a discontinuous point of the PCR exists.
[0008]
In the data area of the TS packet, in addition to the PES packet shown in FIG. 11, program selection information called PSI can be sent. FIG. 12 shows a structure of a program table PMT which is one of the PSIs. The PMT is multiplexed with a program number indicating the number of the program to be transmitted and the PIDs of the PCR, image data PES, audio data PES, and data PES packets required for reproducing the program.
[0009]
FIG. 14 shows an example of a conventional multiplexed data decoding apparatus that receives data multiplexed as described above and reproduces the data. The received multiplexed data is stored in the buffer 1411 first. The CPU 1412 operates based on the flowchart shown in FIG. 15, and searches for the PMT of the program number set from the outside from the first transmitted data. When the PMT is detected, the PMT of the PCR, image data PES, audio data PES, and data PES packet is extracted from the PMT. Next, by looking at the PID of the TS packet in the received data, a TS packet necessary for reproducing the program is extracted. Among the TS packets, the packet including the PCR is sent to the clock control unit 142 to reproduce the reference clock required for the image and audio decoder. Image and audio packets of the TS packets are sent to the respective decoders 143 and 144. The decoding unit can use the reproduced reference clock to decode the image and audio data and decompress and reproduce the program (for example, ISO / IEC JTC1 / SC29 N801, &quot; ISO / IEC CD 13818-1: Information technology-Generic). coding of moving pictures and associated audio: Systems &quot;, 1994.11).
[0010]
[Problems to be solved by the invention]
However, various problems occur in the decoding apparatus only with the above configuration. First, when multiplexing TS packets of a plurality of programs, there is a possibility that TS packets having the reference clock PCR may collide during packet multiplexing, and as a result, the interval between PCR packets fluctuates, resulting in jitter. In the decoding device, the PLL is configured to reproduce the reference clock. However, if the interval of the PCR becomes a certain value or more, the jitter cannot be absorbed, and the clock cannot be reproduced.
[0011]
Also, the PCR becomes discontinuous at the beginning of the program or when the program is switched, but before the non-continuous packet arrives, the discontinuity flag in FIG. There is no. 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, so that the operation becomes unstable.
[0012]
Furthermore, 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 data with different sampling frequencies is required. , The synchronization system cannot be established and the output may be disturbed.
[0013]
On the other hand, in FIG. 13, a trick mode flag is included in the PES header, and commands such as fast-forward and stationary can be sent together with the PES packet. However, there is no clear definition 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 multiplexed data transmission method, a multiplexed data decoding method, and a multiplexed data decoding device which ensure the operation of a multiplexed data decoding device during normal or special reproduction. To provide.
[0015]
[Means for Solving the Problems]
In order to solve the above problem, a data multiplexing method according to the present invention comprises: a first 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; A second packet sequence obtained by multiplexing the packet including the digital data and the packet including the reference time signal of the decoding device is input, and the first packet sequence and the second packet sequence are multiplexed to form a third packet sequence. 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 predetermined time, Deleting the reference time signal from the packet including the reference time signal in the first packet sequence, or a data packet including one or more types of digital data, and the contents of the packet When generating a multiplexed packet by multiplexing a table packet including a table indicating a packet number and a packet number, when changing the contents of the table packet, the table packet is transmitted before the data packet corresponding to the changed table packet is transmitted. When the instruction signal indicating the change and the changed table packet are multiplexed into the multiplexed packet, or when the packet including one or more types of digital data and the packet including the reference time signal of the decoding device are multiplexed, the digital A packet of a reference time signal multiplexed before a packet containing data, or when the content of digital data is discontinuous, before a packet containing discontinuous digital data, indicates that the reference time signal is not continuous. A reference time signal discontinuity flag is added, and the flag is also multiplexed. It is.
[0016]
In the data multiplexing method of the present invention, when a special reproduction is performed using a plurality of packets including audio data, image data, and other digital data, a packet including an image or audio data is specially composed of only data of the same frame. A special reproduction packet is formed and the special reproduction packet is transmitted. Further, the multiplexed data decoding method of the present invention decodes a packet containing digital image data compressed using frame or intra-field compression encoding and frame or inter-field compression encoding, and uses the decoded data to perform arbitrary decoding. When a still image is received in a frame or a field, when a still command signal is received, an image obtained by decoding image data that has been compression-coded in the immediately preceding or succeeding frame or field is displayed as a still image, or compressed digital image data is displayed. When decoding a packet to which a flag indicating the decoding or display time is added, and stationary in an arbitrary frame or field using the decoded data, at the time of receiving a still command signal, the time immediately before or immediately after Indicated 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]
(Action)
According to the present invention, since the interval between the reference signals PCR is equal to or less than a certain value by the above-described configuration, there is no problem in clock reproduction. Further, when the program is changed, the PMT, PCR, etc. are transmitted prior to the data of the changed contents, so that the operation of the decoding device is ensured. Further, at the time of trick play, data of only the same picture is formed into a PES packet and transmitted to the decoding device, so that the image is not interrupted in the middle. Even when an image is displayed still, it can be stopped by an intra-frame coded picture, and the time information of the still picture can be transmitted to the transmission device to retransmit from the still picture image data, so that a continuous image can be reproduced even after the end of the still image. It becomes.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, a data multiplexing method according to the first embodiment of the present invention will be described with reference to the drawings.
[0019]
FIG. 1 is a block diagram of a data multiplexing apparatus according to a first embodiment of the present invention. In FIG. 1, reference numeral 1 denotes a first data multiplexing unit, which comprises a clock generation circuit 11, a CPU 12, and a buffer 13. 2 is a second data multiplexing unit, 3 is a second data multiplexing unit, and both 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]
A data multiplexing method in the data multiplexing apparatus configured as described above will be described with reference to FIGS.
[0021]
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, and are converted into PES packets as shown in FIG. Enter in the section. The first and second data multiplexing units 1 and 2 perform multiplexing while converting PES packets into TS packets so that synchronization of image, audio, and data and buffer overflow and underflow in the multiplex data decoder do not occur. . The outputs of the data multiplexing unit 1 and the data multiplexing unit 2 are further multiplexed by the data multiplexing unit 3. This assumes, for example, a case where the outputs of the data multiplexing units 1 and 2 are each 4 Mbps and both are transmitted to an 8 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 and outputs each input, for example, alternately. At that time, a problem arises when both packets include the reference clock PCR required by the multiplex data decoding device at the same time. In order to facilitate the design of the multiplex data decoding device, it is desirable that the fluctuation of the reference clock PCR be suppressed to a certain fixed value or less, and in the example cited in the conventional example, it is 30 ppm or less. 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 one TS packet occurs due to the multiplexing, and as a result, the PCR fluctuates. Therefore, in the present 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 erasing it has no effect. Although the interval between the packets including the PCR is slightly extended, since the packet is frequently inserted in advance, the operation of the multiplex data decoding device is not hindered.
[0022]
As described above, according to this embodiment, data multiplexing that does not adversely affect the reference clock PCR of the multiplexed data decoding device can be realized.
[0023]
FIG. 3 is an explanatory diagram of a data multiplexing method according to the second embodiment of the present invention, and FIG. 4 is an explanatory diagram of a multiplexed data decoding method. 3 shows the operation of the CPU 12 of the first data multiplexing unit 1 in FIG. FIG. 4 is an explanatory diagram showing the operation of the CPU 1411 of the multiplexed data decoding device 141 in FIG. This will be described below with reference to FIGS.
[0024]
At the time of normal operation, the data multiplexing unit 1 repeats the operation of transmitting PMT and PCR at appropriate timing, and further converts TS of image, audio, and data PES packets at appropriate timing, and multiplexes and transmits.
[0025]
On the other hand, at the start of the program, since the multiplex data decoding device is not synchronized with the multiplex device, it is necessary to send a packet including the reference time PCR. When a PCR packet is sent, the decoding device attempts synchronization based on the sent PCR. At the start of the program, it takes time to synchronize because a PCR completely unrelated to the decoding device is sent. Therefore, a PCR discontinuity flag indicating that the PCR is discontinuous is set to 1 as indicated by 319 in FIG. When the decoding device detects that the discontinuity flag is 1, it does not attempt to synchronize with the transmitted PCR, but sets the transmitted PCR value and waits for the next PCR. Therefore, the time until synchronization is shortened. The above operation is effective not only when the program is started but also when the reference time PCR is changed due to a change in the contents.
[0026]
Next, at the start of the program, it is necessary to send a PMT indicating the relationship between the program and the PID. At this time, as shown at 321 in FIG. 3, the validity flag of the PMT is first set to 0, and a table based on the new packet number PID is created (322). If the validity flag of the PMT is 0, the multiplexed data decoding device invalidates the PMT and generally does not use the PMT. Next, when a PMT whose valid flag is 1 arrives, decryption is performed using the PMT. In the MPEG2 standard of the prior art, there is no clear definition of program change and how to use the PMT valid flag. Therefore, it is possible to send a different PMT while the PMT valid flag is set to 1. However, a general decoding device performs a series of operations such as changing the PMT, obtaining a PID of a TS packet necessary for decoding from the changed PMT, and starting extraction of TS packets having a desired PID from transmission data. Requires a certain amount of time. As a result, the packet immediately after receiving the changed PMT cannot be accurately extracted, and some data is lost, so that the image and the sound may be interrupted for a moment. Therefore, in the present invention, before sending a new PMT, that is, at the start of a program or when the contents of a program are changed, the PMT valid flag 0 is always added and the PMT corresponding to the new contents is sent.
[0027]
When receiving the PMT having the valid flag 0 as shown in the flowcharts 46 and 47 of FIG. 4, the multiplexed data decoding device obtains the necessary PID from the PMT, and has the PID necessary for decoding at the start of the program. It prepares to extract the extracted packet, that is, updates the PMT, and then starts the extraction from the PID following the PMT having the valid flag 1. When the contents of the program change in the middle, when a PMT having a valid flag 0 is received, the extraction of the currently valid PID is continued, the PMT is updated with a 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]
As described above, by transmitting the PMT having the valid flag 0 before the actually valid PMT, even if the decoding device has a delay, there is no omission of the PID extraction, and the image and the sound can be reproduced without interruption. Become.
[0029]
The frame frequency of the image and the sampling frequency of the audio are the frequencies that determine the output frequency and operation of the decoding device, and the base clocks for these are generally generated from the received reference clock PCR. The emphasis characteristics of voice also change the output voice, and the characteristics themselves need to be set, and changing these settings requires a certain amount of time. Therefore, if data with these characteristics changed is continuously transmitted, it becomes impossible to accurately decode the data of the received packet in the time required for the setting. Therefore, in the present invention, as shown by 323, 324, 325, 326, 327, and 328 in FIG. 3, before transmitting the changing data, the frame frequency and the sound of the changed image are stored in an area called a PMT descriptor. Describes the sampling frequency or emphasis characteristics and sends it out. By transmitting the data as described above, the decoding device can change the clock or the characteristics before receiving the actual data, so that normal decoding can be performed even when the changed data is received. .
[0030]
FIGS. 5 and 6 are explanatory diagrams showing a data multiplexing method according to the third embodiment of the present invention. Hereinafter, description will be made with reference to FIGS.
[0031]
As shown in FIG. 5A, a PES packet of an image may include a plurality of pictures in one packet. Here, a picture indicates a frame or a field in MPEG image compression. Whether it is a frame or a field depends on the compression encoding method. In FIG. 5A, data of two pictures is included in the same packet. When performing special reproduction such as fast-forward, slow-motion, and still, as shown in FIG. 13, a trick mode flag in the PES header that informs the data decoding device of an operation such as fast-forward is set and transmitted together with image data. Reading these flags, the decoding device performs buffer control and screen control. Normally, these special reproduction operations are controlled on a frame or field basis, that is, on a picture basis. However, if data of one picture or more is mixed in the PES packet for FIG. 5A, it is necessary to perform an operation of placing a buffer in the decoding device and reconstructing data for one picture from the two PES packets. Therefore, in the present invention, a PES packet as shown in FIG. 5A is reconstructed into one picture and one packet before transmission as shown in FIG. 5B, and then transmitted. FIG. 6 is a flowchart for realizing the above operation, which is used, for example, as an algorithm of the CPU 12 of the first data multiplexing unit 1 in FIG. As for the operation of the CPU, when a signal requesting special reproduction is input, it is first checked at 64 whether or not one picture is composed of one PES packet. Otherwise, the position of the PES header is determined at 66, 67, 68. Is updated immediately before the picture header.
[0032]
By the above operation, only the same picture is included in one packet, and the correspondence between the trick mode flag and the picture data becomes clear, and at the same time, the operation of the complicated decoding device or the hardware becomes unnecessary.
[0033]
Although only the image data has been described in the above embodiment, the same operation is effective for audio data. However, in the case of audio data, the frame is not a picture but a unit indicating a unit of compression encoding.
[0034]
FIG. 7 is an explanatory diagram showing a multiplexed data decoding method according to the fourth embodiment of the present invention, and FIG. 8 is an explanatory diagram showing the contents of multiplexed data. Hereinafter, description will be made with reference to FIGS.
[0035]
Now, as shown in FIG. 8, the image data of the multiplexed data is an intra-frame coded picture (I picture), a forward predicted inter-frame coded picture (P picture), and a bidirectional predicted inter-frame coded picture (B picture). It is assumed that it is composed of An I picture can be decoded by itself, whereas a P picture cannot be decoded without an I and P picture transmitted before it, and a B picture cannot be decoded without an I and P picture transmitted before it. In FIG. 8, transmission is performed in the order of I1, B0, P3, and B2 following the B picture. Decoding is performed in the transmission order, but the display is reversed as B0, I1, B2, P3 when the first B picture is ignored. Also, when performing image compression encoding by the above-described method, it is generally known that the image quality of I and P pictures is better and the image quality of B pictures is slightly worse to improve the overall image quality.
[0036]
When an image is stopped during special reproduction, an image with higher image quality can be obtained by stopping the image other than the B picture for the above reason. Also, it is desirable to start from the same frame when releasing the stillness. When transmitting such data, it is common to make a random access possible by inserting a sequence header before an I picture that can be decoded by itself. Therefore, access from the I picture, that is, resumption of stillness, is relatively easy.
[0037]
FIG. 7 shows the above operation in a flowchart of the CPU 1412 of the data decoding device in FIG. In FIG. 7, at 72, the DTS (decode time stamp: the decode time represented by the reference time PCR) of the I picture is always stored. When a still signal is input, it is confirmed at 76 whether or not an I picture has been displayed. At the time when the I picture has been displayed, updating of the image display is stopped and the image is stopped. Thereafter, at 80, the DTS of the last stored I-picture, that is, the I-picture currently displayed still, is sent to the data multiplexing device. The multiplexing device determines the I-picture currently displayed in a still state based on the DTS sent from the decoding device, and starts transmission from the I-picture corresponding to the DTS at the end of the stillness. In the decoding device, a B picture between the first P pictures following an I picture cannot be decoded without an I or P picture preceding the I picture, so the B picture is not decoded and displayed. Start by decoding and displaying. With the above operation, it is possible to continuously reproduce the still picture at the end of the still picture without interruption from the still picture.
[0038]
FIG. 9 is an explanatory diagram showing a multiplexed data decoding method according to the fifth embodiment of the present invention. The difference from the fourth embodiment is that the display update is stopped at 95 when a still signal is input at 92 and the currently displayed image is continuously displayed as it is at 95. At the end of the stationary state, the currently received data is analyzed, and decoding is restarted from the I picture. According to the present embodiment, it is impossible to reproduce from the same picture, but there is no need to send a DTS to the data multiplexing apparatus, and the entire system can be configured at low cost.
[0039]
In the above-described embodiment, the still image is stopped at the currently displayed image. However, the present invention is not limited to this, and the still image may be stopped at the I picture as in the fourth embodiment.
[0040]
FIG. 10 is an explanatory diagram showing a multiplexed data decoding method according to the sixth embodiment of the present invention. This embodiment is different from the fourth and fifth embodiments in that the input is stopped as indicated by 105 instead of stopping the display when a still signal is input. 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 is frozen. When the last image of the input is an I or P picture, it is desirable to use the picture as a still picture because the picture quality is good. However, a B picture following the I or P in the transmission order, ie, the display order , There is no B picture before the I or P picture, so that the last I or P picture of the input is not displayed, and the B picture sent before that is stopped. In the present embodiment, when the last input picture is I or P as in 106, 107, and 108 in FIG. 10, the I or P picture is displayed ignoring the DTS indicating the decoding time and the PTS indicating the display time. To be stationary.
[0041]
With the above operation, stationary special reproduction can be realized by changing only the input of the decoding device without adding new hardware to the display system.
[0042]
【The invention's effect】
As described above, the present invention suppresses the jitter of the reference time PCR to a certain value or less, and thus does not hinder the operation of the decoding device. Further, when the program is changed, the PMT, PCR, etc. are transmitted prior to the data of the changed contents, so that the operation of the decoding device is ensured. Further, at the time of trick play, data of only the same picture is formed into a PES packet and transmitted to the decoding device, so that the image is not interrupted in the middle. Even when the image is displayed still, it can be stopped with the intra-frame coded picture, and the time information of the still picture can be sent to the transmission device to retransmit from the still picture image data. It becomes.
[Brief description of the drawings]
FIG. 1 is a block diagram of a data multiplexing apparatus according to a first embodiment of the present invention.
FIG. 2 is an explanatory diagram showing a part of the operation of a CPU 32 in a third data multiplexing unit according to the first embodiment of the present invention.
FIG. 3 is an explanatory diagram of a data multiplexing method according to a second embodiment of the present invention.
FIG. 4 is an explanatory diagram of a multiplexed data decoding method according to a second embodiment of the present invention;
FIG. 5 is an explanatory diagram showing a data multiplexing method according to a third embodiment of the present invention.
FIG. 6 is an explanatory diagram showing a data multiplexing method according to a third embodiment of the present invention.
FIG. 7 is an explanatory diagram showing a multiplexed data decoding method according to a fourth embodiment of the present invention.
FIG. 8 is an explanatory diagram showing the contents of multiplexed data in a fourth embodiment of the present invention.
FIG. 9 is an explanatory diagram showing a multiplexed data decoding method according to a fifth embodiment of the present invention.
FIG. 10 is an explanatory diagram showing a multiplexed data decoding method according to a sixth embodiment of the present invention.
FIG. 11 is an explanatory diagram of a conventional multiplex data transmission method.
FIG. 12 is an explanatory diagram of a conventional multiplex data transmission method.
FIG. 13 is an explanatory diagram of a conventional multiplex data transmission method.
FIG. 14 is a block diagram of a multiplexed data decoding device that decodes data multiplexed by a conventional data multiplexing method.
FIG. 15 is an explanatory diagram showing the operation of a CPU in a conventional multiplexed data decoding device.
[Explanation of symbols]
1 First data multiplexing unit
2 Second data multiplexing unit
3. Third data multiplexing unit
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 (6)

1種類以上のデジタルデータを含むデータパケットと、パケットの内容及びパケットの番号を示すテーブルを含んだテーブルパケットを多重して多重パケットを生成する場合において、テーブルパケットの内容を変更する際、変更したテーブルパケットに対応するデータパケットを送る前に、テーブルパケットが変更することを示す指示信号及び変更したテーブルパケットを前記多重パケットに多重することを特徴とするデータ多重方法。When generating a multiplexed packet by multiplexing a data packet including one or more types of digital data and a table packet including a table indicating the content of the packet and the packet number, the content of the table packet is changed. Before sending a data packet corresponding to a table packet, an instruction signal indicating that the table packet is changed and a changed table packet are multiplexed on the multiplex packet. 請求項1記載の多重パケットを受信して1種類以上のデジタルデータを含むデータパケットを分離する際、テーブルパケットが変更することを示す指示信号を受信した場合、前記指示信号を受信する前のテーブルパケットで示されたデータパケットと、指示信号を受信した後のテーブルパケットで示されたデータパケットの双方を一定時間選択して受信することを特徴とする多重データ復号方法。2. A table before receiving the instruction signal when receiving an instruction signal indicating that a table packet is to be changed when receiving the multiplexed packet according to claim 1 and separating a data packet including one or more types of digital data. A multiplexed data decoding method characterized by selecting and receiving both a data packet indicated by a packet and a data packet indicated by a table packet after receiving an instruction signal for a predetermined time. 1種類以上のデジタルデータを含むパケットと、復号装置の基準時間信号を含むパケットを多重する場合において、前記デジタルデータを含むパケットの前に多重する基準時間信号のパケットは、基準時間信号が連続していないことを示す基準時間信号不連続フラグを付与し、前記フラグも多重することを特徴とするデータ多重方法。When multiplexing a packet including one or more types of digital data and a packet including a reference time signal of a decoding device, a packet of the reference time signal multiplexed before the packet including the digital data has a continuous reference time signal. A data multiplexing method characterized by adding a reference time signal discontinuity flag indicating that the flag is not present, and multiplexing the flag. 1種類以上のデジタルデータを含むパケットと、復号装置の基準時間信号を含むパケットを多重する場合において、前記デジタルデータの内容が不連続な場合、前記不連続点の直後に送出する基準時間信号のパケットは、基準時間信号が連続していないことを示す基準時間信号不連続フラグを付与し、前記フラグも多重することを特徴とするデータ多重方法。When multiplexing a packet including one or more types of digital data and a packet including the reference time signal of the decoding device, if the contents of the digital data are discontinuous, the reference time signal transmitted immediately after the discontinuity point A data multiplexing method, wherein a packet is provided with a reference time signal discontinuity flag indicating that the reference time signal is not continuous, and the flag is also multiplexed. 音声データまたは画像データを含む複数のパケットを多重する場合において、前記音声データまたは画像データのサンプリング周波数が変化した場合、変化したサンプリング周波数を記述したパケットを、前記変化したサンプリング周波数でサンプリングしたデータを含むパケットよりも時間的に前に多重することを特徴とするデータ多重方法。When multiplexing a plurality of packets including audio data or image data, if the sampling frequency of the audio data or image data changes, a packet describing the changed sampling frequency is sampled at the changed sampling frequency. A data multiplexing method characterized by multiplexing before a packet to be included in time. 音声データを含む複数のパケットを伝送する場合において、前記音声データのエンファシス特性が変化した場合、エンファシス特性が変化したことを示すフラグ、またはエンファシス特性そのものを記述したエンファシス特性データを記述したパケットを、前記変化したエンファシス特性を有する音声データを含むパケットよりも時間的に前に送ることを特徴とするデータ多重方法。In the case of transmitting a plurality of packets including audio data, if the emphasis characteristic of the audio data changes, a flag indicating that the emphasis characteristic has changed, or a packet describing emphasis characteristic data describing the emphasis characteristic itself, A data multiplexing method, wherein the packet is sent temporally before a packet containing audio data having the changed emphasis characteristic.
JP2003100013A 2003-04-03 2003-04-03 Data multiplexing method and multiple data decoding method Expired - Lifetime JP3671969B2 (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Related Parent Applications (1)

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

Publications (2)

Publication Number Publication Date
JP2004007541A true JP2004007541A (en) 2004-01-08
JP3671969B2 JP3671969B2 (en) 2005-07-13

Family

ID=30437938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003100013A Expired - Lifetime JP3671969B2 (en) 2003-04-03 2003-04-03 Data multiplexing method and multiple data decoding method

Country Status (1)

Country Link
JP (1) JP3671969B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006222895A (en) * 2005-02-14 2006-08-24 Sony Corp Multiplexing apparatus and method, and multiplexed data sending and receiving system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006222895A (en) * 2005-02-14 2006-08-24 Sony Corp Multiplexing apparatus and method, and multiplexed data sending and receiving system

Also Published As

Publication number Publication date
JP3671969B2 (en) 2005-07-13

Similar Documents

Publication Publication Date Title
KR101350754B1 (en) Method for reducing channel change times and synchronizing audio/video content during channel change
US20090116814A1 (en) Reproducer, portable telephone, and reproducing method
WO2013136754A1 (en) Display device and transmitter
JP6737922B2 (en) Transmission method, reception method, transmission device, and reception device
US6449352B1 (en) Packet generating method, data multiplexing method using the same, and apparatus for coding and decoding of the transmission data
EP1643772B1 (en) System, method and apparatus for clean channel change
JP4208398B2 (en) Moving picture decoding / reproducing apparatus, moving picture decoding / reproducing method, and multimedia information receiving apparatus
JP4983923B2 (en) Decoder device and decoding method
KR20050023332A (en) Robust method for achieving audio/video synchronization in mpeg decoders in personal video recording applications
WO2013190789A1 (en) Reception device, and synchronous processing method therefor
JP2004297577A (en) Image reproducing device
US20040264577A1 (en) Apparatus and method for controlling the synchronization of a video transport stream
JP4933145B2 (en) Network receiver
KR20060099687A (en) Device of video-synchronization using time stamp and method thereof
US20090046994A1 (en) Digital television broadcast recording and reproduction apparatus and reproduction method thereof
JP4613860B2 (en) MPEG encoded stream decoding apparatus
KR100619041B1 (en) Video synchronization apparatus and video synchronization method
JP2006254298A (en) Device and method for moving picture reproduction
JP4096915B2 (en) Digital information reproducing apparatus and method
JP2004040579A (en) Digital broadcast reception device and synchronous reproduction method for digital broadcast
JP3671969B2 (en) Data multiplexing method and multiple data decoding method
WO2004086396A1 (en) Reproducing apparatus and method, and recording medium
JPH099215A (en) Data multiplex method, data transmission method, multiplex data decoding method and multiplex data decoder
JP2005151434A (en) Reception device, reception method, recording medium, and program
JPH1093841A (en) Video synchronizing signal correction device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20050125

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20050208

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20050221

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20050329

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050411

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

Free format text: PAYMENT UNTIL: 20080428

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090428

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100428

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110428

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120428

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20130428

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20130428

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20140428

Year of fee payment: 9

EXPY Cancellation because of completion of term