JP2012160798A - Image receiver - Google Patents

Image receiver Download PDF

Info

Publication number
JP2012160798A
JP2012160798A JP2011017491A JP2011017491A JP2012160798A JP 2012160798 A JP2012160798 A JP 2012160798A JP 2011017491 A JP2011017491 A JP 2011017491A JP 2011017491 A JP2011017491 A JP 2011017491A JP 2012160798 A JP2012160798 A JP 2012160798A
Authority
JP
Japan
Prior art keywords
packet
time
value
storage unit
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2011017491A
Other languages
Japanese (ja)
Other versions
JP5149404B2 (en
Inventor
Toshihiro Takashima
稔弘 高島
Yoshinori Matsuda
佳則 松田
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.)
Sumitomo Electric Industries Ltd
Sumitomo Electric Networks Inc
Original Assignee
Sumitomo Electric Industries Ltd
Sumitomo Electric Networks Inc
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 Sumitomo Electric Industries Ltd, Sumitomo Electric Networks Inc filed Critical Sumitomo Electric Industries Ltd
Priority to JP2011017491A priority Critical patent/JP5149404B2/en
Publication of JP2012160798A publication Critical patent/JP2012160798A/en
Application granted granted Critical
Publication of JP5149404B2 publication Critical patent/JP5149404B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide an image receiver capable of avoiding the delay of start of decoding even when a bit rate is low.SOLUTION: An image receiver 4 includes: a buffer memory 11 for temporarily storing a transport stream S1 including multiple transport packets TP to which time stamps 50 are respectively added; a voltage control oscillator (VCO) 18 for generating a reference clock; a time-stamped transport stream (TTS) counter 16 for performing a count operation, based on the reference clock; a TTS gate 12 for controlling the outputs of the respective transport packets TP from the buffer memory 11, based on the values of the time stamps 50 added to the respective transport packets TP and the count value of the TTS counter 16; and an adjustment part 17 for adjusting the frequency of the reference clock, based on the residence time of the transport packets TP input to the buffer memory 11.

Description

本発明は、映像受信装置に関する。   The present invention relates to a video receiving apparatus.

MPEG(Moving Picture Experts Group)2−TS(Transport Stream)を用いた通信プロトコルにおいて、送信側のエンコーダは、所定間隔のトランスポートパケット毎に、PCR(Program Clock Reference)を付加する。受信側のデコーダは、トランスポートパケット内に含まれるPCRを検出し、検出したPCRに基づいて、エンコーダのクロックを再生する。また、MPEG2−TSにおいては、通信速度の調整のために、無意味なトランスポートパケット(ヌルパケット)が、トランスポートストリーム内に含まれている。エンコーダでは、ヌルパケットを含むトランスポートストリームに対して、PCRを付加する。   In a communication protocol using MPEG (Moving Picture Experts Group) 2-TS (Transport Stream), an encoder on the transmission side adds a PCR (Program Clock Reference) for each transport packet at a predetermined interval. The decoder on the receiving side detects the PCR included in the transport packet and regenerates the encoder clock based on the detected PCR. In MPEG2-TS, meaningless transport packets (null packets) are included in the transport stream in order to adjust the communication speed. In the encoder, PCR is added to the transport stream including a null packet.

地上デジタル放送やBSデジタル放送等の再送信サービスにおいては、通信データ量の削減のために、ヌルパケットを削除した後にトランスポートストリームを送信することが望ましい。この場合には、PCRを含むトランスポートパケットの位置が、ヌルパケットの削除の前後で異なる。そのため、デコーダが受信するトランスポートストリームにおいても、PCRを含むトランスポートパケットの位置が、本来の位置(ヌルパケットが削除される前のトランスポートストリーム内における位置)とは異なっている。従って、デコーダは、検出したPCRのみによっては、エンコーダのクロックを正確に再生することができない。   In retransmission services such as terrestrial digital broadcasting and BS digital broadcasting, it is desirable to transmit a transport stream after deleting null packets in order to reduce the amount of communication data. In this case, the position of the transport packet including the PCR differs before and after the null packet is deleted. Therefore, also in the transport stream received by the decoder, the position of the transport packet including the PCR is different from the original position (position in the transport stream before the null packet is deleted). Therefore, the decoder cannot accurately reproduce the encoder clock only by the detected PCR.

下記特許文献1,2には、MPEG2−TSの各トランスポートパケットにタイムスタンプを付加することにより、MPEG2−TSをMPEG2−TTS(Time-stamped Transport Stream)に変換する技術が開示されている。エンコーダにおいてヌルパケットが削除された場合であっても、デコーダは、タイムスタンプに基づいて、PCRを含むトランスポートパケットの本来の位置を復元することができる。従って、デコーダは、本来の位置に復元されたトランスポートパケット内に含まれるPCRに基づいて、エンコーダのクロックを再生することが可能となる。   Patent Documents 1 and 2 below disclose techniques for converting MPEG2-TS into MPEG2-TTS (Time-stamped Transport Stream) by adding a time stamp to each MPEG2-TS transport packet. Even when the null packet is deleted in the encoder, the decoder can restore the original position of the transport packet including the PCR based on the time stamp. Therefore, the decoder can regenerate the encoder clock based on the PCR included in the transport packet restored to the original position.

図8は、MPEG2−TTSを扱うデコーダの構成の一部を抜き出して示すブロック図である(例えば下記特許文献3参照)。TTSデコーダ330は、クロック発生部334が発生する基準クロックに基づいて動作し、各TTSパケットに付加されているタイムスタンプに従って、TTSパケットバッファ332からTTSパケットを読み出して、TSパケットとしてMPEGデコーダ340に入力する。   FIG. 8 is a block diagram showing a part of the configuration of a decoder that handles MPEG2-TTS (see, for example, Patent Document 3 below). The TTS decoder 330 operates based on the reference clock generated by the clock generation unit 334, reads the TTS packet from the TTS packet buffer 332 according to the time stamp added to each TTS packet, and sends it to the MPEG decoder 340 as a TS packet. input.

また、TTSデコーダ330は、以下のようにして基準クロックの周波数を調整する機能を有している。TTSパケットバッファ332には、デコード開始前に規定量(例えばバッファメモリの容量の半分程度)のTTSパケットが蓄積される。TTSデコーダ330は、TTSパケットバッファ332の占有量を監視し、その占有量が規定範囲を上回る場合には、基準クロックの周波数を上げる。これにより、TTSパケットバッファ332からTTSパケットが読み出されるペースが早くなる。一方、その占有量が規定範囲を下回る場合には、基準クロックの周波数を下げる。これにより、TTSパケットバッファ332からTTSパケットが読み出されるペースが遅くなる。このように、バッファメモリの増減傾向を監視することでエンコーダ側のクロックを再生する方式は、バッファメモリ方式と称されている。一般的に、バッファメモリ方式によるクロック再生は、エンコーダのビットレートが固定である方式(CBR:Constant Bit Rate)に対して適用される。   The TTS decoder 330 has a function of adjusting the frequency of the reference clock as follows. The TTS packet buffer 332 stores a predetermined amount (for example, about half of the capacity of the buffer memory) of TTS packets before starting decoding. The TTS decoder 330 monitors the occupation amount of the TTS packet buffer 332, and raises the frequency of the reference clock when the occupation amount exceeds the specified range. This speeds up the pace at which TTS packets are read from the TTS packet buffer 332. On the other hand, when the occupation amount falls below the specified range, the frequency of the reference clock is lowered. This slows down the pace at which TTS packets are read from the TTS packet buffer 332. Thus, the method of reproducing the clock on the encoder side by monitoring the increase / decrease tendency of the buffer memory is called a buffer memory method. Generally, the clock recovery by the buffer memory system is applied to a system (CBR: Constant Bit Rate) in which the bit rate of the encoder is fixed.

特開2008−35197号公報JP 2008-35197 A 特開2008−35198号公報JP 2008-35198 A 特開2007−104085号公報JP 2007-104085 A

