Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP4127799B2 - Decoding and playback device - Google Patents
[go: Go Back, main page]

JP4127799B2 - Decoding and playback device - Google Patents

Decoding and playback device Download PDF

Info

Publication number
JP4127799B2
JP4127799B2 JP2003046800A JP2003046800A JP4127799B2 JP 4127799 B2 JP4127799 B2 JP 4127799B2 JP 2003046800 A JP2003046800 A JP 2003046800A JP 2003046800 A JP2003046800 A JP 2003046800A JP 4127799 B2 JP4127799 B2 JP 4127799B2
Authority
JP
Japan
Prior art keywords
time information
reproduction time
reproduction
error
encoded
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2003046800A
Other languages
Japanese (ja)
Other versions
JP2004260374A (en
JP2004260374A5 (en
Inventor
美智代 森本
裕和 川勝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to JP2003046800A priority Critical patent/JP4127799B2/en
Publication of JP2004260374A publication Critical patent/JP2004260374A/en
Publication of JP2004260374A5 publication Critical patent/JP2004260374A5/ja
Application granted granted Critical
Publication of JP4127799B2 publication Critical patent/JP4127799B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Time-Division Multiplex Systems (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、符号化された情報を入力し、再生する復号再生装置に係り、特に、再生時刻の誤りの補正処理に関する。
【0002】
【従来の技術】
動画像と音声からなるマルチメディア番組を、MPEG方式などによって符号化して伝送し、復号再生するマルチメディア情報処理システムにおいては、動画像と音声は、フレームと呼ばれる単位毎に符号化され、そのフレームを再生する時刻(Presentation Time Stamp、以後、PTSと称する。)が付加されて復号再生装置に伝送される。動画像に対するフレームは、時間的に連続する静止画であり、音声に対するフレームは、一定時間間隔に分割した音声である。
【0003】
そして、符号化された動画像と音声とを同期をとって再生するには、符号化されたフレームを復号して、この復号されたフレームと符号化されたフレームに付加されたPTSを共にメモリに記憶する。そして、復号再生装置の基準同期信号(System Time Clock、以後、STCと称する。)が示す時刻が、上記PTSの時刻に一致した時点で、上記メモリに記憶されたフレームを再生する。
【0004】
ここで、STCは、符号化されたマルチメディア番組に付加される番組時刻基準参照値(Program Clock Reference、以後、PCRと称する。)が示す時刻を示すように、常に校正されている。
【0005】
ところで、例えば、移動通信端末装置を用いた、符号化されたマルチメディア情報を実時間に伝送及び再生するシステムでは、符号化された情報の伝送中にPTSに誤りが混入するようなことが発生した際には、その誤りが伝送装置によって訂正されないまま、復号再生装置に入力されることが皆無ではない。
【0006】
なぜなら、移動通信端末装置を用いた、符号化されたマルチメディア情報を実時間に伝送及び再生するシステムでは、伝送ビットレートが低いため、デジタルテレビ放送システムで用いられている強固な誤り訂正用の冗長ビットを付加することができないことや、また、再送を行わないUDP(User Datagram Protocol)プロトコルを用いているため、インターネットで用いられているTCP(Transmission Control Protocol)プロトコルの再送機能を用いることもできないためである。
【0007】
ここで、符号化された動画像は、符号化された音声より情報量が多いため、PTSの誤りは、符号化された音声情報よりも符号化された動画像情報に混入し易い。
【0008】
そこで、移動通信端末装置を用いた、符号化されたマルチメディア情報を実時間に伝送及び再生するシステム向けの動画像の復号再生方法では、たとえPTSに誤りが含まれていても動画像を音声と同期をとって再生するために、その誤りを補正する必要がある。その補正の方法としては、符号化された画像フレームにPTSとは別の時刻情報を付加し、それを用いてPTSの誤りの検出及び補正を行う処理が行われている(例えば、特許文献1参照。)。
【0009】
【特許文献1】
特開2002−135777号公報(第2−3頁、図2)
【0010】
【発明が解決しようとする課題】
しかしながら、上述した従来の方法では、複数の連続した符号化されたフレームに付加されたPTSに誤りが含まれている場合に、それらに続く符号化されたフレームに付加されたPTSに誤りが含まれているか否かの判断に多くの計算量が必要である問題点があった。
【0011】
本発明は、上記問題点を解決するためになされたもので、PTSに誤りが含まれていないことを少ない計算量で判断できる復号再生装置を提供することを目的とする。
【0012】
【課題を解決するための手段】
上記目的を達成するために、本発明の復号再生装置は、フレーム単位で符号化された画像信号とフレーム単位で設定された時刻情報とからなるフレーム信号を少なくとも1フレーム信号と、画像信号を再生する際に利用する再生時刻情報とを含むパケットを受信し、前記再生時刻情報に基づいて画像信号の再生を行う復号再生装置において、エラーがないと判定された過去のパケットに含まれる再生時刻情報と時刻情報を記憶する時刻情報記憶手段と、再生時刻情報リセット信号を検出する検出手段と、この検出手段が再生時刻情報リセット信号を検出しないときは、受信したパケットに含まれる再生時刻情報と前記時刻情報記憶手段に記憶されている再生時刻情報とを比較し、受信したパケットに含まれる再生時刻情報が時刻情報記憶手段に記憶されている再生時刻情報より前の時刻を示す場合は受信したパケットに含まれる再生時刻情報のエラーと判定するエラー判定手段と、このエラー判定手段が再生時刻情報にエラーがあると判定すると、前記時刻情報記憶手段に記憶されている時刻情報と受信したパケットに含まれる時刻情報との差分値を求め、この差分値を前記時刻情報記憶手段に記憶されている再生時刻情報に加えて再生時刻を推定する再生時刻推定手段と、前記検出手段が再生時刻情報リセット信号を検出したとき又は前記エラー判定手段が再生時刻情報のエラーを検出しないときは、受信したパケットに含まれる再生時刻情報に基づいて画像信号を再生し、前記エラー判定手段が再生時刻情報のエラーを検出したときは、前記再生時刻推定手段が推定した再生時刻情報に基づいて画像信号を再生する再生制御手段とを具備することを特徴とする。
【0013】
また、本発明の復号再生装置は、フレーム単位で符号化された画像信号とフレーム単位で設定された時刻情報とからなるフレーム信号を少なくとも1フレーム信号と、画像信号を再生する際に利用する再生時刻情報とを含むパケットを受信し、前記再生時刻情報に基づいて画像信号の再生を行う復号再生装置において、エラーがないと判定された過去のパケットに含まれる再生時刻情報と時刻情報を記憶する時刻情報記憶手段と、再生時刻情報リセット信号を検出する検出手段と、この検出手段が再生時刻情報リセット信号を検出しないときは、受信したパケットに含まれる再生時刻情報と前記時刻情報記憶手段に記憶されている再生時刻情報との第1の差分値と、受信したパケットに含まれる時刻情報と前記時刻情報記憶手段に記憶されている時刻情報との第2の差分値を求め、第1の差分値と第2の差分値との差が所定値を超えている場合は受信したパケットに含まれる再生時刻情報のエラーと判定する判定手段と、このエラー判定手段が再生時刻情報にエラーがあると判定すると、前記第2の差分値を前記時刻情報記憶手段に記憶されている再生時刻情報に加えて再生時刻を推定する再生時刻推定手段と、前記検出手段が再生時刻情報リセット信号を検出したとき又は前記エラー判定手段が再生時刻情報のエラーを検出しないときは、受信したパケットに含まれる再生時刻情報に基づいて画像信号を再生し、前記エラー判定手段が再生時刻情報のエラーを検出したときは、前記再生時刻推定手段が推定した再生時刻情報に基づいて画像信号を再生する再生制御手段とを具備することを特徴とする。
【0014】
本発明によれば、符号化の方式情報が正しく入力できた際、及び、復号した情報の再生時刻を計時する手段に対して時刻のリセットの指示を入力した際に、少ない計算量で再生する時刻は誤りなしと判断することができる。
【0015】
【発明の実施の形態】
以下に、本発明による復号再生装置の実施の形態を、図面を参照して説明する。図1は、本発明の実施形態に係る復号再生装置が適用された移動通信端末装置の構成を示すブロック図である。
【0016】
この移動通信端末装置は、装置全体の制御を行う制御装置1と、アンテナ2aと、通信装置2bと、送受信装置3と、利用者からの操作指示を入力する入力装置4と、動画像及び音声からなるマルチメディア番組の符号化及び復号再生を行う符号化復号化装置5と、カメラ6aと、表示装置6bと、マイク6cと、スピーカ6dとにより構成される。
【0017】
通信装置2bは、アンテナ2aが受信した高周波信号を送受信装置3へ出力し、また、送受信装置3から出力される高周波信号をアンテナ2aより送信する。
【0018】
次に、送受信装置3の動作を説明する。送受信装置3は、通信装置2bからの高周波信号を増幅、周波数変換及び復調し、それによって得た符号化されたマルチメディア番組信号を符号化復号化装置5に送り、また、制御信号を制御装置1に送る。送受信装置3は、更に、符号化復号化装置5から出力される符号化されたマルチメディア番組信号、及び、制御装置1から出力される制御信号を変調、周波数変換及び増幅し、高周波信号を得てそれを通信装置2bに送る。
【0019】
図2は、符号化復号化装置5の構成を示すブロック図である。符号化復号化装置5は、多重分離部11と、動画像符号化部12と、動画像復号化部13と、画像バッファ14と、画像再生制御部15と、時刻管理部21と、STC部22と、音声符号化部23と、音声復号化部24と、音声バッファ25と、音声再生制御部26とにより構成される。
【0020】
上記のように構成された、本発明の実施形態に係る移動通信端末装置の動作を説明する。
【0021】
まず、多重分離部11の動作を説明する。多重分離部11は、動画像符号化部12から出力される符号化された画像フレーム信号と、音声符号化部23から出力される符号化された音声フレーム信号を多重化し、得られた符号化されたマルチメディア番組信号を送受信装置3に送る。
【0022】
即ち、多重分離部11は、カメラ6aから入力された動画像に対し、動画像符号化部12から出力される符号化された画像フレーム信号を複数個まとめてPES(Packetized Elementary Stream)パケットを作成する。
【0023】
動画像符号化部12から出力される全ての符号化された画像フレーム信号内のフレームヘッダ情報には、B_TSと呼ばれるそれぞれの画像フレームが再生される時刻が付加され、また、一部の符号化された画像フレーム信号には、CI(Configuration Information)と呼ばれる情報(その動画像の符号化の形式を表す情報)、例えば、符号化プロファイル、画像の大きさ、必要な画像バッファ14の大きさなどの情報が付加されていることから、それらもPESパケットに含める。B_TSは、動画像独自に定義され、音声とは無関係な時刻である。
【0024】
多重分離部11は、更に、PESパケットの先頭の符号化された画像フレーム信号に、その画像フレーム信号を再生する時刻であるPTSを付加してPESパケットを作成する。なお、その他の符号化された画像フレーム信号にPTSを付加しても良い。
【0025】
図3(a)は、第1の符号化された画像フレーム信号31aから第mの符号化された画像フレーム信号31bまでが1つのPESパケット(画像)を構成している状況を示す。
【0026】
ここで、全ての符号化された画像フレーム信号内のフレームヘッダ情報にはB_TSが付加されている。即ち、第1の符号化された画像フレーム信号31aには、B_TS(31c)が付加され、以降同様にして、第mの符号化された画像フレーム信号31bには、B_TS(31d)が付加されている。
【0027】
また、第1の符号化された画像フレーム信号31aには、CI(31e)及びPTS(31f)が更に付加されている。
【0028】
多重分離部11は、更に、マイク6cから入力された音声に対し、音声符号化部23から出力される符号化された音声フレーム信号を複数個まとめてPESパケットを作成する。また、PESパケットの先頭の符号化された音声フレーム信号には、その音声フレームを再生する時刻であるPTSを付加する。なお、その他の符号化された音声フレーム信号にPTSを付加しても良い。
【0029】
図3(b)は、第1の符号化された音声フレーム信号32aから第nの符号化された音声フレーム信号32bまでが1つのPESパケット(音声)を構成している状況を示す。ここで、第1の符号化された音声フレーム信号32aには、PTS(32c)が付加されている。
【0030】
多重分離部11は、続いて、これらの画像のPESパケットおよび音声のPESパケットをパケット毎に固定長のTS(Transport Stream)パケットに分割し、更にTSパケット毎にPCRを付加して送受信装置3に送る。図3(c)は、1つのPESパケットが第1のTSパケット33aから第pのTSパケット33bまでに分割され、TSパケット毎にPCRが付加された状況を示す。即ち、第1のTSパケット33aにはPCR(33c)が、第pのTSパケット33bにはPCR(33d)がそれぞれ付加されている。
【0031】
多重分離部11は、送受信装置3から出力される符号化されたマルチメディア番組信号を、符号化された画像フレーム信号と、符号化された音声フレーム信号と、PCRとに分離する。そして、符号化された画像フレーム信号を動画像復号化部13に送り、符号化された音声フレーム信号を音声復号化部24に送り、PCRを時刻管理部21に送る。
【0032】
即ち、送受信装置3から出力されるマルチメディア番組信号は、図3(c)の構造を持つ、複数のTSパケットからなり、TSパケット毎にPCR33c、…、33dが付加された信号を受信し、この内、PCR33c、…、33dを分離して、時刻管理部21に送る。
【0033】
また、多重分離部11は、TSパケットを分離してそれをPESパケットに統合し、そのPESパケットが図3(a)に示す符号化された画像フレーム信号からなるパケットであれば、それに含まれるPTS、CI及びB_TSを含む符号化された画像フレーム信号を動画像復号化部13に送る。
【0034】
また、そのPESパケットが図3(b)に示す符号化された音声フレーム信号からなるパケットであれば、それに含まれるPTS及び符号化された音声フレーム信号を音声復号化部24に送る。
【0035】
次に、動画像符号化部12の動作を説明する。動画像符号化部12は、まず、カメラ6aから出力される動画像信号から画像フレーム信号、即ち、時間的に連続する静止画を作成する。
【0036】
続いて、得られた画像フレーム信号毎に、それを離散コサイン変換し、得られた離散コサイン変換係数を量子化の上、符号化する。続いて、得られた符号化された画像フレーム信号内のフレームヘッダ情報にそれを再生する時刻B_TSを付加して、また、一部の符号化された画像フレーム信号にCIを付加して、多重分離部11に送る。
【0037】
次に、動画像復号化部13の動作を説明する。図4は、動画像復号化部13の動作のフローチャートを示す。動画像復号化部13は、動作を開始し(ステップ41a)、多重分離部11から出力される符号化された画像フレーム信号を受信する。その際、符号化された画像フレーム信号に付加されたPTS、CI及びB_TSも同時に受信する(ステップ41b)。
【0038】
続いて、受信した符号化された画像フレーム信号をCIが示す符号化方法に従って復号する。即ち、符号化された画像フレーム信号を復号し、復号された信号を逆量子化の上、逆離散コサイン変換することによって復号された画像フレーム信号、即ち、静止画を得て、その信号を画像バッファ14に格納する(ステップ41c)。
【0039】
動画像復号化部13は、続いて、得られた復号された画像フレーム信号に再生する時刻PTSを付加する。そのため、まず、受信した符号化された画像フレーム信号にPTSが付加されているか否かを調べる(ステップ41d)。付加されていれば、付加されたPTSに誤りが混入しているか否かを調べる。
【0040】
即ち、まず、受信した符号化された画像フレーム信号にCIが付加されているなら、それが過去に受信した符号化された画像フレーム信号に付加されていて、動画像復号化部13に記憶されているCIと同一かを調べる(ステップ41e)。もし、同一ならCIが正しいので、受信した符号化された画像フレーム信号に付加されたPTSには誤りがないと判断する。なぜなら、上記CIと上記PTSとは同じ、または、隣接するTSパケットとして伝送されているので、一方が正しく伝送された時には他方も正しく伝送されたとみなすことができるからである。
【0041】
続いて、そのPTSとステップ41cで復号された画像フレーム信号とを画像バッファ14に格納する(ステップ41f)。
【0042】
ステップ41eで、正しいCIが付加されていないと判断したならば、動画像復号化部13は、時刻管理部21からSTCリセット信号を受信したか否かを調べる(ステップ41g)。STCリセット信号を受信した場合は、PTSに誤りがないと判断して、PTSとステップ41cで復号された画像フレーム信号とを画像バッファ14に格納する(ステップ41f)。
【0043】
なぜなら、時刻管理部21からのSTCリセット信号を受信した際は、ある番組が終了し、別の番組の最初の符号化された画像フレームが多重分離部11から送られたことを意味するので、受信した符号化された画像フレーム信号に付加されたPTSの過去のPTSとの連続性は失われ、後述するその連続性による誤り検出は不可能になるので、上記付加されたPTSは正しいとみなすのが適当だからである。
【0044】
ステップ41gで、STCリセット信号を受信していない場合は、動画像復号化部13は、受信した符号化された画像フレーム信号に付加されたPTSと、過去に受信した符号化された画像フレーム信号に付加され、かつ、動画像復号化部13が記憶している誤りのないPTSとを比較し、受信した符号化された画像フレーム信号に付加されたPTSの誤りの有無を検証する(ステップ41h)。
【0045】
ステップ41hの検証基準として、例えば2つの基準が用いられる。第1の基準として、画像フレーム信号が再生順に送られてくることが合意されている場合には、受信した符号化された画像フレーム信号に付加されたPTSが過去の誤りのないPTSと比較して小さいなら、付加されたPTSは誤りと判断する。
【0046】
また、第2の基準として、受信した符号化された画像フレーム信号に付加されたPTSと過去の誤りのないPTSとの差と、受信した符号化された画像フレーム信号に付加されたB_TSと動画像復号化部13が記憶している誤りのないPTSが付加されていた符号化された画像フレーム信号に付加されていたB_TSとの差を比較し、上記2つの差の間の差が所定数以上であれば、PTSは誤りと判断する。
【0047】
もし、ステップ41hにおけるこれらの判断基準のいずれにも合致しない場合は、動画像復号化部13は、PTSには誤りがないと判断して、そのPTSとステップ41cで復号された画像フレーム信号とを画像バッファ14に格納する(ステップ41f)。この際、PTSとB_TSを、誤りのないPTS、及び、それが付加されていた符号化された画像フレーム信号に付加されていたB_TSとして、動画像復号化部13内に記憶する。
【0048】
一方、ステップ41dで、受信した符号化された画像フレーム信号にPTSが付加されていないと判断した場合、及び、ステップ41hで、受信した符号化された画像フレーム信号に付加されたPTSに誤りがあると判断した場合には、動画像復号化部13は、受信した符号化された画像フレーム信号に対応するPTSを推定し、そのPTSとステップ41cで復号された画像フレーム信号とを画像バッファ14に格納する(ステップ41i)。
【0049】
ここで、受信した符号化された画像フレーム信号に対するPTSの推定値は、その画像フレーム信号に付加されたB_TSと、誤りのないPTSが付加されていた符号化された画像フレーム信号に付加されていたB_TSとの差を求め、その差を過去の誤りのないPTSに加えることによって得る。
【0050】
ステップ41f、または、ステップ41iで、画像フレーム信号のPTSを画像バッファ14に格納した後、動画像復号化部13は、ステップ41bへ戻り(ステップ41j)、次の画像フレームの処理を行う。
【0051】
次に、画像再生制御部15の動作を説明する。画像再生制御部15は、STC部22が示す時刻を読込み、読込んだ時刻と同一の時刻のPTSが画像バッファ14に記憶されているかを検索する。もし、記憶されていれば、そのPTSと共に画像バッファ14に記憶されている復号された画像フレーム信号、即ち、静止画を読み出し、表示装置6bに表示する。
【0052】
次に、時刻管理部21の動作を説明する。時刻管理部21は、多重分離部11から出力されるPCRを受信し、それが示す時刻をSTC部22が示すように、STC部22を校正する。また、時刻管理部21がSTCリセットを検出した際には、そのSTCリセットを示す信号を動画像復号化部13と、音声復号化部24に送る。
【0053】
ここで、時刻管理部21におけるSTCリセットの検出は、PCRが示す時刻が、ある時点の以前と以後とで階段状に、所定値以上の差をもって変化することによる。または、PCRに番組変更の有無の識別子が含まれ、その識別子が番組変更有りを示すことによっても良い。
【0054】
次に、音声符号化部23の動作を説明する。音声符号化部23は、まず、マイク6cから出力される音声信号から音声フレーム信号、即ち、一定時間間隔に分割した音声信号を作成する。
【0055】
音声符号化部23は、続いて、得られた音声フレーム信号毎に、それをAAC(Advanced Audio Coding)方式によって時間周波数変換する。続いて、得られたMDCT(Modified Discrete Cosine Transform)係数を量子化の上、符号化する。PTSの付加については、既に述べた通りである。続いて、得られた符号化された音声フレーム信号を多重分離部11に送る。
【0056】
次に、音声復号化部24の動作を説明する。音声復号化部24は、まず、多重分離部11から出力される符号化された音声フレーム信号を受信する。その際、それに付加されたPTSも同時に受信する。続いて、受信した符号化された音声フレーム信号を復号し、復号された信号を逆量子化の上、逆時間周波数変換することによって、復号された音声フレーム信号、即ち、一定時間幅の音声信号を得て、その信号を音声バッファ25に格納する。
【0057】
音声復号化部24は、続いて、動画像と同様に、復号された音声フレーム信号に再生する時刻PTSを付加する。もし、受信した符号化された音声フレーム信号にPTSが付加されていれば、そのPTSと復号された音声フレーム信号とを音声バッファ25に格納する。
【0058】
もし、その音声フレーム信号にPTSが付加されていなければ、過去の符号化された音声フレーム信号に付加されていたPTSに所定の推定値を加えてPTSを求める。即ち、その過去の符号化された音声フレーム(フレーム1)から現在受信した符号化された音声フレーム(フレームm)間のフレーム数k(k=m−1)を求め、このフレーム数kに1つの音声フレームが含む音声の時間幅tを乗算した数(k×t)を加えることによって推定値を算出する。こうして求めたPTSと復号された音声フレーム信号とを音声バッファ25に格納する。
【0059】
次に、音声再生制御部26の動作を説明する。音声再生制御部26は、STC部22が示す時刻を読込み、読込んだ時刻と同一の時刻のPTSが音声バッファ25に記憶されているかを検索する。もし、記憶されていれば、そのPTSと共に音声バッファ25に記憶されている復号された音声フレーム信号、即ち、一定時間幅の音声信号をスピーカ6dに送って発音する。
【0060】
本実施形態では、符号化された音声フレームに付加されたPTSの誤り検出は行わないとしたが、行っても良い。また、動画像は、1つの動画像であるとしたが、動画像が複数の任意形状の動画像の集まりとして定義されていても良い。その場合には、上記各任意形状の動画像毎に行われる復号及び再生に本発明を適用できる。
【0061】
更に、画像フレームの符号化は離散コサイン変換方式によるとしたが、これに限るものはなく、また、音声フレームの符号化はAAC方式によるとしたが、これに限るものではない。本発明は以上の構成に限定されるものではなく、種々の変形が可能である。
【0062】
また、以上の説明は、本発明を移動通信端末装置に適用した形態を例にとって行ったが、本発明は、放送システムの受信装置に適用することも当然に可能である。
【0063】
【発明の効果】
以上述べたように、本発明によれば、符号化されたフレームに付加され、その符号化の形式を表すCI(Configuration Information)を正しく受信した際、及び、復号再生装置の基準同期信号であるSTC(System Time Clock)のリセットが行われる際には、受信したフレームを再生する時刻、PTS(Presentation Time Stamp)は正しいと判断することにより、少ない計算量で受信したPTSが正しいと判断することができる。
【図面の簡単な説明】
【図1】 本発明の実施形態に係る移動通信端末装置を示すブロック図。
【図2】 本発明の実施形態に係る符号化復号化装置を示すブロック図。
【図3】 本発明の実施形態に係る符号化されたマルチメディア番組のデータ構造を示す図。
【図4】 本発明の実施形態に係る動画像復号化部の動作を示すフローチャート。
【符号の説明】
5 符号化復号化装置
11 多重分離部
13 動画像復号化部
15 画像再生制御部
21 時刻管理部
22 STC部
24 音声復号化部
26 音声再生制御部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a decoding / playback apparatus that inputs and plays back encoded information, and more particularly to correction processing for errors in playback time.
[0002]
[Prior art]
In a multimedia information processing system that encodes, transmits, decodes and reproduces a multimedia program composed of a moving image and sound using the MPEG method, the moving image and sound are encoded for each unit called a frame. Is added to the playback time (Presentation Time Stamp, hereinafter referred to as PTS) and transmitted to the decoding / playback apparatus. A frame for a moving image is a still image that is continuous in time, and a frame for audio is audio that is divided at regular time intervals.
[0003]
In order to reproduce the encoded moving image and sound in synchronization, the encoded frame is decoded, and both the decoded frame and the PTS added to the encoded frame are stored in the memory. To remember. Then, the frame stored in the memory is reproduced when the time indicated by the reference synchronization signal (System Time Clock, hereinafter referred to as STC) of the decoding / reproducing apparatus coincides with the time of the PTS.
[0004]
Here, the STC is always calibrated so as to indicate the time indicated by a program time reference value (Program Clock Reference, hereinafter referred to as PCR) added to the encoded multimedia program.
[0005]
By the way, for example, in a system that transmits and reproduces encoded multimedia information in real time using a mobile communication terminal device, an error may occur in the PTS during transmission of the encoded information. In this case, the error is not input to the decoding / playback apparatus without being corrected by the transmission apparatus.
[0006]
This is because a system for transmitting and reproducing encoded multimedia information in real time using a mobile communication terminal device has a low transmission bit rate, and thus is used for robust error correction used in digital television broadcasting systems. Redundant bits cannot be added, and because the UDP (User Datagram Protocol) protocol that does not perform retransmission is used, the retransmission function of the TCP (Transmission Control Protocol) protocol used on the Internet may be used. This is because it cannot be done.
[0007]
Here, since the encoded moving image has a larger amount of information than the encoded audio, the PTS error is more likely to be mixed into the encoded moving image information than the encoded audio information.
[0008]
Therefore, in a moving image decoding / reproducing method for a system that transmits and reproduces encoded multimedia information in real time using a mobile communication terminal device, the moving image is audio even if an error is included in the PTS. It is necessary to correct the error in order to play back in synchronization with. As a correction method, time information different from PTS is added to an encoded image frame, and PTS error detection and correction is performed using the time information (for example, Patent Document 1). reference.).
[0009]
[Patent Document 1]
JP 2002-135777 A (page 2-3, FIG. 2)
[0010]
[Problems to be solved by the invention]
However, in the conventional method described above, when an error is included in the PTS added to a plurality of consecutive encoded frames, the error is included in the PTS added to the subsequent encoded frame. There is a problem that a large amount of calculation is required to determine whether or not it has been.
[0011]
The present invention has been made to solve the above-described problems, and an object of the present invention is to provide a decoding / playback apparatus that can determine that an error is not included in a PTS with a small amount of calculation.
[0012]
[Means for Solving the Problems]
In order to achieve the above object, the decoding / reproducing apparatus of the present invention reproduces at least one frame signal composed of an image signal encoded in frame units and time information set in frame units, and an image signal. In a decoding / playback apparatus that receives a packet including playback time information to be used when performing playback, and plays back an image signal based on the playback time information, playback time information included in past packets determined to have no error And time information storage means for storing time information, detection means for detecting a reproduction time information reset signal, and when the detection means does not detect a reproduction time information reset signal, the reproduction time information included in the received packet, The reproduction time information stored in the time information storage means is compared with the reproduction time information included in the received packet. When indicating a time before the stored reproduction time information, an error determination means for determining an error in the reproduction time information included in the received packet, and when this error determination means determines that there is an error in the reproduction time information, A difference value between the time information stored in the time information storage unit and the time information included in the received packet is obtained, and the difference value is added to the reproduction time information stored in the time information storage unit to reproduce the reproduction time. Reproduction time estimation means for estimating the reproduction time information, and when the detection means detects a reproduction time information reset signal or when the error determination means does not detect an error in the reproduction time information, it is based on the reproduction time information included in the received packet. When the error determination unit detects an error in the reproduction time information, the reproduction time estimated by the reproduction time estimation unit is reproduced. Characterized by comprising a reproduction control means for reproducing the image signal based on the information.
[0013]
In addition, the decoding / reproducing apparatus of the present invention uses at least one frame signal composed of an image signal encoded in units of frames and time information set in units of frames and a reproduction used when reproducing the image signals. In a decoding / reproducing apparatus that receives a packet including time information and reproduces an image signal based on the reproduction time information, the reproduction time information and time information included in past packets determined to have no error are stored. Time information storage means, detection means for detecting a reproduction time information reset signal, and when the detection means does not detect a reproduction time information reset signal, the reproduction time information contained in the received packet and the time information storage means Stored in the time information storage means and the time information included in the received packet A second difference value with respect to the received time information, and if the difference between the first difference value and the second difference value exceeds a predetermined value, it is determined as an error in the reproduction time information included in the received packet When the determination unit and the error determination unit determine that there is an error in the reproduction time information, a reproduction time for estimating the reproduction time by adding the second difference value to the reproduction time information stored in the time information storage unit When the estimation unit and the detection unit detect a reproduction time information reset signal or when the error determination unit does not detect an error in the reproduction time information, the image signal is reproduced based on the reproduction time information included in the received packet. And a reproduction control means for reproducing an image signal based on the reproduction time information estimated by the reproduction time estimation means when the error determination means detects an error in the reproduction time information. It is characterized in.
[0014]
According to the present invention, when the encoding scheme information is correctly input and when a time reset instruction is input to the means for measuring the playback time of the decoded information, it is played back with a small amount of calculation. It can be determined that there is no error in the time.
[0015]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of a decoding / playback apparatus according to the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a mobile communication terminal apparatus to which a decoding / playback apparatus according to an embodiment of the present invention is applied.
[0016]
The mobile communication terminal device includes a control device 1 that controls the entire device, an antenna 2a, a communication device 2b, a transmission / reception device 3, an input device 4 that inputs an operation instruction from a user, a moving image and audio. The encoding / decoding device 5 that performs encoding and decoding / reproduction of a multimedia program comprising: a camera 6a, a display device 6b, a microphone 6c, and a speaker 6d.
[0017]
The communication device 2b outputs the high frequency signal received by the antenna 2a to the transmission / reception device 3, and transmits the high frequency signal output from the transmission / reception device 3 from the antenna 2a.
[0018]
Next, the operation of the transmission / reception device 3 will be described. The transmission / reception device 3 amplifies, frequency-converts and demodulates the high-frequency signal from the communication device 2b, sends the encoded multimedia program signal obtained thereby to the encoding / decoding device 5, and transmits the control signal to the control device. Send to 1. The transmission / reception device 3 further modulates, converts and amplifies the encoded multimedia program signal output from the encoding / decoding device 5 and the control signal output from the control device 1 to obtain a high-frequency signal. And send it to the communication device 2b.
[0019]
FIG. 2 is a block diagram showing the configuration of the encoding / decoding device 5. The encoding / decoding device 5 includes a demultiplexing unit 11, a moving image encoding unit 12, a moving image decoding unit 13, an image buffer 14, an image reproduction control unit 15, a time management unit 21, and an STC unit. 22, an audio encoding unit 23, an audio decoding unit 24, an audio buffer 25, and an audio reproduction control unit 26.
[0020]
The operation of the mobile communication terminal apparatus configured as described above according to the embodiment of the present invention will be described.
[0021]
First, the operation of the demultiplexing unit 11 will be described. The demultiplexing unit 11 multiplexes the encoded image frame signal output from the moving image encoding unit 12 and the encoded audio frame signal output from the audio encoding unit 23, and obtains the obtained encoding The multimedia program signal thus transmitted is sent to the transmission / reception device 3.
[0022]
That is, the demultiplexing unit 11 creates a PES (Packetized Elementary Stream) packet by combining a plurality of encoded image frame signals output from the moving image encoding unit 12 with respect to the moving image input from the camera 6a. To do.
[0023]
The time at which each image frame called B_TS is reproduced is added to the frame header information in all the encoded image frame signals output from the moving image encoding unit 12, and a part of the encoding is performed. In the image frame signal, information called CI (Configuration Information) (information indicating the coding format of the moving image), for example, the coding profile, the size of the image, the size of the required image buffer 14, etc. Are added to the PES packet. B_TS is a time defined independently for moving images and unrelated to audio.
[0024]
The demultiplexing unit 11 further adds a PTS that is the time to reproduce the image frame signal to the encoded image frame signal at the head of the PES packet to create a PES packet. Note that PTS may be added to other encoded image frame signals.
[0025]
FIG. 3A shows a situation in which the first encoded image frame signal 31a to the mth encoded image frame signal 31b constitute one PES packet (image).
[0026]
Here, B_TS is added to frame header information in all encoded image frame signals. That is, B_TS (31c) is added to the first encoded image frame signal 31a, and B_TS (31d) is added to the m-th encoded image frame signal 31b in the same manner. ing.
[0027]
Further, CI (31e) and PTS (31f) are further added to the first encoded image frame signal 31a.
[0028]
The demultiplexing unit 11 further creates a PES packet by collecting a plurality of encoded audio frame signals output from the audio encoding unit 23 with respect to the audio input from the microphone 6c. Also, PTS, which is the time to reproduce the audio frame, is added to the encoded audio frame signal at the head of the PES packet. Note that PTS may be added to other encoded audio frame signals.
[0029]
FIG. 3 (b) shows a situation where the first encoded audio frame signal 32a to the nth encoded audio frame signal 32b constitute one PES packet (audio). Here, PTS (32c) is added to the first encoded audio frame signal 32a.
[0030]
Subsequently, the demultiplexing unit 11 divides these image PES packets and audio PES packets into fixed-length TS (Transport Stream) packets for each packet, and further adds a PCR to each TS packet to transmit / receive apparatus 3. Send to. FIG. 3C shows a situation in which one PES packet is divided from the first TS packet 33a to the pth TS packet 33b, and a PCR is added to each TS packet. That is, PCR (33c) is added to the first TS packet 33a, and PCR (33d) is added to the p-th TS packet 33b.
[0031]
The demultiplexing unit 11 separates the encoded multimedia program signal output from the transmission / reception device 3 into an encoded image frame signal, an encoded audio frame signal, and a PCR. Then, the encoded image frame signal is sent to the moving picture decoding unit 13, the encoded audio frame signal is sent to the audio decoding unit 24, and the PCR is sent to the time management unit 21.
[0032]
That is, the multimedia program signal output from the transmission / reception device 3 is composed of a plurality of TS packets having the structure of FIG. 3 (c), and receives a signal to which PCRs 33c,. Of these, PCRs 33c,..., 33d are separated and sent to the time management unit 21.
[0033]
Further, the demultiplexing unit 11 separates the TS packet and integrates it into the PES packet, and if the PES packet is a packet made up of the encoded image frame signal shown in FIG. The encoded image frame signal including PTS, CI, and B_TS is sent to the moving image decoding unit 13.
[0034]
If the PES packet is a packet composed of the encoded audio frame signal shown in FIG. 3B, the PTS included in the PES packet and the encoded audio frame signal are sent to the audio decoding unit 24.
[0035]
Next, the operation of the moving image encoding unit 12 will be described. The moving image encoding unit 12 first creates an image frame signal, that is, a temporally continuous still image, from the moving image signal output from the camera 6a.
[0036]
Subsequently, the obtained image frame signal is subjected to discrete cosine transform, and the obtained discrete cosine transform coefficient is quantized and encoded. Subsequently, a time B_TS for reproducing it is added to the frame header information in the obtained encoded image frame signal, and CI is added to some of the encoded image frame signals to multiplex Send to separation unit 11.
[0037]
Next, the operation of the moving picture decoding unit 13 will be described. FIG. 4 shows a flowchart of the operation of the video decoding unit 13. The moving picture decoding unit 13 starts its operation (step 41a), and receives the encoded picture frame signal output from the demultiplexing unit 11. At this time, the PTS, CI, and B_TS added to the encoded image frame signal are also received simultaneously (step 41b).
[0038]
Subsequently, the received encoded image frame signal is decoded according to the encoding method indicated by the CI. That is, the encoded image frame signal is decoded, and the decoded signal is inversely quantized and then subjected to inverse discrete cosine transform to obtain a decoded image frame signal, that is, a still image. The data is stored in the buffer 14 (step 41c).
[0039]
Subsequently, the moving image decoding unit 13 adds a reproduction time PTS to the obtained decoded image frame signal. Therefore, first, it is checked whether or not PTS is added to the received encoded image frame signal (step 41d). If added, it is checked whether an error is mixed in the added PTS.
[0040]
That is, first, if a CI is added to the received encoded image frame signal, it is added to the encoded image frame signal received in the past and stored in the moving image decoding unit 13. It is checked whether it is the same as the current CI (step 41e). If they are the same, the CI is correct, so it is determined that there is no error in the PTS added to the received encoded image frame signal. This is because the CI and the PTS are transmitted as the same or adjacent TS packets, so that when one is correctly transmitted, the other can be regarded as correctly transmitted.
[0041]
Subsequently, the PTS and the image frame signal decoded in step 41c are stored in the image buffer 14 (step 41f).
[0042]
If it is determined in step 41e that the correct CI has not been added, the moving picture decoding unit 13 checks whether or not an STC reset signal has been received from the time management unit 21 (step 41g). If the STC reset signal is received, it is determined that there is no error in the PTS, and the PTS and the image frame signal decoded in step 41c are stored in the image buffer 14 (step 41f).
[0043]
This is because when an STC reset signal is received from the time management unit 21, it means that a certain program ends and the first encoded image frame of another program is sent from the demultiplexing unit 11. Since the continuity of the PTS added to the received encoded image frame signal with the past PTS is lost and error detection based on the continuity described later becomes impossible, the added PTS is regarded as correct. This is because it is appropriate.
[0044]
If the STC reset signal has not been received in step 41g, the video decoding unit 13 adds the PTS added to the received encoded image frame signal and the encoded image frame signal received in the past. And the error-free PTS stored in the moving image decoding unit 13 is compared to verify whether there is an error in the PTS added to the received encoded image frame signal (step 41h). ).
[0045]
For example, two criteria are used as the verification criteria of step 41h. As a first criterion, when it is agreed that the image frame signals are sent in the order of reproduction, the PTS added to the received encoded image frame signal is compared with the past error-free PTS. If so, the added PTS is determined to be an error.
[0046]
Further, as a second reference, the difference between the PTS added to the received encoded image frame signal and the PTS without error in the past, the B_TS added to the received encoded image frame signal, and the moving image The difference between B_TS added to the encoded image frame signal added with error-free PTS stored in the image decoding unit 13 is compared, and the difference between the two differences is a predetermined number. If it is above, PTS judges that it is an error.
[0047]
If none of these criteria is met in step 41h, the video decoding unit 13 determines that there is no error in the PTS, and the image frame signal decoded in step P41 and the image frame signal decoded in step 41c. Is stored in the image buffer 14 (step 41f). At this time, the PTS and B_TS are stored in the video decoding unit 13 as an error-free PTS and B_TS added to the encoded image frame signal to which the PTS is added.
[0048]
On the other hand, when it is determined in step 41d that no PTS is added to the received encoded image frame signal, and in step 41h, there is an error in the PTS added to the received encoded image frame signal. If it is determined that there is, the video decoding unit 13 estimates the PTS corresponding to the received encoded image frame signal, and the image buffer 14 uses the PTS and the image frame signal decoded in step 41c. (Step 41i).
[0049]
Here, the estimated PTS value for the received encoded image frame signal is added to the encoded image frame signal to which B_TS added to the image frame signal and the error-free PTS are added. The difference from B_TS is obtained and added to the past error-free PTS.
[0050]
After the PTS of the image frame signal is stored in the image buffer 14 in step 41f or step 41i, the moving image decoding unit 13 returns to step 41b (step 41j), and processes the next image frame.
[0051]
Next, the operation of the image reproduction control unit 15 will be described. The image reproduction control unit 15 reads the time indicated by the STC unit 22 and searches whether the PTS at the same time as the read time is stored in the image buffer 14. If it is stored, the decoded image frame signal stored in the image buffer 14 together with the PTS, that is, the still image is read out and displayed on the display device 6b.
[0052]
Next, the operation of the time management unit 21 will be described. The time management unit 21 receives the PCR output from the demultiplexing unit 11 and calibrates the STC unit 22 so that the STC unit 22 indicates the time indicated by the PCR. When the time management unit 21 detects an STC reset, it sends a signal indicating the STC reset to the moving picture decoding unit 13 and the voice decoding unit 24.
[0053]
Here, the detection of the STC reset in the time management unit 21 is because the time indicated by the PCR changes stepwise before and after a certain time point with a difference of a predetermined value or more. Alternatively, the PCR may include an identifier indicating whether or not the program has been changed, and the identifier may indicate that the program has been changed.
[0054]
Next, the operation of the speech encoding unit 23 will be described. The voice encoding unit 23 first creates a voice frame signal, that is, a voice signal divided at regular time intervals from the voice signal output from the microphone 6c.
[0055]
Subsequently, the audio encoding unit 23 performs time-frequency conversion on each obtained audio frame signal by an AAC (Advanced Audio Coding) method. Subsequently, the obtained MDCT (Modified Discrete Cosine Transform) coefficient is quantized and encoded. The addition of PTS is as already described. Subsequently, the obtained encoded audio frame signal is sent to the demultiplexing unit 11.
[0056]
Next, the operation of the speech decoding unit 24 will be described. The speech decoding unit 24 first receives the encoded speech frame signal output from the demultiplexing unit 11. At that time, the PTS added thereto is also received. Subsequently, the received encoded audio frame signal is decoded, and the decoded signal is inversely quantized and subjected to inverse time frequency conversion, thereby decoding the decoded audio frame signal, that is, an audio signal having a certain time width. And the signal is stored in the audio buffer 25.
[0057]
Subsequently, the audio decoding unit 24 adds the time PTS to be reproduced to the decoded audio frame signal, similarly to the moving image. If a PTS is added to the received encoded audio frame signal, the PTS and the decoded audio frame signal are stored in the audio buffer 25.
[0058]
If no PTS is added to the audio frame signal, a predetermined estimated value is added to the PTS added to the previously encoded audio frame signal to obtain the PTS. That is, the number of frames k (k = m−1) between the encoded speech frame (frame m) currently received from the past encoded speech frame (frame 1) is obtained, and 1 is added to the number of frames k. The estimated value is calculated by adding the number (k × t) obtained by multiplying the time width t of the speech included in one speech frame. The PTS thus obtained and the decoded audio frame signal are stored in the audio buffer 25.
[0059]
Next, the operation of the audio reproduction control unit 26 will be described. The audio reproduction control unit 26 reads the time indicated by the STC unit 22 and searches whether the PTS at the same time as the read time is stored in the audio buffer 25. If it is stored, the decoded audio frame signal stored in the audio buffer 25 together with the PTS, that is, the audio signal having a predetermined time width is sent to the speaker 6d for sound generation.
[0060]
In the present embodiment, error detection of the PTS added to the encoded speech frame is not performed, but it may be performed. Further, although the moving image is one moving image, the moving image may be defined as a collection of a plurality of moving images having an arbitrary shape. In that case, the present invention can be applied to decoding and reproduction performed for each moving image of any arbitrary shape.
[0061]
Furthermore, although the encoding of the image frame is based on the discrete cosine transform method, it is not limited to this, and the encoding of the audio frame is based on the AAC method, but is not limited thereto. The present invention is not limited to the above configuration, and various modifications are possible.
[0062]
Moreover, although the above description has been made taking an example in which the present invention is applied to a mobile communication terminal device, the present invention can naturally be applied to a receiving device of a broadcasting system.
[0063]
【The invention's effect】
As described above, according to the present invention, when a CI (Configuration Information) that is added to an encoded frame and represents the format of the encoding is correctly received, and the reference synchronization signal of the decoding / playback apparatus When STC (System Time Clock) is reset, it is determined that the PTS received with a small amount of calculation is correct by determining that the received frame playback time and PTS (Presentation Time Stamp) are correct. Can do.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a mobile communication terminal apparatus according to an embodiment of the present invention.
FIG. 2 is a block diagram showing an encoding / decoding device according to an embodiment of the present invention.
FIG. 3 is a diagram showing a data structure of an encoded multimedia program according to an embodiment of the present invention.
FIG. 4 is a flowchart showing an operation of a video decoding unit according to the embodiment of the present invention.
[Explanation of symbols]
5 Coding / Decoding Device 11 Demultiplexing Unit 13 Video Decoding Unit 15 Image Reproduction Control Unit 21 Time Management Unit 22 STC Unit 24 Audio Decoding Unit 26 Audio Reproduction Control Unit

Claims (3)

フレーム単位で符号化された画像信号とフレーム単位で設定された時刻情報とからなるフレーム信号を少なくとも1フレーム信号と、画像信号を再生する際に利用する再生時刻情報とを含むパケットを受信し、前記再生時刻情報に基づいて画像信号の再生を行う復号再生装置において、Receiving a packet including at least one frame signal composed of an image signal encoded in units of frames and time information set in units of frames, and reproduction time information used when reproducing the image signals; In a decoding / playback apparatus for playing back an image signal based on the playback time information,
エラーがないと判定された過去のパケットに含まれる再生時刻情報と時刻情報を記憶する時刻情報記憶手段と、Time information storage means for storing reproduction time information and time information included in past packets determined to have no errors;
再生時刻情報リセット信号を検出する検出手段と、Detecting means for detecting a reproduction time information reset signal;
この検出手段が再生時刻情報リセット信号を検出しないときは、受信したパケットに含まれる再生時刻情報と前記時刻情報記憶手段に記憶されている再生時刻情報とを比較し、受信したパケットに含まれる再生時刻情報が時刻情報記憶手段に記憶されている再生時刻情報より前の時刻を示す場合は受信したパケットに含まれる再生時刻情報のエラーと判定するエラー判定手段と、When this detection means does not detect the reproduction time information reset signal, the reproduction time information included in the received packet is compared with the reproduction time information stored in the time information storage means, and the reproduction included in the received packet is compared. An error determination unit that determines that the reproduction time information included in the received packet is an error when the time information indicates a time earlier than the reproduction time information stored in the time information storage unit;
このエラー判定手段が再生時刻情報にエラーがあると判定すると、前記時刻情報記憶手段に記憶されている時刻情報と受信したパケットに含まれる時刻情報との差分値を求め、この差分値を前記時刻情報記憶手段に記憶されている再生時刻情報に加えて再生時刻を推定する再生時刻推定手段と、When the error determination means determines that there is an error in the reproduction time information, a difference value between the time information stored in the time information storage means and the time information included in the received packet is obtained, and the difference value is calculated as the time information. Reproduction time estimation means for estimating the reproduction time in addition to the reproduction time information stored in the information storage means;
前記検出手段が再生時刻情報リセット信号を検出したとき又は前記エラー判定手段が再生時刻情報のエラーを検出しないときは、受信したパケットに含まれる再生時刻情報に基づいて画像信号を再生し、前記エラー判定手段が再生時刻情報のエラーを検出したときは、前記再生時刻推定手段が推定した再生時刻情報に基づいて画像信号を再生する再生制御手段とWhen the detection means detects a reproduction time information reset signal or when the error determination means does not detect an error in the reproduction time information, an image signal is reproduced based on the reproduction time information included in the received packet, and the error A reproduction control unit that reproduces an image signal based on the reproduction time information estimated by the reproduction time estimation unit when the determination unit detects an error in the reproduction time information;
を具備することを特徴とする復号再生装置。The decoding reproduction | regeneration apparatus characterized by the above-mentioned.
フレーム単位で符号化された画像信号とフレーム単位で設定された時刻情報とからなるフレーム信号を少なくとも1フレーム信号と、画像信号を再生する際に利用する再生時刻情報とを含むパケットを受信し、前記再生時刻情報に基づいて画像信号の再生を行う復号再生装置において、Receiving a packet including at least one frame signal composed of an image signal encoded in units of frames and time information set in units of frames, and reproduction time information used when reproducing the image signals; In a decoding / playback apparatus for playing back an image signal based on the playback time information,
エラーがないと判定された過去のパケットに含まれる再生時刻情報と時刻情報を記憶する時刻情報記憶手段と、Time information storage means for storing reproduction time information and time information included in past packets determined to have no errors;
再生時刻情報リセット信号を検出する検出手段と、Detecting means for detecting a reproduction time information reset signal;
この検出手段が再生時刻情報リセット信号を検出しないときは、受信したパケットに含まれる再生時刻情報と前記時刻情報記憶手段に記憶されている再生時刻情報との第1の差分値と、受信したパケットに含まれる時刻情報と前記時刻情報記憶手段に記憶されている時刻情報との第2の差分値を求め、第1の差分値と第2の差分値との差が所定値を超えている場合は受信したパケットに含まれる再生時刻情報のエラーと判定する判定手段と、When the detection means does not detect the reproduction time information reset signal, the first difference value between the reproduction time information included in the received packet and the reproduction time information stored in the time information storage means, and the received packet When the second difference value between the time information included in the time information and the time information stored in the time information storage means is obtained, and the difference between the first difference value and the second difference value exceeds a predetermined value Determining means for determining an error in the reproduction time information included in the received packet;
このエラー判定手段が再生時刻情報にエラーがあると判定すると、前記第2の差分値を前記時刻情報記憶手段に記憶されている再生時刻情報に加えて再生時刻を推定する再生時刻推定手段と、When the error determination means determines that there is an error in the reproduction time information, reproduction time estimation means for estimating the reproduction time by adding the second difference value to the reproduction time information stored in the time information storage means;
前記検出手段が再生時刻情報リセット信号を検出したとき又は前記エラー判定手段が再生時刻情報のエラーを検出しないときは、受信したパケットに含まれる再生時刻情報に基づいて画像信号を再生し、前記エラー判定手段が再生時刻情報のエラーを検出したときは、前記再生時刻推定手段が推定した再生時刻情報に基づいて画像信号を再生する再生制御手段とWhen the detection means detects a reproduction time information reset signal or when the error determination means does not detect an error in the reproduction time information, an image signal is reproduced based on the reproduction time information included in the received packet, and the error A reproduction control unit that reproduces an image signal based on the reproduction time information estimated by the reproduction time estimation unit when the determination unit detects an error in the reproduction time information;
を具備することを特徴とする復号再生装置。The decoding reproduction | regeneration apparatus characterized by the above-mentioned.
前記再生時刻情報リセット信号は番組の変更の有無を示す識別子であり、前記検出手段は、この識別子が番組の変更を示す場合に再生時刻情報リセット信号を検出したと判断することを特徴とする請求項1または2に記載の復号再生装置。The reproduction time information reset signal is an identifier indicating whether or not a program has been changed, and the detection means determines that the reproduction time information reset signal has been detected when the identifier indicates a program change. Item 3. A decoding reproduction device according to Item 1 or 2.
JP2003046800A 2003-02-25 2003-02-25 Decoding and playback device Expired - Fee Related JP4127799B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003046800A JP4127799B2 (en) 2003-02-25 2003-02-25 Decoding and playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003046800A JP4127799B2 (en) 2003-02-25 2003-02-25 Decoding and playback device

Publications (3)

Publication Number Publication Date
JP2004260374A JP2004260374A (en) 2004-09-16
JP2004260374A5 JP2004260374A5 (en) 2006-04-13
JP4127799B2 true JP4127799B2 (en) 2008-07-30

Family

ID=33113210

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003046800A Expired - Fee Related JP4127799B2 (en) 2003-02-25 2003-02-25 Decoding and playback device

Country Status (1)

Country Link
JP (1) JP4127799B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924941A (en) * 2010-08-30 2010-12-22 深圳市宏电技术股份有限公司 Multimedia decoding method, system and multimedia play equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101924941A (en) * 2010-08-30 2010-12-22 深圳市宏电技术股份有限公司 Multimedia decoding method, system and multimedia play equipment

Also Published As

Publication number Publication date
JP2004260374A (en) 2004-09-16

Similar Documents

Publication Publication Date Title
JP4612171B2 (en) Video decoding / playback module, playback time management program, and multimedia information receiving apparatus
JP4001091B2 (en) Performance system and music video playback device
US6292621B1 (en) Recording apparatus for newly recording a second encoded data train on a recording medium on which an encoded data train is recorded
JP3692164B2 (en) MPEG decoder
JP3558983B2 (en) Digital broadcast recording and playback device
EP1229690A1 (en) Data stream processing device and method, and program storage medium
JP4127799B2 (en) Decoding and playback device
JP4425980B2 (en) Multimedia information receiver
JP3987541B2 (en) Packet stream receiver
US7274863B2 (en) Data stream processing device and method and program storage medium
JPWO2006064689A1 (en) Wireless communication system
JP2008061150A (en) Receiver and information processing method
JP2004015553A (en) Synchronization control method and apparatus thereof, synchronization reproduction apparatus and tv receiving apparatus using the control method and apparatus
KR20070008069A (en) Audio / Video Signal Synchronization Device and Method
JP2002281445A (en) Audio / video decoding / playback apparatus and synchronous playback method thereof
JP2009188674A (en) Transmitting apparatus, receiving apparatus, video / audio transmission quality evaluation method, and video / audio transmission quality evaluation program
JP2005217486A (en) Stream decoding device
JP2006174433A (en) Method and apparatus for processing asynchronous audio streams
JP2823806B2 (en) Image decoding device
JP2001069467A (en) Data playback device
JP2001111610A (en) Receiving device of information data transmission system
JP2001339688A (en) Playback equipment of transport stream
JPH11127435A (en) Decoding device for compression-encoded video / audio signal
JP4390666B2 (en) Method and apparatus for decoding and reproducing compressed video data and compressed audio data
JP4820877B2 (en) Information data receiving apparatus, information data receiving method, information data receiving program, and recording medium storing information data receiving program

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20050415

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20050606

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060223

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080201

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: 20080509

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080512

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110523

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120523

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130523

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140523

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees