JP2005020429A - Stream receiver, stream transmitter and stream transmission and reception system - Google Patents

Stream receiver, stream transmitter and stream transmission and reception system Download PDF

Info

Publication number
JP2005020429A
JP2005020429A JP2003183135A JP2003183135A JP2005020429A JP 2005020429 A JP2005020429 A JP 2005020429A JP 2003183135 A JP2003183135 A JP 2003183135A JP 2003183135 A JP2003183135 A JP 2003183135A JP 2005020429 A JP2005020429 A JP 2005020429A
Authority
JP
Japan
Prior art keywords
data
stream
stream data
management information
time management
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.)
Withdrawn
Application number
JP2003183135A
Other languages
Japanese (ja)
Inventor
Yasuo Yomogida
康雄 蓬田
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 JP2003183135A priority Critical patent/JP2005020429A/en
Publication of JP2005020429A publication Critical patent/JP2005020429A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a stream data receiver capable of receiving an MPEG-2 program stream, etc., halfway and reproducing the program steam, etc., with no waiting time and to provide a transmitter and a transmission and reception system. <P>SOLUTION: This stream data receiver is provided with a data receiving part 11 for receiving stream data, a stream data converting part 12a for rewriting and converting packet time management information of the received stream data and a data recording part 16 for recording the stream data with the time management information rewritten to thereby reproduce the recorded stream data without waiting time regardless of reproduction waiting time set in a packet received at the start of reception even when the stream data are received halfway. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は映像や音声等の信号、特に、MPEG−2(Moving Picture Expert Group Phase 2)のプログラムストリームおよびMPEG−1システムストリームを蓄積した後、待ち時間無しに再生を行うことができるストリームデータ受信装置、送信装置および送受信システムに関するものである。
【0002】
【従来の技術】
従来、映像信号、音声信号を符号化し、送信する場合には、アクセスユニットと呼ばれる復号再生の単位ごとのタイミングを合わせたり、映像と音声の双方の同期をとったりなどの理由により、各アクセスユニットごとに、いつ復号再生すべきかを示すタイムスタンプが付加される。また、このタイムスタンプに対して、時間基準が与えられる時刻基準参照値が与えられる。この基準時刻参照値により、復号器において、符号器側で意図した値にセットおよび校正することができる。
【0003】
このような基準時刻参照値を用いてデータの送受信を行うものとして、図13に示すような通信装置が知られている。
【0004】
この通信装置においては、ATM/MPEG変換部211が、ネットワーク200を介して伝送されてきたATMセルをMPEGトランスポートパケットに変換し、TSパケット同期部212に出力する。TSパケット同期部212では、ATM/MPEG変換部211からのMPEGトランスポートパケットの同期を確立し、PCRパケット検出部213に出力する。PCRパケット検出部213は、PCR(Program Clock Reference、プログラム時刻基準参照値)を含むパケットを検出し、検出結果をPCR書換部214に出力する。水晶発振器215は、27MHzのクロックを発生し、PCR書換部214に出力する。PCR書換部214は、水晶発振器215からのクロックをカウントするとともに、PCRパケットのPCRを、そのPCRとカウント値に基づいて算出した値に書き換える。これにより、ネットワークのクロックを参照することなく、遅延ゆらぎを吸収することができるようにしている(例えば、特許文献1参照)。
【0005】
【特許文献1】
特開2001−16210号公報
【0006】
【発明が解決しようとする課題】
しかしながら、このような従来の通信装置においては、送信するデータ形式が、ストリーム伝送に最適化されたMPEG2トランスポートパケットであるため、蓄積して再生するためには、トランスポートストリームからプログラムストリームへの変換を蓄積後に行わなければならない。MPEG2プログラムストリームのままデータを送信する通信装置とした場合、各パケットは、パケットヘッダに指定された待ち時間後に再生を行うようにタイムスタンプが設定されているために、はじめから再生を行う場合には、連続した再生を行うことができるけれども、途中から再生を行う場合には、該当のパケットに設定された待ち時間を待たなければ、再生が始まらないという問題があった。
【0007】
例えば、図14に示すように、ストリームデータの送信からN秒後に、受信を開始して、この時点から受信した映像を表示しようとしても、受信時のパケットには、N秒後に再生と設定されているので、N秒からさらにN秒待った2N秒になってから映像が再生されるため、受信開始からN秒の待ち時間が発生してしまうという問題があった。
【0008】
本発明はこのような問題を解決するためになされたもので、途中参加で受信したコンテンツに対して、待ち時間無しに再生を行うことができ、任意の時間からのデータ記録を行うことができるストリームデータ受信装置、送信装置および送受信システムを提供するものである。
【0009】
【課題を解決するための手段】
本発明のストリーム受信装置は、映像信号が符号化されるとともに前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを受信するデータ受信手段と、受信した前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換手段と、前記時刻管理情報が書き換えられたストリームデータを記録するデータ記録手段とを備えたことを特徴とした構成を有している。
【0010】
この構成により、ストリームデータの時刻管理情報を書き換えて、記録するので、ストリームデータを途中から受信しても、受信開始時に受け取ったパケットに設定された再生待ち時間に関わりなく、記録したストリームデータを所望の時間に再生させることができることとなる。
【0011】
また、本発明のストリーム受信装置は、前記ストリームデータ変換手段は、前記データ受信手段が受信したストリームデータの概要情報をあらわしたシステムヘッダを付加するヘッダ付加手段と、前記ストリームデータの時刻管理情報を書き換える時刻管理情報書き換え手段と、を備えたことを特徴とした構成を有している。
【0012】
この構成により、ストリームデータ中の時刻管理情報を書き換えるとともに、システムヘッダを付加するので、途中から受け取ったストリームデータであっても、変換後のストリームデータを従来のストリームデータと同様に取り扱うことができることとなる。
【0013】
さらに、本発明のストリーム受信装置は、前記ストリームデータ変換手段は、前記データ受信手段が受信したストリームデータの時刻管理情報を、前記ストリームデータの受信開始時刻を基準値として書き換えることを特徴とした構成を有している。
【0014】
この構成により、受信開始時刻を基準時刻としてストリームデータの時刻管理情報を書き換えるので、ストリームデータを再生するときに、待ち時間なく、瞬時に再生を行うことができることとなる。
【0015】
さらに、本発明のストリーム受信装置は、前記受信手段が受信するストリームデータは、前記映像信号と関連した符号化された音声信号および前記音声信号の復号再生時刻を管理する時刻管理情報を有し、前記映像信号および前記音声信号は、前記時刻管理情報により同期がとれるものであり、前記ストリームデータ変換手段は、前記映像信号と前記音声信号との同期を保って前記時刻管理情報の書き換えを行うことを特徴とした構成を有している。
【0016】
この構成により、映像と音声が多重符号化されたストリームデータの時刻管理情報を、映像と音声の同期を保って書き換えるので、ストリームデータ変換後も、映像と音声を同期させて再生することができることとなる。
【0017】
さらに、本発明のストリーム受信装置は、前記ストリームデータ変換手段によって前記時刻管理情報が書き換えられたストリームデータを、前記映像信号に関わる第1のデータと前記音声信号に関わる第2のデータとに分離する多重データ分離手段と、分離された前記映像信号に関わる第1のデータを復号化して映像信号を生成する映像信号復号化手段と、分離された前記音声信号に関わる第2のデータを復号化して音声信号を生成する音声信号復号化手段と、前記映像信号復号化手段により復号化された映像信号を、前記書き換えられた時刻管理情報に基づいて表示する映像信号表示手段と、前記音声信号復号化手段により復号化された音声信号を、前記書き換えられた時刻管理情報に基づいて再生する音声信号再生手段とを備えたことを特徴とした構成を有している。
【0018】
この構成により、映像信号と音声信号を分離して、復号化し、時刻管理情報に基づいて再生するので、ストリームデータの途中からであっても、すぐに映像および音声を再生することができることとなる。
【0019】
さらに、本発明のストリーム受信装置は、映像信号および前記映像信号に関連した音声信号が符号化されるとともに、前記映像信号および前記音声信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを受信するデータ受信手段と、受信した前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換手段と、前記時刻管理情報が書き換えられたストリームデータを、前記映像信号に関わる第1のデータと前記音声信号に関わる第2のデータとに分離する多重データ分離手段と、前記分離された映像信号に関わる第1のデータを復号化して映像信号を生成する映像信号復号化手段と、前記分離された音声信号に関わる第2のデータを復号化して音声信号を生成する音声信号復号化手段と、前記映像信号復号化手段により復号化された映像信号を、前記書き換えられた時刻管理情報に基づいて表示する映像信号表示手段と、前記音声信号復号化手段により復号化された音声信号を、前記書き換えられた時刻管理情報に基づいて再生する音声信号再生手段とを備えたことを特徴とした構成を有している。
【0020】
この構成により、変換後のストリームデータを記録しなくても、映像信号と音声信号を分離して、復号化し、時刻管理情報に基づいて再生するので、ストリームデータの途中からであっても、すぐに映像および音声を再生することができることとなる。
【0021】
さらに、本発明のストリーム受信装置は、前記ストリームデータは、MPEG方式に準拠したビットストリームであることを特徴とした構成を有している。
【0022】
この構成により、MPEGのビットストリームを受信するので、映像信号、音声信号符号化の国際標準データを受信することができ、互換性が高く、標準的なデータを受信することができることとなる。
【0023】
さらに、本発明のストリーム送信装置は、映像信号を符号化するとともに、前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを生成するデータ生成手段と、前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換手段と、変換された前記ストリームデータを記録するデータ記録手段と、前記データ生成手段で生成されたストリームデータまたは記録された前記ストリームデータを外部に送信するデータ送信手段とを備えたことを特徴とした構成を有している。
【0024】
この構成により、ストリームデータを生成し、送信し、時刻管理情報を書き換えて記録するので、ストリームデータの生成開始時間から設定されている再生待ち時間にかかわりなく、記録したストリームデータを所望の時間に再生させることができ、記録したデータを送信することができることとなる。
【0025】
さらに、本発明のストリーム送信装置は、前記ストリームデータ変換手段は、前記データ生成手段が生成したストリームデータの概要情報をあらわしたシステムヘッダを付加するヘッダ付加手段と、前記ストリームデータの時刻管理情報を書き換える時間管理情報書き換え手段と、を備えたことを特徴とした構成を有している。
【0026】
この構成により、所定の時刻を取得して、この時刻を基準に時刻管理情報を書き換えるので、ストリームデータを送信しながら任意の位置から記録することができ、記録されたストリームデータを待ち時間なく再生することができることとなる。
【0027】
さらに、本発明のストリーム送信装置は、前記ストリームデータ変換手段が書き換える時刻管理情報の基準時刻を取得する基準時刻取得手段を備え、前記ストリームデータ変換手段は、前記データ生成手段が生成したストリームデータの時刻管理情報を、前記基準時刻に基づいて書き換えることを特徴とした構成を有している。
【0028】
この構成により、所定の時刻を取得して、この時刻を基準に時刻管理情報を書き換えるので、ストリームデータを任意の位置から録画して、待ち時間なく再生することができるストリームデータを送信することができることとなる。
【0029】
さらに、本発明のストリーム送信装置は、前記データ生成手段は、前記映像信号と関連した音声信号を符号化するとともに、前記音声信号の復号再生時刻を管理する時刻管理情報を含む付加情報を付与し、前記映像信号と多重化した前記ストリームデータを生成し、前記ストリームデータ変換手段は、前記映像信号と前記音声信号との同期を保って前記時刻管理情報の書き換えを行うことを特徴とした構成を有している。
【0030】
この構成により、映像と音声とを多重符号化し、映像と音声の同期を保って時刻管理情報を書き換えるので、ストリームデータ変換後も、映像と音声とが同期したストリームデータを送信することができることとなる。
【0031】
さらに、本発明のストリーム送信装置は、前記ストリームデータは、MPEG方式に準拠したビットストリームであることを特徴とした構成を有している。
【0032】
この構成により、MPEGのビットストリームを送信するので、映像信号、音声信号符号化の国際標準データを送信することができ、互換性が高く、標準的なデータを送信することができることとなる。
【0033】
さらに、本発明のストリーム送受信システムは、映像信号を符号化するとともに、前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを生成するデータ生成手段と、生成された前記ストリームデータを外部に送信するデータ送信手段と、送信された前記ストリームデータを途中から受信するデータ受信手段と、受信した前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換手段と、前記時刻管理情報が書き換えられたストリームデータを記録するデータ記録手段とを備えたことを特徴とした構成を有している。
【0034】
この構成により、映像信号を符号化したストリームデータを送信して、このストリームデータを途中から受信し、時刻管理情報を書き換えて記録するので、再生時の待ち時間を変更することができ、ストリームデータの途中からでも、復号化後すぐに再生が始まるストリームデータを記録することができることとなる。
【0035】
さらに、本発明のストリーム送受信システムは、前記ストリームデータ変換手段は、前記データ受信手段が受信したストリームデータの時刻管理情報を、前記ストリームデータの受信開始時刻を基準値として書き換えることを特徴とした構成を有している。
【0036】
この構成により、時刻管理情報をストリームデータの受信開始時刻を基準値として書き換えるので、受信を開始したデータからすぐに再生を行うストリームデータとして記録することができることとなる。
【0037】
さらに、本発明のストリーム送受信システムは、前記データ生成手段は、前記映像信号と関連した音声信号を符号化するとともに、前記音声信号の復号再生時刻を管理する時刻管理情報を含む付加情報を付与し、前記映像信号と多重化した前記ストリームデータを生成し、前記ストリームデータ変換手段は、前記映像信号と前記音声信号との同期を保って前記時刻管理情報の書き換えを行うことを特徴とした構成を有している。
【0038】
この構成により、映像と音声との同期を保って時刻管理情報が書き換えられるので、ストリームデータ変換後も、映像と音声が同期しているデータを記録することができることとなる。
【0039】
さらに、本発明のストリーム送受信システムは、前記ストリームデータ変換手段に前記時刻管理情報が書き換えられたストリームデータを、前記映像信号に関連した第1のデータと前記音声信号に関連した第2のデータとに分離する多重データ分離手段と、前記分離された映像信号に関連した第1のデータを復号化して映像信号を生成する映像信号復号化手段と、前記分離された音声信号に関連した第2のデータを復号化して音声信号を生成する音声信号復号化手段と、前記映像信号復号化手段により復号化された映像信号を、前記書き換えられた時刻管理情報に基づいて表示する映像信号表示手段と、前記音声信号復号化手段により復号化された音声信号を、前記書き換えられた時刻管理情報に基づいて再生する音声信号再生手段とを備えたことを特徴とした構成を有している。
【0040】
この構成により、映像信号と音声信号とを分離して、復号化し、時刻管理情報に基づいて再生するので、ストリームデータの途中からであっても、すぐに映像および音声を再生することができることとなる。
【0041】
さらに、本発明のストリーム送受信システムは、映像信号を符号化するとともに、前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを生成するデータ生成手段と、前記生成されたストリームデータを途中から再生するための基準時刻情報を取得する基準時刻取得手段と、前記ストリームデータの概要情報をあらわしたシステムヘッダを付加するとともに、前記ストリームデータの時刻管理情報を前記基準時刻に基づき書き換えて、前記ストリームデータを変換するストリームデータ変換手段と、前記変換されたストリームデータを記録するデータ記録手段と、前記記録されたストリームデータを外部に送信するデータ送信手段と、前記送信されたストリームデータを受信するデータ受信手段と、前記受信したストリームデータを復号化する復号化手段と、前記復号化手段により復号化された信号を、前記書き換えられた時刻管理情報に基づいて再生する再生手段とを備えたことを特徴とした構成を有している。
【0042】
この構成により、送信側で時刻管理情報が書き換えられた途中からのストリームデータを記録し、送信するので、ストリームデータ中の必要な部分だけを抽出したものを送受信できるとともに、再生時の待ち時間をなくすことができることとなる。
【0043】
さらに、本発明のストリーム送受信システムは、前記ストリーム受信装置と、前記ストリーム送信装置とを備えたことを特徴とした構成を有している。
【0044】
この構成により、前記ストリーム送信装置および前記ストリーム受信装置で任意にストリームデータを記録することができ、前記記録したストリームデータを前記ストリーム送信装置から送信することができ、前記記録したストリームデータを任意に再生することができることとなる。
【0045】
さらに、本発明のストリーム受信プログラムは、映像信号が符号化されるとともに前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを受信するデータ受信ステップと、受信した前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換ステップと、前記時刻管理情報が書き換えられたストリームデータを記録するデータ記録ステップとを備えたことを特徴とした構成を有している。
【0046】
この構成により、ストリームデータの時刻管理情報を書き換えて、記録するので、ストリームデータを途中から受信しても、受信開始時に受け取ったパケットに設定された再生待ち時間に関わりなく、記録したストリームデータを所望の時間に再生させることができることとなる。
【0047】
さらに、本発明のストリーム送信プログラムは、映像信号を符号化するとともに、前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを生成するデータ生成ステップと、前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換ステップと、変換された前記ストリームデータを記録するデータ記録ステップと、前記データ生成ステップで生成されたストリームデータまたは記録された前記ストリームデータを外部に送信するデータ送信ステップとを備えたことを特徴とした構成を有している。
【0048】
この構成により、ストリームデータの時刻管理情報を書き換えて、記録し、送信するので、再生時の待ち時間を調整したストリームデータを送信することができることとなる。
【0049】
さらに、本発明のストリーム送受信プログラムは、映像信号を符号化するとともに、前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを生成するデータ生成ステップと、生成された前記ストリームデータを外部に送信するデータ送信ステップと、送信された前記ストリームデータを途中から受信するデータ受信ステップと、受信した前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換ステップと、前記時刻管理情報が書き換えられたストリームデータを記録するデータ記録ステップとを備えたことを特徴とした構成を有している。
【0050】
この構成により、映像信号を符号化したストリームデータを送信して、このストリームデータを途中から受信し、時刻管理情報を書き換えて記録するので、再生時の待ち時間を変更することができ、ストリームデータの途中からでも、復号化後すぐに再生が始まるストリームデータを記録することができることとなる。
【0051】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を用いて説明する。
(第1の実施の形態)
【0052】
図1に示すように、本発明の第1の実施の形態のストリーム受信装置10aは、ビデオデータ(映像信号)およびオーディオデータ(音声信号)が多重化されたストリームデータを受信するデータ受信部11と、前記ストリームデータの時刻管理情報を書き換えて変換するストリームデータ変換部12aと、前記変換されたストリームデータを記録するデータ記録部16と、前記変換されたストリームデータをビデオデータおよびオーディオデータに分離する蓄積型オーディオビデオ多重データ分離部17と、前記分離されたビデオデータを復号化するビデオデータ復号化部18と、前記分離されたオーディオデータを復号化するオーディオデータ復号化部19と、前記復号化されたビデオデータを表示するビデオ表示部20と、前記復号化されたオーディオデータを再生するオーディオ再生部21とを備えている。
【0053】
ここで、本実施の形態において取り扱うストリームデータは、MPEG−2(Moving Picture Expert Group Phase 2)のPS(プログラムストリーム)とする。
【0054】
図2、図3に、MPEG方式により符号化されたストリームデータのフォーマット構造を示し、説明する。
【0055】
MPEGストリームデータは、パケットによる多重化が行われ、図2、図3に示すようにビデオデータ、オーディオデータを多重化する場合、ビデオデータ、オーディオデータそれぞれを適当な長さのパケットに分割し、ヘッダなどの付加情報が付けられて、適宜、ビデオ、オーディオのパケットを切り換えて時分割伝送される。ビデオかオーディオか等のデータの性質は、パケットヘッダに識別符号を付与することにより、判断することができる。
【0056】
また、通常は複数のパケットを束ねたパックという構成単位で取り扱われ、複数のパックによりMPEGのストリームデータが構成される。各パックにはパックヘッダが付与され、先頭のパックには、ストリーム全体の概要を記述したシステムヘッダが付けられる。
【0057】
さらに、パックヘッダ内には、SCR(System Clock Reference、システム時刻基準参照値)というMPEGシステム復号器において時刻基準となるSTC(System Time Clock、基準となる同期情報)の値を符号器側で意図した値にセットおよび校正するための時刻管理情報が存在する。
【0058】
また、パケットヘッダ内には、PTS(Presentation TimeStamp)という再生出力の時刻管理情報と、DTS(Decoding Time Stamp)という復号の時刻管理情報とが存在する。このPTSとDTSとが一致する場合には、PTSだけを付けることになっている。
【0059】
以下、ストリーム受信装置10aの各部について詳細に説明する。
【0060】
データ受信部11は、ビデオデータおよびオーディオデータが多重化され、時刻管理情報が付与された上記のようなストリームデータを受信するものである。また、データ受信部11が受信するストリームデータは、ビデオデータまたはオーディオデータの一方のみが符号化されたストリームデータであっても構わない。
【0061】
ストリームデータ変換部12aは、データ受信部11が受信したストリームデータのパックヘッダまたはパケット内の時刻管理情報を書き換えて、前記ストリームデータを変換するものである。具体的には、パックヘッダ内のSCR、または、パケットヘッダ内のPTS、DTSを書き換える。
【0062】
また、ストリームデータ変換部12aは、データ受信部11が受信したストリームデータの概要情報をあらわしたシステムヘッダを付加するヘッダ付加部13と、ストリームデータのパックヘッダまたはパケット内の時刻管理情報(タイムスタンプ)を書き換える録画用タイムスタンプ書き換え部14および再生用タイムスタンプ書き換え部15を備えている。
【0063】
ここで、録画用タイムスタンプ書き換え部14は、データ記録用のストリームデータの時刻管理情報を書き換えるものであり、再生用タイムスタンプ書き換え部15は、データ表示用のストリームデータの時刻管理情報を書き換えるものである。
【0064】
また、録画用タイムスタンプ書き換え部14および再生用タイムスタンプ書き換え部15は、ストリームデータ中のビデオデータとオーディオデータとの同期を保って前記時刻管理情報の書き換えを行うものである。
【0065】
さらに、録画用タイムスタンプ書き換え部14は、前記ストリームデータのパックヘッダまたはパケット内の時刻管理情報を、ストリームデータのデータ録画開始時刻を基準(0秒)として、それ以降の時刻管理情報を全て書き換えるものである。また、再生用タイムスタンプ書き換え部15は、前記ストリームデータのパックヘッダまたはパケット内の時刻管理情報を、ストリームデータのデータ再生開始時刻を基準(0秒)として、それ以降の時刻管理情報を全て書き換えるものである。
【0066】
具体的には、録画開始時または再生開始時の時刻におけるストリームデータのパックヘッダまたはパケットヘッダの時刻管理情報が、「N秒後に再生」となっていたら、「0秒後に再生」と書き換え、それ以降の時刻管理情報は、N秒引いた値とする。例えば、録画開始以降のストリームデータの時刻管理情報が「T秒後に再生」となっていたら、「(T−N)秒後に再生」と書き換える。
【0067】
これにより、図4に示すように、途中参加でも再生をすぐに開始することができることとなる。また、録画に関しても同様に、自由な地点から録画を行うことができることとなる。
【0068】
また、ストリームデータ変換部12aは、ヘッダ付加部13と、録画用タイムスタンプ書き換え部14および再生用タイムスタンプ書き換え部15の、タイムスタンプ書き換え部を2つ持つものとしたが、図5に示すストリーム受信装置10bのストリームデータ変換部12bのように、ヘッダ付加部31と、タイムスタンプ書き換え部32との構成としても良い。
【0069】
ストリーム受信装置10aの各部詳細説明に戻り、データ記録部16は、録画用タイムスタンプ書き換え部14に前記時刻管理情報が書き換えられたストリームデータを記録するものである。
【0070】
蓄積型オーディオビデオ多重データ分離部17は、再生用タイムスタンプ書き換え部15に前記時刻管理情報が書き換えられたストリームデータを、ビデオデータおよびオーディオデータに分離するものである。
【0071】
ビデオデータ復号化部18は、蓄積型オーディオビデオ多重データ分離部17に分離されたビデオデータを復号化するものである。オーディオデータ復号化部19は、蓄積型オーディオビデオ多重データ分離部17に分離されたオーディオデータを復号化するものである。
【0072】
ビデオ表示部20は、ビデオデータ復号化部18により復号化されたビデオデータを、再生用タイムスタンプ書き換え部15に書き換えられた時刻管理情報に基づいて表示するものである。オーディオ再生部21は、オーディオデータ復号化部19により復号化されたオーディオデータを、再生用タイムスタンプ書き換え部15に書き換えられた時刻管理情報に基づいて再生するものである。
【0073】
次に、本実施の形態に係るストリーム受信装置10aの動作について、図6にフローチャートを示し、説明する。
【0074】
まず、ストリーム受信装置10aでは、データ受信部11で、ストリームデータ(MPEG2−PS)を受信する(ステップS11)。データ受信部11では、ストリームデータを受信すると、受信したストリームデータをストリームデータ変換部12aの録画用タイムスタンプ書き換え部14および再生用タイムスタンプ書き換え部15に出力する。また、ヘッダ付加部13は、データ受信部11が受信したストリームデータのシステムヘッダを生成し、録画用タイムスタンプ書き換え部14および再生用タイムスタンプ書き換え部15に出力する(ステップS12)。
【0075】
次に、録画用タイムスタンプ書き換え部14は、録画開始時刻を基準として、データ受信部11から入力したストリームデータのパックヘッダまたはパケットヘッダ内の時刻管理情報を書き換える。また、ヘッダ付加部13から入力したシステムヘッダを付加して、前記ストリームデータを変換し、データ記録部16に出力する(ステップS13)。
【0076】
また、再生用タイムスタンプ書き換え部15は、再生開始時刻を基準として、データ受信部11から入力したストリームデータのパックヘッダまたはパケットヘッダ内の時刻管理情報を書き換える。また、ヘッダ付加部13から入力したシステムヘッダを付加して、前記ストリームデータを変換し、蓄積型オーディオビデオ多重データ分離部17に出力する(ステップS14)。
【0077】
ここで、ストリームデータのデータ構造図を図7に示し、ストリームデータ変換部12aのストリームデータ変換処理を説明する。
【0078】
ストリームデータの先頭パックには、パックヘッダに続いてシステムヘッダが存在するが、必要な途中からのデータには存在しない。そこで、必要なパケットだけを取り、システムヘッダを付けたパックを生成して、新たなストリームデータとして書き換える。このとき、時刻管理情報も書き換える。これにより、生成されたストリームデータは、通常のMPEGデータとして普通に取り扱うことができるようになる。
【0079】
ストリーム受信装置10aの動作処理説明に戻り、ストリームデータ変換部12aにより、ストリームデータの書き換えが終了したら、データ記録部16は、録画用タイムスタンプ書き換え部14から入力されたストリームデータを記録する(ステップS15)。
【0080】
蓄積型オーディオビデオ多重データ分離部17は、再生用タイムスタンプ書き換え部15から入力されたストリームデータを、ビデオデータおよびオーディオデータに分離して、分離したビデオデータをビデオデータ復号化部18に出力し、分離したオーディオデータをオーディオデータ復号化部19に出力する(ステップS16)。
【0081】
次に、ビデオデータ復号化部18は、蓄積型オーディオビデオ多重データ分離部17から入力されたビデオデータを復号化し、ビデオ表示部20に出力する(ステップS17)。また、オーディオデータ復号化部19は、蓄積型オーディオビデオ多重データ分離部17から入力されたオーディオデータを復号化し、オーディオ再生部21出力する(ステップS18)。
【0082】
次に、ビデオ表示部20は、ビデオデータ復号化部18から入力されたビデオデータを、再生用タイムスタンプ書き換え部15に書き換えられた時刻管理情報に基づいて表示する。また、オーディオ再生部21は、オーディオデータ復号化部19から入力されたオーディオデータを、再生用タイムスタンプ書き換え部15に書き換えられた時刻管理情報に基づいて再生する(ステップS19)。
【0083】
以上の処理により、本発明の第1の実施の形態によれば、復号化されたビデオデータおよびオーディオデータは、書き換えられた時刻管理情報によって同期され、映像と音声とを一致させて表示、再生することができる。また、時刻管理情報を書き換えるので、ストリームデータを途中から受信しても、受信開始時に受け取ったパケットに設定された再生待ち時間を待たずに、再生することができる。また、録画時に時刻管理情報を書き換えることにより、このストリームデータを再生するときに、待ち時間なく、瞬時に再生を行うことができる。
(第2の実施の形態)
【0084】
次に、本発明の第2の実施の形態におけるストリーム送信装置について説明する。
【0085】
図8に示すように、本発明の第2の実施の形態におけるストリーム送信装置40は、映像信号入力部41と、音声信号入力部42と、ビデオデータおよびオーディオデータを符号化し、多重化してストリームデータを生成する蓄積型オーディオビデオ多重データ生成部43と、ストリームデータを外部に送信するデータ送信部47と、ストリームデータの時刻管理情報を書き換えるストリームデータ変換部48と、ストリームデータを記録するデータ記録部51とを備えている。
【0086】
また、蓄積型オーディオビデオ多重データ生成部43は、ビデオデータの復号再生時刻を管理する時刻管理情報を含む付加情報を付与するとともに、ビデオデータを符号化するビデオデータ符号化部44と、オーディオデータの復号再生時刻を管理する時刻管理情報を含む付加情報を付与するとともに、オーディオデータを符号化するオーディオデータ符号化部45と、ビデオデータおよびオーディオデータを多重化する蓄積型オーディオビデオデータ多重化部46とを備えている。
【0087】
ビデオデータ符号化部44は、映像信号入力部41からビデオデータ(映像信号)を入力して符号化し、出力するものである。オーディオデータ符号化部45は、音声信号入力部42から前記ビデオデータと関連したオーディオデータ(音声信号)を入力して符号化し、出力するものである。蓄積型オーディオビデオデータ多重化部46は、ビデオデータ符号化部44から符号化されたビデオデータを入力し、オーディオデータ符号化部45から符号化されたオーディオデータを入力し、それぞれの識別符号を含むヘッダ情報を付加して多重化し、出力するものである。
【0088】
データ送信部47は、蓄積型オーディオビデオデータ多重化部46からストリームデータを入力し、ネットワーク上に送信するものである。
【0089】
ストリームデータ変換部48は、ストリームデータのシステムヘッダを生成し付加するヘッダ付加部49と、ストリームデータ中の時刻管理情報(タイムスタンプ)を書き換えるタイムスタンプ書き換え部50とを備えている。
【0090】
ヘッダ付加部49は、蓄積型オーディオビデオデータ多重化部46に多重化されたストリームデータのシステムヘッダを生成して、タイムスタンプ書き換え部50に受け渡すものである。
【0091】
タイムスタンプ書き換え部50は、蓄積型オーディオビデオデータ多重化部46からストリームデータを入力して、このストリームデータの時刻管理情報を録画タイミングにしたがって書き換えるものである。また、この書き換えの時刻は、所定の時刻を外部から与えるようにしても良い。また、この時刻管理情報の書き換えは、ビデオデータとオーディオデータの同期を保って書き換える。
【0092】
時刻管理情報の具体的な書き換え方法としては、第1の実施の形態におけるストリーム受信装置10aでの時刻管理情報の書き換え方法と同様に、録画開始時の時刻におけるストリームデータのパックヘッダまたはパケットヘッダの時刻管理情報が、「N秒後に再生」となっていたら、「0秒後に再生」と書き換え、それ以降の時刻管理情報は、N秒引いた値とする。例えば、録画開始以降のストリームデータの時刻管理情報が「T秒後に再生」となっていたら、「(T−N)秒後に再生」と書き換える。
【0093】
データ記録部51は、上記のようにタイムスタンプ書き換え部50に時刻管理情報が書き換えられたストリームデータを記録するものである。
【0094】
次に、本実施の形態に係るストリーム送信装置40の動作について、図9にフローチャートを示し、説明する。
【0095】
まず、本ストリーム送信装置40では、映像信号入力部41および音声信号入力部42で、映像信号(ビデオデータ)および音声信号(オーディオデータ)を入力する(ステップS31)。映像信号入力部41および音声信号入力部42では、ビデオデータおよびオーディオデータを入力すると、入力したビデオデータを蓄積型オーディオビデオ多重データ生成部43のビデオデータ符号化部44に、オーディオデータを蓄積型オーディオビデオ多重データ生成部43のオーディオデータ符号化部45に、それぞれ出力する(ステップS32)。
【0096】
次に、ビデオデータ符号化部44は、映像信号入力部41からビデオデータを入力して、ビデオデータの復号再生時刻を管理する時刻管理情報を含む付加情報を付与するとともに、ビデオデータを符号化して、蓄積型オーディオビデオデータ多重化部46に出力する(ステップS33)。
【0097】
オーディオデータ符号化部45は、音声信号入力部42から前記ビデオデータと関連したオーディオデータを入力して、オーディオデータの復号再生時刻を管理する時刻管理情報を含む付加情報を付与するとともに、オーディオデータを符号化して、蓄積型オーディオビデオデータ多重化部46に出力する(ステップS34)。
【0098】
次に、蓄積型オーディオビデオデータ多重化部46は、ビデオデータ符号化部44から符号化されたビデオデータと、オーディオデータ符号化部45から符号化されたオーディオデータとを入力し、それぞれの識別符号を含むヘッダ情報を付加して多重化して出力する(ステップS35)。
【0099】
次に、データ送信部47は、蓄積型オーディオビデオデータ多重化部46からビデオデータおよびオーディオデータが多重化されたストリームデータを入力し、ネットワーク上に送信する(ステップS36)。
【0100】
また、ヘッダ付加部49は、蓄積型オーディオビデオデータ多重化部46に多重化されたストリームデータのシステムヘッダを生成して、タイムスタンプ書き換え部50に出力する(ステップS37)。
【0101】
タイムスタンプ書き換え部50は、蓄積型オーディオビデオデータ多重化部46からストリームデータを入力して、ヘッダ付加部49から入力したシステムヘッダを付加し、前記ストリームデータの時刻管理情報を録画タイミングにしたがって書き換える(ステップS38)。
【0102】
データ記録部51では、タイムスタンプ書き換え部50によって時刻管理情報が書き換えられたストリームデータを入力し、記録する(ステップS39)。このデータ記録部51に記録されたストリームデータは、必要に応じて送信することができる。
【0103】
以上の処理により、本発明の第2の実施の形態によれば、所定の録画タイミングでストリームデータの途中からのデータを、通常のストリームデータと同様のデータとして記録することができるとともに、再生時に待ち時間なく瞬時に再生することができるストリームデータを記録させることができる。
(第3の実施の形態)
【0104】
次に、本発明の第3の実施の形態におけるストリーム送受信システムについて説明する。
【0105】
図10に示すように、本発明の第3の実施の形態におけるストリーム送受信システム101は、ストリームデータを生成して送信するストリーム送信装置60と、ストリームデータを受信して記録および再生するストリーム受信装置10aとを備え、ストリーム送信装置60とストリーム受信装置10aとは、ネットワーク100を介して接続されるものである。
【0106】
また、ストリーム送信装置60は、映像信号入力部61と、音声信号入力部62と、ビデオデータおよびオーディオデータを符号化し、多重化してストリームデータを生成する蓄積型オーディオビデオ多重データ生成部63と、ストリームデータを外部に送信するデータ送信部67とを備えている。
【0107】
さらに、蓄積型オーディオビデオ多重データ生成部63は、ビデオデータの復号再生時刻を管理する時刻管理情報を含む付加情報を付与するとともに、ビデオデータを符号化するビデオデータ符号化部64と、オーディオデータの復号再生時刻を管理する時刻管理情報を含む付加情報を付与するとともに、オーディオデータを符号化するオーディオデータ符号化部65と、ビデオデータおよびオーディオデータを多重化する蓄積型オーディオビデオデータ多重化部66とを備えている。
【0108】
したがって、ストリーム送信装置60は、第2の実施の形態におけるストリーム送信装置40から、ストリームデータ変換部48と、データ記録部51とを取り除いたもの、あるいは、従来のストリーム送信装置と同様のものである。
【0109】
また、ストリーム受信装置10aは、第1の実施の形態におけるストリーム受信装置10aと同一のものである。ストリーム受信装置10aについては、同一構成であるので、同一の符号を付して、その説明を省略する。
【0110】
このようなストリーム送受信システム101において、ストリーム送信装置60で従来のストリームデータが生成され、ネットワーク100に送信される。ストリーム受信装置10aでは、ストリーム送信装置60から送信されたストリームデータを途中から受信して、上記実施の形態と同様に、時刻管理情報が書き換えられたストリームデータを記録および再生が行われる。
【0111】
以上のように、本発明の第3の実施の形態によれば、ストリームデータを生成、送信して、受信側でこのストリームデータを途中から受信した場合に時刻管理情報を書き換えて、記録および再生するので、途中からのストリームデータを待ち時間なく、瞬時に再生させることができるとともに、記録させたストリームデータを呼び出して瞬時に再生させることができる。
(第4の実施の形態)
【0112】
次に、本発明の第4の実施の形態におけるストリーム送受信システムについて説明する。
【0113】
図11に示すように、本発明の第4の実施の形態におけるストリーム送受信システム102は、ストリームデータを生成して記録および送信するストリーム送信装置40と、ストリームデータを受信して再生するストリーム受信装置80とを備え、ストリーム送信装置40とストリーム受信装置80とは、ネットワーク100を介して接続されるものである。
【0114】
また、ストリーム送信装置40は、第2の実施の形態で説明したストリーム送信装置40と同じものであり、データ記録部51に記録したストリームデータをデータ送信部47から送信するものである。
【0115】
ストリーム受信装置80は、ストリームデータを受信するデータ受信部81と、前記受信されたストリームデータを記録するデータ記録部86と、前記受信されたストリームデータをビデオデータおよびオーディオデータに分離する蓄積型オーディオビデオ多重データ分離部87と、前記分離されたビデオデータを復号化するビデオデータ復号化部88と、前記分離されたオーディオデータを復号化するオーディオデータ復号化部89と、前記復号化されたビデオデータを表示するビデオ表示部90と、前記復号化されたオーディオデータを再生するオーディオ再生部91とを備えている。
【0116】
したがって、ストリーム受信装置80は、上述のストリーム受信装置10aから、ストリームデータ変換部12aを取り除いたもの、あるいは、従来のストリーム受信装置と同様のものである。
【0117】
このようなストリーム送受信システム102において、ストリーム送信装置40では、上記実施の形態と同様に、従来のストリームデータの生成および時刻管理情報を書き換えた途中からのストリームデータを記録し、ネットワーク100に送信される。ストリーム受信装置80では、ストリーム送信装置40から送信された時刻管理情報が書き換えられたストリームデータを受信して、ストリームデータの記録および再生が行われる。
【0118】
以上のように、本発明の第4の実施の形態によれば、送信装置側で所定の時刻からのストリームデータを、時刻管理情報を書き換えて記録する。この時刻管理情報が書き換えられたストリームデータは、通常のストリームデータとフォーマット構造は同じなので、従来のストリームデータと同様に扱うことができ、受信側では、途中からのストリームデータを通常通りに受信して、再生時に待ち時間の発生しないデータの記録および再生を行うことができる。
(第5の実施の形態)
【0119】
次に、本発明の第5の実施の形態におけるストリーム送受信システムについて説明する。
【0120】
本実施の形態では、送信装置および受信装置の双方に、本発明の特徴部を備えるとともに、MPEGに特化したシステム構成とした。
【0121】
図12に示すように、本発明の第5の実施の形態におけるストリーム送受信システム103は、MPEGに準拠したストリームデータを生成して記録および送信するMPEGビットストリーム送信装置110と、MPEGに準拠したストリームデータを受信して記録および再生するMPEGビットストリーム受信装置130とを備え、MPEGビットストリーム送信装置110とMPEGビットストリーム受信装置130とは、ネットワーク100を介して接続されるものである。
【0122】
また、MPEGビットストリーム送信装置110は、映像信号入力部111と、音声信号入力部112と、オーディオデータおよびオーディオデータを符号化し、多重化してMPEG−1システムストリームまたはMPEG−2プログラムストリーム(以下、MPEGビットストリームという)を生成するMPEG1システム/MPEG2プログラムストリーム生成部113と、MPEGビットストリームを外部に送信するデータ送信部117と、MPEGビットストリームの時刻管理情報を書き換えるMPEGビットストリーム変換部118と、MPEGビットストリームを記録するデータ記録部121とを備えている。
【0123】
また、MPEG1システム/MPEG2プログラムストリーム生成部113は、MPEGビデオデータの復号再生時刻を管理する時刻管理情報を含む付加情報を付与するとともに、MPEGビデオデータを符号化(エンコード)するMPEGビデオエンコード部114と、MPEGオーディオデータの復号再生時刻を管理する時刻管理情報を含む付加情報を付与するとともに、MPEGオーディオデータを符号化(エンコード)するMPEGオーディオエンコード部115と、MPEGビデオデータおよびMPEGオーディオデータを多重化するMPEGビデオ/オーディオデータシステム化部116とを備えている。
【0124】
MPEGビデオエンコード部114は、映像信号入力部111からビデオデータ(映像信号)を入力してMPEGデータに符号化し、出力するものである。MPEGオーディオエンコード部115は、音声信号入力部112から前記ビデオデータと関連したオーディオデータ(音声信号)を入力してMPEGデータに符号化し、出力するものである。MPEGビデオ/オーディオデータシステム化部116は、MPEGビデオエンコード部114から符号化されたMPEGビデオデータを入力し、MPEGオーディオエンコード部115から符号化されたMPEGオーディオデータを入力し、それぞれの識別符号を含むヘッダ情報を付加してMPEGビットストリームとして多重化し、出力するものである。
【0125】
データ送信部117は、MPEGビデオ/オーディオデータシステム化部116およびデータ記録部121からMPEGビットストリームを入力し、ネットワーク100上に送信するものである。
【0126】
MPEGビットストリーム変換部118は、MPEGビットストリームのシステムヘッダを生成し付加するシステムヘッダ付加部119と、MPEGビットストリーム中の時刻管理情報(タイムスタンプ)を書き換えるMPEGタイムスタンプ書き換え部120とを備えている。
【0127】
システムヘッダ付加部119は、MPEGビデオ/オーディオデータシステム化部116に多重化されたMPEGビットストリームのシステムヘッダを生成して、MPEGタイムスタンプ書き換え部120に受け渡すものである。
【0128】
MPEGタイムスタンプ書き換え部120は、MPEGビデオ/オーディオデータシステム化部116からMPEGビットストリームを入力して、このMPEGビットストリームの時刻管理情報を録画タイミングにしたがって書き換えるものである。また、この書き換えの時刻は、前述のストリーム送信装置40と同様に、所定の時刻を外部から与えるようにしても良い。また、この時刻管理情報の書き換えは、MPEGビデオデータとMPEGオーディオデータの同期を保って書き換える。
【0129】
データ記録部121は、上記のようにMPEGタイムスタンプ書き換え部120に時刻管理情報が書き換えられたMPEGビットストリームを記録するものである。
【0130】
また、MPEGビットストリーム受信装置130は、MPEGビデオデータ(映像信号)およびMPEGオーディオデータ(音声信号)が多重化されたMPEGビットストリームを受信するデータ受信部131と、MPEGビットストリームの時刻管理情報を書き換えて変換するMPEGビットストリーム変換部132と、前記変換されたMPEGビットストリームを記録するデータ記録部136と、前記変換されたMPEGビットストリームをMPEGビデオデータおよびMPEGオーディオデータに分離するMPEGスプリッタ部137と、前記分離されたMPEGビデオデータを復号化(デコード)するMPEGビデオデコード部138と、前記分離されたMPEGオーディオデータを復号化(デコード)するMPEGオーディオデコード部139と、前記復号化されたMPEGビデオデータを表示するビデオ表示部140と、前記復号化されたMPEGオーディオデータを再生するオーディオ再生部141とを備えている。
【0131】
データ受信部131は、MPEGビットストリーム送信装置110から送信されたMPEGビットストリームを受信するものである。
【0132】
MPEGビットストリーム変換部132は、データ受信部131が受信したMPEGビットストリームのパックヘッダまたはパケット内の時刻管理情報を書き換えて、前記MPEGビットストリームを変換するものである。具体的には、パックヘッダ内のSCR、または、パケットのパケットヘッダ内のPTS、DTSを書き換える。
【0133】
また、MPEGビットストリーム変換部132は、データ受信部131が受信したMPEGビットストリームの概要情報をあらわしたシステムヘッダを付加するシステムヘッダ付加部133と、MPEGビットストリームのパックヘッダまたはパケット内の時刻管理情報(タイムスタンプ)を書き換える録画用MPEGタイムスタンプ書き換え部134および再生用MPEGタイムスタンプ書き換え部135を備えている。
【0134】
ここで、録画用MPEGタイムスタンプ書き換え部134は、データ記録用のMPEGビットストリームの時刻管理情報を書き換えるものであり、再生用MPEGタイムスタンプ書き換え部135は、データ表示用のMPEGビットストリームの時刻管理情報を書き換えるものである。
【0135】
また、録画用MPEGタイムスタンプ書き換え部134および再生用MPEGタイムスタンプ書き換え部135は、MPEGビットストリーム中のビデオデータとオーディオデータとの同期を保って前記時刻管理情報の書き換えを行うものである。
【0136】
データ記録部136は、録画用MPEGタイムスタンプ書き換え部134に前記時刻管理情報が書き換えられたMPEGビットストリームを記録するものである。
【0137】
MPEGスプリッタ部137は、再生用MPEGタイムスタンプ書き換え部135に前記時刻管理情報が書き換えられたMPEGビットストリームを、MPEGビデオデータおよびMPEGオーディオデータに分離するものである。
【0138】
MPEGビデオデコード部138は、MPEGスプリッタ部137に分離されたMPEGビデオデータを復号化するものである。
【0139】
MPEGオーディオデコード部139は、MPEGスプリッタ部137に分離されたMPEGオーディオデータを復号化するものである。
【0140】
ビデオ表示部140は、MPEGビデオデコード部138により復号化されたMPEGビデオデータを、再生用MPEGタイムスタンプ書き換え部135に書き換えられた時刻管理情報に基づいて表示するものである。
【0141】
オーディオ再生部141は、MPEGオーディオデコード部139により復号化されたMPEGオーディオデータを、再生用MPEGタイムスタンプ書き換え部135に書き換えられた時刻管理情報に基づいて再生するものである。
【0142】
このようなストリーム送受信システム103において、MPEGビットストリーム送信装置110では、ビデオおよびオーディオデータは、MPEG1システム/MPEGプログラムストリーム生成部113で符号化および多重化されてMPEGビットストリームとして生成され、データ送信部117からネットワーク100上に送信される。
【0143】
また、MPEG1システム/MPEGプログラムストリーム生成部113で生成されたMPEGビットストリームは、所定の録画タイミングで抽出され、MPEGビットストリーム変換部118で時刻管理情報が書き換えられ、データ記録部121に記録される。さらに、このデータ記録部121に記録されたMPEGビットストリームは、データ送信部117からネットワーク100上に送信される。
【0144】
MPEGビットストリーム受信装置130では、MPEGビットストリーム送信装置110から送信された通常のMPEGビットストリームまたは時刻管理情報が書き換えられたMPEGビットストリームを受信する。ここで、時刻管理情報が書き換えられたMPEGビットストリームは、MPEGビットストリームと同じフォーマット構造をしているので、通常のMPEGビットストリームと同様に受信することができる。
【0145】
MPEGビットストリーム変換部132では、受信したMPEGビットストリームの時刻管理情報を書き換えてMPEGビットストリームを変換する。
【0146】
データ記録部136では、MPEGビットストリーム変換部132で変換されたMPEGビットストリームまたは受信したMPEGビットストリームをそのまま記録する。
【0147】
MPEGスプリッタ部137では、MPEGビットストリーム変換部132で変換されたMPEGビットストリームまたは受信したMPEGビットストリームを、MPEGビデオデータおよびMPEGオーディオデータに分離する。
【0148】
この分離されたMPEGビデオデータは、MPEGビデオデコード部138で復号化され、ビデオ表示部140で時刻管理情報に基づいて表示される。
【0149】
また、MPEGスプリッタ部137で分離されたMPEGオーディオデータは、MPEGオーディオデコード部139で復号化され、オーディオ再生部141で時刻管理情報に基づいて再生される。
【0150】
以上のように、本発明の第5の実施の形態によれば、送信装置および受信装置の双方が時刻管理情報の書き換え部を備えているので、どちらでも各端末の都合にあわせて時刻管理情報を書き換えることができる。
【0151】
また、上記実施の形態においては、ストリーム送信装置、ストリーム受信装置が、それぞれ1台ずつであるように説明してきたが、ストリーム送信装置、ストリーム受信装置は、複数でも良く、どちらか一方が1台で、他方が複数である構成であっても実現できる。
【0152】
【発明の効果】
以上説明したように、本発明は、ストリームデータの時刻管理情報を書き換えて、記録することにより、ストリームデータを途中から受信しても、受信開始時に受け取ったパケットに設定された再生待ち時間に関わりなく、記録したストリームデータを所望の時間に再生させることができるというすぐれた効果を有するストリーム受信装置を提供することができる。
【0153】
また、本発明は、ストリームデータの時刻管理情報を書き換えて、記録し、送信するので、再生時の待ち時間を調整したストリームデータを送信することができるというすぐれた効果を有するストリーム送信装置を提供することができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態におけるストリーム受信装置を示すブロック図
【図2】MPEGデータのフォーマット構造を示すデータ構造図
【図3】MPEGデータのフォーマット構造を説明するための図
【図4】タイムスタンプの変更処理を説明するための模式図
【図5】タイムスタンプ書き換え部を1つの構成としたストリーム受信装置を示すブロック図
【図6】本発明の第1の実施の形態におけるストリーム受信装置の動作を示すフローチャート
【図7】本発明のストリームデータ変換処理を説明するためのストリームデータのデータ構造図
【図8】本発明の第2の実施の形態におけるストリーム送信装置を示すブロック図
【図9】本発明の第2の実施の形態におけるストリーム送信装置の動作を示すフローチャート
【図10】本発明の第3の実施の形態におけるストリーム送受信システムを示すブロック図
【図11】本発明の第4の実施の形態におけるストリーム送受信システムを示すブロック図
【図12】本発明の第5の実施の形態におけるストリーム送受信システムを示すブロック図
【図13】従来の受信装置を示すブロック図
【図14】従来の再生タイミングを説明するための模式図
【符号の説明】
10a、10b ストリーム受信装置
11 データ受信部
12a、12b ストリームデータ変換部
13 ヘッダ付加部
14 録画用タイムスタンプ書き換え部
15 再生用タイムスタンプ書き換え部
16 データ記録部
17 蓄積型オーディオビデオ多重データ分離部
18 ビデオデータ復号化部
19 オーディオデータ復号化部
20 ビデオ表示部
21 オーディオ再生部
31 ヘッダ付加部
32 タイムスタンプ書き換え部
40 ストリーム送信装置
41 映像信号入力部
42 音声信号入力部
43 蓄積型オーディオビデオ多重データ生成部
44 ビデオデータ符号化部
45 オーディオデータ符号化部
46 蓄積型オーディオビデオデータ多重化部
47 データ送信部
48 ストリームデータ変換部
49 ヘッダ付加部
50 タイムスタンプ書き換え部
51 データ記録部
60 ストリーム送信装置
61 映像信号入力部
62 音声信号入力部
63 蓄積型オーディオビデオ多重データ生成部
64 ビデオデータ符号化部
65 オーディオデータ符号化部
66 蓄積型オーディオビデオデータ多重化部
67 データ送信部
80 ストリーム受信装置
81 データ受信部
86 データ記録部
87 蓄積型オーディオビデオ多重データ分離部
88 ビデオデータ復号化部
89 オーディオデータ復号化部
90 ビデオ表示部
91 オーディオ再生部
100 ネットワーク
101 ストリーム送受信システム
102 ストリーム送受信システム
103 ストリーム送受信システム
110 MPEGビットストリーム送信装置
111 映像信号入力部
112 音声信号入力部
113 MPEG1システム/MPEG2プログラムストリーム生成部
114 MPEGビデオエンコード部
115 MPEGオーディオエンコード部
116 MPEGビデオ/オーディオデータシステム化部
117 データ送信部
118 MPEGビットストリーム変換部(MPEG−BS変換部)
119 システムヘッダ付加部
120 MPEGタイムスタンプ書き換え部
121 データ記録部
130 MPEGビットストリーム受信装置
131 データ受信部
132 MPEGビットストリーム変換部(MPEG−BS変換部)
133 システムヘッダ付加部
134 録画用MPEGタイムスタンプ書き換え部
135 再生用MPEGタイムスタンプ書き換え部
136 データ記録部
137 MPEGスプリッタ部
138 MPEGビデオデコード部
139 MPEGオーディオデコード部
140 ビデオ表示部
141 オーディオ再生部
200 ネットワーク
210 受信装置
211 ATM/MPEG変換部
212 TSパケット同期部
213 PCRパケット検出部
214 PCR書換部
215 水晶発振器
216 メモリ
[0001]
BACKGROUND OF THE INVENTION
The present invention is a stream data receiver capable of reproducing without waiting time after accumulating signals such as video and audio, particularly MPEG-2 (Moving Picture Expert Group Phase 2) program stream and MPEG-1 system stream. The present invention relates to a device, a transmission device, and a transmission / reception system.
[0002]
[Prior art]
Conventionally, when video signals and audio signals are encoded and transmitted, the timing for each unit of decoding and reproduction called an access unit is synchronized, or both the video and audio are synchronized. In addition, a time stamp indicating when to decode and reproduce is added. Further, a time base reference value to which a time base is given is given to this time stamp. With this reference time reference value, the decoder can set and calibrate to a value intended on the encoder side.
[0003]
A communication device as shown in FIG. 13 is known as a device that transmits and receives data using such a reference time reference value.
[0004]
In this communication apparatus, an ATM / MPEG conversion unit 211 converts an ATM cell transmitted via the network 200 into an MPEG transport packet and outputs it to the TS packet synchronization unit 212. The TS packet synchronization unit 212 establishes synchronization of the MPEG transport packet from the ATM / MPEG conversion unit 211 and outputs it to the PCR packet detection unit 213. The PCR packet detection unit 213 detects a packet including a PCR (Program Clock Reference, program time base reference value), and outputs the detection result to the PCR rewriting unit 214. The crystal oscillator 215 generates a 27 MHz clock and outputs it to the PCR rewriting unit 214. The PCR rewriting unit 214 counts the clock from the crystal oscillator 215 and rewrites the PCR of the PCR packet to a value calculated based on the PCR and the count value. This makes it possible to absorb delay fluctuations without referring to the network clock (for example, see Patent Document 1).
[0005]
[Patent Document 1]
JP 2001-16210 A
[0006]
[Problems to be solved by the invention]
However, in such a conventional communication apparatus, the data format to be transmitted is an MPEG2 transport packet optimized for stream transmission. Therefore, in order to store and reproduce, the transport stream is changed from the program stream to the program stream. Conversion must be done after accumulation. In the case of a communication device that transmits data as an MPEG2 program stream, each packet is set to be played back after the waiting time specified in the packet header. Although continuous playback can be performed, there is a problem that when playback is performed halfway, the playback does not start unless the waiting time set in the corresponding packet is waited.
[0007]
For example, as shown in FIG. 14, even if the reception is started N seconds after the transmission of the stream data and the video received from this point is displayed, the packet at the time of reception is set to be played back after N seconds. Therefore, since the video is reproduced after 2 N seconds, which is N seconds after N seconds, a waiting time of N seconds occurs from the start of reception.
[0008]
The present invention has been made to solve such a problem, and it is possible to perform playback without waiting time for content received by mid-participation and record data from an arbitrary time. A stream data receiving device, a transmitting device, and a transmission / reception system are provided.
[0009]
[Means for Solving the Problems]
The stream receiving apparatus of the present invention includes a data receiving means for receiving stream data to which additional information including time management information for managing a decoding reproduction time of the video signal is encoded and the received video data. A stream data converting means for rewriting the time management information of the stream data to convert the stream data; and a data recording means for recording the stream data with the rewritten time management information. is doing.
[0010]
With this configuration, since the time management information of the stream data is rewritten and recorded, the recorded stream data can be recorded regardless of the reproduction waiting time set in the packet received at the start of reception even if the stream data is received from the middle. It can be played back at a desired time.
[0011]
In the stream receiving device of the present invention, the stream data converting means includes a header adding means for adding a system header indicating summary information of stream data received by the data receiving means, and time management information of the stream data. And a time management information rewriting means for rewriting.
[0012]
With this configuration, the time management information in the stream data is rewritten and a system header is added, so that even if the stream data is received from the middle, the converted stream data can be handled in the same way as conventional stream data. It becomes.
[0013]
Furthermore, the stream receiving device of the present invention is characterized in that the stream data converting means rewrites the time management information of the stream data received by the data receiving means with the reception start time of the stream data as a reference value. have.
[0014]
With this configuration, since the time management information of the stream data is rewritten with the reception start time as the reference time, when the stream data is reproduced, the reproduction can be instantaneously performed without waiting time.
[0015]
Further, in the stream receiving device of the present invention, the stream data received by the receiving unit includes an encoded audio signal related to the video signal and time management information for managing a decoding reproduction time of the audio signal, The video signal and the audio signal are synchronized by the time management information, and the stream data conversion means rewrites the time management information while maintaining the synchronization of the video signal and the audio signal. It has the structure characterized by these.
[0016]
With this configuration, the time management information of stream data in which video and audio are multiplex-encoded is rewritten while maintaining the synchronization of video and audio, so that video and audio can be reproduced in synchronization after stream data conversion. It becomes.
[0017]
Furthermore, the stream receiving apparatus of the present invention separates the stream data, in which the time management information is rewritten by the stream data converting means, into first data related to the video signal and second data related to the audio signal. Multiple data demultiplexing means, video signal decoding means for decoding the first data related to the separated video signal to generate a video signal, and second data relating to the separated audio signal Audio signal decoding means for generating an audio signal, video signal display means for displaying the video signal decoded by the video signal decoding means based on the rewritten time management information, and the audio signal decoding Audio signal reproduction means for reproducing the audio signal decoded by the conversion means based on the rewritten time management information. It has a configuration in which the symptoms.
[0018]
With this configuration, since the video signal and the audio signal are separated, decoded, and reproduced based on the time management information, the video and audio can be reproduced immediately even in the middle of the stream data. .
[0019]
Furthermore, the stream receiving apparatus of the present invention encodes a video signal and an audio signal related to the video signal, and additional information including time management information for managing a decoding reproduction time of the video signal and the audio signal. A data receiving means for receiving the attached stream data; a stream data converting means for rewriting the time management information of the received stream data to convert the stream data; and stream data with the time management information rewritten, Multiplex data separation means for separating the first data related to the video signal and the second data related to the audio signal, and decoding the first data related to the separated video signal to generate a video signal A video signal decoding means, and decoding the second data related to the separated audio signal, Audio signal decoding means for generating, video signal display means for displaying the video signal decoded by the video signal decoding means based on the rewritten time management information, and decoding by the audio signal decoding means Audio signal reproducing means for reproducing the converted audio signal based on the rewritten time management information.
[0020]
With this configuration, even if the converted stream data is not recorded, the video signal and the audio signal are separated, decoded, and reproduced based on the time management information. Thus, video and audio can be reproduced.
[0021]
Furthermore, the stream receiving apparatus of the present invention has a configuration characterized in that the stream data is a bit stream compliant with the MPEG system.
[0022]
With this configuration, an MPEG bit stream is received, so that international standard data for video signal and audio signal encoding can be received, and standard data can be received with high compatibility.
[0023]
Furthermore, the stream transmission device of the present invention includes a data generation unit that encodes a video signal and generates stream data to which additional information including time management information for managing the decoding and reproduction time of the video signal is added, Stream data conversion means for converting the stream data by rewriting time management information of stream data, data recording means for recording the converted stream data, stream data generated by the data generation means or recorded And a data transmission means for transmitting the stream data to the outside.
[0024]
With this configuration, stream data is generated, transmitted, and time management information is rewritten and recorded. Therefore, the recorded stream data can be recorded at a desired time regardless of the reproduction waiting time set from the generation start time of the stream data. It can be reproduced and the recorded data can be transmitted.
[0025]
Further, in the stream transmitting apparatus of the present invention, the stream data converting means includes a header adding means for adding a system header representing summary information of the stream data generated by the data generating means, and time management information of the stream data. And a time management information rewriting means for rewriting.
[0026]
With this configuration, a predetermined time is acquired, and the time management information is rewritten based on this time. Therefore, it is possible to record from any position while transmitting stream data, and to reproduce the recorded stream data without waiting time. Will be able to.
[0027]
Furthermore, the stream transmission apparatus of the present invention further includes a reference time acquisition unit that acquires a reference time of time management information rewritten by the stream data conversion unit, and the stream data conversion unit includes the stream data generated by the data generation unit. The time management information is rewritten based on the reference time.
[0028]
With this configuration, since a predetermined time is acquired and the time management information is rewritten based on this time, it is possible to record stream data from an arbitrary position and transmit stream data that can be reproduced without waiting time. It will be possible.
[0029]
Further, in the stream transmission device of the present invention, the data generation means encodes an audio signal associated with the video signal and adds additional information including time management information for managing a decoding reproduction time of the audio signal. The stream data multiplexed with the video signal is generated, and the stream data conversion means rewrites the time management information while maintaining synchronization between the video signal and the audio signal. Have.
[0030]
With this configuration, since video and audio are multiplexed and time management information is rewritten while maintaining video and audio synchronization, stream data in which video and audio are synchronized can be transmitted even after stream data conversion. Become.
[0031]
Furthermore, the stream transmitting apparatus of the present invention has a configuration characterized in that the stream data is a bit stream compliant with the MPEG system.
[0032]
With this configuration, since the MPEG bit stream is transmitted, international standard data for video signal and audio signal encoding can be transmitted, and standard data can be transmitted with high compatibility.
[0033]
Furthermore, the stream transmission / reception system of the present invention encodes a video signal, and generates data for generating stream data to which additional information including time management information for managing the decoding / playback time of the video signal is provided. Data transmitting means for transmitting the stream data to the outside, data receiving means for receiving the transmitted stream data from the middle, and rewriting time management information of the received stream data to convert the stream data It has a configuration characterized by comprising stream data conversion means and data recording means for recording stream data in which the time management information is rewritten.
[0034]
With this configuration, stream data obtained by encoding a video signal is transmitted, the stream data is received from the middle, and the time management information is rewritten and recorded, so that the waiting time during playback can be changed, and the stream data Even from the middle of the stream, it is possible to record stream data that starts to be reproduced immediately after decoding.
[0035]
Furthermore, the stream transmission / reception system of the present invention is characterized in that the stream data conversion means rewrites the time management information of the stream data received by the data reception means with the reception start time of the stream data as a reference value. have.
[0036]
With this configuration, since the time management information is rewritten with the reception start time of the stream data as a reference value, it can be recorded as stream data that is immediately reproduced from the data that has started reception.
[0037]
Further, in the stream transmission / reception system according to the present invention, the data generation means encodes an audio signal associated with the video signal and adds additional information including time management information for managing a decoding reproduction time of the audio signal. The stream data multiplexed with the video signal is generated, and the stream data conversion means rewrites the time management information while maintaining synchronization between the video signal and the audio signal. Have.
[0038]
With this configuration, the time management information is rewritten while maintaining the synchronization between the video and the audio, so that the data in which the video and the audio are synchronized can be recorded even after the stream data conversion.
[0039]
Furthermore, the stream transmission / reception system according to the present invention provides stream data in which the time management information is rewritten in the stream data conversion means, first data associated with the video signal, and second data associated with the audio signal. Multiplexed data separating means for separating the first data, video signal decoding means for decoding the first data related to the separated video signal to generate a video signal, and second data related to the separated audio signal Audio signal decoding means for decoding data to generate an audio signal; video signal display means for displaying the video signal decoded by the video signal decoding means based on the rewritten time management information; Audio signal reproduction means for reproducing the audio signal decoded by the audio signal decoding means based on the rewritten time management information. It has a configuration in which characterized in that.
[0040]
With this configuration, since the video signal and the audio signal are separated, decoded, and reproduced based on the time management information, the video and audio can be reproduced immediately even in the middle of the stream data. Become.
[0041]
Furthermore, the stream transmission / reception system of the present invention includes a data generation unit that encodes a video signal and generates stream data to which additional information including time management information for managing the decoding / playback time of the video signal is added, Reference time acquisition means for acquiring reference time information for reproducing the generated stream data from the middle, a system header representing summary information of the stream data, and a time management information of the stream data are added to the reference Stream data converting means for rewriting based on time and converting the stream data, data recording means for recording the converted stream data, data transmitting means for transmitting the recorded stream data to the outside, and the transmission Receiving means for receiving the streamed data A decoding means for decoding the received stream data; and a reproduction means for reproducing the signal decoded by the decoding means based on the rewritten time management information. It has a configuration.
[0042]
This configuration records and transmits stream data from the middle when the time management information has been rewritten on the transmission side, so that it is possible to send and receive data extracted from only the necessary portion of the stream data, and to reduce the waiting time during playback. It can be lost.
[0043]
Furthermore, the stream transmission / reception system of the present invention has a configuration characterized by including the stream reception device and the stream transmission device.
[0044]
With this configuration, stream data can be arbitrarily recorded by the stream transmission device and the stream reception device, the recorded stream data can be transmitted from the stream transmission device, and the recorded stream data can be arbitrarily It can be played back.
[0045]
Further, the stream reception program of the present invention includes a data reception step of receiving stream data to which additional information including time management information for managing a decoding reproduction time of the video signal is encoded and a video signal is encoded, A stream data conversion step for rewriting the time management information of the stream data to convert the stream data, and a data recording step for recording the stream data with the rewritten time management information have.
[0046]
With this configuration, since the time management information of the stream data is rewritten and recorded, the recorded stream data can be recorded regardless of the reproduction waiting time set in the packet received at the start of reception even if the stream data is received from the middle. It can be played back at a desired time.
[0047]
Furthermore, the stream transmission program of the present invention includes a data generation step of encoding stream signals and generating stream data to which additional information including time management information for managing the decoding / playback time of the video signals is added, Stream data conversion step for converting the stream data by rewriting time management information of the stream data, a data recording step for recording the converted stream data, and the stream data generated in the data generation step or recorded A data transmission step of transmitting the stream data to the outside.
[0048]
With this configuration, the time management information of the stream data is rewritten, recorded, and transmitted, so that it is possible to transmit stream data in which the waiting time during reproduction is adjusted.
[0049]
Furthermore, the stream transmission / reception program of the present invention encodes a video signal and generates a stream data to which additional information including time management information for managing the decoding / playback time of the video signal is generated, and a generation A data transmission step of transmitting the stream data to the outside, a data reception step of receiving the transmitted stream data from the middle, and rewriting time management information of the received stream data to convert the stream data A stream data converting step; and a data recording step for recording the stream data in which the time management information is rewritten.
[0050]
With this configuration, stream data obtained by encoding a video signal is transmitted, the stream data is received from the middle, and the time management information is rewritten and recorded, so that the waiting time during playback can be changed, and the stream data Even from the middle of the stream, it is possible to record stream data that starts to be reproduced immediately after decoding.
[0051]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
(First embodiment)
[0052]
As shown in FIG. 1, a stream reception device 10a according to the first embodiment of the present invention receives a data reception unit 11 that receives stream data in which video data (video signal) and audio data (audio signal) are multiplexed. A stream data converter 12a for rewriting and converting the time management information of the stream data, a data recording unit 16 for recording the converted stream data, and separating the converted stream data into video data and audio data A storage-type audio video multiplexed data separating unit 17; a video data decoding unit 18 for decoding the separated video data; an audio data decoding unit 19 for decoding the separated audio data; and the decoding Video display unit 20 for displaying the converted video data, and the decoding And a audio reproducing unit 21 for reproducing the audio data.
[0053]
Here, the stream data handled in the present embodiment is a PS (program stream) of MPEG-2 (Moving Picture Expert Group Phase 2).
[0054]
2 and 3 show the format structure of stream data encoded by the MPEG method, and will be described.
[0055]
MPEG stream data is multiplexed by packets, and when video data and audio data are multiplexed as shown in FIGS. 2 and 3, each of video data and audio data is divided into packets of appropriate lengths, Additional information such as a header is attached, and video and audio packets are switched appropriately and time-division transmitted. The nature of data such as video or audio can be determined by adding an identification code to the packet header.
[0056]
Also, normally, a plurality of packets are handled as a unit of a pack, and MPEG stream data is constituted by a plurality of packs. A pack header is assigned to each pack, and a system header describing the outline of the entire stream is attached to the first pack.
[0057]
Further, in the pack header, an SCR (System Clock Reference, system time reference reference value) value of STC (System Time Clock, reference synchronization information) that is a time reference in the MPEG system decoder is intended on the encoder side. There exists time management information for setting and calibrating to the set value.
[0058]
In the packet header, there are reproduction output time management information called PTS (Presentation Time Stamp) and decoding time management information called DTS (Decoding Time Stamp). If this PTS and DTS match, only PTS is attached.
[0059]
Hereinafter, each unit of the stream receiving device 10a will be described in detail.
[0060]
The data receiving unit 11 receives the above stream data to which video data and audio data are multiplexed and time management information is added. Further, the stream data received by the data receiving unit 11 may be stream data in which only one of video data or audio data is encoded.
[0061]
The stream data conversion unit 12a converts the stream data by rewriting time management information in the pack header or packet of the stream data received by the data reception unit 11. Specifically, the SCR in the pack header or the PTS and DTS in the packet header are rewritten.
[0062]
Further, the stream data conversion unit 12a includes a header addition unit 13 for adding a system header indicating summary information of the stream data received by the data reception unit 11, and time management information (time stamp in the pack header or packet of the stream data). The recording time stamp rewriting unit 14 and the reproduction time stamp rewriting unit 15 are provided.
[0063]
Here, the recording time stamp rewriting unit 14 rewrites time management information of stream data for data recording, and the reproduction time stamp rewriting unit 15 rewrites time management information of stream data for data display. It is.
[0064]
The recording time stamp rewriting unit 14 and the reproduction time stamp rewriting unit 15 rewrite the time management information while keeping the video data and audio data in the stream data synchronized.
[0065]
Further, the recording time stamp rewriting unit 14 rewrites the time management information in the pack header or packet of the stream data, with the data recording start time of the stream data as a reference (0 seconds), and all subsequent time management information. Is. Further, the reproduction time stamp rewriting unit 15 rewrites the time management information in the pack header or packet of the stream data, with the data reproduction start time of the stream data as a reference (0 seconds), and all subsequent time management information. Is.
[0066]
Specifically, if the time management information in the pack header or packet header of the stream data at the time of recording start or playback start is “playback after N seconds”, it is rewritten as “playback after 0 seconds” The subsequent time management information is a value obtained by subtracting N seconds. For example, if the time management information of the stream data after the start of recording is “reproduce after T seconds”, it is rewritten as “reproduce after (T−N) seconds”.
[0067]
As a result, as shown in FIG. 4, playback can be started immediately even during halfway participation. Similarly, recording can be performed from a free point.
[0068]
The stream data conversion unit 12a has two time stamp rewriting units, ie, a header adding unit 13, a recording time stamp rewriting unit 14 and a reproduction time stamp rewriting unit 15, but the stream shown in FIG. Like the stream data conversion unit 12b of the receiving device 10b, the header addition unit 31 and the time stamp rewriting unit 32 may be configured.
[0069]
Returning to the detailed description of each part of the stream receiving device 10a, the data recording unit 16 records the stream data in which the time management information is rewritten in the recording time stamp rewriting unit 14.
[0070]
The storage-type audio video multiplexed data separation unit 17 separates the stream data in which the time management information is rewritten in the reproduction time stamp rewriting unit 15 into video data and audio data.
[0071]
The video data decoding unit 18 decodes the video data separated by the storage type audio video multiplexed data separation unit 17. The audio data decoding unit 19 decodes the audio data separated by the storage type audio video multiplexed data separation unit 17.
[0072]
The video display unit 20 displays the video data decoded by the video data decoding unit 18 based on the time management information rewritten by the reproduction time stamp rewriting unit 15. The audio reproduction unit 21 reproduces the audio data decoded by the audio data decoding unit 19 based on the time management information rewritten by the reproduction time stamp rewriting unit 15.
[0073]
Next, the operation of the stream receiving apparatus 10a according to the present embodiment will be described with reference to the flowchart shown in FIG.
[0074]
First, in the stream receiving device 10a, the data receiving unit 11 receives stream data (MPEG2-PS) (step S11). When receiving the stream data, the data receiving unit 11 outputs the received stream data to the recording time stamp rewriting unit 14 and the reproduction time stamp rewriting unit 15 of the stream data conversion unit 12a. Further, the header adding unit 13 generates a system header of the stream data received by the data receiving unit 11, and outputs the system header to the recording time stamp rewriting unit 14 and the reproduction time stamp rewriting unit 15 (step S12).
[0075]
Next, the recording time stamp rewriting unit 14 rewrites the time management information in the pack header or packet header of the stream data input from the data receiving unit 11 with the recording start time as a reference. Further, the system header input from the header adding unit 13 is added, the stream data is converted, and output to the data recording unit 16 (step S13).
[0076]
The reproduction time stamp rewriting unit 15 rewrites the time management information in the pack header or packet header of the stream data input from the data receiving unit 11 with the reproduction start time as a reference. Further, the system header input from the header adding unit 13 is added, the stream data is converted, and output to the storage type audio video multiplexed data separating unit 17 (step S14).
[0077]
Here, the data structure diagram of the stream data is shown in FIG. 7, and the stream data conversion processing of the stream data conversion unit 12a will be described.
[0078]
In the first pack of stream data, there is a system header following the pack header, but there is no data in the necessary halfway data. Therefore, only necessary packets are taken, a pack with a system header is generated, and rewritten as new stream data. At this time, the time management information is also rewritten. As a result, the generated stream data can be normally handled as normal MPEG data.
[0079]
Returning to the description of the operation processing of the stream receiving device 10a, when the stream data conversion unit 12a completes rewriting of the stream data, the data recording unit 16 records the stream data input from the recording time stamp rewriting unit 14 (step). S15).
[0080]
The storage-type audio video multiplexed data separating unit 17 separates the stream data input from the reproduction time stamp rewriting unit 15 into video data and audio data, and outputs the separated video data to the video data decoding unit 18. The separated audio data is output to the audio data decoding unit 19 (step S16).
[0081]
Next, the video data decoding unit 18 decodes the video data input from the storage type audio video multiplexed data separation unit 17 and outputs it to the video display unit 20 (step S17). Also, the audio data decoding unit 19 decodes the audio data input from the storage type audio video multiplexed data separation unit 17 and outputs the audio data to the audio reproduction unit 21 (step S18).
[0082]
Next, the video display unit 20 displays the video data input from the video data decoding unit 18 based on the time management information rewritten by the reproduction time stamp rewriting unit 15. The audio playback unit 21 plays back the audio data input from the audio data decoding unit 19 based on the time management information rewritten by the playback time stamp rewriting unit 15 (step S19).
[0083]
Through the above processing, according to the first embodiment of the present invention, the decoded video data and audio data are synchronized by the rewritten time management information, and the video and audio are displayed and reproduced in accordance with each other. can do. Also, since the time management information is rewritten, even if stream data is received from the middle, it can be reproduced without waiting for the reproduction waiting time set in the packet received at the start of reception. Further, by rewriting the time management information at the time of recording, when this stream data is reproduced, it can be instantaneously reproduced without waiting time.
(Second Embodiment)
[0084]
Next, a stream transmitting apparatus according to the second embodiment of the present invention will be described.
[0085]
As shown in FIG. 8, the stream transmission device 40 according to the second embodiment of the present invention encodes and multiplexes a video signal input unit 41, an audio signal input unit 42, video data and audio data, and streams A storage-type audio / video multiplexed data generation unit 43 that generates data, a data transmission unit 47 that transmits stream data to the outside, a stream data conversion unit 48 that rewrites time management information of stream data, and a data recording that records stream data Part 51.
[0086]
The storage-type audio video multiplex data generation unit 43 gives additional information including time management information for managing the decoding / playback time of the video data, and also includes a video data encoding unit 44 for encoding the video data, and audio data. Audio data encoding unit 45 that encodes audio data, and storage-type audio video data multiplexing unit that multiplexes the video data and the audio data 46.
[0087]
The video data encoding unit 44 inputs video data (video signal) from the video signal input unit 41, encodes it, and outputs it. The audio data encoding unit 45 inputs audio data (audio signal) related to the video data from the audio signal input unit 42, encodes it, and outputs it. The storage-type audio video data multiplexing unit 46 receives the encoded video data from the video data encoding unit 44, receives the encoded audio data from the audio data encoding unit 45, and sets each identification code. The header information is added, multiplexed, and output.
[0088]
The data transmission unit 47 receives the stream data from the storage type audio video data multiplexing unit 46 and transmits it to the network.
[0089]
The stream data conversion unit 48 includes a header addition unit 49 that generates and adds a system header of stream data, and a time stamp rewriting unit 50 that rewrites time management information (time stamp) in the stream data.
[0090]
The header adding unit 49 generates a system header of the stream data multiplexed in the storage type audio video data multiplexing unit 46 and passes it to the time stamp rewriting unit 50.
[0091]
The time stamp rewriting unit 50 inputs the stream data from the storage type audio video data multiplexing unit 46 and rewrites the time management information of the stream data according to the recording timing. Further, the rewriting time may be given a predetermined time from the outside. The time management information is rewritten while maintaining the synchronization of the video data and the audio data.
[0092]
As a specific rewriting method of the time management information, as in the time management information rewriting method in the stream receiving device 10a in the first embodiment, the pack header or the packet header of the stream data at the time of recording start is used. If the time management information is “reproduce after N seconds”, it is rewritten as “reproduce after 0 seconds”, and the subsequent time management information is a value obtained by subtracting N seconds. For example, if the time management information of the stream data after the start of recording is “reproduce after T seconds”, it is rewritten as “reproduce after (T−N) seconds”.
[0093]
The data recording unit 51 records the stream data in which the time management information is rewritten in the time stamp rewriting unit 50 as described above.
[0094]
Next, the operation of the stream transmitting apparatus 40 according to the present embodiment will be described with reference to a flowchart shown in FIG.
[0095]
First, in the stream transmission device 40, a video signal (video data) and an audio signal (audio data) are input by the video signal input unit 41 and the audio signal input unit 42 (step S31). In the video signal input unit 41 and the audio signal input unit 42, when video data and audio data are input, the input video data is input to the video data encoding unit 44 of the storage type audio video multiplexed data generation unit 43, and the audio data is stored. The data is output to the audio data encoding unit 45 of the audio video multiplexed data generation unit 43 (step S32).
[0096]
Next, the video data encoding unit 44 inputs the video data from the video signal input unit 41, adds additional information including time management information for managing the decoding / playback time of the video data, and encodes the video data. Is output to the storage-type audio video data multiplexing unit 46 (step S33).
[0097]
The audio data encoding unit 45 inputs audio data related to the video data from the audio signal input unit 42, gives additional information including time management information for managing the decoding / playback time of the audio data, and adds audio data Is encoded and output to the storage type audio video data multiplexing unit 46 (step S34).
[0098]
Next, the storage type audio video data multiplexing unit 46 receives the video data encoded from the video data encoding unit 44 and the audio data encoded from the audio data encoding unit 45, and identifies each of them. The header information including the code is added and multiplexed and output (step S35).
[0099]
Next, the data transmission unit 47 receives the stream data obtained by multiplexing the video data and the audio data from the storage type audio video data multiplexing unit 46, and transmits the stream data on the network (step S36).
[0100]
Further, the header adding unit 49 generates a system header of the stream data multiplexed in the storage type audio video data multiplexing unit 46, and outputs the system header to the time stamp rewriting unit 50 (step S37).
[0101]
The time stamp rewriting unit 50 receives the stream data from the storage type audio video data multiplexing unit 46, adds the system header input from the header adding unit 49, and rewrites the time management information of the stream data according to the recording timing. (Step S38).
[0102]
In the data recording unit 51, the stream data whose time management information has been rewritten by the time stamp rewriting unit 50 is input and recorded (step S39). The stream data recorded in the data recording unit 51 can be transmitted as necessary.
[0103]
Through the above processing, according to the second embodiment of the present invention, the data from the middle of the stream data can be recorded as the same data as the normal stream data at a predetermined recording timing, and at the time of reproduction. Stream data that can be reproduced instantaneously without waiting time can be recorded.
(Third embodiment)
[0104]
Next, a stream transmission / reception system according to the third embodiment of the present invention will be described.
[0105]
As shown in FIG. 10, a stream transmission / reception system 101 according to the third embodiment of the present invention includes a stream transmission device 60 that generates and transmits stream data, and a stream reception device that receives, records, and reproduces stream data. The stream transmission device 60 and the stream reception device 10a are connected via the network 100.
[0106]
In addition, the stream transmission device 60 includes a video signal input unit 61, an audio signal input unit 62, a storage type audio video multiplexed data generation unit 63 that encodes and multiplexes video data and audio data, and generates stream data. And a data transmission unit 67 for transmitting the stream data to the outside.
[0107]
Further, the storage-type audio video multiplexed data generating unit 63 gives additional information including time management information for managing the decoding / playback time of the video data, and also includes a video data encoding unit 64 for encoding the video data, and audio data. Audio data encoding unit 65 that encodes audio data, and storage-type audio video data multiplexing unit that multiplexes the video data and the audio data 66.
[0108]
Therefore, the stream transmission device 60 is obtained by removing the stream data conversion unit 48 and the data recording unit 51 from the stream transmission device 40 in the second embodiment, or the same as the conventional stream transmission device. is there.
[0109]
The stream receiving device 10a is the same as the stream receiving device 10a in the first embodiment. Since the stream receiving device 10a has the same configuration, the same reference numerals are given and description thereof is omitted.
[0110]
In such a stream transmission / reception system 101, conventional stream data is generated by the stream transmission device 60 and transmitted to the network 100. In the stream receiving device 10a, the stream data transmitted from the stream transmitting device 60 is received from the middle, and the stream data in which the time management information is rewritten is recorded and reproduced as in the above embodiment.
[0111]
As described above, according to the third embodiment of the present invention, stream data is generated and transmitted, and when the stream data is received from the middle on the receiving side, time management information is rewritten, and recording and playback are performed. Therefore, the stream data from the middle can be reproduced instantaneously without waiting time, and the recorded stream data can be called and reproduced instantaneously.
(Fourth embodiment)
[0112]
Next, a stream transmission / reception system according to the fourth embodiment of the present invention will be described.
[0113]
As shown in FIG. 11, a stream transmission / reception system 102 according to the fourth embodiment of the present invention includes a stream transmission device 40 that generates, records, and transmits stream data, and a stream reception device that receives and reproduces stream data. 80. The stream transmission device 40 and the stream reception device 80 are connected via the network 100.
[0114]
The stream transmission device 40 is the same as the stream transmission device 40 described in the second embodiment, and transmits the stream data recorded in the data recording unit 51 from the data transmission unit 47.
[0115]
The stream receiving device 80 includes a data receiving unit 81 that receives stream data, a data recording unit 86 that records the received stream data, and a storage type audio that separates the received stream data into video data and audio data. A video multiplexed data separator 87; a video data decoder 88 for decoding the separated video data; an audio data decoder 89 for decoding the separated audio data; and the decoded video A video display unit 90 for displaying data and an audio playback unit 91 for playing back the decoded audio data are provided.
[0116]
Therefore, the stream receiving device 80 is the same as the above-described stream receiving device except that the stream data converting unit 12a is removed from the stream receiving device 10a.
[0117]
In such a stream transmission / reception system 102, the stream transmission device 40 records stream data from the middle of rewriting the conventional stream data generation and time management information and transmits the stream data to the network 100, as in the above embodiment. The The stream receiving device 80 receives the stream data in which the time management information transmitted from the stream transmitting device 40 is rewritten, and records and reproduces the stream data.
[0118]
As described above, according to the fourth embodiment of the present invention, stream data from a predetermined time is recorded on the transmission device side by rewriting time management information. Since the stream data with the rewritten time management information has the same format structure as normal stream data, it can be handled in the same way as conventional stream data, and the receiving side receives stream data from the middle as usual. Thus, it is possible to record and reproduce data that does not cause a waiting time during reproduction.
(Fifth embodiment)
[0119]
Next, a stream transmission / reception system according to the fifth embodiment of the present invention will be described.
[0120]
In this embodiment, both the transmission device and the reception device are provided with the characteristic part of the present invention, and the system configuration is specialized for MPEG.
[0121]
As shown in FIG. 12, a stream transmission / reception system 103 according to the fifth embodiment of the present invention generates an MPEG bitstream transmission apparatus 110 that generates, records, and transmits MPEG-compliant stream data, and an MPEG-compliant stream. An MPEG bit stream receiving apparatus 130 for receiving, recording and reproducing data is provided, and the MPEG bit stream transmitting apparatus 110 and the MPEG bit stream receiving apparatus 130 are connected via a network 100.
[0122]
In addition, the MPEG bitstream transmission apparatus 110 encodes and multiplexes the video signal input unit 111, the audio signal input unit 112, the audio data and the audio data to generate an MPEG-1 system stream or an MPEG-2 program stream (hereinafter, referred to as "the MPEG bit stream"). An MPEG1 system / MPEG2 program stream generation unit 113 for generating an MPEG bitstream), a data transmission unit 117 for transmitting the MPEG bitstream to the outside, an MPEG bitstream conversion unit 118 for rewriting time management information of the MPEG bitstream, And a data recording unit 121 for recording the MPEG bit stream.
[0123]
The MPEG1 system / MPEG2 program stream generation unit 113 gives additional information including time management information for managing the decoding / playback time of the MPEG video data, and encodes (encodes) the MPEG video data. Additional information including time management information for managing the decoding / playback time of MPEG audio data, MPEG audio encoding section 115 for encoding (encoding) MPEG audio data, and multiplexing of MPEG video data and MPEG audio data MPEG video / audio data systemization unit 116 is provided.
[0124]
The MPEG video encoding unit 114 inputs video data (video signal) from the video signal input unit 111, encodes it into MPEG data, and outputs it. The MPEG audio encoding unit 115 inputs audio data (audio signal) related to the video data from the audio signal input unit 112, encodes it into MPEG data, and outputs it. The MPEG video / audio data systemization unit 116 inputs the MPEG video data encoded from the MPEG video encoding unit 114, inputs the MPEG audio data encoded from the MPEG audio encoding unit 115, and sets each identification code. The header information is added, multiplexed as an MPEG bit stream, and output.
[0125]
The data transmission unit 117 receives the MPEG bit stream from the MPEG video / audio data systemization unit 116 and the data recording unit 121 and transmits it to the network 100.
[0126]
The MPEG bit stream conversion unit 118 includes a system header adding unit 119 that generates and adds a system header of the MPEG bit stream, and an MPEG time stamp rewriting unit 120 that rewrites time management information (time stamp) in the MPEG bit stream. Yes.
[0127]
The system header adding unit 119 generates a system header of the MPEG bit stream multiplexed in the MPEG video / audio data system forming unit 116 and passes it to the MPEG time stamp rewriting unit 120.
[0128]
The MPEG time stamp rewriting unit 120 receives the MPEG bit stream from the MPEG video / audio data systemizing unit 116 and rewrites the time management information of the MPEG bit stream according to the recording timing. Further, the rewriting time may be given from the outside as in the case of the above-described stream transmitting device 40. The time management information is rewritten while maintaining the synchronization between the MPEG video data and the MPEG audio data.
[0129]
The data recording unit 121 records the MPEG bit stream with the time management information rewritten in the MPEG time stamp rewriting unit 120 as described above.
[0130]
In addition, the MPEG bit stream receiving device 130 includes a data receiving unit 131 that receives an MPEG bit stream in which MPEG video data (video signal) and MPEG audio data (audio signal) are multiplexed, and time management information of the MPEG bit stream. An MPEG bit stream conversion unit 132 that rewrites and converts, a data recording unit 136 that records the converted MPEG bit stream, and an MPEG splitter unit 137 that separates the converted MPEG bit stream into MPEG video data and MPEG audio data. An MPEG video decoding unit 138 for decoding (decoding) the separated MPEG video data, and an MPEG audio decoding unit for decoding (decoding) the separated MPEG audio data. And de unit 139, and a video display unit 140 for displaying the MPEG video data said decoding, the audio reproduction unit 141 for reproducing MPEG audio data said decoding.
[0131]
The data reception unit 131 receives the MPEG bit stream transmitted from the MPEG bit stream transmission device 110.
[0132]
The MPEG bit stream conversion unit 132 converts the MPEG bit stream by rewriting time management information in the pack header or packet of the MPEG bit stream received by the data reception unit 131. Specifically, the SCR in the pack header or the PTS and DTS in the packet header of the packet are rewritten.
[0133]
Also, the MPEG bit stream conversion unit 132 includes a system header addition unit 133 that adds a system header indicating outline information of the MPEG bit stream received by the data reception unit 131, and time management in the pack header or packet of the MPEG bit stream. A recording MPEG time stamp rewriting unit 134 for rewriting information (time stamp) and a reproduction MPEG time stamp rewriting unit 135 are provided.
[0134]
Here, the recording MPEG time stamp rewriting unit 134 rewrites the time management information of the MPEG bit stream for data recording, and the reproduction MPEG time stamp rewriting unit 135 manages the time of the MPEG bit stream for data display. Information is rewritten.
[0135]
The recording MPEG time stamp rewriting unit 134 and the reproduction MPEG time stamp rewriting unit 135 rewrite the time management information while keeping the video data and audio data in the MPEG bitstream synchronized.
[0136]
The data recording unit 136 records the MPEG bit stream with the time management information rewritten in the recording MPEG time stamp rewriting unit 134.
[0137]
The MPEG splitter unit 137 separates the MPEG bit stream in which the time management information is rewritten in the reproduction MPEG time stamp rewriting unit 135 into MPEG video data and MPEG audio data.
[0138]
The MPEG video decoding unit 138 decodes the MPEG video data separated by the MPEG splitter unit 137.
[0139]
The MPEG audio decoding unit 139 decodes the MPEG audio data separated by the MPEG splitter unit 137.
[0140]
The video display unit 140 displays the MPEG video data decoded by the MPEG video decoding unit 138 based on the time management information rewritten by the reproduction MPEG time stamp rewriting unit 135.
[0141]
The audio reproduction unit 141 reproduces the MPEG audio data decoded by the MPEG audio decoding unit 139 based on the time management information rewritten by the reproduction MPEG time stamp rewriting unit 135.
[0142]
In such a stream transmission / reception system 103, in the MPEG bit stream transmission device 110, video and audio data are encoded and multiplexed by the MPEG1 system / MPEG program stream generation unit 113 to generate an MPEG bit stream, and the data transmission unit 117 is transmitted on the network 100.
[0143]
Also, the MPEG bit stream generated by the MPEG1 system / MPEG program stream generation unit 113 is extracted at a predetermined recording timing, and the time management information is rewritten by the MPEG bit stream conversion unit 118 and recorded in the data recording unit 121. . Further, the MPEG bit stream recorded in the data recording unit 121 is transmitted from the data transmission unit 117 to the network 100.
[0144]
The MPEG bit stream receiving apparatus 130 receives a normal MPEG bit stream transmitted from the MPEG bit stream transmitting apparatus 110 or an MPEG bit stream in which time management information is rewritten. Here, since the MPEG bit stream in which the time management information is rewritten has the same format structure as the MPEG bit stream, it can be received in the same manner as a normal MPEG bit stream.
[0145]
The MPEG bit stream conversion unit 132 rewrites the time management information of the received MPEG bit stream and converts the MPEG bit stream.
[0146]
The data recording unit 136 records the MPEG bit stream converted by the MPEG bit stream conversion unit 132 or the received MPEG bit stream as it is.
[0147]
The MPEG splitter unit 137 separates the MPEG bit stream converted by the MPEG bit stream conversion unit 132 or the received MPEG bit stream into MPEG video data and MPEG audio data.
[0148]
The separated MPEG video data is decoded by the MPEG video decoding unit 138 and displayed on the video display unit 140 based on the time management information.
[0149]
The MPEG audio data separated by the MPEG splitter unit 137 is decoded by the MPEG audio decoding unit 139 and reproduced by the audio reproducing unit 141 based on the time management information.
[0150]
As described above, according to the fifth embodiment of the present invention, since both the transmission device and the reception device include the time management information rewriting unit, the time management information is suitable for the convenience of each terminal. Can be rewritten.
[0151]
Further, in the above-described embodiment, it has been described that there is one stream transmission device and one stream reception device, but there may be a plurality of stream transmission devices and stream reception devices, one of which is one. Thus, it can be realized even when the other is plural.
[0152]
【The invention's effect】
As described above, the present invention relates to the reproduction waiting time set in the packet received at the start of reception even if the stream data is received from the middle by rewriting and recording the time management information of the stream data. Therefore, it is possible to provide a stream receiving apparatus having an excellent effect that recorded stream data can be reproduced at a desired time.
[0153]
In addition, the present invention provides a stream transmission apparatus having an excellent effect that it is possible to transmit stream data in which the waiting time during reproduction can be transmitted because the time management information of the stream data is rewritten, recorded, and transmitted. can do.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a stream receiving apparatus according to a first embodiment of the present invention.
FIG. 2 is a data structure diagram showing the format structure of MPEG data.
FIG. 3 is a diagram for explaining the format structure of MPEG data;
FIG. 4 is a schematic diagram for explaining time stamp change processing;
FIG. 5 is a block diagram showing a stream receiving apparatus having a time stamp rewriting unit as one configuration;
FIG. 6 is a flowchart showing the operation of the stream reception apparatus according to the first embodiment of the present invention.
FIG. 7 is a data structure diagram of stream data for explaining stream data conversion processing according to the present invention.
FIG. 8 is a block diagram showing a stream transmission apparatus according to the second embodiment of the present invention.
FIG. 9 is a flowchart showing the operation of the stream transmitting apparatus according to the second embodiment of the present invention.
FIG. 10 is a block diagram showing a stream transmission / reception system according to a third embodiment of the present invention.
FIG. 11 is a block diagram showing a stream transmission / reception system according to a fourth embodiment of the present invention.
FIG. 12 is a block diagram showing a stream transmission / reception system according to a fifth embodiment of the present invention.
FIG. 13 is a block diagram showing a conventional receiving apparatus.
FIG. 14 is a schematic diagram for explaining conventional reproduction timing.
[Explanation of symbols]
10a, 10b stream receiver
11 Data receiver
12a, 12b Stream data converter
13 Header addition part
14 Time stamp rewriting part for recording
15 Playback time stamp rewriting part
16 Data recording part
17 Storage type audio video multiplex data separation unit
18 Video data decoding unit
19 Audio data decoding unit
20 Video display
21 Audio playback unit
31 Header addition part
32 Timestamp rewriting part
40 Stream transmitter
41 Video signal input section
42 Audio signal input section
43 Storage Type Audio Video Multiplex Data Generation Unit
44 Video data encoder
45 Audio data encoder
46 Storage type audio video data multiplexing unit
47 Data transmitter
48 Stream data converter
49 Header addition part
50 Timestamp rewriting part
51 Data recording part
60 Stream transmitter
61 Video signal input section
62 Audio signal input section
63 Storage type audio video multiplexed data generator
64 Video data encoding unit
65 Audio data encoding unit
66 Storage Type Audio Video Data Multiplexer
67 Data transmitter
80 Stream receiver
81 Data receiver
86 Data recording part
87 Storage type audio video multiplex data separation unit
88 Video data decoder
89 Audio data decoder
90 Video display
91 Audio playback section
100 network
101 Stream transmission / reception system
102 Stream transmission / reception system
103 Stream transmission / reception system
110 MPEG Bitstream Transmitter
111 Video signal input section
112 Audio signal input section
113 MPEG1 system / MPEG2 program stream generator
114 MPEG video encoding unit
115 MPEG audio encoding unit
116 MPEG video / audio data systemization part
117 Data transmission unit
118 MPEG bit stream converter (MPEG-BS converter)
119 System header addition part
120 MPEG time stamp rewriting section
121 Data recording part
130 MPEG bitstream receiver
131 Data receiver
132 MPEG bit stream converter (MPEG-BS converter)
133 System header addition part
134 MPEG Timestamp Rewriting Unit for Recording
135 Playback MPEG Timestamp Rewriting Unit
136 Data recording part
137 MPEG splitter section
138 MPEG video decoding unit
139 MPEG audio decoding unit
140 Video display
141 Audio playback unit
200 network
210 Receiver
211 ATM / MPEG conversion unit
212 TS packet synchronization unit
213 PCR packet detector
214 PCR rewriting unit
215 crystal oscillator
216 memory