しかし、映像や音声の状況に応じてエンコーダのビットレートを変動させる方式(VBR:Variable Bit Rate)においては、ビットレートが高い場合にはバッファメモリがオーバーフローしやすく、ビットレートが低い場合にはバッファメモリがアンダーフローしやすい。従って、VBRにバッファメモリ方式を拡張しようとすると、デコード開始前にバッファメモリに蓄積しておくTTSパケットの規定量を、想定されるビットレートの変動幅に応じてある程度大きく設定する必要がある。   However, in the method of changing the bit rate of the encoder (VBR: Variable Bit Rate) according to the situation of video and audio, the buffer memory tends to overflow when the bit rate is high, and the buffer when the bit rate is low. Memory tends to underflow. Therefore, when trying to expand the buffer memory system to VBR, it is necessary to set the prescribed amount of TTS packets stored in the buffer memory before starting decoding to a certain extent depending on the assumed fluctuation range of the bit rate.

従って、ビットレートが低い場合には規定量のTTSパケットをバッファメモリに蓄積するまでに長時間を要するため、デコードの開始が遅れ、それに伴って映像の再生開始も遅れるという問題がある。   Therefore, when the bit rate is low, it takes a long time to store a prescribed amount of TTS packets in the buffer memory, so that there is a problem that the start of decoding is delayed and accordingly the start of video reproduction is also delayed.

本発明はかかる問題を解決するために成されたものであり、ビットレートが低い場合であってもデコードの開始が遅れることを回避することが可能な映像受信装置を得ることを目的とするものである。   The present invention has been made to solve such a problem, and an object of the present invention is to obtain a video receiver capable of avoiding a delay in starting decoding even when the bit rate is low. It is.

本発明の第1の態様に係る映像受信装置は、それぞれにタイムスタンプが付加された複数のパケットを含むトランスポートストリームを一時的に記憶する記憶部と、基準クロックを発生するクロック発生部と、前記基準クロックに基づいてカウント動作を行うカウンタ部と、各パケットに付加されているタイムスタンプの値と、前記カウンタ部のカウント値とに基づいて、前記記憶部からの各パケットの出力を制御するゲート部と、前記記憶部に入力されたパケットの滞留時間に基づいて、前記基準クロックの周波数を調整する調整部と、を備えることを特徴とするものである。   The video reception device according to the first aspect of the present invention includes a storage unit that temporarily stores a transport stream including a plurality of packets each having a time stamp added thereto, a clock generation unit that generates a reference clock, Control the output of each packet from the storage unit based on the counter unit that performs a counting operation based on the reference clock, the value of the time stamp added to each packet, and the count value of the counter unit A gate unit; and an adjustment unit that adjusts a frequency of the reference clock based on a residence time of the packet input to the storage unit.

第1の態様に係る映像受信装置によれば、調整部は、記憶部に入力されたパケットの滞留時間に基づいて、基準クロックの周波数を調整する。つまり、パケットの滞留時間が目標値より大きい場合には基準クロックの周波数を上げ、パケットの滞留時間が目標値より小さい場合には基準クロックの周波数を下げる。これにより、映像送信装置内のエンコーダの基準クロックを映像受信装置において再生することができる。しかも、エンコーダのビットレートに拘わらず、各パケットは記憶部に入力されてから所定の滞留時間が経過したタイミングで記憶部から出力される。従って、ビットレートが低い場合であってもデコードの開始が遅れることを回避することが可能となる。   According to the video receiving apparatus according to the first aspect, the adjustment unit adjusts the frequency of the reference clock based on the residence time of the packet input to the storage unit. That is, when the packet residence time is larger than the target value, the reference clock frequency is increased, and when the packet residence time is smaller than the target value, the reference clock frequency is decreased. Thereby, the reference clock of the encoder in the video transmission device can be reproduced in the video reception device. Moreover, regardless of the bit rate of the encoder, each packet is output from the storage unit at a timing when a predetermined residence time has elapsed after being input to the storage unit. Therefore, it is possible to avoid delaying the start of decoding even when the bit rate is low.

本発明の第2の態様に係る映像受信装置は、第1の態様に係る映像受信装置において特に、前記調整部は、前記記憶部に入力されるパケットに付加されているタイムスタンプの値と、前記記憶部から出力されるパケットに付加されているタイムスタンプの値との差に基づいて、前記滞留時間を算出することを特徴とするものである。   The video reception device according to the second aspect of the present invention is the video reception device according to the first aspect, in particular, the adjustment unit includes a time stamp value added to a packet input to the storage unit, The dwell time is calculated based on a difference from a time stamp value added to a packet output from the storage unit.

第2の態様に係る映像受信装置によれば、調整部は、記憶部に入力されるパケットに付加されているタイムスタンプの値と、記憶部から出力されるパケットに付加されているタイムスタンプの値との差に基づいて、滞留時間を算出する。このように、各パケットに付加されているタイムスタンプを用いて滞留時間を算出することにより、滞留時間を管理するための追加の計時手段を設ける必要がないため、構成及び処理の簡略化を図ることができる。   According to the video reception device of the second aspect, the adjustment unit includes the time stamp value added to the packet input to the storage unit and the time stamp value added to the packet output from the storage unit. Based on the difference from the value, the residence time is calculated. In this way, by calculating the residence time using the time stamp added to each packet, it is not necessary to provide an additional timing means for managing the residence time, so that the configuration and processing are simplified. be able to.

本発明の第3の態様に係る映像受信装置は、第2の態様に係る映像受信装置において特に、前記ゲート部は、前記トランスポートストリームに含まれる先頭のパケットが前記記憶部に入力された後、当該先頭のパケットに付加されているタイムスタンプの値に、目標滞留時間に相当する値を加算した値以上のタイムスタンプが付加されているパケットが前記記憶部に入力されたタイミングで、前記記憶部からの前記先頭のパケットの出力を開始することを特徴とするものである。   The video reception device according to the third aspect of the present invention is the video reception device according to the second aspect, in particular, the gate unit after the leading packet included in the transport stream is input to the storage unit. , At the timing when a packet in which a time stamp equal to or greater than a value corresponding to the target residence time is added to the time stamp value added to the first packet is input to the storage unit The output of the head packet from the unit is started.

第3の態様に係る映像受信装置によれば、ゲート部は、先頭のパケットが記憶部に入力された後、当該先頭のパケットに付加されているタイムスタンプの値に、目標滞留時間に相当する値を加算した値以上のタイムスタンプが付加されているパケットが記憶部に入力されたタイミングで、記憶部からの先頭のパケットの出力を開始する。これにより、先頭のパケットが記憶部に入力されてから目標滞留時間が経過したタイミングで、記憶部からの先頭のパケットの出力を開始できるため、目標滞留時間に相当する量のパケットが記憶部に溜まれば出力を開始することができる。   According to the video reception device of the third aspect, the gate unit corresponds to the target residence time in the time stamp value added to the first packet after the first packet is input to the storage unit. At the timing when a packet to which a time stamp equal to or greater than the value added is added is input to the storage unit, output of the first packet from the storage unit is started. As a result, since the output of the first packet from the storage unit can be started at the timing when the target residence time has elapsed since the first packet was input to the storage unit, an amount of packets corresponding to the target residence time is stored in the storage unit. If it accumulates, the output can be started.

本発明の第4の態様に係る映像受信装置は、第1の態様に係る映像受信装置において特に、前記記憶部に入力されるパケットに対して所定の時刻情報を付加する情報付加部をさらに備え、前記調整部は、前記記憶部に入力されるパケットに対して付加する時刻情報の値と、前記記憶部から出力されるパケットに付加されている時刻情報の値との差に基づいて、前記滞留時間を算出することを特徴とするものである。   The video reception device according to the fourth aspect of the present invention further includes an information addition unit for adding predetermined time information to the packet input to the storage unit, particularly in the video reception device according to the first aspect. The adjustment unit is based on a difference between a value of time information added to the packet input to the storage unit and a value of time information added to the packet output from the storage unit. The residence time is calculated.

