JP5092493B2 - Reception program, reception apparatus, communication system, and communication method - Google Patents

Reception program, reception apparatus, communication system, and communication method Download PDF

Info

Publication number
JP5092493B2
JP5092493B2 JP2007084883A JP2007084883A JP5092493B2 JP 5092493 B2 JP5092493 B2 JP 5092493B2 JP 2007084883 A JP2007084883 A JP 2007084883A JP 2007084883 A JP2007084883 A JP 2007084883A JP 5092493 B2 JP5092493 B2 JP 5092493B2
Authority
JP
Japan
Prior art keywords
packet
time stamp
time
digital data
tts
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.)
Active
Application number
JP2007084883A
Other languages
Japanese (ja)
Other versions
JP2008245061A (en
Inventor
靖 梅崎
範幸 井原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2007084883A priority Critical patent/JP5092493B2/en
Publication of JP2008245061A publication Critical patent/JP2008245061A/en
Application granted granted Critical
Publication of JP5092493B2 publication Critical patent/JP5092493B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、映像ファイル(MPEG-2,MPEG-4,H.264/AVC)や、音声ファイルを(MPEG-1,MPEG-2,MPEG-4,Dolby)の通信を、トランスポートストリーム(TS)を用いて多重化を行い、IPネットワーク用いて伝送するシステムにおいて、特にデコーダで受信した映像、音声を即座に再生するためのPCR再生方式に関する。   The present invention relates to communication of a video file (MPEG-2, MPEG-4, H.264 / AVC) or an audio file (MPEG-1, MPEG-2, MPEG-4, Dolby), a transport stream (TS In particular, the present invention relates to a PCR reproduction method for immediately reproducing video and audio received by a decoder in a system that performs multiplexing using IP and transmits using an IP network.

昨今、インターネット通信を始めとして様々な通信手段を介した映像データなどをリアルタイムで伝送するストリーム配信の需要が高まっている。   Recently, there is an increasing demand for stream distribution for transmitting video data and the like in real time via various communication means including Internet communication.

特に近年、IPネットワークを通した映像、音声データのストリーム伝送が普及するにつれ、デコーダは受信した映像、音声を破棄することなく即座に再生する要求がある。   In particular, as video and audio data stream transmission through an IP network has become widespread in recent years, decoders are required to immediately reproduce received video and audio without discarding them.

しかしながら、IPネットワークでは、パケットが順列に定期的に到着する保障がなされていない為、受信側に同じタイミングで信号が入力される保障が無いため、単純にパケットから取得した情報を再生していっても、再生時刻に同期した滑らかな再生が望めない。   However, in an IP network, there is no guarantee that packets will arrive regularly in a permutation, so there is no guarantee that a signal will be input at the same timing on the receiving side. However, smooth playback synchronized with the playback time cannot be expected.

このため、MPEG2−TSでは、MPEG2−TSのトランスポートストリームパケット(TSパケット)毎に27MHzのカウンタ値を32ビット分付加したTTSパケット(Time Stamp 付TS)が規格化されており、このカウンタ値を参照してTTSパケット上の復号・再生のタイミングを決定している。   For this reason, in MPEG2-TS, a TTS packet (TS with Time Stamp) added with a 32-MHz counter value for 32 bits for each MPEG2-TS transport stream packet (TS packet) is standardized. , The decoding / reproduction timing on the TTS packet is determined.

TTSパケットは図7に示される様なフォーマット形式と成っており、上記したように、この32ビットのフィールドは、引き続くトランスポートパケットのデコーダへの相対的な入力時刻を制御するための、MPEGシステムクロックに同期した27MHzのクロックカウンタ値である。 The TTS packet is in a format as shown in FIG. 7 , and as described above, this 32-bit field is an MPEG system for controlling the relative input time of the subsequent transport packet to the decoder. This is a clock counter value of 27 MHz synchronized with the clock.

また、LAN上でリアルタイムのストリーム伝送を行うための規格としてRTP(Real Time Transfer Protocol)が規格化されている。   RTP (Real Time Transfer Protocol) is standardized as a standard for performing real-time stream transmission on a LAN.

これは、時間単位でデータをパケットに分割し、パケットにデータの時間情報を付加して転送するもので、例えば、途中のパケットが到着していなくとも各パケットに含まれる時間情報から時間的な関係を把握して、適切なタイミングでデータを再生することを可能とするものである。   In this method, data is divided into packets in units of time, and the time information of the data is added to the packet and transferred. For example, even if an intermediate packet has not arrived, the time information contained in each packet is temporally transmitted. It is possible to grasp the relationship and reproduce the data at an appropriate timing.

また、MPEG2の再生機器は、映像と音声を、同期再生を目的として、STC(System Time Clock)の27MHzのカウンタを有しており、MPEG2のTSパケットに所定間隔に含まれるPCR(Program Clock reference)パケットに含まれる27MHzのカウンタ値(48Bit・フォーマットは図参照)とSTCのカウンタ値を同期させながらMPEG2の再生を行う。 In addition, MPEG2 playback equipment has a 27 MHz counter of STC (System Time Clock) for the purpose of synchronous playback of video and audio, and PCR (Program Clock reference) included in the MPEG2 TS packet at a predetermined interval. ) MPEG2 playback is performed while synchronizing the 27 MHz counter value (see FIG. 8 for the 48-bit format) included in the packet and the STC counter value.

なお、図の補足を行うと「Program_clock_reference_base」は、33Bitで90KHzのカウンタ値であり、「Program_clock_reference_extrention」は、9Bitで27MHzの2種類のカウンタ値であり、STCでは、この90KHz(33Bit)、27MHz(9bit)の2つのカウント値を用いて48BitのPCRパケットのカウンタ値を生成している。再生側ではこの2つの時間情報を基に再生時間を特定している。 When supplementing FIG. 8 , “Program_clock_reference_base” is a counter value of 90 KHz in 33 bits, and “Program_clock_reference_extension” is two types of counter values of 27 MHz in 9 bits. A counter value of a 48-bit PCR packet is generated using two (9-bit) count values . In playback side has identified the playback time based on the two time information.

また、Mpeg2での画像情報は、I−Pictureと呼ばれる全体を再生可能なコマは所定コマおきとし、その間のコマは、P−PictureやB−Pictureと呼ばれる前もしくは後ろのコマとの差分情報のみを配置するようにしている。このような方式を取っているため、前後のコマなしで原画像を再生できるのはIピクチャのみである。   In addition, the image information in Mpeg2 is a frame called I-Picture that can reproduce the entire frame every predetermined frame, and the frame between them is only difference information from the previous or next frame called P-Picture or B-Picture. Is trying to arrange. Since such a method is adopted, only the I picture can be reproduced without the preceding and following frames.

また、I−Pictureには、表示時刻の情報として、PTS(Program Time Stamp)が記録されている。これは、PCRのカウンタ値との相対値が記録されており、実際のI−Pictureの再生タイミングは、PCR値とPTS値との組合せで求まる事になる。
特開2006−067568号公報 特許第3466417号公報
Also, in the I-Picture, PTS (Program Time Stamp) is recorded as display time information. This is recorded as a relative value with respect to the PCR counter value, and the actual I-Picture reproduction timing is obtained by a combination of the PCR value and the PTS value.
JP 2006-0675568 A Japanese Patent No. 3466417

PCRパケットの送信間隔が短いほど、再生のデータ同期はとりやすくなるものの、再生データ転送の効率が悪くなるため、規格上100ms以内に次のパケットを送る、即ち、最大100msは次のPCRパケットが送られなくなることになる。また、上記したように、再生時刻の基準となる時刻はPCRパケットのカウンタ値にあることから、MPEG2のデータを再生するためには、先頭パケットがこのPCRパケットである必要がある。   The shorter the PCR packet transmission interval is, the easier it is to synchronize the reproduction data, but the efficiency of the reproduction data transfer becomes worse. Therefore, the next packet is sent within 100 ms according to the standard. It will not be sent. Further, as described above, since the time that is the reference for the reproduction time is in the counter value of the PCR packet, in order to reproduce the MPEG2 data, the head packet needs to be this PCR packet.

しかしながら、MPEG−2のデータをIPネットワークで送る場合、データロストやデータ遅延が発生し、この先頭パケットが相手方に送られない場合が発生する。   However, when MPEG-2 data is sent over an IP network, data loss and data delay occur, and this leading packet may not be sent to the other party.

この後、I−Pictureが送られてきた場合、画像情報自体は再生できるが、PCR情報が無いままであるため、その再生タイミングがわからず、せっかく届いた画像情報を次のPCRパケットが届くまでの最大100mS分再生できないという事態になってしまう。   After this, when the I-Picture is sent, the image information itself can be reproduced, but since the PCR information remains absent, the reproduction timing is not known, and the arrived image information is not received until the next PCR packet arrives. The maximum 100 ms cannot be reproduced.

この100ms再生不可能時間のために、一瞬であるが、画像が消えたような状態となってしまい、例えば放送の中継に利用する場合、切替直後に、視聴者に違和感を抱かせる事になってしまうことがあった。   Due to this 100 ms non-reproducible time, the image disappears for a moment, but when used for broadcast broadcasting, for example, the viewer feels uncomfortable immediately after switching. There was a case.

本発明は、この点に鑑みて成されたもので、先頭パケットが届かない場合においても、I−Pictureが届いた時点で再生が可能なデータ伝送装置を提供する事を目的とする。   The present invention has been made in view of this point, and an object of the present invention is to provide a data transmission apparatus that can be played back when an I-Picture arrives even when the leading packet does not arrive.

上記従来の課題を解決するために、本発明の一観点によれば、ディジタルデータの再生時間のカウント値を生成するディジタルカウンタを有し、ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットにTTSタイムスタンプとして付加し、付加された前記TTSタイムスタンプ付トランスポートストリームパケットに、更に、前記ディジタルカウンタの上位所定ビット分のカウント値であるRTPタイムスタンプをヘッダとして付与したパケットを出力し、出力した前記パケットを送信する送信装置との通信を行う受信装置に、前記送信装置から送られてくる前記パケットを受信させ、受信した前記パケットにディジタルデータの再生基準時間を示すPCRパケットが含まれない場合に、受信した前記パケットから、前記TTSタイムスタンプ及び前記RTPタイムスタンプを抽出させ、抽出された前記TTSタイムスタンプ及び前記RTPタイムスタンプから、前記PCRパケットを生成し、ディジタルデータの再生を行うデコーダへ出力させる受信プログラムが提供される。 In order to solve the above-described conventional problems , according to one aspect of the present invention , a digital counter that generates a count value of a reproduction time of digital data is provided, and when the digital data transport stream packet is transmitted, the digital counter Are added to the transport stream packet with a time stamp as a TTS time stamp, and the added transport stream packet with a TTS time stamp is a count value for the upper predetermined bits of the digital counter. A packet with an RTP time stamp as a header is output, and the receiving device that communicates with the transmitting device that transmits the output packet is caused to receive the packet sent from the transmitting device, and the received packet Digital data The TTS time stamp and the RTP time stamp are extracted from the received packet, and the PCR is extracted from the extracted TTS time stamp and the RTP time stamp. generates a packet, receiving program to output to a decoder for reproduction of the digital data is Ru are provided.

これにより、先頭パケットが欠落した場合でも、I−Pictureの再生タイミングとすることができ、先頭パケット欠落による再生不能時間を最小限に抑える事が可能となる。   As a result, even when the head packet is lost, the I-Picture playback timing can be set, and the non-recoverable time due to the head packet loss can be minimized.

以下、本発明の実施の形態について、説明する。   Hereinafter, embodiments of the present invention will be described.

図1は、本実施の形態におけるMPEG−TSの送信装置1の構成図であり、図2は、同受信装置の構成図である。   FIG. 1 is a configuration diagram of an MPEG-TS transmission device 1 according to the present embodiment, and FIG. 2 is a configuration diagram of the reception device.

これら、送信装置1、受信装置2は、ネットワーク3を介してMPEG2−TS形式のパケットの送受信を行う。   The transmission device 1 and the reception device 2 transmit and receive MPEG2-TS format packets via the network 3.

なお、本実施の形態では、説明を簡易化するために、送信装置1,受信装置2は各々専用の装置として構成したが、送信装置1の機能及び受信装置2の機能の双方を有する通信装置を構成しても良い。(当然であるがこの場合の送信・受信各々の機能は、本実施の形態と同様の手順で行われる。)
図1の送信装置において、101はエンコーダ・TS多重部であり、後述するSTCカウンタ102の信号に同期し映像音声信号をエンコードし、TSパケットを生成する。
In the present embodiment, in order to simplify the description, the transmission device 1 and the reception device 2 are each configured as a dedicated device, but a communication device having both the function of the transmission device 1 and the function of the reception device 2. May be configured. (Of course, the transmission and reception functions in this case are performed in the same procedure as in the present embodiment.)
In the transmission apparatus of FIG. 1, reference numeral 101 denotes an encoder / TS multiplexer, which encodes a video / audio signal in synchronization with a signal of an STC counter 102 described later to generate a TS packet.

102はSTC(System Time Clock)の27MHzのカウンタである。このSTCカウンタ値は、背景技術でも説明したように、PCRパケットに含まれるカウンタ値であり、42Bitの27MHzのカウント値を出力する。   Reference numeral 102 denotes a 27 MHz counter of STC (System Time Clock). As described in the background art, this STC counter value is a counter value included in the PCR packet, and outputs a 42-bit 27-MHz count value.

103はSTCカウンタ102からの出力の下位32BitをTTSパケットのタイムスタンプスタンプ値として、エンコーダ・TS多重部101より出力されたTSパケットのヘッダに生成したタイムスタンプ値をヘッダに加え、TTSパケットを生成するTTSパケット生成部である。   103 generates the TTS packet by adding the lower 32 bits of the output from the STC counter 102 as the time stamp stamp value of the TTS packet and adding the time stamp value generated in the header of the TS packet output from the encoder / TS multiplexing unit 101 to the header. A TTS packet generator.

図3・図4にTTSパケットのフォーマットを示す。なお、図3は、RAP(Randam Access Point)の場合で、図4はそれ以外の場合のフォーマットを示す。これらの図でもわかるように、TTSパケットのタイムスタンプの領域は32bitであり、TTSパケット生成部103では、これらの図にあるタイムスタンプの領域にSTCカウンタ102のカウンタ値の下位32bitを定義したTTSパケットの生成を行う。   3 and 4 show the format of the TTS packet. Note that FIG. 3 shows a case of RAP (Random Access Point), and FIG. 4 shows a format in other cases. As can be seen from these drawings, the time stamp area of the TTS packet is 32 bits, and the TTS packet generation unit 103 defines the lower 32 bits of the counter value of the STC counter 102 in the time stamp area shown in these figures. Generate a packet.

104は、TTSパケット生成部103にて出力しされたTTSパケットのヘッダに、STCカウンタ101の出力の1/600にした値を、RTPパケットフォーマットの32Bitの時間情報に挿入したヘッダを加え、RTPパケットを生成するRTPパケット生成部である。   104 adds, to the header of the TTS packet output from the TTS packet generator 103, a header obtained by inserting a value 1/600 of the output of the STC counter 101 into the 32-bit time information of the RTP packet format, and RTP It is an RTP packet generator that generates packets.

STCカウンタ値の上位32Bitは、27Mhzの1/600である45KHzのカウント値を示すものとなる。   The upper 32 bits of the STC counter value indicate a count value of 45 KHz, which is 1/600 of 27 Mhz.

RTPパケットのヘッダのフォーマットを図5に示す。RTPのヘッダには、32Bit(4Byte)×3=96Bitにて構成されており、このうち、時間情報は「タイムスタンプ」と明記されている32Bitの部分であり、RTPパケット生成部104は、このタイムスタンプ部分に32bitの時間情報として、STCカウンタ101の上位32bitを入れ、RTPパケットを生成することになる。
(なお、図3を利用してタイムスタンプ以外の部分について補足すると、V(Version):2bit、P(Padding):1bit、X(eXtention):1bit、CC(CSRC Count:4Bit、M(Marker):1Bit(ペイロード部がRAP(Randam Access Point)のとき1.それ以外は0)、PT(Payload Type):7bit(MPEG2−TS(TTSの識別番号付与部分)、シーケンス番号:16bit(0〜65535の範囲でサイクリックに採番される番号)、SSRC識別符号:32bit(発信元識別用の欄数値の格納場所)となる。これらは、従来の技術とは変わらないため、説明を省略する。)
また、105は、RTPパケット生成部104が生成したRTPパケットをネットワークへ送信する通信部である。
The format of the RTP packet header is shown in FIG. The RTP header is composed of 32 bits (4 bytes) × 3 = 96 bits. Among these, the time information is a 32-bit part clearly described as “time stamp”, and the RTP packet generation unit 104 As the 32-bit time information, the upper 32 bits of the STC counter 101 are inserted into the time stamp portion to generate an RTP packet.
(Additionally, with reference to FIG. 3, V (Version): 2 bits, P (Padding): 1 bit, X (eXtention): 1 bit, CC (CSRC Count: 4 Bit, M (Marker)) 1 bit (1 when the payload portion is RAP (Randam Access Point), 0 otherwise), PT (Payload Type): 7 bits (MPEG2-TS (TTS identification number assignment portion), sequence number: 16 bits (0 to 65535) ), And SSRC identification code: 32 bits (storage location of the sender identification field value), which are not different from the prior art, and will not be described. )
Reference numeral 105 denotes a communication unit that transmits the RTP packet generated by the RTP packet generation unit 104 to the network.

以上の様な送信装置1を利用してMPEG2−TSの送信を行うと、RTPパケットのヘッダには、STCカウンタ102の出力の上位32bitの情報をタイムスタンプとして含み、そのRTPパケット内のTTSパケットのヘッダには、STCカウンタ102の出力の下位32bitが含まれてパケット送信が成される事になる。   When MPEG2-TS is transmitted using the transmission apparatus 1 as described above, the header of the RTP packet includes information on the upper 32 bits of the output of the STC counter 102 as a time stamp, and the TTS packet in the RTP packet , The lower 32 bits of the output of the STC counter 102 are included, and packet transmission is performed.

次に、図2の受信装置についての説明を行う。   Next, the receiving apparatus in FIG. 2 will be described.

図2において、20は、ネットワーク3からのパケットを受信する通信部、202は通信部201で受信したRTPパケットから32bitのタイムスタンプを抽出するRTPタイムスタンプ抽出部、203は同パケットからTTSパケットのヘッダ部分にある32bitのタイムスタンプを抽出するTTSタイムスタンプ抽出部、204はRTPタイムスタンプ抽出部202、TTSタイムスタンプ抽出部203が各々抽出したタイムスタンプ情報を基にPCRパケットを生成するPCRパケット生成部、205は通信部がPCRパケットを受信した場合、後述するパケット修正出力部206へPCRパケットを出力するPCRパケット抽出部、206はPCRパケット抽出部205がPCRパケットを受信した場合、画像再生を行うデコーダLSI207へ受信したPCRパケットを出力し、受信していない場合、PCRパケット生成部204にて生成されたPCRパケットを出力するパケット修正出力部である。   In FIG. 2, 20 is a communication unit that receives a packet from the network 3, 202 is an RTP time stamp extraction unit that extracts a 32-bit time stamp from the RTP packet received by the communication unit 201, and 203 is a TTS packet from the packet. A TTS time stamp extraction unit that extracts a 32-bit time stamp in the header part, 204 a PCR packet generation that generates a PCR packet based on the time stamp information extracted by the RTP time stamp extraction unit 202 and the TTS time stamp extraction unit 203, respectively , 205 is a PCR packet extraction unit that outputs a PCR packet to a packet correction output unit 206 (to be described later) when the communication unit receives the PCR packet, and 206 is configured to reproduce an image when the PCR packet extraction unit 205 receives the PCR packet. Deco to do Outputs PCR packet received to da LSI 207, if not received, a packet modifying output unit for outputting the PCR packets generated by PCR packet generator 204.

以上の様に構成された受信装置2の動作について、図6のフローチャートを用い説明を行う。   The operation of the receiving apparatus 2 configured as described above will be described using the flowchart of FIG.

まず、通信部201がRTPパケットデータを受信すると(S1001)、RTPパケットデータ内に含まれるタイムスタンプ(以後RTPタイムスタンプとして説明する。)を抽出し、記憶部(図示せず)に保存する(S1002)。次にTTSタイムスタンプ抽出部203が、このRTPパケットの先頭のTTSタイムスタンプを抽出し、記憶部(図示せず)に保存する(S1003)。   First, when the communication unit 201 receives RTP packet data (S1001), a time stamp (hereinafter described as an RTP time stamp) included in the RTP packet data is extracted and stored in a storage unit (not shown) ( S1002). Next, the TTS time stamp extraction unit 203 extracts the first TTS time stamp of the RTP packet and stores it in the storage unit (not shown) (S1003).

そして、PCRパケット生成部204が、RTPタイムスタンプを600倍したものと、TTSタイムスタンプのカウント値から27MHzのカウント値を生成する(S1004)。   Then, the PCR packet generation unit 204 generates a 27 MHz count value from the RTP time stamp multiplied by 600 and the TTS time stamp count value (S1004).

この処理は、600倍したRTPタイムスタンプでは、10進数換算で0〜599の値が取れない事からこの0〜599の値をTTSタイムスタンプにより取得し、600倍にしたRTPタイムスタンプの値にTTSタイムスタンプの0〜599の部分までの値を加算する事によって、27MHzのカウント値を生成するものである。   In this process, since the RTP time stamp multiplied by 600 cannot obtain a value of 0 to 599 in decimal conversion, the value of 0 to 599 is acquired from the TTS time stamp, and the RTP time stamp value multiplied by 600 is obtained. A count value of 27 MHz is generated by adding values from 0 to 599 of the TTS time stamp.

次に。この生成したカウンタ値を1/300にして、33Bit・90KHzの信号を生成するとともに、下位9Bitを抽出し、それぞれ、PCRパケットのProgram_clock_reference_base」のカウンタ値と、「Program_clock_reference_extrention」カウンタ値とするPCRパケットを生成する(S1005)。   next. The generated counter value is set to 1/300 to generate a 33-bit / 90 KHz signal, and the lower 9 bits are extracted. Each of the PCR packets includes a Program_clock_reference_base counter value and a PCR packet having a “Program_clock_reference_extension” counter value. Generate (S1005).

そして、パケット修正出力部206は、PCRパケット抽出部205によりPCRパケットが抽出されていない事を判断すると、PCRパケット生成部204で生成されたPCRパケットをデコーダLSI207へ出力する。   When the packet modification output unit 206 determines that the PCR packet is not extracted by the PCR packet extraction unit 205, the packet correction output unit 206 outputs the PCR packet generated by the PCR packet generation unit 204 to the decoder LSI 207.

以上により、MPEG2−TSのデータ送信開始時に、PCRパケットが欠落してしまっても、RTPパケットに含まれるRTPタイムスタンプ、及び、TTSタイムスタンプを利用して、受信側でPCRパケットを生成し、デコーダLSIへPCRパケットを入力する事が可能であるので、PCRパケット欠落による、I−PICTURE再生不能時間帯を最小限に抑える事が可能となる。   As described above, even when a PCR packet is lost at the start of MPEG2-TS data transmission, a PCR packet is generated on the receiving side using the RTP time stamp and the TTS time stamp included in the RTP packet. Since it is possible to input a PCR packet to the decoder LSI, it is possible to minimize the I-PICTURE non-reproducible time zone due to PCR packet loss.

なお、本実施の形態では、パケット修正出力部206により、PCRパケット抽出部205がPCRパケットを抽出できないときにPCRパケット生成部204にて生成したPCRパケットを使用したが、送信側からのPCRパケットを利用せず、PCRパケット生成部204にて生成したPCRパケットのみをデコーダLSI207へ入力しても良い。これにより、パケット修正出力部206やPCRパケット抽出部205の構成を省略する事も可能である。   In this embodiment, the PCR packet generated by the PCR packet generator 204 when the PCR packet extractor 205 cannot extract the PCR packet by the packet correction output unit 206 is used. Only the PCR packet generated by the PCR packet generation unit 204 may be input to the decoder LSI 207 without using. Thereby, the configuration of the packet correction output unit 206 and the PCR packet extraction unit 205 can be omitted.

なお、本実施の形態では、送信装置1にてSTCのカウンタ値の1/600とSTCの下位32Bitを送信し、受信装置2にてSTCのカウンタ値を復元した後にPCRパケットを再現したが、送信装置において、STCからの出力からPCRパケットの上位32bitをRTPパケットのタイムスタンプ、下位をTTSのタイムスタンプに入れるようにし、受信装置2では、これらを使って直接PCRパケットを生成する構成としても良い。
(第2の実施の形態)
上記した実施の形態では、RTPタイムスタンプとTTSタイムスタンプを利用して受信側にPCRパケットを生成させたが、I−Picture内のPTSとTTSパケット内のタイムスタンプを用いてデコーダでPCRを生成する事も可能である。
In the present embodiment, the transmitting apparatus 1 transmits 1/600 of the STC counter value and the lower 32 bits of the STC, and the receiving apparatus 2 reproduces the PCR packet after restoring the STC counter value. In the transmitting apparatus, the upper 32 bits of the PCR packet are put in the RTP packet time stamp and the lower order in the TTS time stamp from the output from the STC, and the receiving apparatus 2 can directly generate the PCR packet using these. good.
(Second Embodiment)
In the above-described embodiment, the RTP time stamp and the TTS time stamp are used to generate the PCR packet on the receiving side, but the PCR is generated by the decoder using the PTS in the I-Picture and the time stamp in the TTS packet. It is also possible to do.

なお、本実施の形態では、PTSの情報自体は従来と同じものであり、かつ、TTSタイムスタンプは上記実施の形態と同じモノであるため、送信部1からの送信については説明を省略する。   In the present embodiment, the PTS information itself is the same as the conventional one, and the TTS time stamp is the same as that in the above-described embodiment, so that the description of transmission from the transmission unit 1 is omitted.

まず、受信したTTSからI−Pictureに対応するTSを見つける。このTSからPTSを取得する。   First, a TS corresponding to I-Picture is found from the received TTS. A PTS is acquired from this TS.

上記したように、I−Pictureには、表示時刻の情報として、PTS(Program Time Stamp)と呼ばれる、PCRのカウンタ値との相対値が記録されている。   As described above, in the I-Picture, a relative value with respect to a PCR counter value called PTS (Program Time Stamp) is recorded as display time information.

このPTSを利用して、TTSのタイムスタンプから生成できないPCRの上位ビットをPTSから生成する。
デコーダLSI等の実際の映像、音声をデコードするブロックには、本発明で生成したPCRを含んだTSパケットを与え、その後I−Pictureに対応するTSパケットを与える。
このようにすることにより、I−PictureのPTSに対する表示開始時間をデコーダが認識でき、最初のPictureからの再生が可能となる。
Using this PTS, the upper bits of the PCR that cannot be generated from the time stamp of the TTS are generated from the PTS.
A block for decoding actual video and audio such as a decoder LSI is provided with a TS packet including the PCR generated in the present invention, and then a TS packet corresponding to I-Picture.
By doing so, the decoder can recognize the display start time of the I-Picture with respect to the PTS, and reproduction from the first Picture becomes possible.

なお、本方式では、27MHzカウンタ(32ビット)が1周しない時間(約159秒以内)であれば、実現可能である。
また、本方式で生成したカウンタ値をエンコーダで実現することにより、請求項1のRTPタイムスタンプに付加することも可能である。
Note that this method can be realized as long as the 27 MHz counter (32 bits) does not make one round (within about 159 seconds).
Further, the counter value generated by this method can be added to the RTP time stamp of claim 1 by realizing it with an encoder.

(付記1) 受信したパケットから、第1のタイムスタンプ・第2のタイムスタンプを抽出し、ディジタルデータの再生時間情報を生成してディジタルデータの再生を行う受信装置との通信を行う送信装置を、
ディジタルデータの再生時間のカウント値を生成するディジタルカウンタと、
ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットに第1のタイムスタンプとして付加する第1のタイムスタンプ付与手段と、
前記第1のタイムスタンプ付与手段により出力されたタイムスタンプ付トランスポートストリームパケットに、更に、前記ディジタルカウンタの上位所定ビット分のカウント値を第2のタイムスタンプとしてヘッダとして付与したパケットを出力する第2のタイムスタンプ付与手段と、
前記第2のタイムスタンプ付与手段から出力されたパケットを受信装置へ送信する送信手段と、
して機能させる事を特徴とする送信プログラム。
(Supplementary Note 1) A transmitting apparatus that extracts a first time stamp and a second time stamp from a received packet, generates reproduction time information of digital data, and communicates with a receiving apparatus that reproduces the digital data. ,
A digital counter for generating a count value of the reproduction time of the digital data;
First time stamp assigning means for adding a lower predetermined bit of the digital counter as a first time stamp to a transport stream packet with a time stamp when sending a transport stream packet of digital data;
A packet in which a transport value packet with a time stamp output by the first time stamp adding means is further provided with a count value corresponding to the upper predetermined bits of the digital counter as a second time stamp as a header is output. Two time stamping means;
Transmitting means for transmitting the packet output from the second time stamp assigning means to the receiving device;
A transmission program characterized by functioning.

(付記2) 前記送信装置の通信は、MPEG2のトランスポートストリーム(TS)を用いて多重化を行うものであり、
前記ディジタルカウンタは、STCカウンタであり、
前記第1のタイムスタンプ付与手段は、タイムスタンプ付トランスポートストリームのタイムスタンプにSTCカウンタの下位32bitのカウント値を付加するものであり、
前記第2のタイムスタンプ付与手段は、ネットワーク上でリアルタイムのストリーム伝送を行うRTP(Real Time Transfer Protocol)パケットヘッダのタイムスタンプにSTCカウンタの上位32bitのカウント値を付加するものである事を特徴とする付記1記載の送信プログラム。
(Additional remark 2) The communication of the said transmitter performs multiplexing using the transport stream (TS) of MPEG2,
The digital counter is an STC counter,
The first time stamp assigning means adds a lower 32 bit count value of the STC counter to the time stamp of the time-stamped transport stream,
The second time stamp assigning means adds the count value of the upper 32 bits of the STC counter to the time stamp of an RTP (Real Time Transfer Protocol) packet header that performs real-time stream transmission on the network. The transmission program according to appendix 1.

(付記3) 前記受信部が受信したパケットから、タイムスタンプ及びI−Picture情報内のPTS情報を抽出し、タイムスタンプ・PTS情報から、ディジタルデータの再生時間情報を生成し、ディジタルデータの再生を行う受信装置との通信を行う送信装置を、
ディジタルデータの再生時間のカウント値を生成するディジタルカウンタと、
前記ディジタル時間データによりMPEGデータの再生基準時間を示すパケットであるPCRパケットとの相対時刻カウント値であるPTS情報を、I−Picture情報内に付加するPTS情報付加部と、
ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットにタイムスタンプとして付加するタイムスタンプ付与手段と、
前記タイムスタンプ付与手段から出力されたパケットを受信装置へ送信する送信手段と、して機能させる事を特徴とする送信プログラム。
(Supplementary Note 3) The PTS information in the time stamp and I-Picture information is extracted from the packet received by the receiving unit, the reproduction time information of the digital data is generated from the time stamp / PTS information, and the digital data is reproduced. A transmitting device that communicates with the receiving device
A digital counter for generating a count value of the reproduction time of the digital data;
A PTS information adding unit for adding PTS information, which is a relative time count value to a PCR packet, which is a packet indicating a reproduction reference time of MPEG data by the digital time data, in I-Picture information;
Time stamp giving means for adding a lower-order predetermined bit of the digital counter as a time stamp to a transport stream packet with a time stamp when sending a transport stream packet of digital data;
A transmission program that functions as a transmission unit that transmits a packet output from the time stamp addition unit to a reception device.

(付記4) 受信したパケットから、第1のタイムスタンプ・第2のタイムスタンプを抽出し、ディジタルデータの再生時間情報を生成してディジタルデータの再生を行う受信装置との通信を行う送信装置であって、
前記送信装置は、
ディジタルデータの再生時間のカウント値を生成するディジタルカウンタと、
ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットに第1のタイムスタンプとして付加する第1のタイムスタンプ付与手段と、
前記第1のタイムスタンプ付与手段により出力されたタイムスタンプ付トランスポートストリームパケットに、更に、前記ディジタルカウンタの上位所定ビット分のカウント値を第2のタイムスタンプとしてヘッダとして付与したパケットを出力する第2のタイムスタンプ付与手段と、
前記第2のタイムスタンプ付与手段から出力されたパケットを受信装置へ送信する送信手段と、
を有する事を特徴とする送信装置。
(Supplementary Note 4) A transmission apparatus that extracts a first time stamp and a second time stamp from a received packet, generates reproduction time information of digital data, and communicates with a reception apparatus that reproduces the digital data. There,
The transmitter is
A digital counter for generating a count value of the reproduction time of the digital data;
First time stamp assigning means for adding a lower predetermined bit of the digital counter as a first time stamp to a transport stream packet with a time stamp when sending a transport stream packet of digital data;
A packet in which a transport value packet with a time stamp output by the first time stamp adding means is further provided with a count value corresponding to the upper predetermined bits of the digital counter as a second time stamp as a header is output. Two time stamping means;
Transmitting means for transmitting the packet output from the second time stamp assigning means to the receiving device;
A transmission device characterized by comprising:

(付記5) 前記送信装置の通信は、MPEG2のトランスポートストリーム(TS)を用いて多重化を行うものであり、
前記ディジタルカウンタは、STCカウンタであり、
前記第1のタイムスタンプ付与手段は、タイムスタンプ付トランスポートストリームのタイムスタンプにSTCカウンタの下位32bitのカウント値を付加するものであり、
前記第2のタイムスタンプ付与手段は、ネットワーク上でリアルタイムのストリーム伝送を行うRTP(Real Time Transfer Protocol)パケットヘッダのタイムスタンプにSTCカウンタの上位32bitのカウント値を付加するものである事を特徴とする付記4記載の送信装置。
(Additional remark 5) The communication of the said transmitter performs multiplexing using the transport stream (TS) of MPEG2,
The digital counter is an STC counter,
The first time stamp assigning means adds a lower 32 bit count value of the STC counter to the time stamp of the time-stamped transport stream,
The second time stamp assigning means adds the count value of the upper 32 bits of the STC counter to the time stamp of an RTP (Real Time Transfer Protocol) packet header that performs real-time stream transmission on the network. The transmission device according to appendix 4.

(付記6) 前記受信部が受信したパケットから、タイムスタンプ及びI−Picture情報内のPTS情報を抽出し、タイムスタンプ・PTS情報から、ディジタルデータの再生時間情報を生成し、ディジタルデータの再生を行う受信装置との通信を行う送信装置であって、
前記送信装置は、
ディジタルデータの再生時間のカウント値を生成するディジタルカウンタと、
前記ディジタル時間データによりMPEGデータの再生基準時間を示すパケットであるPCRパケットとの相対時刻カウント値であるPTS情報を、I−Picture情報内に付加するPTS情報付加部と、
ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットにタイムスタンプとして付加するタイムスタンプ付与手段と、
前記タイムスタンプ付与手段から出力されたパケットを受信装置へ送信する送信手段と、を有する事を特徴とする送信装置。
(Additional remark 6) From the packet which the said receiving part received, PTS information in time stamp and I-Picture information is extracted, the reproduction time information of digital data is produced | generated from time stamp and PTS information, and reproduction of digital data is performed. A transmitting device that communicates with a receiving device that performs:
The transmitter is
A digital counter for generating a count value of the reproduction time of the digital data;
A PTS information adding unit for adding PTS information, which is a relative time count value to a PCR packet, which is a packet indicating a reproduction reference time of MPEG data by the digital time data, in I-Picture information;
Time stamp giving means for adding a lower-order predetermined bit of the digital counter as a time stamp to a transport stream packet with a time stamp when sending a transport stream packet of digital data;
And a transmission unit that transmits the packet output from the time stamp assigning unit to the reception device.

(付記7) 送信装置と受信装置とからなり、トランスポートストリームパケット毎に所定周期のカウンタ値を付加したタイムスタンプ付トランスポートストリームパケットによるディジタルデータのネットワーク転送を行う通信システムであって、
前記送信装置は、
ディジタルデータの再生時間のカウント値を生成するディジタルカウンタと、
ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットに第1のタイムスタンプとして付加する第1のタイムスタンプ付与手段と、
前記第1のタイムスタンプ付与手段により出力されたタイムスタンプ付トランスポートストリームパケットに、更に、前記ディジタルカウンタの上位所定ビット分のカウント値を第2のタイムスタンプとしてヘッダとして付与したパケットを出力する第2のタイムスタンプ付与手段と、
前記第2のタイムスタンプ付与手段から出力されたパケットを受信装置へ送信する送信手段と、を有し、
前記受信装置は、
前記送信装置から送られてくるパケットを受信する受信部と、
前記受信部が受信したパケットから、第1のタイムスタンプ・第2のタイムスタンプを抽出する抽出部と、
前記抽出部にて抽出された第1のタイムスタンプ・第2のタイムスタンプから、ディジタルデータの再生時間情報を生成し、ディジタルデータの再生を行うデコーダへ出力するディジタルデータ再生時間生成部と、
を有する事を特徴とする通信システム。
(Supplementary note 7) A communication system comprising a transmitting device and a receiving device, and performing network transfer of digital data by a transport stream packet with a time stamp to which a counter value of a predetermined period is added for each transport stream packet,
The transmitter is
A digital counter for generating a count value of the reproduction time of the digital data;
First time stamp assigning means for adding a lower predetermined bit of the digital counter as a first time stamp to a transport stream packet with a time stamp when sending a transport stream packet of digital data;
A packet in which a transport value packet with a time stamp output by the first time stamp adding means is further provided with a count value corresponding to the upper predetermined bits of the digital counter as a second time stamp as a header is output. Two time stamping means;
Transmitting means for transmitting the packet output from the second time stamp assigning means to a receiving device;
The receiving device is:
A receiver for receiving a packet sent from the transmitter;
An extraction unit for extracting a first time stamp and a second time stamp from the packet received by the reception unit;
A digital data reproduction time generation unit that generates digital data reproduction time information from the first time stamp and the second time stamp extracted by the extraction unit and outputs the digital data to a decoder that reproduces the digital data;
The communication system characterized by having.

(付記8) 前記通信システムの通信は、MPEG2のトランスポートストリーム(TS)を用いて多重化を行うものであり、
前記ディジタルカウンタは、STCカウンタであり、
前記第1のタイムスタンプ付与手段は、タイムスタンプ付トランスポートストリームのタイムスタンプにSTCカウンタの下位32bitのカウント値を付加するものであり、
前記第2のタイムスタンプ付与手段は、ネットワーク上でリアルタイムのストリーム伝送を行うRTP(Real Time Transfer Protocol)パケットヘッダのタイムスタンプにSTCカウンタの上位32bitのカウント値を付加するものであり、
前記ディジタルデータ再生時間生成部は、MPEGデータの再生基準時間を示すパケットであるPCRパケットの生成を行うものである
事を特徴とする付記7記載の通信システム。
(Supplementary Note 8) The communication of the communication system is to perform multiplexing using a transport stream (TS) of MPEG2.
The digital counter is an STC counter,
The first time stamp assigning means adds a lower 32 bit count value of the STC counter to the time stamp of the time-stamped transport stream,
The second time stamp assigning means adds a count value of upper 32 bits of the STC counter to a time stamp of an RTP (Real Time Transfer Protocol) packet header that performs real-time stream transmission on the network.
The communication system according to appendix 7, wherein the digital data reproduction time generation unit is configured to generate a PCR packet that is a packet indicating a reproduction reference time of MPEG data.

(付記9) 送信装置と受信装置とからなり、トランスポートストリームパケット毎に所定周期のカウンタ値を付加したタイムスタンプ付トランスポートストリームパケットによりMpeg形式のディジタルデータのネットワーク転送を行う通信システムであって、
前記送信装置は、
ディジタルデータの再生時間のカウント値を生成するディジタルカウンタと、
前記ディジタル時間データによりMPEGデータの再生基準時間を示すパケットであるPCRパケットとの相対時刻カウント値であるPTS情報を、I−Picture情報内に付加するPTS情報付加部と、
ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットにタイムスタンプとして付加するタイムスタンプ付与手段と、
前記タイムスタンプ付与手段から出力されたパケットを受信装置へ送信する送信手段と、を有し、
前記受信装置は、
前記送信装置から送られてくるパケットを受信する受信部と、
前記受信部が受信したパケットから、タイムスタンプ及びI−Picture情報内のPTS情報を抽出する抽出部と、
前記抽出部にて抽出されたタイムスタンプ・PTS情報から、ディジタルデータの再生時間情報を生成し、ディジタルデータの再生を行うデコーダへ出力するディジタルデータ再生時間生成部と、
を有する事を特徴とする通信システム。
(Supplementary Note 9) A communication system that includes a transmission device and a reception device, and performs network transfer of digital data in Mpeg format using a transport stream packet with a time stamp to which a counter value of a predetermined period is added for each transport stream packet. ,
The transmitter is
A digital counter for generating a count value of the reproduction time of the digital data;
A PTS information adding unit for adding PTS information, which is a relative time count value to a PCR packet, which is a packet indicating a reproduction reference time of MPEG data by the digital time data, in I-Picture information;
Time stamp giving means for adding a lower-order predetermined bit of the digital counter as a time stamp to a transport stream packet with a time stamp when sending a transport stream packet of digital data;
Transmitting means for transmitting the packet output from the time stamp assigning means to a receiving device,
The receiving device is:
A receiver for receiving a packet sent from the transmitter;
An extraction unit for extracting PTS information in the time stamp and I-Picture information from the packet received by the reception unit;
A digital data reproduction time generation unit that generates digital data reproduction time information from the time stamp / PTS information extracted by the extraction unit, and outputs the digital data reproduction time to a decoder;
The communication system characterized by having.

(付記10) ディジタルデータの再生時間のカウント値を生成するディジタルカウンタを有する送信装置と受信装置とからなり、トランスポートストリームパケット毎に所定周期のカウンタ値を付加したタイムスタンプ付トランスポートストリームパケットによるディジタルデータのネットワーク転送を行う通信システムが行う通信方法であって、
前記送信装置が、
ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットに第1のタイムスタンプとして付加する第1のタイムスタンプ付与ステップと、
前記第1のタイムスタンプ付与ステップにて出力されたタイムスタンプ付トランスポートストリームパケットに、更に、前記ディジタルカウンタの上位所定ビット分のカウント値を第2のタイムスタンプとしてヘッダとして付与したパケットを出力する第2のタイムスタンプ付与ステップと、
前記第2のタイムスタンプ付与ステップにて出力されたパケットを受信装置へ送信する送信手ステップとを実行し、
前記受信装置が、
前記送信装置から送られてくるパケットを受信する受信ステップと、
前記受信ステップにて受信したパケットから、第1のタイムスタンプ・第2のタイムスタンプを抽出する抽出ステップと、
前記抽出ステップにて抽出された第1のタイムスタンプ・第2のタイムスタンプから、ディジタルデータの再生時間情報を生成し、ディジタルデータの再生を行うデコーダへ出力するディジタルデータ再生時間生成ステップと、
を実行する事を特徴とする通信方法。
(Supplementary Note 10) A transmission device having a digital counter that generates a count value of a reproduction time of digital data and a reception device, and using a transport stream packet with a time stamp with a counter value of a predetermined period added to each transport stream packet A communication method performed by a communication system that performs network transfer of digital data,
The transmitting device is
A first time stamp assigning step of adding the lower predetermined bits of the digital counter to the transport stream packet with a time stamp as a first time stamp when sending the transport stream packet of digital data;
A packet in which the count value for the upper predetermined bits of the digital counter is added as a second time stamp as a header to the transport stream packet with the time stamp output in the first time stamp adding step is output. A second time stamping step;
A transmitter step of transmitting the packet output in the second time stamp assigning step to the receiving device;
The receiving device is
A receiving step of receiving a packet sent from the transmitting device;
An extraction step of extracting the first time stamp and the second time stamp from the packet received in the reception step;
A digital data reproduction time generation step of generating digital data reproduction time information from the first time stamp and the second time stamp extracted in the extraction step, and outputting the digital data reproduction time to a decoder;
A communication method characterized by executing

(付記11) 前記通信システムの通信は、MPEG2のトランスポートストリーム(TS)を用いて多重化を行うものであり、
前記ディジタルカウンタは、STCカウンタであり、
前記第1のタイムスタンプ付与ステップでは、タイムスタンプ付トランスポートストリームのタイムスタンプにSTCカウンタの下位32bitのカウント値を付加するものであり、
前記第2のタイムスタンプ付与ステップでは、ネットワーク上でリアルタイムのストリーム伝送を行うRTP(Real Time Transfer Protocol)パケットヘッダのタイムスタンプにSTCカウンタの上位32bitのカウント値を付加するものであり、
前記ディジタルデータ再生時間生成ステップは、MPEGデータの再生基準時間を示すパケットであるPCRパケットの生成を行うものである
事を特徴とする付記10記載の通信方法。
(Additional remark 11) The communication of the said communication system performs multiplexing using the transport stream (TS) of MPEG2,
The digital counter is an STC counter,
In the first time stamp assigning step, the count value of the lower 32 bits of the STC counter is added to the time stamp of the transport stream with time stamp,
In the second time stamp addition step, the count value of the upper 32 bits of the STC counter is added to the time stamp of an RTP (Real Time Transfer Protocol) packet header that performs real-time stream transmission on the network.
11. The communication method according to appendix 10, wherein the digital data reproduction time generation step generates a PCR packet that is a packet indicating a reproduction reference time of MPEG data.

(付記12) ディジタルデータの再生時間のカウント値を生成するディジタルカウンタを有する送信装置と受信装置とからなり、トランスポートストリームパケット毎に所定周期のカウンタ値を付加したタイムスタンプ付トランスポートストリームパケットによりMpeg形式のディジタルデータのネットワーク転送を行う通信システムにおける通信方法であって、
前記送信装置が、
前記ディジタル時間データによりMPEGデータの再生基準時間を示すパケットであるPCRパケットとの相対時刻カウント値であるPTS情報を、I−Picture情報内に付加するPTS情報付加ステップと、
ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットにタイムスタンプとして付加するタイムスタンプ付与ステップと、
前記タイムスタンプ付与手段から出力されたパケットを受信装置へ送信する送信ステップと、
を実行し、
前記受信装置が、
前記送信装置から送られてくるパケットを受信する受信ステップと、
前記受信ステップにて受信したパケットから、タイムスタンプ及びI−Picture情報内のPTS情報を抽出する抽出ステップと、
前記抽出ステップにて抽出されたタイムスタンプ・PTS情報から、ディジタルデータの再生時間情報を生成し、ディジタルデータの再生を行うデコーダへ出力するディジタルデータ再生時間生成ステップと、
を実行する通信方法。
(Supplementary Note 12) A transmission device having a digital counter that generates a count value of a reproduction time of digital data and a reception device, and a transport stream packet with a time stamp in which a counter value of a predetermined period is added to each transport stream packet A communication method in a communication system for performing network transfer of digital data in Mpeg format,
The transmitting device is
A PTS information addition step of adding PTS information, which is a relative time count value with a PCR packet, which is a packet indicating a reproduction reference time of MPEG data based on the digital time data, to the I-Picture information;
A time stamp assigning step of adding the lower predetermined bits of the digital counter to the transport stream packet with a time stamp as a time stamp when sending the transport stream packet of digital data;
A transmission step of transmitting a packet output from the time stamp assigning means to a receiving device;
Run
The receiving device is
A receiving step of receiving a packet sent from the transmitting device;
An extraction step of extracting PTS information in the time stamp and I-Picture information from the packet received in the reception step;
A digital data reproduction time generation step for generating digital data reproduction time information from the time stamp / PTS information extracted in the extraction step, and outputting the digital data reproduction time to a decoder;
Communication method to execute.

本発明の一実施の形態における送信装置1の構成図Configuration diagram of transmitting apparatus 1 in an embodiment of the present invention 本発明の一実施の形態における受信装置2の構成図Configuration diagram of receiving apparatus 2 in an embodiment of the present invention TTSパケットのフォーマットを示す図The figure which shows the format of the TTS packet TTSパケットのフォーマットを示す図The figure which shows the format of the TTS packet RTPパケットのヘッダのフォーマットを示す図The figure which shows the format of the header of a RTP packet 本発明の一実施例における受信装置2の動作フローチャートを示す図The figure which shows the operation | movement flowchart of the receiver 2 in one Example of this invention. TTSパケットのヘッダのフォーマットを示す図The figure which shows the format of the header of a TTS packet PCRパケットのヘッダのフォーマットを示す図The figure which shows the format of the header of a PCR packet

符号の説明Explanation of symbols

1 送信装置
101 エンコーダ・TS多重化部
102 TTSパケット生成部
103 STCカウンタ
104 RTPパケット生成部
105 通信部
2 受信装置
201 通信部
202 RTPタイムスタンプ抽出部
203 TTSタイムスタンプ抽出部
204 PCRパケット生成部
205 PCRパケット抽出部
206 パケット修正出力部
207 デコーダLSI
DESCRIPTION OF SYMBOLS 1 Transmission apparatus 101 Encoder / TS multiplexing part 102 TTS packet generation part 103 STC counter 104 RTP packet generation part 105 Communication part 2 Reception apparatus 201 Communication part 202 RTP time stamp extraction part 203 TTS time stamp extraction part 204 PCR packet generation part 205 PCR packet extraction unit 206 Packet correction output unit 207 Decoder LSI

Claims (4)

ディジタルデータの再生時間のカウント値を生成するディジタルカウンタを有し、ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットにTTSタイムスタンプとして付加し、付加された前記TTSタイムスタンプ付トランスポートストリームパケットに、更に、前記ディジタルカウンタの上位所定ビット分のカウント値であるRTPタイムスタンプをヘッダとして付与したパケットを出力し、出力した前記パケットを送信する送信装置との通信を行う受信装置に、
前記送信装置から送られてくる前記パケットを受信させ、受信した前記パケットにディジタルデータの再生基準時間を示すPCRパケットが含まれない場合に、
受信した前記パケットから、前記TTSタイムスタンプ及び前記RTPタイムスタンプを抽出させ、
抽出された前記TTSタイムスタンプ及び前記RTPタイムスタンプから、前記PCRパケットを生成し、ディジタルデータの再生を行うデコーダへ出力させる事を特徴とする受信プログラム。
It has a digital counter that generates a count value for the playback time of digital data, and when the digital data transport stream packet is sent, the lower-order predetermined bits of the digital counter are added to the transport stream packet with a time stamp as a TTS time stamp. and, in the TTS time stamped transport stream packet-added, further, outputs a packet grant RTP timestamp is the count value of the predetermined upper bits of the digital counter as a header, the packet output To the receiving device that communicates with the transmitting device that transmits,
If the sent from the transmitting device to receive the packet going that it does not include a PCR packet indicating the playback reference time of the digital data in the received packet,
Extracting the TTS timestamp and the RTP timestamp from the received packet;
A receiving program characterized in that the PCR packet is generated from the extracted TTS time stamp and RTP time stamp and output to a decoder for reproducing digital data.
ディジタルデータの再生時間のカウント値を生成するディジタルカウンタを有し、ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットにTTSタイムスタンプとして付加し、付加された前記TTSタイムスタンプ付トランスポートストリームパケットに、更に、前記ディジタルカウンタの上位所定ビット分のカウント値であるRTPタイムスタンプをヘッダとして付与したパケットを出力し、出力した前記パケットを送信する送信装置との通信を行う受信装置であって、
前記送信装置から送られてくる前記パケットを受信する受信部と
受信した前記パケットにディジタルデータの再生基準時間を示すPCRパケットが含まれない場合に、前記受信部が受信した前記パケットから、前記TTSタイムスタンプ及び前記RTPタイムスタンプを抽出する抽出部と、
前記抽出部にて抽出された前記TTSタイムスタンプ及び前記RTPタイムスタンプから、前記PCRパケットを生成し、ディジタルデータの再生を行うデコーダへ出力するディジタルデータ再生時間生成部と、
を有する事を特徴とする受信装置。
It has a digital counter that generates a count value for the playback time of digital data, and when the digital data transport stream packet is sent, the lower-order predetermined bits of the digital counter are added to the transport stream packet with a time stamp as a TTS time stamp. and, in the TTS time stamped transport stream packet-added, further, outputs a packet grant RTP timestamp is the count value of the predetermined upper bits of the digital counter as a header, the packet output A receiving device for communicating with a transmitting device for transmitting,
A reception section that receives the packet that will be sent from the transmitting device,
When the PCR packet indicating the playback reference time of the digital data in the received packet is not included, from the packets before Symbol receiving unit receives an extracting unit for extracting the TTS time stamps and the RTP time stamp ,
A digital data reproduction time generation unit that generates the PCR packet from the TTS time stamp and the RTP time stamp extracted by the extraction unit and outputs the PCR packet to a decoder that reproduces the digital data;
A receiving device characterized by comprising:
送信装置と受信装置とからなり、トランスポートストリームパケット毎に所定周期のカウンタ値を付加したタイムスタンプ付トランスポートストリームパケットによるディジタルデータのネットワーク転送を行う通信システムであって、
前記送信装置は、
ディジタルデータの再生時間のカウント値を生成するディジタルカウンタと、
ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットにTTSタイムスタンプとして付加するTTSタイムスタンプ付与手段と、
前記TTSタイムスタンプ付与手段により出力されたタイムスタンプ付トランスポートストリームパケットに、更に、前記ディジタルカウンタの上位所定ビット分のカウント値であるRTPタイムスタンプをヘッダとして付与したパケットを出力するRTPタイムスタンプ付与手段と、
前記RTPタイムスタンプ付与手段から出力された前記パケットを受信装置へ送信する送信手段と、を有し、
前記受信装置は、
前記送信装置から送られてくる前記パケットを受信する受信部と
受信した前記パケットにディジタルデータの再生基準時間を示すPCRパケットが含まれない場合に、前記受信部が受信したパケットから、前記TTSタイムスタンプ及び前記RTPタイムスタンプを抽出する抽出部と、
前記抽出部にて抽出された前記TTSタイムスタンプ及び前記RTPタイムスタンプから、前記PCRパケットを生成し、ディジタルデータの再生を行うデコーダへ出力するディジタルデータ再生時間生成部と、
を有する事を特徴とする通信システム。
A communication system comprising a transmitting device and a receiving device, and performing network transfer of digital data by a transport stream packet with a time stamp to which a counter value of a predetermined period is added for each transport stream packet,
The transmitter is
A digital counter for generating a count value of the reproduction time of the digital data;
When transmission of the transport stream packet of digital data, and TTS time stamping unit for adding a TTS timestamp lower predetermined bits in the time-stamped transport stream packet of the digital counter,
The TTS time stamping the output transport stream packet with a time stamp by means further, RTP time stamping for outputting a packet grant RTP timestamp is the count value of the predetermined upper bits of the digital counter as a header Means,
Transmitting means for transmitting the packet output from the RTP time stamp assigning means to a receiving device,
The receiving device is:
A reception section that receives the packet that will be sent from the transmitting device,
When the PCR packet indicating the playback reference time of the digital data in the received packet is not included, from a packet prior Symbol receiving unit receives an extracting unit for extracting the TTS time stamps and the RTP time stamp,
A digital data reproduction time generation unit that generates the PCR packet from the TTS time stamp and the RTP time stamp extracted by the extraction unit and outputs the PCR packet to a decoder that reproduces the digital data;
The communication system characterized by having.
ディジタルデータの再生時間のカウント値を生成するディジタルカウンタを有する送信装置と受信装置とからなり、トランスポートストリームパケット毎に所定周期のカウンタ値を付加したタイムスタンプ付トランスポートストリームパケットによるディジタルデータのネットワーク転送を行う通信システムが行う通信方法であって、
前記送信装置が、
ディジタルデータのトランスポートストリームパケットの送出時に、前記ディジタルカウンタの下位所定ビット分をタイムスタンプ付トランスポートストリームパケットにTTSタイムスタンプとして付加するTTSタイムスタンプ付与ステップと、
前記TTSタイムスタンプ付与ステップにて出力されたタイムスタンプ付トランスポートストリームパケットに、更に、前記ディジタルカウンタの上位所定ビット分のカウント値であるRTPタイムスタンプをヘッダとして付与したパケットを出力するRTPタイムスタンプ付与ステップと、
前記RTPタイムスタンプ付与ステップにて出力された前記パケットを受信装置へ送信する送信手ステップとを実行し、
前記受信装置が、
前記送信装置から送られてくる前記パケットを受信する受信ステップと
受信した前記パケットにディジタルデータの再生基準時間を示すPCRパケットが含まれない場合に、前記受信ステップにて受信した前記パケットから、前記TTSタイムスタンプ及び前記RTPタイムスタンプを抽出する抽出ステップと、
前記抽出ステップにて抽出された前記TTSタイムスタンプ及び前記RTPタイムスタンプから、前記PCRパケットを生成し、ディジタルデータの再生を行うデコーダへ出力するディジタルデータ再生時間生成ステップと、
を実行する事を特徴とする通信方法。
A network of digital data by transport stream packets with time stamps, each comprising a transmission device and a reception device having a digital counter for generating a count value of the reproduction time of digital data, and adding a counter value of a predetermined period for each transport stream packet A communication method performed by a communication system that performs transfer,
The transmitting device is
When transmission of the transport stream packet of digital data, and TTS time stamping step of adding a TTS timestamp lower predetermined bits in the transport stream packet with the time stamp of the digital counter,
An RTP time stamp for outputting a packet in which an RTP time stamp, which is a count value corresponding to upper predetermined bits of the digital counter , is added to the transport stream packet with a time stamp output in the TTS time stamp adding step. Granting step;
Run a transmission hand step of transmitting the packets outputted by the RTP time stamp adding step to a receiving device,
The receiving device is
A receiving step of receiving the packets that will be sent from the transmitting device,
When the PCR packet indicating the playback reference time of the digital data in the received packet is not included, from the packets received in the previous SL reception step, an extraction step of extracting the TTS time stamps and the RTP time stamp,
A digital data reproduction time generation step of generating the PCR packet from the TTS time stamp and the RTP time stamp extracted in the extraction step, and outputting them to a decoder for reproducing the digital data;
A communication method characterized by executing
JP2007084883A 2007-03-28 2007-03-28 Reception program, reception apparatus, communication system, and communication method Active JP5092493B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007084883A JP5092493B2 (en) 2007-03-28 2007-03-28 Reception program, reception apparatus, communication system, and communication method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007084883A JP5092493B2 (en) 2007-03-28 2007-03-28 Reception program, reception apparatus, communication system, and communication method

Publications (2)

Publication Number Publication Date
JP2008245061A JP2008245061A (en) 2008-10-09
JP5092493B2 true JP5092493B2 (en) 2012-12-05

Family

ID=39915815

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007084883A Active JP5092493B2 (en) 2007-03-28 2007-03-28 Reception program, reception apparatus, communication system, and communication method

Country Status (1)

Country Link
JP (1) JP5092493B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101200070B1 (en) * 2008-11-28 2012-11-12 한국전자통신연구원 Apparatus and method for inserting or extracting a timestamp information
WO2010103635A1 (en) 2009-03-11 2010-09-16 富士通株式会社 Data transmission device, data transmission program, and data transceiving system
JP5030986B2 (en) * 2009-03-16 2012-09-19 三菱電機株式会社 Video transmission apparatus and video transmission system
KR101180540B1 (en) * 2010-10-20 2012-09-06 연세대학교 산학협력단 Apparatus and method for transmitting/receiving streaming service

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2347596B (en) * 1998-12-18 2003-07-30 Mitel Corp Apparatus for estimating jitter in RTP encapsulated voice packets received over a data network
JP4407007B2 (en) * 2000-05-02 2010-02-03 ソニー株式会社 Data transmission apparatus and method
JP4694969B2 (en) * 2004-01-07 2011-06-08 パナソニック株式会社 Data receiver
JP2006067568A (en) * 2004-07-30 2006-03-09 Sharp Corp Data processor, program, and recording medium
JP2007104085A (en) * 2005-09-30 2007-04-19 Toshiba Corp Digital broadcast method and apparatus employing communication line
JP2007274607A (en) * 2006-03-31 2007-10-18 Toshiba Corp Digital signal processor and data stream processing method

Also Published As

Publication number Publication date
JP2008245061A (en) 2008-10-09

Similar Documents

Publication Publication Date Title
KR100406122B1 (en) Apparatus and method for injecting synchronized data for digital data broadcasting
JP4481444B2 (en) Image encoding device
JP6317872B2 (en) Decoder for synchronizing the rendering of content received over different networks and method therefor
JP6302274B2 (en) Transmitting apparatus and receiving apparatus
JP4208398B2 (en) Moving picture decoding / reproducing apparatus, moving picture decoding / reproducing method, and multimedia information receiving apparatus
CN101827271B (en) Audio and video synchronized method and device as well as data receiving terminal
US10305617B2 (en) Transmission apparatus, transmission method, reception apparatus, and reception method
US20150181003A1 (en) Method and apparatus for transmitting and receiving packets in hybrid transmission service of mmt
KR101151390B1 (en) Method for transmitting packets in a transmission system
JP5372143B2 (en) Device and method for synchronizing interactive marks with streaming content
CN100401784C (en) Data synchronization method and apparatus for digital multimedia data receiver
US20140313289A1 (en) Apparatus and method for providing content for synchronizing left/right streams in fixed/mobile convergence 3dtv, and apparatus and method for playing content
JPWO2009028038A1 (en) Decoder device and decoding method
US20150109411A1 (en) Image playback apparatus for 3dtv and method performed by the apparatus
KR20110098830A (en) Method for transport stream synchronizing in a multiplexer comprising an external coprocessor
WO2008028361A1 (en) A method for synchronous playing video and audio data in mobile multimedia broadcasting
JP5092493B2 (en) Reception program, reception apparatus, communication system, and communication method
US20100172374A1 (en) System and method for transport of a constant bit rate stream
JP6957186B2 (en) Information processing equipment, information processing methods, programs, and recording medium manufacturing methods
JP4192766B2 (en) Receiving apparatus and method, recording medium, and program
KR101920051B1 (en) Methods of Providing Timing Information for Synchronizing MMT Packet Streams in MMT Hybrid Delivery Service and Methods of Synchronizing MMT Packet Streams in MMT Hybrid Delivery Service
JP7371734B2 (en) How to send
JP2005020429A (en) Stream receiver, stream transmitter and stream transmission and reception system
JP7034926B2 (en) Information processing equipment, information processing methods, and programs
US10531136B2 (en) Data processing device, data processing method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120127

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120207

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120409

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20120424

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120724

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20120803

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20120821

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120903

R150 Certificate of patent or registration of utility model

Ref document number: 5092493

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150928

Year of fee payment: 3