Claims (21)

映像信号が符号化されるとともに前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを受信するデータ受信手段と、
受信した前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換手段と、
前記時刻管理情報が書き換えられたストリームデータを記録するデータ記録手段とを備えたことを特徴とするストリーム受信装置。
Data receiving means for receiving stream data to which additional information including time management information for managing a video signal is encoded and time management information for decoding and reproducing the video signal;
Stream data conversion means for rewriting the time management information of the received stream data and converting the stream data;
A stream receiving apparatus comprising: data recording means for recording stream data in which the time management information is rewritten.
前記ストリームデータ変換手段は、前記データ受信手段が受信したストリームデータの概要情報をあらわしたシステムヘッダを付加するヘッダ付加手段と、前記ストリームデータの時刻管理情報を書き換える時刻管理情報書き換え手段と、を備えたことを特徴とする請求項1に記載のストリーム受信装置。The stream data conversion means includes a header addition means for adding a system header representing summary information of stream data received by the data reception means, and a time management information rewriting means for rewriting time management information of the stream data. The stream receiving apparatus according to claim 1, wherein: 前記ストリームデータ変換手段は、前記データ受信手段が受信したストリームデータの時刻管理情報を、前記ストリームデータの受信開始時刻を基準値として書き換えることを特徴とする請求項1または請求項2に記載のストリーム受信装置。3. The stream according to claim 1, wherein the stream data conversion unit rewrites the time management information of the stream data received by the data reception unit using the reception start time of the stream data as a reference value. Receiver device. 前記受信手段が受信するストリームデータは、前記映像信号と関連した符号化された音声信号および前記音声信号の復号再生時刻を管理する時刻管理情報を有し、前記映像信号および前記音声信号は、前記時刻管理情報により同期がとれるものであり、
前記ストリームデータ変換手段は、前記映像信号と前記音声信号との同期を保って前記時刻管理情報の書き換えを行うことを特徴とする請求項1から請求項3までのいずれかに記載のストリーム受信装置。
The stream data received by the receiving unit includes encoded audio signals related to the video signal and time management information for managing the decoding reproduction time of the audio signal, and the video signal and the audio signal are It can be synchronized by time management information,
4. The stream receiving device according to claim 1, wherein the stream data conversion unit rewrites the time management information while maintaining synchronization between the video signal and the audio signal. 5. .
前記ストリームデータ変換手段によって前記時刻管理情報が書き換えられたストリームデータを、前記映像信号に関わる第1のデータと前記音声信号に関わる第2のデータとに分離する多重データ分離手段と、
分離された前記映像信号に関わる第1のデータを復号化して映像信号を生成する映像信号復号化手段と、
分離された前記音声信号に関わる第2のデータを復号化して音声信号を生成する音声信号復号化手段と、
前記映像信号復号化手段により復号化された映像信号を、前記書き換えられた時刻管理情報に基づいて表示する映像信号表示手段と、
前記音声信号復号化手段により復号化された音声信号を、前記書き換えられた時刻管理情報に基づいて再生する音声信号再生手段とを備えたことを特徴とする請求項4に記載のストリーム受信装置。
Multiplexed data separation means for separating the stream data in which the time management information is rewritten by the stream data conversion means into first data relating to the video signal and second data relating to the audio signal;
Video signal decoding means for decoding the first data related to the separated video signal to generate a video signal;
Audio signal decoding means for decoding the second data related to the separated audio signal to generate an audio signal;
Video signal display means for displaying the video signal decoded by the video signal decoding means based on the rewritten time management information;
5. The stream receiving apparatus according to claim 4, further comprising: an audio signal reproducing unit that reproduces the audio signal decoded by the audio signal decoding unit based on the rewritten time management information.
映像信号および前記映像信号に関連した音声信号が符号化されるとともに、前記映像信号および前記音声信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを受信するデータ受信手段と、
受信した前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換手段と、
前記時刻管理情報が書き換えられたストリームデータを、前記映像信号に関わる第1のデータと前記音声信号に関わる第2のデータとに分離する多重データ分離手段と、
前記分離された映像信号に関わる第1のデータを復号化して映像信号を生成する映像信号復号化手段と、
前記分離された音声信号に関わる第2のデータを復号化して音声信号を生成する音声信号復号化手段と、
前記映像信号復号化手段により復号化された映像信号を、前記書き換えられた時刻管理情報に基づいて表示する映像信号表示手段と、
前記音声信号復号化手段により復号化された音声信号を、前記書き換えられた時刻管理情報に基づいて再生する音声信号再生手段とを備えたことを特徴とするストリーム受信装置。
Data reception for receiving stream data to which video information and an audio signal related to the video signal are encoded and to which additional information including time management information for managing the decoding and reproduction time of the video signal and the audio signal is added Means,
Stream data conversion means for rewriting the time management information of the received stream data and converting the stream data;
Multiplexed data separation means for separating the stream data in which the time management information is rewritten into first data related to the video signal and second data related to the audio signal;
Video signal decoding means for decoding the first data related to the separated video signal to generate a video signal;
Audio signal decoding means for decoding the second data related to the separated audio signal to generate an audio signal;
Video signal display means for displaying the video signal decoded by the video signal decoding means based on the rewritten time management information;
A stream receiving apparatus comprising: an audio signal reproducing unit that reproduces the audio signal decoded by the audio signal decoding unit based on the rewritten time management information.
前記ストリームデータは、MPEG方式に準拠したビットストリームであることを特徴とする請求項1から請求項6までのいずれかに記載のストリーム受信装置。The stream receiving apparatus according to any one of claims 1 to 6, wherein the stream data is a bit stream conforming to an MPEG system. 映像信号を符号化するとともに、前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを生成するデータ生成手段と、
前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換手段と、
変換された前記ストリームデータを記録するデータ記録手段と、
前記データ生成手段で生成されたストリームデータまたは記録された前記ストリームデータを外部に送信するデータ送信手段とを備えたことを特徴とするストリーム送信装置。
A data generating means for encoding the video signal and generating stream data to which additional information including time management information for managing the decoding reproduction time of the video signal is provided;
Stream data conversion means for rewriting time management information of the stream data and converting the stream data;
Data recording means for recording the converted stream data;
A stream transmission apparatus comprising: stream data generated by the data generation means or data transmission means for transmitting the recorded stream data to the outside.
前記ストリームデータ変換手段は、前記データ生成手段が生成したストリームデータの概要情報をあらわしたシステムヘッダを付加するヘッダ付加手段と、前記ストリームデータの時刻管理情報を書き換える時間管理情報書き換え手段と、を備えたことを特徴とする請求項8に記載のストリーム送信装置。The stream data converting means includes a header adding means for adding a system header indicating summary information of stream data generated by the data generating means, and a time management information rewriting means for rewriting time management information of the stream data. The stream transmitting apparatus according to claim 8, wherein 前記ストリームデータ変換手段が書き換える時刻管理情報の基準時刻を取得する基準時刻取得手段を備え、
前記ストリームデータ変換手段は、前記データ生成手段が生成したストリームデータの時刻管理情報を、前記基準時刻に基づいて書き換えることを特徴とする請求項8または請求項9に記載のストリーム送信装置。
Reference time acquisition means for acquiring a reference time of time management information to be rewritten by the stream data conversion means,
The stream transmission device according to claim 8 or 9, wherein the stream data conversion unit rewrites time management information of the stream data generated by the data generation unit based on the reference time.
前記データ生成手段は、前記映像信号と関連した音声信号を符号化するとともに、前記音声信号の復号再生時刻を管理する時刻管理情報を含む付加情報を付与し、前記映像信号と多重化した前記ストリームデータを生成し、
前記ストリームデータ変換手段は、前記映像信号と前記音声信号との同期を保って前記時刻管理情報の書き換えを行うことを特徴とする請求項8から請求項10までのいずれかに記載のストリーム送信装置。
The data generation means encodes an audio signal associated with the video signal, adds additional information including time management information for managing a decoding reproduction time of the audio signal, and multiplexes the stream with the video signal Generate data,
11. The stream transmission apparatus according to claim 8, wherein the stream data conversion unit rewrites the time management information while maintaining synchronization between the video signal and the audio signal. .
前記ストリームデータは、MPEG方式に準拠したビットストリームであることを特徴とする請求項8から請求項11までのいずれかに記載のストリーム送信装置。12. The stream transmission apparatus according to claim 8, wherein the stream data is a bit stream conforming to the MPEG system. 映像信号を符号化するとともに、前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを生成するデータ生成手段と、
生成された前記ストリームデータを外部に送信するデータ送信手段と、
送信された前記ストリームデータを途中から受信するデータ受信手段と、
受信した前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換手段と、
前記時刻管理情報が書き換えられたストリームデータを記録するデータ記録手段とを備えたことを特徴とするストリーム送受信システム。
A data generating means for encoding the video signal and generating stream data to which additional information including time management information for managing the decoding reproduction time of the video signal is provided;
Data transmission means for transmitting the generated stream data to the outside;
Data receiving means for receiving the transmitted stream data from the middle;
Stream data conversion means for rewriting the time management information of the received stream data and converting the stream data;
A stream transmission / reception system comprising: data recording means for recording stream data with the time management information rewritten.
前記ストリームデータ変換手段は、前記データ受信手段が受信したストリームデータの時刻管理情報を、前記ストリームデータの受信開始時刻を基準値として書き換えることを特徴とする請求項13に記載のストリーム送受信システム。14. The stream transmission / reception system according to claim 13, wherein the stream data conversion unit rewrites the time management information of the stream data received by the data reception unit with the reception start time of the stream data as a reference value. 前記データ生成手段は、前記映像信号と関連した音声信号を符号化するとともに、前記音声信号の復号再生時刻を管理する時刻管理情報を含む付加情報を付与し、前記映像信号と多重化した前記ストリームデータを生成し、
前記ストリームデータ変換手段は、前記映像信号と前記音声信号との同期を保って前記時刻管理情報の書き換えを行うことを特徴とする請求項13または請求項14に記載のストリーム送受信システム。
The data generation means encodes an audio signal associated with the video signal, adds additional information including time management information for managing a decoding reproduction time of the audio signal, and multiplexes the stream with the video signal Generate data,
15. The stream transmission / reception system according to claim 13, wherein the stream data conversion unit rewrites the time management information while maintaining synchronization between the video signal and the audio signal.
前記ストリームデータ変換手段に前記時刻管理情報が書き換えられたストリームデータを、前記映像信号に関連した第1のデータと前記音声信号に関連した第2のデータとに分離する多重データ分離手段と、
前記分離された映像信号に関連した第1のデータを復号化して映像信号を生成する映像信号復号化手段と、
前記分離された音声信号に関連した第2のデータを復号化して音声信号を生成する音声信号復号化手段と、
前記映像信号復号化手段により復号化された映像信号を、前記書き換えられた時刻管理情報に基づいて表示する映像信号表示手段と、
前記音声信号復号化手段により復号化された音声信号を、前記書き換えられた時刻管理情報に基づいて再生する音声信号再生手段とを備えたことを特徴とする請求項13から請求項15までのいずれかに記載のストリーム送受信システム。
Multiplexed data separation means for separating the stream data in which the time management information has been rewritten in the stream data conversion means into first data related to the video signal and second data related to the audio signal;
Video signal decoding means for decoding the first data related to the separated video signal to generate a video signal;
Audio signal decoding means for decoding the second data related to the separated audio signal to generate an audio signal;
Video signal display means for displaying the video signal decoded by the video signal decoding means based on the rewritten time management information;
16. The audio signal reproducing means for reproducing the audio signal decoded by the audio signal decoding means based on the rewritten time management information. The stream transmission / reception system according to claim 1.
映像信号を符号化するとともに、前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを生成するデータ生成手段と、
前記生成されたストリームデータを途中から再生するための基準時刻情報を取得する基準時刻取得手段と、
前記ストリームデータの概要情報をあらわしたシステムヘッダを付加するとともに、前記ストリームデータの時刻管理情報を前記基準時刻に基づき書き換えて、前記ストリームデータを変換するストリームデータ変換手段と、
前記変換されたストリームデータを記録するデータ記録手段と、
前記記録されたストリームデータを外部に送信するデータ送信手段と、
前記送信されたストリームデータを受信するデータ受信手段と、
前記受信したストリームデータを復号化する復号化手段と、
前記復号化手段により復号化された信号を、前記書き換えられた時刻管理情報に基づいて再生する再生手段とを備えたことを特徴とするストリーム送受信システム。
A data generating means for encoding the video signal and generating stream data to which additional information including time management information for managing the decoding reproduction time of the video signal is provided;
Reference time acquisition means for acquiring reference time information for reproducing the generated stream data from the middle;
A stream data conversion means for converting the stream data by adding a system header representing summary information of the stream data, rewriting time management information of the stream data based on the reference time,
Data recording means for recording the converted stream data;
Data transmission means for transmitting the recorded stream data to the outside;
Data receiving means for receiving the transmitted stream data;
Decoding means for decoding the received stream data;
A stream transmission / reception system comprising: a reproduction unit that reproduces the signal decoded by the decoding unit based on the rewritten time management information.
請求項1から請求項7までのいずれかに記載のストリーム受信装置と、請求項8から請求項12までのいずれかに記載のストリーム送信装置とを備えたことを特徴とするストリーム送受信システム。A stream transmission / reception system comprising the stream reception device according to any one of claims 1 to 7 and the stream transmission device according to any one of claims 8 to 12. 映像信号が符号化されるとともに前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを受信するデータ受信ステップと、
受信した前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換ステップと、
前記時刻管理情報が書き換えられたストリームデータを記録するデータ記録ステップとを備えたことを特徴とするストリーム受信プログラム。
A data receiving step for receiving stream data to which additional information including time management information for managing a video signal is encoded and time for decoding and reproducing the video signal;
A stream data conversion step of rewriting the time management information of the received stream data and converting the stream data;
A stream reception program comprising: a data recording step for recording stream data in which the time management information is rewritten.
映像信号を符号化するとともに、前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを生成するデータ生成ステップと、
前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換ステップと、
変換された前記ストリームデータを記録するデータ記録ステップと、
前記データ生成ステップで生成されたストリームデータまたは記録された前記ストリームデータを外部に送信するデータ送信ステップとを備えたことを特徴とするストリーム送信プログラム。
A data generation step of encoding the video signal and generating stream data to which additional information including time management information for managing a decoding reproduction time of the video signal is provided;
A stream data conversion step of rewriting the time management information of the stream data and converting the stream data;
A data recording step for recording the converted stream data;
A stream transmission program comprising: a data transmission step of transmitting the stream data generated in the data generation step or the recorded stream data to the outside.
映像信号を符号化するとともに、前記映像信号の復号再生時刻を管理する時刻管理情報を含む付加情報が付与されたストリームデータを生成するデータ生成ステップと、
生成された前記ストリームデータを外部に送信するデータ送信ステップと、
送信された前記ストリームデータを途中から受信するデータ受信ステップと、
受信した前記ストリームデータの時刻管理情報を書き換えて、前記ストリームデータを変換するストリームデータ変換ステップと、
前記時刻管理情報が書き換えられたストリームデータを記録するデータ記録ステップとを備えたことを特徴とするストリーム送受信プログラム。
A data generation step of encoding the video signal and generating stream data to which additional information including time management information for managing a decoding reproduction time of the video signal is provided;
A data transmission step of transmitting the generated stream data to the outside;
A data receiving step for receiving the transmitted stream data from the middle;
A stream data conversion step of rewriting the time management information of the received stream data and converting the stream data;
A stream transmission / reception program comprising: a data recording step for recording stream data in which the time management information is rewritten.
JP2003183135A 2003-06-26 2003-06-26 Stream receiver, stream transmitter and stream transmission and reception system Withdrawn JP2005020429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003183135A JP2005020429A (en) 2003-06-26 2003-06-26 Stream receiver, stream transmitter and stream transmission and reception system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003183135A JP2005020429A (en) 2003-06-26 2003-06-26 Stream receiver, stream transmitter and stream transmission and reception system