第4の態様に係る映像受信装置によれば、調整部は、記憶部に入力されるパケットに対して付加する時刻情報の値と、記憶部から出力されるパケットに付加されている時刻情報の値との差に基づいて、滞留時間を算出する。従って、離散的な値であるタイムスタンプを用いて滞留時間を算出する場合と比較すると、誤差を低減できるため、基準クロックの再生精度を向上することができる。   According to the video reception device of the fourth aspect, the adjustment unit includes the value of the time information added to the packet input to the storage unit and the time information added to the packet output from the storage unit. Based on the difference from the value, the residence time is calculated. Therefore, the error can be reduced as compared with the case where the residence time is calculated using a time stamp which is a discrete value, so that the reproduction accuracy of the reference clock can be improved.

本発明の第5の態様に係る映像受信装置は、第4の態様に係る映像受信装置において特に、前記ゲート部は、前記トランスポートストリームに含まれる先頭のパケットが前記記憶部に入力された後、当該先頭のパケットに付加されている時刻情報で示される時刻から、前記滞留時間が経過したタイミングで、前記記憶部からの前記先頭のパケットの出力を開始することを特徴とするものである。   The video reception device according to a fifth aspect of the present invention is the video reception device according to the fourth aspect, in particular, the gate unit after the leading packet included in the transport stream is input to the storage unit. The output of the first packet from the storage unit is started at the timing when the dwell time has elapsed from the time indicated by the time information added to the first packet.

第5の態様に係る映像受信装置によれば、ゲート部は、トランスポートストリームに含まれる先頭のパケットが記憶部に入力された後、当該先頭のパケットに付加されている時刻情報で示される時刻から、目標滞留時間が経過したタイミングで、記憶部からの先頭のパケットの出力を開始する。これにより、先頭のパケットが記憶部に入力されてから目標滞留時間が経過したタイミングで、記憶部からの先頭のパケットの出力を開始できるため、目標滞留時間に相当する量のパケットが記憶部に溜まれば出力を開始することができる。   According to the video reception device of the fifth aspect, the gate unit receives the time indicated by the time information added to the first packet after the first packet included in the transport stream is input to the storage unit. Then, the output of the first packet from the storage unit is started at the timing when the target residence time has elapsed. As a result, since the output of the first packet from the storage unit can be started at the timing when the target residence time has elapsed since the first packet was input to the storage unit, an amount of packets corresponding to the target residence time is stored in the storage unit. If it accumulates, the output can be started.

本発明の第6の態様に係る映像受信装置は、第1〜第5のいずれか一つの態様に係る映像受信装置において特に、前記調整部は、所定期間内に求めた複数の滞留時間の平均値に基づいて、前記基準クロックの周波数を調整することを特徴とするものである。   The video reception device according to a sixth aspect of the present invention is the video reception device according to any one of the first to fifth aspects, in particular, the adjustment unit is an average of a plurality of residence times obtained within a predetermined period. The frequency of the reference clock is adjusted based on the value.

第6の態様に係る映像受信装置によれば、調整部は、所定期間内に求めた複数の滞留時間の平均値に基づいて、基準クロックの周波数を調整する。従って、ジッタやシェーピング等の影響によってエンコーダから映像受信装置へのパケットの到着時間が揺らぎ、それに起因して記憶部へのパケットの入力タイミングが変動する場合であっても、基準クロックの周波数が頻繁に変更される事態を回避することが可能となる。   According to the video reception device of the sixth aspect, the adjustment unit adjusts the frequency of the reference clock based on the average value of the plurality of residence times obtained within the predetermined period. Therefore, even if the arrival time of the packet from the encoder to the video reception device fluctuates due to the influence of jitter, shaping, etc., and the input timing of the packet to the storage unit fluctuates due to this, the frequency of the reference clock is frequently It is possible to avoid the situation of being changed.

本発明によれば、ビットレートが低い場合であってもデコードの開始が遅れることを回避することが可能となる。   According to the present invention, it is possible to avoid delaying the start of decoding even when the bit rate is low.

映像通信システムの全体構成を示す図である。It is a figure which shows the whole structure of a video communication system. 本発明の実施の形態に係る映像受信装置の構成を簡略化して示すブロック図である。It is a block diagram which simplifies and shows the structure of the video receiver which concerns on embodiment of this invention. 映像受信装置が受信するトランスポートストリームの一部を抜き出して示す図である。It is a figure which extracts and shows a part of transport stream which a video receiver receives. トランスポートパケットの構造を示す図である。It is a figure which shows the structure of a transport packet. TTSゲートに入力されるトランスポートストリームと、TTSゲートから出力されるトランスポートストリームとの関係を示すタイミングチャートである。It is a timing chart which shows the relationship between the transport stream input into a TTS gate, and the transport stream output from a TTS gate. 変形例に係る映像受信装置の構成を簡略化して示すブロック図である。It is a block diagram which simplifies and shows the structure of the video receiver which concerns on a modification. バッファメモリに記憶されているトランスポートパケットの構造を示す図である。It is a figure which shows the structure of the transport packet memorize | stored in the buffer memory. デコーダの構成の一部を抜き出して示すブロック図である。It is a block diagram which extracts and shows a part of structure of a decoder.

以下、本発明の実施の形態について、図面を用いて詳細に説明する。なお、異なる図面において同一の符号を付した要素は、同一又は相応する要素を示すものとする。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. In addition, the element which attached | subjected the same code | symbol in different drawing shall show the same or corresponding element.

図1は、映像通信システム1の全体構成を示す図である。映像送信装置2は、映像を送信する送信局に設置されており、地上デジタル放送やBSデジタル放送の再送信サービス等を提供するための送信サーバである。映像送信装置2は、MPEG(Moving Picture Experts Group)2−TS(Transport Stream)の各トランスポートパケットにタイムスタンプを付加することにより、MPEG2−TSをMPEG2−TTS(Time-stamped Transport Stream)に変換する。タイムスタンプは、映像送信装置2内のエンコーダにおいて、27MHzのクロックを用いたカウンタのカウント動作によって生成される4バイトのカウント値である。映像送信装置2は、タイムスタンプを付加した後、通信データ量の削減のために、MPEG2−TSのトランスポートストリームに含まれているヌルパケットを削除した後に、MPEG2−TTSのトランスポートストリームを送信する。   FIG. 1 is a diagram showing an overall configuration of the video communication system 1. The video transmission device 2 is installed in a transmission station that transmits video, and is a transmission server for providing a terrestrial digital broadcast or BS digital broadcast retransmission service and the like. The video transmission apparatus 2 converts MPEG2-TS into MPEG2-TTS (Time-stamped Transport Stream) by adding a time stamp to each transport packet of MPEG (Moving Picture Experts Group) 2-TS (Transport Stream). To do. The time stamp is a 4-byte count value generated by a counter operation using a 27 MHz clock in the encoder in the video transmission apparatus 2. The video transmission apparatus 2 transmits the MPEG2-TTS transport stream after adding a time stamp, deleting null packets included in the MPEG2-TS transport stream in order to reduce the amount of communication data. To do.

映像受信装置4は、例えばユーザの自宅に設置されたセットトップボックスである。映像受信装置4は、映像送信装置2から送信されたMPEG2−TTSのトランスポートストリームを、IP(Internet Protocol)ネットワーク等の通信ネットワーク3を介して受信する。そして、受信したトランスポートストリームをデコードすることにより、テレビ5において映像を再生する。   The video receiver 4 is a set-top box installed at a user's home, for example. The video receiver 4 receives the MPEG2-TTS transport stream transmitted from the video transmitter 2 via a communication network 3 such as an IP (Internet Protocol) network. Then, the television 5 reproduces the video by decoding the received transport stream.

図2は、本発明の実施の形態に係る映像受信装置4の構成を簡略化して示すブロック図である。図2に示すように、この映像受信装置4は、バッファメモリ11、TTSゲート12、デコード回路13、抽出部14,15、TTSカウンタ16、調整部17、及びVCO(Voltage Control Oscillator)18を備える。映像受信装置4は、バッファメモリ11に入力されたパケットの滞留時間に基づいて、VCO18が発生する基準クロックの周波数を調整する。   FIG. 2 is a block diagram showing a simplified configuration of the video reception device 4 according to the embodiment of the present invention. As shown in FIG. 2, the video reception device 4 includes a buffer memory 11, a TTS gate 12, a decoding circuit 13, extraction units 14 and 15, a TTS counter 16, an adjustment unit 17, and a VCO (Voltage Control Oscillator) 18. . The video receiver 4 adjusts the frequency of the reference clock generated by the VCO 18 based on the residence time of the packet input to the buffer memory 11.

