JP2005102053A - Video display device - Google Patents
Video display device Download PDFInfo
- Publication number
- JP2005102053A JP2005102053A JP2003335363A JP2003335363A JP2005102053A JP 2005102053 A JP2005102053 A JP 2005102053A JP 2003335363 A JP2003335363 A JP 2003335363A JP 2003335363 A JP2003335363 A JP 2003335363A JP 2005102053 A JP2005102053 A JP 2005102053A
- Authority
- JP
- Japan
- Prior art keywords
- demux
- decoder unit
- pcr
- data
- packets
- 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.)
- Pending
Links
Images
Landscapes
- Television Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
この発明は、ブロードバント放送対応受信機に関する。 The present invention relates to a receiver compatible with broadband broadcasting.
デジタルBS放送を受信する従来のテジタル放送受信機では、衛星から送出されるTSをDEMUX・AVデコーダユニットに入力するための調整は特に必要ないので、送出されたデータをそのまDEMUX・AVデコーダユニットに入力するようにしている。デジタルBS放送専用のDEMUX・AVデコーダユニットを使用して、ネットワーク経由のTSをDEMUX・AVデコーダユニットに入力する場合には、ネットワーク回線遅延などの原因によりTSが送られてくる間隔が一定でないため、デジタルBS放送と同じ方法でTSをDEMUX・AVデコーダユニットに入力できない。 In conventional digital broadcast receivers that receive digital BS broadcasts, there is no particular need for adjustment to input TS transmitted from the satellite to the DEMUX / AV decoder unit, so the transmitted data is used as it is in the DEMUX / AV decoder unit. To enter. When using a digital BS broadcast dedicated DEMUX / AV decoder unit to input a TS via the network to the DEMUX / AV decoder unit, the interval at which TS is sent due to network line delays, etc. is not constant. TS cannot be input to the DEMUX / AV decoder unit in the same way as digital BS broadcasting.
この発明は、TSの受信間隔が一定でない場合においても、DEMUX・AVデコーダユニット内のオーディオバッファ量およびビデオバッファ量の制限を満たすように、受信したTSデータをDEMUX・AVデコーダユニットに出力することが可能となるブロードバンド放送対応受信機を提供することを目的とする。 The present invention outputs received TS data to a DEMUX / AV decoder unit so as to satisfy the limitations on the audio buffer amount and video buffer amount in the DEMUX / AV decoder unit even when the TS reception interval is not constant. An object is to provide a receiver compatible with broadband broadcasting that can be used.
請求項1に記載の発明は、コンテンツサーバとコンテンツサーバにネットワークを介して接続されたブロードバンド放送対応受信機とを備え、上記コンテンツサーバは上記ブロードバンド放送対応受信機からコンテンツが要求されると、要求されたコンテンツに対応するTSを上記ブロードバンド放送対応受信機に供給する機能を備えているブロードバンド放送送受信システムにおけるブロードバンド放送対応受信機において、TSデータからコンテンツを抽出してデコードするためのDEMUX・AVデコーダユニット、およびコンテンツサーバから受信したTSデータを保持するとともに、保持したTSデータのうちの所要パケット数のデータを連続してDEMUX・AVデコーダユニットに送出した後、一定時間スリープするといった方式で、TSデータをDEMUX・AVデコーダユニットに出力する出力制御装置を備えており、出力制御装置は、DEMUX・AVデコーダユニットによってPCRが受信される毎に、DEMUX・AVデコーダユニットに連続して出力するパケット数を補正するためのパケット数補正手段を備えていることを特徴とする。
The invention according to
請求項2に記載の発明は、請求項1に記載のブロードバンド放送対応受信機において、DEMUX・AVデコーダユニット内には、予め定められた周波数のクロックによってカウント値が更新されるベーシックカウンタが設けられており、上記パケット数補正手段は、DEMUX・AVデコーダユニットによってPCRが受信される毎に、PCRの前回受信時におけるベーシックカウンタのカウント値とPCRの今回受信時におけるベーシックカウンタのカウント値との差から、PCRの前回受信時におけるPCR内のSTC値とPCRの今回受信時におけるPCR内のSTC値との差を減算した値を算出し、得られた値に基づいて、DEMUX・AVデコーダユニットに連続して出力するパケット数を補正するものであることを特徴とする。 According to a second aspect of the present invention, in the broadband broadcast-compatible receiver according to the first aspect, a basic counter whose count value is updated by a clock having a predetermined frequency is provided in the DEMUX / AV decoder unit. Each time the PCR is received by the DEMUX / AV decoder unit, the packet number correcting means performs a difference between the count value of the basic counter at the previous reception of the PCR and the count value of the basic counter at the current reception of the PCR. From this, the value obtained by subtracting the difference between the STC value in the PCR at the previous reception of the PCR and the STC value in the PCR at the current reception of the PCR is calculated, and based on the obtained value, the DEMUX / AV decoder unit It is intended to correct the number of packets output continuously.
この発明によれば、TSの受信間隔が一定でない場合においても、DEMUX・AVデコーダユニット内のオーディオバッファ量およびビデオバッファ量の制限を満たすように、受信したTSデータをDEMUX・AVデコーダユニットに出力することが可能となる。 According to the present invention, even when the TS reception interval is not constant, the received TS data is output to the DEMUX / AV decoder unit so as to satisfy the limitations of the audio buffer amount and the video buffer amount in the DEMUX / AV decoder unit. It becomes possible to do.
以下、図面を参照して、この発明の実施例について説明する。 Embodiments of the present invention will be described below with reference to the drawings.
図1は、ブロードバンド放送システムの構成を示している。 FIG. 1 shows the configuration of a broadband broadcast system.
コンテンツサーバ1とクライアント(ブロードバンド放送対応受信機)3とがインターネット2を介して接続されている。サーバ1には、TS(トランスポートストリーム)化したコンテンツが用意されている。クライアント3は、コンテンツサーバ1から送られてきたTSから、AVデータを抽出してデコードするDEMUX・AVデコーダユニット23(図2参照)が設けられたクライアント基板11と、受け取ったコンテンツを表示するための表示用TV12とを備えている。クライアント3からコンテンツサーバ1にコンテンツを要求すると、コンテンツサーバ1は要求されたコンテンツに対応するTSをクライアント3に供給する。
A
図2は、クライアント基板11上でのTSデータの流れを示している。 FIG. 2 shows the flow of TS data on the client board 11.
コンテンツサーバ1から配信されたTSデータは、イーサネット(登録商標)ポート21経由で受信され、出力制御装置22内のバッファ22aに蓄積される。出力制御装置22は、後述するようなTS出力制御を行うことにより、バッファ22aに蓄積されたTSをDEMUX・AVデコーダユニット23に出力する。DEMUX・AVデコーダユニット23は、入力されたTSからAVデータを抽出してデコードした後、表示用TV12に送る。
The TS data distributed from the
図3は、出力制御装置22によるTS出力制御処理手順を示している。
FIG. 3 shows a TS output control processing procedure by the
出力制御装置22に入力されたTSデータは、出力制御装置22内のバッファ22aに蓄積されるものとする。また、出力制御装置22内のメインメモリには、ビットレートB[bps] が予め記憶されているものとする。
It is assumed that TS data input to the
TSデータの受信が開始されると、メインメモリに記憶されているビットレートB[bps] を取得する(ステップ1)。そして、次式(1)に基づいて、取得したビットレートB[bps] から、予め設定されているスリープ時間X[s] 分のパケット数N[pkt] 、つまり、X[s] 内にDEMUX・AVデコーダユニット23に出力すべきパケット数N[pkt] を算出する(ステップ2)。 When reception of TS data is started, the bit rate B [bps] stored in the main memory is acquired (step 1). Then, based on the following equation (1), from the acquired bit rate B [bps], the number of packets N [pkt] for the preset sleep time X [s], that is, DEMUX within X [s] Calculate the number of packets N [pkt] to be output to the AV decoder unit 23 (step 2).
N=(X×B)/(188×8) …(1) N = (X × B) / (188 × 8) (1)
ここでは、TSデータは188バイト(188×8ビット)毎のパケット単位で送出されるものとしている。Nは、小数点以下で四捨五入されるものとする。 Here, it is assumed that TS data is transmitted in packet units of 188 bytes (188 × 8 bits). N shall be rounded off to the nearest decimal place.
次に、バッファ22aに蓄積されているTSデータから、ステップ2で算出したパケット数Nに相当する数のパケットを、DEMUX・AVデコーダユニット23に出力する(ステップ3)。そして、X[s] だけスリープする(ステップ4)。次に、ステップ3でDEMUX・AVデコーダユニット23に送られたパケットに基づいて、DEMUX・AVデコーダユニット23によってPCR(program Clock Reference)が受信されたか否かを判別する(ステップ5)。この実施例では、DEMUX・AVデコーダユニット23がPCRを受信した場合には、DEMUX・AVデコーダユニット23は受信したPCRを出力制御装置22に送るようにしているので、出力制御装置22は、DEMUX・AVデコーダユニット23によってPCRが受信されたか否かを判別できる。
Next, from the TS data stored in the buffer 22a, the number of packets corresponding to the number N of packets calculated in
PCRとは、MPEGシステムの復号器において、時刻基準となるSTC値(基準となる同期情報)を、符号器側で意図した値にセットするための情報をいい、複数パケットに1回の割合でTSヘッダ内のアダプテーションフィールドに書き込まれている。 PCR refers to information for setting an STC value as a time reference (reference synchronization information) to a value intended on the encoder side in a decoder of the MPEG system, at a rate of once per a plurality of packets. It is written in the adaptation field in the TS header.
DEMUX・AVデコーダユニット23によってPCRが受信されていない場合には、ステップ3に戻る。つまり、TSの受信開始から、DEMUX・AVデコーダユニット23が最初のPCRを受信するまでは、ステップ3〜5の処理が繰り返し行われる。
If no PCR is received by the DEMUX / AV decoder unit 23, the process returns to
DEMUX・AVデコーダユニット23によって最初のPCRが受信されると(ステップ5でYES)、受信したPCR内のSTC値を、DEMUX・AVデコーダユニット23内のベーシックカウンタBCにロードして、ベーシックカウンタBCを起動する(ステップ6)。この際、PCR内のSTC値と、ベーシックカウンタBCのカウント値(以下、BC内のSTC値という)とを取得しておく。この後においては、ベーシックカウンタBCは、90kHのクロックによってカウント動作を行う。つまり、ベーシックカウンタBCが起動されると、1/90k[s] 毎にそのカウント値が更新される。 When the first PCR is received by the DEMUX / AV decoder unit 23 (YES in step 5), the STC value in the received PCR is loaded into the basic counter BC in the DEMUX / AV decoder unit 23, and the basic counter BC is loaded. Is started (step 6). At this time, the STC value in the PCR and the count value of the basic counter BC (hereinafter referred to as the STC value in the BC) are acquired. Thereafter, the basic counter BC performs a count operation with a 90 kH clock. That is, when the basic counter BC is activated, the count value is updated every 1/90 k [s].
次に、DEMUX・AVデコーダユニット23によって、次のPCRが受信されたか否かを判別する(ステップ7)。DEMUX・AVデコーダユニット23によって、次のPCRが受信されてない場合には、パケット数Nに相当する数のパケットを、DEMUX・AVデコーダユニット23に出力する(ステップ12)。そして、X[s] だけスリープする(ステップ13)。そして、今回受信すべき全パケットのDEMUX・AVデコーダユニット23への送信が完了した(パケット終了)か否かを判別する(ステップ14)。今回受信すべき全パケットのDEMUX・AVデコーダユニット23への送信が完了していなければ、ステップ7に戻る。ステップ14において、今回受信すべき全パケットのDEMUX・AVデコーダユニット23への送信が完了したと判別した場合には、今回の処理を終了する。 Next, the DEMUX / AV decoder unit 23 determines whether or not the next PCR has been received (step 7). When the next PCR is not received by the DEMUX / AV decoder unit 23, the number of packets corresponding to the number N of packets is output to the DEMUX / AV decoder unit 23 (step 12). Then, it sleeps for X [s] (step 13). Then, it is determined whether or not transmission of all packets to be received this time to the DEMUX / AV decoder unit 23 has been completed (packet end) (step 14). If transmission of all packets to be received this time to the DEMUX / AV decoder unit 23 has not been completed, the process returns to step 7. If it is determined in step 14 that transmission of all packets to be received this time to the DEMUX / AV decoder unit 23 has been completed, the current processing is terminated.
ステップ7において、DEMUX・AVデコーダユニット23によって、次のPCRが受信されたと判別した場合には、DEMUX・AVデコーダユニット23に出力するパケット数Nを補正するための処理(ステップ8〜11)に移行する。 If it is determined in step 7 that the next PCR has been received by the DEMUX / AV decoder unit 23, the processing (steps 8 to 11) is performed to correct the number N of packets to be output to the DEMUX / AV decoder unit 23. Transition.
つまり、まず、現在のBC内のSTC値(PCRの今回受信時におけるBC内のSTC値)と、今回受信したPCR内のSTC値とを取得する(ステップ8)。そして、PCRの前回受信時におけるBC内のSTC値とPCRの今回受信時におけるBC内のSTC値との差ΔBCと、PCRの前回受信時におけるPCR内のSTC値とPCRの今回受信時におけるPCR内のSTC値との差ΔPCRとを求める(ステップ9)。 That is, first, the STC value in the current BC (the STC value in the BC when the PCR is currently received) and the STC value in the PCR received this time are acquired (step 8). The difference ΔBC between the STC value in the BC at the previous reception of the PCR and the STC value in the BC at the current reception of the PCR, the STC value in the PCR at the previous reception of the PCR, and the PCR at the current reception of the PCR A difference ΔPCR from the STC value is obtained (step 9).
そして、ΔBCとΔPCRとの差Dk(Dk=ΔBC−ΔPCR)から、補正パケット数Kを求める(ステップ10)。 Then, the correction packet number K is obtained from the difference Dk (Dk = ΔBC−ΔPCR) between ΔBC and ΔPCR (step 10).
補正パケット数K[pkt] は、次式(2)に基づいて算出される。 The correction packet number K [pkt] is calculated based on the following equation (2).
K=(Dk×B)/(188×8×90k) …(2) K = (Dk × B) / (188 × 8 × 90k) (2)
Kは、小数点以下で四捨五入されるものとする。 K shall be rounded off to the nearest decimal place.
次に、NをN+Kの値に更新する(ステップ11)。そして、ステップ12に移行する。 Next, N is updated to a value of N + K (step 11). Then, the process proceeds to step 12.
上記ステップ8〜11によって、パケット数Nを補正している理由について説明する。仮にこのような補正を行わない場合には、ビットレートBに適合したパケット伝送に比べて誤差が発生する。この誤差が生じる原因には様々な要因があるが、その1つとして送信パケット数Nを四捨五入していることによる誤差が考えられる。例えば、四捨五入を行う前において、N=6.33であれば、四捨五入後にはN=6となる。このような場合には、N=6としてDEMUX・AVデコーダユニット23にパケットを出力していると、DEMUX・AVデコーダユニット内のオーディオバッファおよびビデオバッファがアンダーフローしてしまう。 The reason why the number N of packets is corrected in steps 8 to 11 will be described. If such correction is not performed, an error occurs compared to packet transmission adapted to the bit rate B. There are various factors that cause this error. One of them is an error caused by rounding the number N of transmission packets. For example, if N = 6.33 before rounding, N = 6 after rounding. In such a case, if a packet is output to the DEMUX / AV decoder unit 23 with N = 6, the audio buffer and video buffer in the DEMUX / AV decoder unit will underflow.
また、例えば、四捨五入を行う前において、N=6.55であれば、四捨五入後には、N=7となる。このような場合には、N=7としてDEMUX・AVデコーダユニット23にパケットを出力していると、DEMUX・AVデコーダユニット内のオーディオバッファおよびビデオバッファがオーバーフローしてしまう。その他の誤差が生じる原因としては、高プライオリティーのタスクが動作したときに、BCレジスタを読む際の遅れ等が考えられる。 For example, if N = 6.55 before rounding, N = 7 after rounding. In such a case, if the packet is output to the DEMUX / AV decoder unit 23 with N = 7, the audio buffer and video buffer in the DEMUX / AV decoder unit overflow. Another possible cause of the error is a delay in reading the BC register when a high priority task operates.
このような誤差の発生原因によって、ΔBCとΔPCRとの間に差が生じる。例えば、四捨五入を行う前においてN=6.33であり、四捨五入によってN=6とされた場合には、N=6としてDEMUX・AVデコーダユニット23にパケットを出力していると、ΔBC>ΔPCRとなり、Dk>0となるため、Nが増加せしめられる。 Due to the cause of such an error, a difference occurs between ΔBC and ΔPCR. For example, if N = 6.33 before rounding and N = 6 by rounding, if N = 6 and the packet is output to the DEMUX / AV decoder unit 23, ΔBC> ΔPCR. Since Dk> 0, N is increased.
1 コンテンツサーバ
2 インターネット
3 クライアント
11 クライアント基板
12 表示用TV
21 イーサネット(登録商標)ポート
22 出力制御装置
22a バッファ
23 DEMUX・AVデコーダユニット
1
21 Ethernet (registered trademark)
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003335363A JP2005102053A (en) | 2003-09-26 | 2003-09-26 | Video display device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003335363A JP2005102053A (en) | 2003-09-26 | 2003-09-26 | Video display device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005102053A true JP2005102053A (en) | 2005-04-14 |
Family
ID=34462759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003335363A Pending JP2005102053A (en) | 2003-09-26 | 2003-09-26 | Video display device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005102053A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554517A (en) * | 2015-12-03 | 2016-05-04 | 浙江大华技术股份有限公司 | Method and device for sending video stream |
-
2003
- 2003-09-26 JP JP2003335363A patent/JP2005102053A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105554517A (en) * | 2015-12-03 | 2016-05-04 | 浙江大华技术股份有限公司 | Method and device for sending video stream |
CN105554517B (en) * | 2015-12-03 | 2018-09-28 | 浙江大华技术股份有限公司 | A kind of video flow sending method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7069574B1 (en) | System time clock capture for computer satellite receiver | |
JP3925311B2 (en) | Data distribution system | |
US8199781B2 (en) | Device and method for demultiplexing received transport stream in digital broadcasting receiver | |
US7321602B2 (en) | Apparatus and method for inserting null packet in digital broadcasting transmission system | |
US20060007958A1 (en) | Multiplexing method and apparatus to generate transport stream | |
US20180027285A1 (en) | Decoding device, reception device, transmission device, transmission/reception system, decoding method, and storage medium having decoding program stored therein | |
US8842740B2 (en) | Method and system for fast channel change | |
JP2010171919A (en) | Video display apparatus | |
WO2017163888A1 (en) | Reception device, data processing method, and transmission/reception system | |
JP2005102053A (en) | Video display device | |
US20130003867A1 (en) | Video display device | |
JP3350365B2 (en) | Video synchronization signal correction device | |
US7139241B1 (en) | Method for preventing buffer underflow during digital transport stream transmission, multiplexing and splicing | |
US20080080375A1 (en) | Reception control method and receiving apparatus | |
JP2007274536A (en) | Receiver and transmission/reception method | |
JP2009077108A (en) | Receiver, receiving method and computer program | |
JP2008294799A (en) | Multiplexing transmitter | |
JP2008263404A (en) | Receiver and reception method | |
JP2005136913A (en) | Digital broadcast receiving apparatus and its control method | |
JP5082969B2 (en) | Receiving device, receiving method, and program | |
JP2017143509A (en) | Method and device for detecting packet loss in stagger-cast | |
JP2011501888A (en) | Method and apparatus for receiving and transmitting signals transmitted in the form of multiple bursts in time slice mode | |
KR100735228B1 (en) | System synchronization apparatus and method for multimedia player | |
JP2015216654A (en) | Apparatus and method for tuning to channel of moving pictures expert group (mpeg) transport stream (mpeg-ts) | |
US8046623B2 (en) | Timing recovery apparatus and method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20050905 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20071207 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20071212 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080212 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20080327 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080507 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20080911 |