Publications (1)

Publication Number Publication Date
JP2005020429A true JP2005020429A (en) 2005-01-20

Family

ID=34183323

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003183135A Withdrawn JP2005020429A (en) 2003-06-26 2003-06-26 Stream receiver, stream transmitter and stream transmission and reception system

Country Status (1)

Country Link
JP (1) JP2005020429A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010171919A (en) * 2008-12-26 2010-08-05 Mitsubishi Electric Corp Video display apparatus
JP2012060256A (en) * 2010-09-06 2012-03-22 Sharp Corp Video content reproduction device, control method thereof, program, and recording medium
JP5020422B2 (en) * 2010-06-11 2012-09-05 三菱電機株式会社 Video display device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010171919A (en) * 2008-12-26 2010-08-05 Mitsubishi Electric Corp Video display apparatus
JP5020422B2 (en) * 2010-06-11 2012-09-05 三菱電機株式会社 Video display device
JP2012060256A (en) * 2010-09-06 2012-03-22 Sharp Corp Video content reproduction device, control method thereof, program, and recording medium

Similar Documents

Publication Publication Date Title
RU2273111C2 (en) Method for transformation of packet stream of information signals to stream of information signals with time stamps and vice versa
JP4481444B2 (en) Image encoding device
JP3666625B2 (en) Data recording method and data recording apparatus
TWI327028B (en) Systems and methods for stream format conversion
JP4208398B2 (en) Moving picture decoding / reproducing apparatus, moving picture decoding / reproducing method, and multimedia information receiving apparatus
US8233780B2 (en) Reproducing apparatus and method, and recording medium
JPH11205696A (en) Video transmitting device and video transmitting method
US20070286245A1 (en) Digital signal processing apparatus and data stream processing method
JP2006042340A (en) Data transmission synchronizing scheme
EP2012322A1 (en) Recording/reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method and computer program
JP4362734B2 (en) Synchronous playback system
JP4718275B2 (en) Multiple media synchronized playback system and synchronized playback method
JPH0730886A (en) Method and device for processing picture and audio signal
KR20050052717A (en) System and method for transcording stream data except audio data
JP5092493B2 (en) Reception program, reception apparatus, communication system, and communication method
JP4192766B2 (en) Receiving apparatus and method, recording medium, and program
JPH11205789A (en) Transmission rate converter of mpeg2 transport stream
JP2005020429A (en) Stream receiver, stream transmitter and stream transmission and reception system
WO2004086396A1 (en) Reproducing apparatus and method, and recording medium
JP3617171B2 (en) Encoder device and method, decoder device and method, and signal transmission method
RU2411596C2 (en) Method of reproduction
JP2001111610A (en) Receiver for information data transmission system
JP2001339688A (en) Playback equipment of transport stream
JP4770003B2 (en) MPEG transport stream transmission / reception system, transmission apparatus, transmission method, reception apparatus, and reception method
JPH099215A (en) Data multiplex method, data transmission method, multiplex data decoding method and multiplex data decoder

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060620

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20080605