バッファメモリ11(記憶部)には、映像送信装置2から図示しない受信部によって受信したトランスポートストリームS1が入力され、バッファメモリ11はそのトランスポートストリームS1を一時的に記憶する。   The buffer memory 11 (storage unit) receives the transport stream S1 received by the receiving unit (not shown) from the video transmission device 2, and the buffer memory 11 temporarily stores the transport stream S1.

VCO18(クロック発生部)は、27MHzの基準クロックを発生する。後述するように、VCO18が発生する基準クロックの周波数は、調整部17によって調整可能である。   The VCO 18 (clock generation unit) generates a 27 MHz reference clock. As will be described later, the frequency of the reference clock generated by the VCO 18 can be adjusted by the adjustment unit 17.

TTSカウンタ16(カウンタ部)は、VCO18が発生した基準クロックに基づいてカウント動作を行う。   The TTS counter 16 (counter unit) performs a counting operation based on the reference clock generated by the VCO 18.

TTSゲート12(ゲート部)は、この例において、各トランスポートパケットに付加されているタイムスタンプの値と、TTSカウンタ16のカウント値とに基づいて、バッファメモリ11からデコード回路13へ向けての各トランスポートパケットの出力を制御する。   In this example, the TTS gate 12 (gate unit) is connected to the decoding circuit 13 from the buffer memory 11 based on the time stamp value added to each transport packet and the count value of the TTS counter 16. Controls the output of each transport packet.

抽出部14は、バッファメモリ11に入力されるトランスポートパケット(例えば、バッファメモリ11への入り口をまさに通過しようとしているトランスポートパケット)に付加されているタイムスタンプの値を抽出する。   The extraction unit 14 extracts a time stamp value added to a transport packet (for example, a transport packet that is about to pass through the entrance to the buffer memory 11) input to the buffer memory 11.

抽出部15は、バッファメモリ11から出力されるトランスポートパケット(例えば、TTSゲート12をまさに通過しようとしているトランスポートパケット)に付加されているタイムスタンプの値を抽出する。   The extraction unit 15 extracts the value of the time stamp added to the transport packet output from the buffer memory 11 (for example, the transport packet that is about to pass through the TTS gate 12).

調整部17は、バッファメモリ11に入力されたトランスポートパケットの、バッファメモリ11における滞留時間に基づいて、VCO18が発生する基準クロックの周波数を調整する。調整手法の詳細については後述する。   The adjustment unit 17 adjusts the frequency of the reference clock generated by the VCO 18 based on the residence time in the buffer memory 11 of the transport packet input to the buffer memory 11. Details of the adjustment method will be described later.

図3は、映像受信装置4が受信するトランスポートストリームS1の一部を抜き出して示す図である。トランスポートストリームS1は、複数のトランスポートパケットTPを含む。図3では、説明の簡単化のため、この順に連続する8個のトランスポートパケットTP1〜TP8のみを示している。トランスポートストリームS1に含まれる複数のトランスポートパケットTPのうちの先頭のトランスポートパケットは、トランスポートパケットTP1であるものとする。   FIG. 3 is a diagram illustrating a part of the transport stream S1 received by the video reception device 4. The transport stream S1 includes a plurality of transport packets TP. In FIG. 3, only eight transport packets TP <b> 1 to TP <b> 8 that are consecutive in this order are shown for simplicity of explanation. It is assumed that the first transport packet among the plurality of transport packets TP included in the transport stream S1 is the transport packet TP1.

図4は、トランスポートパケットTPの構造を示す図である。トランスポートパケットTPは、ヘッダ部とペイロード部とを有しており、これらの合計のデータ長は188バイトである。トランスポートパケットTPには、データ長が4バイトのタイムスタンプ50が付加されている。   FIG. 4 is a diagram illustrating the structure of the transport packet TP. The transport packet TP has a header part and a payload part, and the total data length thereof is 188 bytes. A time stamp 50 having a data length of 4 bytes is added to the transport packet TP.

以下、映像受信装置4の動作について説明する。映像受信装置4は、映像送信装置2から送信されたMPEG2−TTSのトランスポートストリームS1を、通信ネットワーク3を介して受信する。そして、受信したトランスポートストリームS1を、バッファメモリ11内に一時的に記憶する。図2を参照して、トランスポートストリームS1は、バッファメモリ11から読み出されて、トランスポートストリームS2としてTTSゲート12からデコード回路13に向けて出力される。   Hereinafter, the operation of the video reception device 4 will be described. The video receiver 4 receives the MPEG2-TTS transport stream S 1 transmitted from the video transmitter 2 via the communication network 3. Then, the received transport stream S1 is temporarily stored in the buffer memory 11. Referring to FIG. 2, transport stream S1 is read from buffer memory 11, and is output from TTS gate 12 to decode circuit 13 as transport stream S2.

図5は、TTSゲート12に入力されるトランスポートストリームS1と、TTSゲート12から出力されるトランスポートストリームS2との関係を示すタイミングチャートである。トランスポートストリームS1に関しては、トランスポートパケットTP1〜TP8がこの順にバッファメモリ11から連続して読み出されて、TTSゲート12に入力される。   FIG. 5 is a timing chart showing the relationship between the transport stream S1 input to the TTS gate 12 and the transport stream S2 output from the TTS gate 12. Regarding the transport stream S1, transport packets TP1 to TP8 are successively read from the buffer memory 11 in this order and input to the TTS gate 12.

まず、抽出部15は、バッファメモリ11から読み出されたトランスポートストリームS1のうち、先頭のトランスポートパケットTP1に付加されているタイムスタンプ50の値(タイムスタンプ値ST(1))を抽出し、そのタイムスタンプ値ST(1)をTTSゲート12に入力する。   First, the extraction unit 15 extracts the value of the time stamp 50 (time stamp value ST (1)) added to the first transport packet TP1 from the transport stream S1 read from the buffer memory 11. The time stamp value ST (1) is input to the TTS gate 12.

TTSカウンタ16は、VCO18が発生した基準クロックに基づいてカウント動作を行っており、TTSカウンタ16から出力されるカウント値はTTSゲート12に入力される。なお、バッファメモリ11から読み出されたトランスポートパケットのタイムスタンプ値と、TTSカウンタ16のカウント値との差が所定の閾値を超えた場合には、トランスポートパケットのタイムスタンプ値がTTSカウンタ16にセットされる。これによって、TTSカウンタ16はカウント値を初期化し、カウント動作を再開する。   The TTS counter 16 performs a counting operation based on the reference clock generated by the VCO 18, and the count value output from the TTS counter 16 is input to the TTS gate 12. When the difference between the time stamp value of the transport packet read from the buffer memory 11 and the count value of the TTS counter 16 exceeds a predetermined threshold, the time stamp value of the transport packet is set to the TTS counter 16. Set to As a result, the TTS counter 16 initializes the count value and restarts the count operation.

映像受信装置4においては、バッファメモリ11内におけるトランスポートパケットTPの滞留時間に関する目標値(以下「目標滞留時間」と称す)が予め設定されている。目標滞留時間は、バッファメモリ11の記憶容量や、映像送信装置2内のエンコーダがVBR(Variable Bit Rate)方式を採用している場合には、想定されるビットレートの最大値及び最小値等に応じて、適切な値(例えば100〜500msec)に設定される。   In the video reception device 4, a target value (hereinafter referred to as “target residence time”) regarding the residence time of the transport packet TP in the buffer memory 11 is set in advance. The target dwell time is set to the maximum value and minimum value of the assumed bit rate when the storage capacity of the buffer memory 11 and the encoder in the video transmission device 2 adopt the VBR (Variable Bit Rate) method. Accordingly, an appropriate value (for example, 100 to 500 msec) is set.

抽出部14は、バッファメモリ11に入力されるトランスポートパケットに付加されているタイムスタンプの値を抽出し、TTSゲート12に入力する。   The extraction unit 14 extracts the time stamp value added to the transport packet input to the buffer memory 11 and inputs the value to the TTS gate 12.

TTSゲート12は、抽出部15から入力されたタイムスタンプ値ST(1)に、目標滞留時間に相当するタイムスタンプ値を加算した値以上のタイムスタンプ値が、抽出部14から入力されることにより、そのタイミングでゲートをオープンする。これにより、TTSゲート12からデコード回路13に向けてのトランスポートパケットTP1の出力が開始される。トランスポートパケットTP1がTTSゲート12の通過を完了すると、ゲートは再びクローズされる。なお、TTSゲート12を通過する際、トランスポートパケットTP1に付加されているタイムスタンプ50が削除されることにより、MPEG2−TTSからMPEG2−TSへの変換が行われる。   The TTS gate 12 receives a time stamp value that is equal to or greater than a value obtained by adding a time stamp value corresponding to the target residence time to the time stamp value ST (1) input from the extraction unit 15. Open the gate at that timing. As a result, output of the transport packet TP1 from the TTS gate 12 toward the decode circuit 13 is started. When the transport packet TP1 completes passing through the TTS gate 12, the gate is closed again. When passing through the TTS gate 12, the time stamp 50 added to the transport packet TP1 is deleted, so that conversion from MPEG2-TTS to MPEG2-TS is performed.

次に、抽出部15は、トランスポートパケットTP1に続くトランスポートパケットTP2に付加されているタイムスタンプ50の値(タイムスタンプ値ST(2))を抽出し、そのタイムスタンプ値ST(2)をTTSゲート12に入力する。   Next, the extracting unit 15 extracts the value of the time stamp 50 (time stamp value ST (2)) added to the transport packet TP2 following the transport packet TP1, and uses the time stamp value ST (2). Input to the TTS gate 12.

TTSゲート12は、タイムスタンプ値ST(2)に等しいカウント値がTTSカウンタ16から入力されることにより、そのタイミングでゲートをオープンする。これにより、TTSゲート12からデコード回路13に向けてのトランスポートパケットTP2の出力が開始される。上記と同様に、トランスポートパケットTP2がTTSゲート12の通過を完了すると、ゲートは再びクローズされる。また、TTSゲート12を通過する際、トランスポートパケットTP2に付加されているタイムスタンプ50が削除されることにより、MPEG2−TTSからMPEG2−TSへの変換が行われる。   When a count value equal to the time stamp value ST (2) is input from the TTS counter 16, the TTS gate 12 opens the gate at that timing. As a result, output of the transport packet TP2 from the TTS gate 12 toward the decode circuit 13 is started. Similarly to the above, when the transport packet TP2 completes passing through the TTS gate 12, the gate is closed again. Further, when passing through the TTS gate 12, the time stamp 50 added to the transport packet TP2 is deleted, whereby conversion from MPEG2-TTS to MPEG2-TS is performed.

トランスポートパケットTP3以降についても上記と同様の動作が繰り返されることにより、TTSゲート12からデコード回路13にトランスポートストリームS2が入力される。   The transport stream S2 is input from the TTS gate 12 to the decode circuit 13 by repeating the same operation as described above for the transport packet TP3 and thereafter.

図5を参照して、トランスポートストリームS2に関して、例えば、トランスポートパケットTP2は、トランスポートパケットTP1に連続してデコード回路13に入力されている。これは、映像送信装置2内のエンコーダにおいて、トランスポートパケットTP1とトランスポートパケットTP2との間に、ヌルパケットが存在していなかったことに起因する。なお、厳密には、トランスポートパケットTP1の末尾とトランスポートパケットTP2の先頭との間には、TTSゲート12において削除されたタイムスタンプ50に相当する4バイト分の間隔が存在しているが、図5ではその間隔を無視して図示している。   Referring to FIG. 5, for transport stream S2, for example, transport packet TP2 is input to decode circuit 13 continuously with transport packet TP1. This is due to the fact that the null packet does not exist between the transport packet TP1 and the transport packet TP2 in the encoder in the video transmission device 2. Strictly speaking, an interval of 4 bytes corresponding to the time stamp 50 deleted in the TTS gate 12 exists between the end of the transport packet TP1 and the start of the transport packet TP2. In FIG. 5, the intervals are ignored.

また例えば、トランスポートパケットTP3は、トランスポートパケットTP2から遅延してデコード回路13に入力されている。遅延量は、先頭同士の比較で、トランスポートパケットTPの2個分に相当する時間WT1である。これは、映像送信装置2内のエンコーダにおいて、トランスポートパケットTP2とトランスポートパケットTP3との間に存在していた1個のヌルパケットが削除されたことに起因する。   Further, for example, the transport packet TP3 is input to the decoding circuit 13 with a delay from the transport packet TP2. The delay amount is a time WT1 corresponding to two transport packets TP in comparison between the heads. This is because one null packet that existed between the transport packet TP2 and the transport packet TP3 is deleted in the encoder in the video transmission device 2.

また例えば、トランスポートパケットTP6は、トランスポートパケットTP5から遅延してデコード回路13に入力されている。遅延量は、先頭同士の比較で、トランスポートパケットTPの3個分に相当する時間WT2である。これは、映像送信装置2内のエンコーダにおいて、トランスポートパケットTP5とトランスポートパケットTP6との間に存在していた2個のヌルパケットが削除されたことに起因する。   Further, for example, the transport packet TP6 is input to the decoding circuit 13 with a delay from the transport packet TP5. The delay amount is a time WT2 corresponding to three transport packets TP in comparison between the heads. This is due to the fact that two null packets that existed between the transport packet TP5 and the transport packet TP6 have been deleted in the encoder in the video transmission device 2.

さて次に、調整部17による基準クロックの調整処理について説明する。   Next, reference clock adjustment processing by the adjustment unit 17 will be described.

調整部17には、バッファメモリ11に入力されるトランスポートパケットに付加されているタイムスタンプの値(以下「入力タイムスタンプ値」と称す)が、抽出部14から入力される。また、調整部17には、同時刻にバッファメモリ11から出力されるトランスポートパケットに付加されているタイムスタンプの値(以下「出力タイムスタンプ値」と称す)が、抽出部15から入力される。   A time stamp value added to a transport packet input to the buffer memory 11 (hereinafter referred to as “input time stamp value”) is input from the extraction unit 14 to the adjustment unit 17. Further, the time stamp value added to the transport packet output from the buffer memory 11 at the same time (hereinafter referred to as “output time stamp value”) is input to the adjustment unit 17 from the extraction unit 15. .

調整部17は、入力タイムスタンプ値から出力タイムスタンプ値を減算することにより両者の差分値を求め、この差分値を時間に換算した値として、バッファメモリ11内におけるトランスポートパケットTPの滞留時間を算出する。そして、例えば、この滞留時間が目標滞留時間に等しくなるように(又は近付くように)、VCO18が発生する基準クロックの周波数を調整する。具体的に、調整部17は、算出した滞留時間が目標滞留時間より大きい場合は基準クロックの周波数を上げ、一方、算出した滞留時間が目標滞留時間より小さい場合は基準クロックの周波数を下げる。   The adjustment unit 17 obtains a difference value between the two by subtracting the output time stamp value from the input time stamp value, and the residence time of the transport packet TP in the buffer memory 11 is obtained by converting the difference value into time. calculate. Then, for example, the frequency of the reference clock generated by the VCO 18 is adjusted so that the dwell time becomes equal to (or approaches) the target dwell time. Specifically, the adjustment unit 17 increases the frequency of the reference clock when the calculated residence time is larger than the target residence time, and decreases the frequency of the reference clock when the calculated residence time is smaller than the target residence time.

ここで、IPネットワーク等の通信ネットワーク11においては、ジッタやシェーピング等の影響によって映像送信装置2から映像受信装置4へのトランスポートパケットTPの到着時間が揺らぎ、それに起因してバッファメモリ11へのトランスポートパケットTPの入力タイミングが変動する場合がある。そこで、調整部17は、TTSゲート12から出力されるトランスポートパケットTP毎に、タイムスタンプ値に基づいて滞留時間を算出し、所定期間(例えば数分〜数10分)内に求めた複数の滞留時間の平均値と目標滞留時間との比較により、基準クロックの周波数を調整するのが望ましい。上記と同様に調整部17は、滞留時間の平均値が目標滞留時間より大きい場合は基準クロックの周波数を上げ、一方、滞留時間の平均値が目標滞留時間より小さい場合は基準クロックの周波数を下げる。   Here, in the communication network 11 such as an IP network, the arrival time of the transport packet TP from the video transmission device 2 to the video reception device 4 fluctuates due to the influence of jitter, shaping, etc. The input timing of the transport packet TP may vary. Therefore, the adjustment unit 17 calculates a residence time based on the time stamp value for each transport packet TP output from the TTS gate 12, and calculates a plurality of times obtained within a predetermined period (for example, several minutes to several tens of minutes). It is desirable to adjust the frequency of the reference clock by comparing the average value of the residence time with the target residence time. Similarly to the above, the adjusting unit 17 increases the frequency of the reference clock when the average value of the residence time is larger than the target residence time, and decreases the frequency of the reference clock when the average value of the residence time is smaller than the target residence time. .

<変形例>
図6は、本実施の形態の変形例に係る映像受信装置4の構成を簡略化して示すブロック図である。図6の接続関係で示すように、映像受信装置4は、バッファメモリ11、TTSゲート12、デコード回路13、抽出部15、TTSカウンタ16、調整部17、VCO18、及び時刻情報付加部21を備えて構成されている。以下、上記実施の形態との相違点について説明する。
<Modification>
FIG. 6 is a block diagram showing a simplified configuration of the video reception device 4 according to a modification of the present embodiment. As shown in the connection relationship of FIG. 6, the video reception device 4 includes a buffer memory 11, a TTS gate 12, a decoding circuit 13, an extraction unit 15, a TTS counter 16, an adjustment unit 17, a VCO 18, and a time information addition unit 21. Configured. Hereinafter, differences from the above embodiment will be described.

時刻情報付加部21は、バッファメモリ11に入力されるトランスポートパケットTPに対して、所定の時刻情報を付加する。映像受信装置4内には時計が設けられており、時刻情報付加部21は、この時計によって計時される時刻を、時刻情報としてトランスポートパケットTPに付加する。   The time information adding unit 21 adds predetermined time information to the transport packet TP input to the buffer memory 11. A clock is provided in the video receiver 4, and the time information adding unit 21 adds the time counted by this clock to the transport packet TP as time information.

図7は、バッファメモリ11に記憶されているトランスポートパケットTPの構造を示す図である。トランスポートパケットTPには、タイムスタンプ50に加えて、時刻情報51が付加されている。   FIG. 7 is a diagram showing the structure of the transport packet TP stored in the buffer memory 11. In addition to the time stamp 50, time information 51 is added to the transport packet TP.

図6を参照して、時刻情報付加部21は、トランスポートストリームS1の先頭のトランスポートパケットTP1に付加した時刻情報51の値(時刻情報値SQ(1))を、TTSゲート12に入力する。TTSゲート12は、時刻情報付加部21から入力された時刻情報値SQ(1)で示される時刻から、目標滞留時間が経過したタイミングで、ゲートをオープンする。これにより、TTSゲート12からデコード回路13に向けてのトランスポートパケットTP1の出力が開始される。トランスポートパケットTP1がTTSゲート12の通過を完了すると、ゲートは再びクローズされる。なお、TTSゲート12を通過する際、トランスポートパケットTP1に付加されているタイムスタンプ50が削除されることにより、MPEG2−TTSからMPEG2−TSへの変換が行われる。   Referring to FIG. 6, time information adding unit 21 inputs the value of time information 51 (time information value SQ (1)) added to the first transport packet TP1 of transport stream S1 to TTS gate 12. . The TTS gate 12 opens the gate at the timing when the target residence time has elapsed from the time indicated by the time information value SQ (1) input from the time information adding unit 21. As a result, output of the transport packet TP1 from the TTS gate 12 toward the decode circuit 13 is started. When the transport packet TP1 completes passing through the TTS gate 12, the gate is closed again. When passing through the TTS gate 12, the time stamp 50 added to the transport packet TP1 is deleted, so that conversion from MPEG2-TTS to MPEG2-TS is performed.

抽出部15は、バッファメモリ11から出力されるトランスポートパケットに付加されている時刻情報51の値を抽出し、調整部17に入力する。   The extraction unit 15 extracts the value of the time information 51 added to the transport packet output from the buffer memory 11 and inputs the value to the adjustment unit 17.

調整部17には、バッファメモリ11に入力されるトランスポートパケットに対して時刻情報付加部21が付加する時刻情報51の値(つまり現在の時刻を示す時刻情報値。以下「入力時刻情報値」と称す)が、時刻情報付加部21から入力される。また、調整部17には、同時刻にバッファメモリ11から出力されるトランスポートパケットに付加されている時刻情報51の値(以下「出力時刻情報値」と称す)が、抽出部15から入力される。   The adjusting unit 17 includes a value of time information 51 added by the time information adding unit 21 to the transport packet input to the buffer memory 11 (that is, a time information value indicating the current time. Hereinafter, “input time information value”). Is input from the time information adding unit 21. Further, the value of time information 51 (hereinafter referred to as “output time information value”) added to the transport packet output from the buffer memory 11 at the same time is input to the adjustment unit 17 from the extraction unit 15. The

調整部17は、入力時刻情報値から出力時刻情報値を減算することにより両者の差分値を求め、この差分値として、バッファメモリ11内におけるトランスポートパケットTPの滞留時間を算出する。そして、この滞留時間が目標滞留時間に等しくなるように(又は近付くように)、VCO18が発生する基準クロックの周波数を調整する。具体的に、調整部17は、算出した滞留時間が目標滞留時間より大きい場合は基準クロックの周波数を上げ、一方、算出した滞留時間が目標滞留時間より小さい場合は基準クロックの周波数を下げる。   The adjusting unit 17 obtains a difference value between the two by subtracting the output time information value from the input time information value, and calculates the residence time of the transport packet TP in the buffer memory 11 as the difference value. Then, the frequency of the reference clock generated by the VCO 18 is adjusted so that the dwell time becomes equal to (or approaches) the target dwell time. Specifically, the adjustment unit 17 increases the frequency of the reference clock when the calculated residence time is larger than the target residence time, and decreases the frequency of the reference clock when the calculated residence time is smaller than the target residence time.

ここで、IPネットワーク等の通信ネットワーク11においては、ジッタやシェーピング等の影響によって映像送信装置2から映像受信装置4へのトランスポートパケットTPの到着時間が揺らぎ、それに起因してバッファメモリ11へのトランスポートパケットTPの入力タイミングが変動する場合がある。そこで、調整部17は、TTSゲート12から出力されるトランスポートパケットTP毎に、時刻情報値に基づいて滞留時間を算出し、所定期間(例えば数分〜数10分)内に求めた複数の滞留時間の平均値と目標滞留時間との比較により、基準クロックの周波数を調整するのが望ましい。上記と同様に調整部17は、滞留時間の平均値が目標滞留時間より大きい場合は基準クロックの周波数を上げ、一方、滞留時間の平均値が目標滞留時間より小さい場合は基準クロックの周波数を下げる。   Here, in the communication network 11 such as an IP network, the arrival time of the transport packet TP from the video transmission device 2 to the video reception device 4 fluctuates due to the influence of jitter, shaping, etc. The input timing of the transport packet TP may vary. Therefore, the adjustment unit 17 calculates the residence time for each transport packet TP output from the TTS gate 12 based on the time information value, and calculates a plurality of times obtained within a predetermined period (for example, several minutes to several tens of minutes). It is desirable to adjust the frequency of the reference clock by comparing the average value of the residence time with the target residence time. Similarly to the above, the adjusting unit 17 increases the frequency of the reference clock when the average value of the residence time is larger than the target residence time, and decreases the frequency of the reference clock when the average value of the residence time is smaller than the target residence time. .

<本実施の形態のまとめ>
このように本実施の形態に係る映像受信装置4によれば、調整部17は、バッファメモリ11に入力されたトランスポートパケットTPの滞留時間に基づいて、基準クロックの周波数を調整する。つまり、トランスポートパケットTPの滞留時間が目標滞留時間より大きい場合には基準クロックの周波数を上げ、トランスポートパケットTPの滞留時間が目標滞留時間より小さい場合には基準クロックの周波数を下げる。これにより、映像送信装置2内のエンコーダの基準クロックを映像受信装置4において再生することができる。しかも、エンコーダのビットレートに拘わらず、各トランスポートパケットTPはバッファメモリ11に入力されてから所定の滞留時間が経過したタイミングでバッファメモリ11から出力される。従って、ビットレートが低い場合であってもデコードの開始が遅れることを回避することが可能となる。
<Summary of this embodiment>
As described above, according to the video reception device 4 according to the present embodiment, the adjustment unit 17 adjusts the frequency of the reference clock based on the residence time of the transport packet TP input to the buffer memory 11. That is, when the dwell time of the transport packet TP is larger than the target dwell time, the reference clock frequency is increased, and when the dwell time of the transport packet TP is smaller than the target dwell time, the reference clock frequency is lowered. Thereby, the reference clock of the encoder in the video transmission device 2 can be reproduced in the video reception device 4. Moreover, regardless of the bit rate of the encoder, each transport packet TP is output from the buffer memory 11 at a timing when a predetermined residence time has elapsed after being input to the buffer memory 11. Therefore, it is possible to avoid delaying the start of decoding even when the bit rate is low.

また、本実施の形態に係る映像受信装置4によれば、調整部17は、バッファメモリ11に入力されるトランスポートパケットTPに付加されているタイムスタンプの値と、バッファメモリ11から出力されるトランスポートパケットTPに付加されているタイムスタンプの値との差に基づいて、滞留時間を算出する。このように、各トランスポートパケットTPに付加されているタイムスタンプを用いて滞留時間を算出することにより、滞留時間を管理するための追加の計時手段を設ける必要がないため、構成及び処理の簡略化を図ることができる。   Further, according to the video reception device 4 according to the present embodiment, the adjustment unit 17 outputs the time stamp value added to the transport packet TP input to the buffer memory 11 and the buffer memory 11. The residence time is calculated based on the difference from the time stamp value added to the transport packet TP. As described above, since the residence time is calculated using the time stamp added to each transport packet TP, it is not necessary to provide an additional timing means for managing the residence time, so that the configuration and processing are simplified. Can be achieved.

また、本実施の形態に係る映像受信装置4によれば、TTSゲート12は、先頭のトランスポートパケットTP1がバッファメモリ11に入力された後、トランスポートパケットTP1に付加されているタイムスタンプ50の値に、目標滞留時間に相当する値を加算した値以上のタイムスタンプが付加されているトランスポートパケットTPがバッファメモリ11に入力されたタイミングで、バッファメモリ11からのトランスポートパケットTP1の出力を開始する。これにより、トランスポートパケットTP1がバッファメモリ11に入力されてから目標滞留時間が経過したタイミングで、バッファメモリ11からのトランスポートパケットTP1の出力を開始できるため、目標滞留時間に相当する量のトランスポートパケットがバッファメモリ11に溜まれば出力を開始することができる。   Further, according to the video reception device 4 according to the present embodiment, the TTS gate 12 receives the time stamp 50 added to the transport packet TP1 after the first transport packet TP1 is input to the buffer memory 11. The transport packet TP1 output from the buffer memory 11 is output at the timing when the transport packet TP added with a time stamp equal to or greater than the value corresponding to the target residence time is input to the buffer memory 11. Start. Thus, since the output of the transport packet TP1 from the buffer memory 11 can be started at the timing when the target residence time has elapsed since the transport packet TP1 was input to the buffer memory 11, an amount of transformer corresponding to the target residence time can be started. When the port packet accumulates in the buffer memory 11, the output can be started.

また、本実施の形態の変形例に係る映像受信装置4によれば、調整部17は、バッファメモリ11に入力されるトランスポートパケットTPに対して付加する時刻情報の値と、バッファメモリ11から出力されるトランスポートパケットTPに付加されている時刻情報の値との差に基づいて、滞留時間を算出する。従って、離散的な値であるタイムスタンプを用いて滞留時間を算出する場合と比較すると、誤差を低減できるため、基準クロックの再生精度を向上することができる。   Further, according to the video reception device 4 according to the modification of the present embodiment, the adjustment unit 17 determines the time information value to be added to the transport packet TP input to the buffer memory 11 and the buffer memory 11. The residence time is calculated based on the difference from the time information value added to the transport packet TP to be output. Therefore, the error can be reduced as compared with the case where the residence time is calculated using a time stamp which is a discrete value, so that the reproduction accuracy of the reference clock can be improved.

また、本実施の形態の変形例に係る映像受信装置4によれば、TTSゲート12は、先頭のトランスポートパケットTP1がバッファメモリ11に入力された後、トランスポートパケットTP1に付加されている時刻情報51で示される時刻から、目標滞留時間が経過したタイミングで、バッファメモリ11からのトランスポートパケットTP1の出力を開始する。これにより、トランスポートパケットTP1がバッファメモリ11に入力されてから目標滞留時間が経過したタイミングで、バッファメモリ11からのトランスポートパケットTP1の出力を開始できるため、目標滞留時間に相当する量のトランスポートパケットがバッファメモリ11に溜まれば出力を開始することができる。   In addition, according to the video reception device 4 according to the modification of the present embodiment, the TTS gate 12 receives the time added to the transport packet TP1 after the first transport packet TP1 is input to the buffer memory 11. The output of the transport packet TP1 from the buffer memory 11 is started at the timing when the target residence time has elapsed from the time indicated by the information 51. Thus, since the output of the transport packet TP1 from the buffer memory 11 can be started at the timing when the target residence time has elapsed since the transport packet TP1 was input to the buffer memory 11, an amount of transformer corresponding to the target residence time can be started. When the port packet accumulates in the buffer memory 11, the output can be started.

また、本実施の形態及びその変形例に係る映像受信装置4によれば、調整部17は、所定期間内に求めた複数の滞留時間の平均値に基づいて、基準クロックの周波数を調整する。従って、ジッタやシェーピング等の影響によって映像送信装置2から映像受信装置4へのトランスポートパケットTPの到着時間が揺らぎ、それに起因してバッファメモリ11へのトランスポートパケットTPの入力タイミングが変動する場合であっても、基準クロックの周波数が頻繁に変更される事態を回避することが可能となる。   Further, according to the video reception device 4 according to the present embodiment and the modification thereof, the adjustment unit 17 adjusts the frequency of the reference clock based on the average value of the plurality of residence times obtained within a predetermined period. Accordingly, the arrival time of the transport packet TP from the video transmission device 2 to the video reception device 4 fluctuates due to the influence of jitter, shaping, etc., and the input timing of the transport packet TP to the buffer memory 11 varies accordingly. Even so, it is possible to avoid a situation in which the frequency of the reference clock is frequently changed.

なお、今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は、上記した意味ではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味及び範囲内での全ての変更が含まれることが意図される。   The embodiment disclosed this time should be considered as illustrative in all points and not restrictive. The scope of the present invention is defined not by the above-mentioned meaning but by the scope of claims for patent, and is intended to include all modifications within the scope and meaning equivalent to the scope of claims for patent.

4 映像受信装置
11 バッファメモリ
12 TTSゲート
13 デコード回路
14,15 抽出部
16 TTSカウンタ
17 調整部
18 VCO
21 時刻情報付加部
4 Video receiver 11 Buffer memory 12 TTS gate 13 Decode circuit 14, 15 Extraction unit 16 TTS counter 17 Adjustment unit 18 VCO
21 Time information addition part

Claims (6)

それぞれにタイムスタンプが付加された複数のパケットを含むトランスポートストリームを一時的に記憶する記憶部と、
基準クロックを発生するクロック発生部と、
前記基準クロックに基づいてカウント動作を行うカウンタ部と、
各パケットに付加されているタイムスタンプの値と、前記カウンタ部のカウント値とに基づいて、前記記憶部からの各パケットの出力を制御するゲート部と、
前記記憶部に入力されたパケットの滞留時間に基づいて、前記基準クロックの周波数を調整する調整部と、
を備える、映像受信装置。
A storage unit for temporarily storing a transport stream including a plurality of packets each having a time stamp added thereto;
A clock generator for generating a reference clock;
A counter unit that performs a counting operation based on the reference clock;
A gate unit for controlling the output of each packet from the storage unit based on the value of the time stamp added to each packet and the count value of the counter unit;
An adjustment unit that adjusts the frequency of the reference clock based on the residence time of the packet input to the storage unit;
A video receiving device.
前記調整部は、前記記憶部に入力されるパケットに付加されているタイムスタンプの値と、前記記憶部から出力されるパケットに付加されているタイムスタンプの値との差に基づいて、前記滞留時間を算出する、請求項1に記載の映像受信装置。   The adjustment unit is configured to perform the stay based on a difference between a time stamp value added to the packet input to the storage unit and a time stamp value added to the packet output from the storage unit. The video receiving device according to claim 1, wherein time is calculated. 前記ゲート部は、前記トランスポートストリームに含まれる先頭のパケットが前記記憶部に入力された後、当該先頭のパケットに付加されているタイムスタンプの値に、目標滞留時間に相当する値を加算した値以上のタイムスタンプが付加されているパケットが前記記憶部に入力されたタイミングで、前記記憶部からの前記先頭のパケットの出力を開始する、請求項2に記載の映像受信装置。   After the first packet included in the transport stream is input to the storage unit, the gate unit adds a value corresponding to the target residence time to the time stamp value added to the first packet. The video reception device according to claim 2, wherein output of the first packet from the storage unit is started at a timing when a packet to which a time stamp greater than a value is added is input to the storage unit. 前記記憶部に入力されるパケットに対して所定の時刻情報を付加する情報付加部をさらに備え、
前記調整部は、前記記憶部に入力されるパケットに対して付加する時刻情報の値と、前記記憶部から出力されるパケットに付加されている時刻情報の値との差に基づいて、前記滞留時間を算出する、請求項1に記載の映像受信装置。
An information adding unit for adding predetermined time information to the packet input to the storage unit;
The adjustment unit is configured to perform the stay based on a difference between a value of time information added to the packet input to the storage unit and a value of time information added to the packet output from the storage unit. The video receiving device according to claim 1, wherein time is calculated.
前記ゲート部は、前記トランスポートストリームに含まれる先頭のパケットが前記記憶部に入力された後、当該先頭のパケットに付加されている時刻情報で示される時刻から、目標滞留時間が経過したタイミングで、前記記憶部からの前記先頭のパケットの出力を開始する、請求項4に記載の映像受信装置。   The gate unit is a timing at which the target residence time has elapsed from the time indicated by the time information added to the leading packet after the leading packet included in the transport stream is input to the storage unit. The video reception device according to claim 4, wherein output of the head packet from the storage unit is started. 前記調整部は、所定期間内に求めた複数の滞留時間の平均値に基づいて、前記基準クロックの周波数を調整する、請求項1〜5のいずれか一つに記載の映像受信装置。   The video receiver according to claim 1, wherein the adjustment unit adjusts the frequency of the reference clock based on an average value of a plurality of residence times obtained within a predetermined period.
JP2011017491A 2011-01-31 2011-01-31 Video receiver Active JP5149404B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011017491A JP5149404B2 (en) 2011-01-31 2011-01-31 Video receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011017491A JP5149404B2 (en) 2011-01-31 2011-01-31 Video receiver

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2012258415A Division JP2013078127A (en) 2012-11-27 2012-11-27 Video receiver

Publications (2)

Publication Number Publication Date
JP2012160798A true JP2012160798A (en) 2012-08-23
JP5149404B2 JP5149404B2 (en) 2013-02-20

Family

ID=46841004

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011017491A Active JP5149404B2 (en) 2011-01-31 2011-01-31 Video receiver

Country Status (1)

Country Link
JP (1) JP5149404B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019068310A (en) * 2017-10-03 2019-04-25 住友電気工業株式会社 Broadcast retransmitting device, broadcast receiving device, broadcast retransmitting method, broadcast receiving method, broadcast retransmitting program, and broadcast receiving program
CN113015001A (en) * 2021-02-26 2021-06-22 上海先基半导体科技有限公司 Video frame cache controller based on FPGA and control method thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007104085A (en) * 2005-09-30 2007-04-19 Toshiba Corp Digital broadcast method and apparatus employing communication line
JP2008035197A (en) * 2006-07-28 2008-02-14 Sumitomo Electric Ind Ltd Clocking circuit, video processor and clock adjustment method
JP2008035198A (en) * 2006-07-28 2008-02-14 Sumitomo Electric Ind Ltd Video processor and packet processing method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007104085A (en) * 2005-09-30 2007-04-19 Toshiba Corp Digital broadcast method and apparatus employing communication line
JP2008035197A (en) * 2006-07-28 2008-02-14 Sumitomo Electric Ind Ltd Clocking circuit, video processor and clock adjustment method
JP2008035198A (en) * 2006-07-28 2008-02-14 Sumitomo Electric Ind Ltd Video processor and packet processing method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019068310A (en) * 2017-10-03 2019-04-25 住友電気工業株式会社 Broadcast retransmitting device, broadcast receiving device, broadcast retransmitting method, broadcast receiving method, broadcast retransmitting program, and broadcast receiving program
CN113015001A (en) * 2021-02-26 2021-06-22 上海先基半导体科技有限公司 Video frame cache controller based on FPGA and control method thereof
CN113015001B (en) * 2021-02-26 2022-04-08 上海先基半导体科技有限公司 Video frame cache controller based on FPGA and control method thereof

Also Published As

Publication number Publication date
JP5149404B2 (en) 2013-02-20

Similar Documents

Publication Publication Date Title
US7983345B2 (en) Content receiving apparatus, video/audio output timing control method, and content provision system
US7668170B2 (en) Adaptive packet transmission with explicit deadline adjustment
CN110099289B (en) Data transmission method, data reproduction method, data transmission device, and data reproduction device
US8189679B2 (en) Content receiving apparatus, method of controlling video-audio output timing and content providing system
JP4361561B2 (en) Data receiving apparatus and data receiving method
JP3925311B2 (en) Data distribution system
KR100787314B1 (en) Method and apparatus for adaptive media playout for intra-media synchronization
EP2011332B1 (en) Method for reducing channel change times in a digital video apparatus
US8010863B2 (en) Method and apparatus for synchronizing multiple multimedia streams
JP2005534219A (en) Jitter correction method for system with wall clock
CN102868680A (en) Broadcast transport stream distribution system, broadcast transport stream distribution apparatus and distribution method for use in the system
US20130282871A1 (en) Streaming service transmitting/receiving device and method
JP5149404B2 (en) Video receiver
US8483289B2 (en) Method and system for fast channel change
JP4081936B2 (en) COMMUNICATION DEVICE, COMMUNICATION METHOD, AND RECORDING MEDIUM
EP1528724A1 (en) Information processing device and method, recording medium, and program
JP3617655B2 (en) Encoding system and encoding method, decoding system and decoding method, encoded data recording apparatus and encoded data recording method, encoded data transmission apparatus and encoded data transmission method, and recording medium
JP4192766B2 (en) Receiving apparatus and method, recording medium, and program
JP5958008B2 (en) Stream processing apparatus, stream processing method, and stream processing program
JP2013078127A (en) Video receiver
JP4561240B2 (en) Data processing apparatus, data processing method, and data transmission / reception system
JP3419607B2 (en) Clock recovery device
JP3856135B2 (en) Stream converting / sending device
WO2016203870A1 (en) Transmission apparatus, transmission method, and communication system
JP4874272B2 (en) Video signal processing apparatus and video signal processing method

Legal Events

Date Code Title Description
A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20120726

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20120807

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120815

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20121015

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20121129

R150 Certificate of patent or registration of utility model

Ref document number: 5149404

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

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250