[go: up one dir, main page]

JP2006262465A - Apparatus and method for performing video synchronization by parsing a time stamp from a packet stored in a buffer - Google Patents

Apparatus and method for performing video synchronization by parsing a time stamp from a packet stored in a buffer Download PDF

Info

Publication number
JP2006262465A
JP2006262465A JP2006064300A JP2006064300A JP2006262465A JP 2006262465 A JP2006262465 A JP 2006262465A JP 2006064300 A JP2006064300 A JP 2006064300A JP 2006064300 A JP2006064300 A JP 2006064300A JP 2006262465 A JP2006262465 A JP 2006262465A
Authority
JP
Japan
Prior art keywords
packet
buffer
time stamp
extracted
time
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
Application number
JP2006064300A
Other languages
Japanese (ja)
Inventor
Ji Hee Hwang
芝 希 黄
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.)
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from KR1020050021067A external-priority patent/KR20060099687A/en
Application filed by Samsung Electronics Co Ltd filed Critical Samsung Electronics Co Ltd
Publication of JP2006262465A publication Critical patent/JP2006262465A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

【課題】バッファに貯蔵されたパケットからタイムスタンプをパーシングしてビデオ同期化を遂行する装置及び方法を提供する。
【解決手段】MPEG PESの複数のパケットをバッファに貯蔵する段階と、バッファから貯蔵されたパケットを引き出す段階と、引き出されたパケットをパーシングしてタイムスタンプを復元する段階と、復元されたタイムスタンプと基準時間とを比較する段階と、復元されたタイムスタンプと基準時間の比較結果によって引き出されたパケットのデータをデコーディングすることを制御する段階とを含む。従って、両方向コーディングを考慮する必要がなく、PTSのみを比較/制御部に伝達しても良いため、ビデオ伝送時よりも動作を単純化できる。
【選択図】図3
An apparatus and method for performing video synchronization by parsing a time stamp from a packet stored in a buffer.
Storing a plurality of MPEG PES packets in a buffer; extracting a packet stored from the buffer; parsing the extracted packet to restore a timestamp; and a restored timestamp And a reference time, and a step of controlling decoding of the data of the packet extracted by the comparison result between the restored time stamp and the reference time. Therefore, it is not necessary to consider bidirectional coding, and only the PTS may be transmitted to the comparison / control unit, so that the operation can be simplified as compared with video transmission.
[Selection] Figure 3

Description

本発明は、ディジタル圧縮方法に係り、より詳しくは、圧縮されたディジタル情報を同期化デコーディングする方法に関する。   The present invention relates to a digital compression method, and more particularly, to a method for synchronously decoding compressed digital information.

動映像を圧縮に関する標準であるMPEG−2規格は、ディジタルテレビジョン(DTV)放送システムに適用され、この規格を適用したDTVレシーバが開発されている。MPEG−2は、他の多様なビデオ及びオーディオ伝送装置に使用されている。   The MPEG-2 standard, which is a standard for compressing moving images, is applied to a digital television (DTV) broadcasting system, and a DTV receiver to which this standard is applied has been developed. MPEG-2 is used in various other video and audio transmission devices.

一般的なMPEG−2伝送で、エレメンタリストリーム(Elementary Stream;ES)(すなわち、オーディオ、ビデオ及び/又はデータストリーム)はパケット化されて、パケット化されたエレメンタリストリーム(Packetized Elementary Stream;PES)を形成する。エレメンタリストリーム(ES)は、伝送ストリーム(Transport Stream;TS)の他のパケット化されたエレメンタリストリーム(PES)と共に多重化される。ここで、伝送ストリーム(TS)は、無線、有線又は光ケーブルなどの通信媒体を介して連続的に伝送されるストリームを言う。ビデオ装置で、パケット化されたエレメンタリストリームは、ピクチャスタートコード(PSC)と多くの種類のタイムスタンプとを含む。ここで、ピクチャスタートコードは、映像データの開始を表示するためのコードである。このようなタイムスタンプは、DTS(Decoding Time Stamp)とPTS(Presentation Time Stamp)とを含む。DTSは、デコーディング時点を示すタイムスタンプであり、PTSはエンコーディングされた映像のディスプレイ時間を示す。一般に、DTSとPTSとは、全てI−ピクチャ(Intra−Coded Pictures)とP−ピクチャ(Predictive−coded Pictures)に用いられるために伝送される。しかしながら、PTSは、B−ピクチャ(Bidirectionally predictive−coded Pictures)に用いられるために伝送される。一般的なデコーダは、エレメンタリストリームデータとタイムスタンプとをPESから抽出する。抽出されたエレメンタリストリームデータは、バッファに貯蔵され、抽出されたタイムスタンプはメモリに貯蔵される。タイムスタンプは、デコーディングのためにエレメンタリストリームデータを選択的に出力するのに使用するバッファのポインタと連関する。   In general MPEG-2 transmission, an elementary stream (ES) (that is, an audio, video and / or data stream) is packetized, and a packetized elementary stream (PES). Form. The elementary stream (ES) is multiplexed together with other packetized elementary streams (PES) of the transport stream (TS). Here, the transmission stream (TS) refers to a stream that is continuously transmitted via a communication medium such as wireless, wired, or optical cable. In a video device, a packetized elementary stream includes a picture start code (PSC) and many types of time stamps. Here, the picture start code is a code for displaying the start of video data. Such a time stamp includes a DTS (Decoding Time Stamp) and a PTS (Presentation Time Stamp). DTS is a time stamp indicating a decoding time point, and PTS indicates a display time of encoded video. In general, DTS and PTS are all transmitted for use in I-pictures (Intra-Coded Pictures) and P-pictures (Predictive-coded Pictures). However, the PTS is transmitted for use in B-pictures (Bidirectionally predictive-coded pictures). A general decoder extracts elementary stream data and a time stamp from the PES. The extracted elementary stream data is stored in a buffer, and the extracted time stamp is stored in a memory. The time stamp is associated with a pointer to a buffer used to selectively output elementary stream data for decoding.

このようなプロセスに使用する一般的なレシーバの構造が図1に示されている。伝送ストリーム逆多重化部(Transport Stream Demultiplexer)10は、伝送ストリームデパケット化部(Transport Stream Depacketizer)11とPES逆多重化部12とを含む。伝送ストリームデパケット化部11は、入力されたTSを多重化してPESを作る。PES逆多重化部12は、PESのパケットヘッダをパーシングし、抽出されたヘッダ情報(タイムスタンプを含む)をタイムスタンプメモリ40に貯蔵する。また、PES逆多重化部12は、抽出されたエレメンタリストリームデータをESバッファ20に貯蔵する。タイムスタンプ抽出部50は、タイムスタンプメモリ40に貯蔵されたヘッダ情報からタイムスタンプを抽出して貯蔵する。抽出されたタイムスタンプは比較/制御部60に伝達される。デコーダ30は、ESバッファ20に貯蔵されたエレメンタリデータをデコーディングするとき同期化のためタイムスタンプを使用する。比較/制御部60は、基準時間とタイムスタンプに貯蔵されたSTC(System Time Clock)とを比較してバッファリングされたエレメンタリストリームデータをデコーディングし、ディスプレイするための制御信号を発生する場合に用いられる。デコーダ30は、このような制御信号に応答して、ESバッファ20に貯蔵されたエレメンタリストリームをデコーディングし、デコーディングされたデータをディスプレイ装置70に提供する。これにより、ディスプレイ装置70は、デコーディングされたデータを画面に表示する。   A typical receiver structure for use in such a process is shown in FIG. The transport stream demultiplexer (Transport Stream Demultiplexer) 10 includes a transport stream depacketizer 11 and a PES demultiplexer 12. The transport stream depacketizer 11 multiplexes the input TS to create a PES. The PES demultiplexer 12 parses the PES packet header and stores the extracted header information (including the time stamp) in the time stamp memory 40. Further, the PES demultiplexer 12 stores the extracted elementary stream data in the ES buffer 20. The time stamp extraction unit 50 extracts a time stamp from the header information stored in the time stamp memory 40 and stores it. The extracted time stamp is transmitted to the comparison / control unit 60. The decoder 30 uses the time stamp for synchronization when decoding the elementary data stored in the ES buffer 20. The comparison / control unit 60 compares the reference time and an STC (System Time Clock) stored in the time stamp to decode the buffered elementary stream data and generate a control signal for display Used for. In response to such a control signal, the decoder 30 decodes the elementary stream stored in the ES buffer 20 and provides the decoded data to the display device 70. Accordingly, the display device 70 displays the decoded data on the screen.

図1に示されたシステムにおいて、タイムスタンプは、図2に示されたようにポインタを用いて対応するエレメンタリストリームデータのESバッファ20内の貯蔵位置に連関するようにタイムスタンプメモリ40に貯蔵される。比較/制御部60は、エレメンタリデータがESバッファ20から出力されてデコーダ30に伝達されるように制御するため、タイムスタンプメモリ40からデコーディングされるエレメンタリストリームデータと連関しているタイムスタンプを探してSTCと比較する。これと類似した内容が特許文献1に開示されている。また、特許文献2には入力パケットをパーシングし、タイムスタンプを分析することに関する技術が掲載されている。
米国特許第6,091,769号 米国特許第5,667,980号
In the system shown in FIG. 1, the time stamp is stored in the time stamp memory 40 so as to be associated with the storage position in the ES buffer 20 of the corresponding elementary stream data using the pointer as shown in FIG. Is done. The comparison / control unit 60 controls the elementary data to be output from the ES buffer 20 and transmitted to the decoder 30, so that the time stamp associated with the elementary stream data decoded from the time stamp memory 40 is used. And compare with STC. Similar contents are disclosed in Patent Document 1. Japanese Patent Application Laid-Open No. H10-228561 discloses a technique related to parsing an input packet and analyzing a time stamp.
US Pat. No. 6,091,769 US Pat. No. 5,667,980

本発明の技術的課題は、MPEGビデオ又はオーディオPESのようなパケット化されたコードストリームを処理する方法を提供することにある。   The technical problem of the present invention is to provide a method for processing a packetized code stream such as MPEG video or audio PES.

前述した技術的課題を達成するための本発明の特徴によれば、暗号ストリーム処理方法は、暗号ストリームの複数のパケットをバッファに貯蔵する段階と、バッファから貯蔵されたパケットを引き出す段階と、引き出されたパケットをパーシングしてタイムスタンプを復元する段階と、復元されたタイムスタンプと基準時間とを比較する段階と、復元されたタイムスタンプと基準時間との比較結果によって引き出されたパケットのデータをデコーディングすることを制御する段階とを含む。ここで、貯蔵されたパケットを引き出す段階は、バッファから先ず引き出されたパケットのタイムスタンプと基準時間とを比較した先行比較結果によってバッファから貯蔵されたパケットを引き出す段階を含む。一実施形態において、基準時間と復元されたタイムスタンプとの比較結果によって引き出されたパケットのデータをデコーディングすることを制御する段階は、基準時間より以前時間を示すタイムスタンプに対応するパケットを先ずデコーディングすることと、基準時間と一致する時間を示すタイムスタンプに対応するパケットをデコーディングすることと、基準時間後の時間を示すタイムスタンプに対応するパケットをデコーディングしてバッファリングすることを含む。   According to the characteristics of the present invention for achieving the technical problem described above, a method for processing an encrypted stream includes a step of storing a plurality of packets of the encrypted stream in a buffer, a step of extracting the stored packet from the buffer, and an extraction. The packet is extracted by parsing the recovered packet and restoring the timestamp, comparing the restored timestamp with the reference time, and comparing the restored timestamp with the reference time. Controlling the decoding. Here, the step of pulling out the stored packet includes the step of pulling out the stored packet from the buffer according to the result of the preceding comparison in which the time stamp of the packet first extracted from the buffer is compared with the reference time. In one embodiment, the step of controlling the decoding of the packet data derived from the comparison result between the reference time and the recovered time stamp includes firstly selecting a packet corresponding to a time stamp indicating a time before the reference time. Decoding, decoding a packet corresponding to a time stamp indicating a time corresponding to the reference time, and decoding and buffering a packet corresponding to a time stamp indicating a time after the reference time. Including.

他の実施形態において、暗号ストリーム処理方法は、バッファに暗号ストリームの複数のパケットを貯蔵する段階と、バッファから貯蔵されたパケットを順次に処理する段階とを含む。この順次に処理する段階は、バッファから貯蔵されたパケットを順次に引き出す段階と、引き出されたパケットそれぞれをパーシングしてタイムスタンプを復元する段階と、復元されたタイムスタンプそれぞれを基準時間と比較する段階と、復元されたタイムスタンプそれぞれと基準時間との比較結果によって引き出されたパケットを選択的にデコーディングする段階とを含む。ここで、バッファに貯蔵されたパケットを順次に処理する段階は、バッファから先ず引き出されたパケットのタイムスタンプと基準時間とを比較した先行比較結果によってバッファから貯蔵されたパケットを引き出す段階を含む。   In another embodiment, the cryptographic stream processing method includes storing a plurality of packets of the cryptographic stream in a buffer and sequentially processing the packets stored from the buffer. The sequential processing includes sequentially extracting packets stored from the buffer, parsing each extracted packet to restore a time stamp, and comparing each restored time stamp with a reference time. And a step of selectively decoding a packet extracted according to a comparison result between each restored time stamp and a reference time. Here, the step of sequentially processing the packets stored in the buffer includes the step of extracting the packet stored from the buffer according to the result of the preceding comparison in which the time stamp of the packet first extracted from the buffer is compared with the reference time.

他の実施形態において、パケット化された暗号ストリーム処理装置は、暗号ストリームの複数のパケットを含むバッファから貯蔵されたパケットを順次に引き出し、引き出されたパケットそれぞれをパーシングしてタイムスタンプを復元し、復元されたタイムスタンプそれぞれを基準時間と比較し、復元されたタイムスタンプそれぞれと基準時間との比較結果によって引き出されたパケットを選択的にデコーディングするプロセッサを含む。ここで、このプロセッサは、バッファから先ず引き出されたパケットのタイムスタンプと基準時間とを比較した先行比較結果によってバッファから貯蔵されたパケットを引き出す。   In another embodiment, the packetized cryptographic stream processing apparatus sequentially retrieves the stored packets from a buffer including a plurality of packets of the cryptographic stream, parses each extracted packet, and restores the time stamp. A processor is included that compares each restored timestamp with a reference time and selectively decodes a packet derived from the comparison result between each restored timestamp and the reference time. Here, the processor retrieves the packet stored from the buffer according to the result of the preceding comparison in which the time stamp of the packet first extracted from the buffer is compared with the reference time.

他の実施形態において、暗号ストリーム処理プログラムを貯蔵する貯蔵媒体は、暗号ストリームの複数のパケットを含むバッファから貯蔵されたパケットを順次に引き出し、引き出されたパケットそれぞれをパーシングしてタイムスタンプを復元し、復元されたタイムスタンプそれぞれを基準時間と比較し、復元されたタイムスタンプそれぞれと基準時間との比較結果によって引き出されたパケットを選択的にデコーディングするプログラムコードを含む。ここで、プログラムコードは、バッファから先ず引き出されたパケットのタイムスタンプと基準時間とを比較した先行比較結果によってバッファから貯蔵されたパケットを引き出す。   In another embodiment, the storage medium storing the cryptographic stream processing program sequentially extracts the stored packets from a buffer including a plurality of packets of the cryptographic stream, and parses each extracted packet to restore the time stamp. Each of the restored time stamps is compared with a reference time, and a program code for selectively decoding a packet extracted based on a comparison result between each restored time stamp and the reference time is included. Here, the program code retrieves the packet stored from the buffer based on the result of the preceding comparison that compares the time stamp of the packet first extracted from the buffer with the reference time.

本発明のバッファに貯蔵されたパケットからタイムスタンプをパーシングしてビデオ同期化を実行する装置及び方法は、両方向コーディングを考慮する必要がなく、PTSのみを比較/制御部に伝達しても良いため、ビデオ伝送時よりも動作を単純化できる。   The apparatus and method for performing the video synchronization by parsing the time stamp from the packet stored in the buffer of the present invention does not need to consider bidirectional coding, and may transmit only the PTS to the comparison / control unit. The operation can be simplified compared to video transmission.

以下、添付した図面を参照して本発明の好適な実施形態を詳細に説明する。しかしながら、本発明は、以下で開示される実施形態に限定されるものではなく、相異なる多様な形態で実現されるものであり、本実施形態は、本発明の開示が完全となり、当業者に発明の範疇を完全に知らせるために提供されるものであり、本発明は、特許請求の範囲の記載に基づいて決められなければならない。なお、明細書全体にかけて同一参照符号は同一構成要素を示すものとする。   Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below, but can be realized in various different forms. The present embodiment is intended to complete the disclosure of the present invention, and to those skilled in the art. The present invention is provided to fully inform the scope of the invention, and the present invention should be determined based on the description of the claims. Note that the same reference numerals denote the same components throughout the specification.

図3は、本発明の一実施形態によってビデオエンコーディング、伝送そしてデコーディングのためのシステム(例えば、ディジタルテレビジョンシステム)のレシーバを示すブロック図である。MPEGエンコーダ312から発生したエンコーディングされたビデオエレメンタリストリームは、パケット化部314でパケット化される。パケット化されたエレメンタリストリームは、伝送ストリーム多重化部316で他のストリームと共に多重化されて伝送ストリームになる。このような作業は、この技術の属する分野の当業者によく知られた内容であり、詳細な内容説明は省略する。   FIG. 3 is a block diagram illustrating a receiver of a system (eg, a digital television system) for video encoding, transmission, and decoding according to an embodiment of the present invention. The encoded video elementary stream generated from the MPEG encoder 312 is packetized by the packetizing unit 314. The packetized elementary stream is multiplexed together with other streams by the transmission stream multiplexing unit 316 to become a transmission stream. Such work is well-known to those skilled in the art to which this technology belongs, and detailed description thereof is omitted.

伝送ストリームは、伝送経路315を介して伝送ストリーム逆多重化部322に伝達される。伝送ストリーム逆多重化部322は、例えば受信機(レシーバ)に含まれる。伝送経路315は、例えばミキサ、送信器(Transmitter)、アンテナ、媒体変換器(Media Transducers)、ダウンコンバータ、復号化器などを含むことができる。また、伝送経路315は、無線、有線、又は光ケーブル、レコーディング媒体(例えば、マグネチック貯蔵媒体、半導体貯蔵媒体、光学的貯蔵媒体など)を含む。伝送ストリーム逆多重化部322は、TSを逆多重化してPESを復旧する。PESのパケットは、PESパケットバッファ324に貯蔵される。PESパケットバッファ324に貯蔵されたPESパケットは、同期化部326によって復元される。同期化部326は、PESパケットを用いてビデオデータを復元し、デコーディング及び映像生成部328に伝達する。デコーディング及び映像生成部328は、パケットに含まれたタイムスタンプと同期化部326から伝達されたSTCとを比較して、入力されたビデオデータのデコーディング及び再生が時間上に先立つか、或いは遅くならないように制御する。   The transmission stream is transmitted to the transmission stream demultiplexing unit 322 via the transmission path 315. The transmission stream demultiplexing unit 322 is included in, for example, a receiver (receiver). The transmission path 315 may include, for example, a mixer, a transmitter, an antenna, a media converter, a down converter, and a decoder. In addition, the transmission path 315 includes a wireless, wired, or optical cable, a recording medium (for example, a magnetic storage medium, a semiconductor storage medium, an optical storage medium, etc.). The transport stream demultiplexer 322 recovers the PES by demultiplexing the TS. The PES packet is stored in the PES packet buffer 324. The PES packet stored in the PES packet buffer 324 is restored by the synchronization unit 326. The synchronization unit 326 restores the video data using the PES packet and transmits the video data to the decoding and video generation unit 328. The decoding and image generation unit 328 compares the time stamp included in the packet with the STC transmitted from the synchronization unit 326, and the decoding and reproduction of the input video data precedes in time, or Control so as not to slow down.

図4は、本発明の他の実施形態によるレシーバ400を含むビデオエンコーディング、伝送、デコーディングシステムを示すブロック図である。レシーバ400は、伝送ストリーム逆多重化部410を含む。伝送ストリーム逆多重化部410は、TSを逆多重化してPESを発生する。PESのパケットは、PESパケットバッファ420に貯蔵される。同期化部430は、PESパケットバッファ420からパケットが入力されてビデオデータを抽出する。また、同期化部430は、抽出したビデオデータをデコーダ440に伝達する。同期化部430は、入力されたパケットからタイムスタンプを抽出して比較/制御部450に伝達する。比較制御部450は、デコーダ440に制御信号を発生する。比較/制御部450は、タイムスタンプとシステムタイムクロックとを比較し、デコーダ440に制御信号を発生する。デコーダ440は、制御信号に応答してペイロードをデコーディングし、デコーディングされた映像データを映像生成部460に出力する。   FIG. 4 is a block diagram illustrating a video encoding, transmission, and decoding system including a receiver 400 according to another embodiment of the present invention. The receiver 400 includes a transmission stream demultiplexer 410. The transmission stream demultiplexing unit 410 demultiplexes TS to generate PES. The PES packet is stored in the PES packet buffer 420. The synchronization unit 430 receives the packet from the PES packet buffer 420 and extracts video data. In addition, the synchronization unit 430 transmits the extracted video data to the decoder 440. The synchronization unit 430 extracts a time stamp from the input packet and transmits it to the comparison / control unit 450. The comparison controller 450 generates a control signal for the decoder 440. The comparison / control unit 450 compares the time stamp with the system time clock and generates a control signal for the decoder 440. The decoder 440 decodes the payload in response to the control signal, and outputs the decoded video data to the video generation unit 460.

図5は、本発明の一実施形態によって図4に示されたレシーバの同期化部430´を示すブロック図である。同期化部430´はシンタックスプロセッサ432を含む。シンタックスプロセッサ432は、PESパケットバッファ420から出力されたPESのパケットをパーシングしてヘッダとペイロードとを抽出する。抽出されたヘッダは、タイムスタンプを含み、ヘッダ貯蔵部434に貯蔵される。PESパケットのパーシング時にシンタックスプロセッサ432は、マイクロプロセッサ436にインタラプトを送る。マイクロプロセッサ436は、ヘッダ貯蔵部434に貯蔵されたヘッダからタイムスタンプを抽出して、タイムスタンプ貯蔵部438に臨時的に貯蔵する。貯蔵されたタイムスタンプは比較/制御部450に伝達される。   FIG. 5 is a block diagram illustrating the receiver synchronization unit 430 ′ illustrated in FIG. 4 according to an exemplary embodiment of the present invention. The synchronization unit 430 ′ includes a syntax processor 432. The syntax processor 432 parses the PES packet output from the PES packet buffer 420 and extracts a header and a payload. The extracted header includes a time stamp and is stored in the header storage unit 434. The syntax processor 432 sends an interrupt to the microprocessor 436 when parsing the PES packet. The microprocessor 436 extracts a time stamp from the header stored in the header storage unit 434 and temporarily stores it in the time stamp storage unit 438. The stored time stamp is transmitted to the comparison / control unit 450.

比較/制御部450に伝達されたタイムスタンプ(例えば、PTS又はDTS)は、映像のタイプによって変わる。例えば、両方向コーディングが不要な場合に(すなわち、B−ピクチャがない場合に)、マイクロプロセッサ436は、I−ピクチャとP−ピクチャのためのPTSを抽出して比較/制御部450に伝達する。しかしながら、両方向コーディングが必要な場合に(すなわち、PESパケットがB−ピクチャを含む場合に)I−ピクチャとP−ピクチャとが先ずデコーディングされなければならない。なぜならば、I−ピクチャとP−ピクチャとがB−ピクチャのソースデータとして役割を果たすためである。PTSは、映像データがデコーダ440で出力される時点を示す。DTSは映像データがデコーディングされる時点を示す。従って、同期化部430は、I−ピクチャとP−ピクチャとに関するDTS及び/又はPTSを抽出して比較/制御部450に伝達する。DTS及び/又はPTSはSTCと比較される。   The time stamp (for example, PTS or DTS) transmitted to the comparison / control unit 450 varies depending on the type of video. For example, when bi-directional coding is not required (ie, when there is no B-picture), the microprocessor 436 extracts the PTS for the I-picture and the P-picture and transmits the PTS to the comparison / control unit 450. However, when bi-directional coding is required (ie when the PES packet contains a B-picture), the I-picture and P-picture must first be decoded. This is because I-pictures and P-pictures serve as source data for B-pictures. PTS indicates a point in time when video data is output by the decoder 440. DTS indicates a point in time when video data is decoded. Accordingly, the synchronization unit 430 extracts the DTS and / or PTS related to the I-picture and the P-picture and transmits the extracted DTS and / or PTS to the comparison / control unit 450. DTS and / or PTS is compared to STC.

図6は、本発明の他の実施形態によるデコーディング動作を示す流れ図である。図4及び図5と共に図6を参照すれば、複数のPESパケットは、PESパケットバッファ420に貯蔵される(610)。PESパケットは、PESパケットバッファ420から引き出される(620)。シンタックスプロセッサ432は、引き出されたパケットをパーシングし、ヘッダ情報とペイロードとを抽出する。また、シンタックスプロセッサ432は、抽出されたヘッダ情報をヘッダ貯蔵部434に貯蔵し、ペイロードをデコーダ440に伝達する(630)。シンタックスプロセッサ432は、パーシング時にインタラプトをマイクロプロセッサ436に送る(640)。マイクロプロセッサ436は、ヘッダ貯蔵部438に貯蔵されたヘッダ情報から対応するタイムスタンプを抽出して比較/制御部450に伝達する(650)。比較/制御部450は、タイムスタンプをSTCと比較し(660)、比較結果によってデコーダ440を制御する。すなわち、比較/制御部450は、デコーダが映像データをデコーディングするか、なければスキップ又は反復することであるか否かを決定する(670)。シンタックスプロセッサ432は、バッファ420に貯蔵されたパケットを順次に引き出して前述したプロセッサを反復する(630〜670)。   FIG. 6 is a flowchart illustrating a decoding operation according to another embodiment of the present invention. Referring to FIG. 6 together with FIGS. 4 and 5, a plurality of PES packets are stored in the PES packet buffer 420 (610). The PES packet is extracted from the PES packet buffer 420 (620). The syntax processor 432 parses the extracted packet and extracts header information and a payload. The syntax processor 432 stores the extracted header information in the header storage unit 434, and transmits the payload to the decoder 440 (630). The syntax processor 432 sends an interrupt to the microprocessor 436 during parsing (640). The microprocessor 436 extracts a corresponding time stamp from the header information stored in the header storage unit 438 and transmits it to the comparison / control unit 450 (650). The comparison / control unit 450 compares the time stamp with the STC (660), and controls the decoder 440 according to the comparison result. That is, the comparison / control unit 450 determines whether the decoder is to decode the video data or to skip or repeat (670). The syntax processor 432 sequentially extracts the packets stored in the buffer 420 and repeats the above-described processor (630 to 670).

本発明の一実施形態において、シンタックスプロセッサ432は、一定に増加するポインタによって先入先出方式でPESパケットをPESパケットバッファ420から引き出す。しかしながら、シンタックスプロセッサ432がPESバッファからPESパケットを引き出す方式は変えることもでき、タイムスタンプとSTCとの比較結果によって選択的にPESパケットを引き出すこともできる。例えば、比較結果STCより遅い時点のパケットがPESパケットバッファ420から引き出されると判断すれば、シンタックスプロセッサ432は、STCに合わせるため、幾つかのパケットの引き出しを飛び越えても良い。すなわち、シンタックスプロセッサ432は、バッファをアクセスする場合に用いられるポインタ値を増加させてSTCに一致する後順位パケットを引き出しても良い。もし比較結果が、STCより早い時点のパケットが引き出されると判断すれば、シンタックスプロセッサ432は、ポインタ値をホールドし、同一のパケットが所定時間の間出力されるようにしても良い。   In one embodiment of the present invention, the syntax processor 432 extracts PES packets from the PES packet buffer 420 in a first-in first-out manner with a constantly increasing pointer. However, the method by which the syntax processor 432 extracts the PES packet from the PES buffer can be changed, and the PES packet can be selectively extracted based on the comparison result between the time stamp and the STC. For example, if it is determined that a packet at a time later than the comparison result STC is extracted from the PES packet buffer 420, the syntax processor 432 may skip the extraction of some packets in order to match the STC. In other words, the syntax processor 432 may increase the pointer value used when accessing the buffer to extract a rear-order packet that matches the STC. If it is determined that the packet at the time point earlier than the STC is extracted, the syntax processor 432 may hold the pointer value so that the same packet is output for a predetermined time.

比較/制御部450は、デコーダ440を他の方式で制御する。例えば、タイムスタンプとSTCとの比較結果タイムスタンプがSTCより遅い場合に(すなわち、タイムスタンプがSTCより大きい場合に)、比較/制御部450は、デコーダ440が当該映像データ(ペイロード)をデコーディング及び遅延して映像生成部460に出力するように制御する。逆に、タイムスタンプがSTCより早い場合に(すなわち、タイムスタンプがSTCより小さい場合に)は、比較/制御部450は、デコーダ440が当該映像データのデコーディングをスキップするように制御する。タイムスタンプとSTCとが一致する場合には、比較/制御部450は、デコーダ440が当該映像データをデコーディングして映像生成部460に出力するようにする。このような方式の利点は、バッファリングされたPESパケットのタイムスタンプをパーシングしながら、同時にSTCと個別的に比較できることである。従って、メモリなどに貯蔵されたタイムスタンプを検索及び引き出してSTCと比較する方式の従来技術で発生できる同期化誤謬の問題を克服できる。   The comparison / control unit 450 controls the decoder 440 by another method. For example, when the comparison result time stamp is later than the STC (that is, when the time stamp is larger than the STC), the comparison / control unit 450 causes the decoder 440 to decode the video data (payload). Then, control is performed so that the output to the video generation unit 460 is delayed. Conversely, when the time stamp is earlier than the STC (that is, when the time stamp is smaller than the STC), the comparison / control unit 450 controls the decoder 440 to skip decoding of the video data. If the time stamp matches the STC, the comparison / control unit 450 causes the decoder 440 to decode the video data and output the decoded video data to the video generation unit 460. The advantage of such a scheme is that it can be individually compared with the STC while parsing the time stamp of the buffered PES packet. Therefore, it is possible to overcome the problem of synchronization error that can occur in the prior art in which a time stamp stored in a memory or the like is retrieved and extracted and compared with the STC.

本発明の他の実施形態によれば、前述したプロセッサをオーディオストリームにも同様に適用できる。図7は、本発明の他の実施形態によってオーディオエンコーディング、伝送及びデコーディングを実行するシステムを示すブロック図である。MPEGエンコーダ712でエンコーディングされたオーディオエレメンタリストリームは、パケット化部714でパケット化されPESになる。伝送ストリーム多重化部716は、PESを他のストリームと共に多重化して伝送ストリームを生成する。   According to another embodiment of the present invention, the above-described processor can be similarly applied to an audio stream. FIG. 7 is a block diagram illustrating a system for performing audio encoding, transmission, and decoding according to another embodiment of the present invention. The audio elementary stream encoded by the MPEG encoder 712 is packetized by the packetizing unit 714 to become a PES. The transmission stream multiplexing unit 716 multiplexes the PES with other streams to generate a transmission stream.

TSは、伝送経路715を介して伝送ストリーム逆多重化部722に伝送される。伝送ストリーム逆多重化部は、例えばレシーバに含まれる。伝送経路715は、例えばミキサ、送信器、アンテナ、媒体変換器、ダウンコンバータ、復号化器などを含むことができる。また、伝送経路715は、無線、有線、又は光ケーブル、レコーディング媒体(例えば、マグネチック貯蔵媒体、半導体貯蔵媒体、光学的貯蔵媒体など)を含む。伝送ストリーム逆多重化部722は、TSを逆多重化してPESを復旧する。PESのパケットは、PESパケットバッファ724に貯蔵される。PESパケットバッファ724に貯蔵されたPESパケットは、同期化部726によって復元される。同期化部726は、PESパケットを用いてオーディオデータを復元し、デコーディング及び音響生成部728に伝達する。デコーディング及び音響生成部728は、パケットに含まれたタイムスタンプと同期化部726から伝達されたSTCとを比較して、入力されたオーディオデータのデコーディング及び再生が時間上に先立つか、或いは遅くならないように制御する。   The TS is transmitted to the transmission stream demultiplexing unit 722 via the transmission path 715. The transmission stream demultiplexer is included in, for example, a receiver. The transmission path 715 can include, for example, a mixer, a transmitter, an antenna, a media converter, a down converter, a decoder, and the like. In addition, the transmission path 715 includes a wireless, wired, or optical cable, a recording medium (for example, a magnetic storage medium, a semiconductor storage medium, an optical storage medium, etc.). The transmission stream demultiplexing unit 722 restores the PES by demultiplexing the TS. The PES packet is stored in the PES packet buffer 724. The PES packet stored in the PES packet buffer 724 is restored by the synchronization unit 726. The synchronization unit 726 restores audio data using the PES packet and transmits the audio data to the decoding and sound generation unit 728. The decoding and sound generation unit 728 compares the time stamp included in the packet with the STC transmitted from the synchronization unit 726, and the decoding and reproduction of the input audio data precedes in time, or Control so as not to slow down.

図8は、本発明の他の実施形態によるレシーバ800を含むオーディオエンコーディング、伝送、デコーディングシステムを示すブロック図である。レシーバ800は、伝送ストリーム逆多重化部810を含む。伝送ストリーム逆多重化部810は、TSを逆多重化してPESを発生する。PESのパケットは、PESパケットバッファ820に貯蔵される。同期化部830は、PESパケットバッファ820からパケットが入力されてオーディオデータを抽出する。また、同期化部830は、抽出したオーディオデータをデコーダ840に伝達する。同期化部430は、入力されたパケットからタイムスタンプを抽出して比較/制御部850に伝達する。比較制御部850は、デコーダ840に制御信号を発生する。比較/制御部850は、タイムスタンプとシステムタイムクロックとを比較し、デコーダ840に制御信号を発生する。デコーダ840は、制御信号に応答してペイロードをデコーディングし、デコーディングされた音響データをオーディオ生成部860に出力する。   FIG. 8 is a block diagram illustrating an audio encoding, transmission, and decoding system including a receiver 800 according to another embodiment of the present invention. Receiver 800 includes a transmission stream demultiplexer 810. The transport stream demultiplexing unit 810 demultiplexes TS to generate PES. The PES packet is stored in the PES packet buffer 820. The synchronization unit 830 receives the packet from the PES packet buffer 820 and extracts audio data. In addition, the synchronization unit 830 transmits the extracted audio data to the decoder 840. The synchronization unit 430 extracts a time stamp from the input packet and transmits it to the comparison / control unit 850. The comparison control unit 850 generates a control signal for the decoder 840. The comparison / control unit 850 compares the time stamp with the system time clock and generates a control signal to the decoder 840. The decoder 840 decodes the payload in response to the control signal, and outputs the decoded acoustic data to the audio generation unit 860.

図9は、本発明の一実施形態によって図8に示されたレシーバの同期化部830´を示すブロック図である。同期化部830´は、シンタックスプロセッサ832を含む。シンタックスプロセッサ832は、PESパケットバッファ820から出力されたPESのパケットをパーシングしてヘッダとペイロードとを抽出する。抽出されたヘッダは、タイムスタンプを含み、ヘッダ貯蔵部834に貯蔵される。PESパケットのパーシング時に、シンタックスプロセッサ832は、マイクロプロセッサ836にインタラプトを送る。マイクロプロセッサ836は、ヘッダ貯蔵部834に貯蔵されたヘッダからタイムスタンプを抽出して、タイムスタンプ貯蔵部838に臨時的に貯蔵する。貯蔵されたタイムスタンプは、比較/制御部850に伝達される。図5の同期化部430´とは違って、オーディオ同期化部830´は両方向コーディングを考慮する必要がない。同期化部830´は、PTSのみを比較/制御部850に伝達しても良いため、ビデオ伝送時よりも動作が単純化される。以下、スキップ及び反復動作は前述したことと類似する。   FIG. 9 is a block diagram illustrating a receiver synchronization unit 830 ′ illustrated in FIG. 8 according to an embodiment of the present invention. The synchronization unit 830 ′ includes a syntax processor 832. The syntax processor 832 parses the PES packet output from the PES packet buffer 820 and extracts a header and a payload. The extracted header includes a time stamp and is stored in the header storage unit 834. During parsing of the PES packet, the syntax processor 832 sends an interrupt to the microprocessor 836. The microprocessor 836 extracts a time stamp from the header stored in the header storage unit 834 and temporarily stores it in the time stamp storage unit 838. The stored time stamp is transmitted to the comparison / control unit 850. Unlike the synchronization unit 430 ′ of FIG. 5, the audio synchronization unit 830 ′ does not need to consider bidirectional coding. The synchronization unit 830 ′ may transmit only the PTS to the comparison / control unit 850, and thus the operation is simplified as compared with video transmission. Hereinafter, the skip and repeat operations are similar to those described above.

本発明のデコーディング及びデコーディング装置は、MPEGプログラムストリーム(PS)のパケットをデコーディングする場合にも適用でき、ひいてはMPEG−2規格によるパケットを用いた通信にも適用できる。   The decoding and decoding apparatus according to the present invention can be applied to decoding of MPEG program stream (PS) packets, and thus can also be applied to communication using packets according to the MPEG-2 standard.

従来技術によってMPEGレシーバを示すブロック図である。1 is a block diagram illustrating an MPEG receiver according to the prior art. FIG. 従来技術によって図1に示されたレシーバのタイムスタンプ貯蔵及び関連を示すための概略図である。FIG. 2 is a schematic diagram illustrating time stamp storage and association of the receiver shown in FIG. 1 according to the prior art. 本発明の一実施形態によってディジタルテレビジョンシステムを示すブロック図である。1 is a block diagram illustrating a digital television system according to an embodiment of the present invention. 本発明の一実施形態によってビデオをエンコーディング、伝送、デコーディングするシステムを示すブロック図である。1 is a block diagram illustrating a system for encoding, transmitting, and decoding video according to an embodiment of the present invention. 本発明の他の実施形態によって図4に示されたレシーバの同期化装置を示すブロック図である。FIG. 5 is a block diagram showing a receiver synchronization apparatus shown in FIG. 4 according to another embodiment of the present invention. 本発明の他の実施形態によって図4に示されたレシーバのパケット処理動作を示す流れ図である。5 is a flowchart illustrating a packet processing operation of the receiver shown in FIG. 4 according to another embodiment of the present invention. 本発明の一実施形態によってオーディオをエンコーディング、伝送、デコーディングするシステムを示すブロック図である。1 is a block diagram illustrating a system for encoding, transmitting, and decoding audio according to an exemplary embodiment of the present invention. 本発明の他の実施形態によって図7に示されたレシーバの同期化装置を示すブロック図である。FIG. 8 is a block diagram illustrating a receiver synchronization apparatus illustrated in FIG. 7 according to another embodiment of the present invention. 本発明の一実施形態によって図7に示されたレシーバのデコーディング動作を示すためのブロック図である。FIG. 8 is a block diagram illustrating a decoding operation of the receiver shown in FIG. 7 according to an embodiment of the present invention.

符号の説明Explanation of symbols

312:MPEGエンコーダ
314:パケット化部
315:伝送経路
316:伝送ストリーム多重化部
322:伝送ストリーム逆多重化部
324:PESパケットバッファ
326:同期化部
328:デコーディング及び映像生成部
312: MPEG encoder 314: Packetization unit 315: Transmission path 316: Transmission stream multiplexing unit 322: Transmission stream demultiplexing unit 324: PES packet buffer 326: Synchronization unit 328: Decoding and video generation unit

Claims (26)

暗号ストリームの複数のパケットをバッファに貯蔵する段階と、
前記バッファから貯蔵されたパケットを引き出す段階と、
前記引き出されたパケットをパーシングしてタイムスタンプを復元する段階と、
前記復元されたタイムスタンプと基準時間とを比較する段階と、
前記復元されたタイムスタンプと基準時間との前記比較結果によって前記引き出されたパケットのデータをデコーディングすることを制御する段階と
を含むことを特徴とする暗号ストリーム処理方法。
Storing a plurality of packets of the cryptographic stream in a buffer;
Retrieving stored packets from the buffer;
Parsing the extracted packet to restore a time stamp; and
Comparing the restored timestamp with a reference time;
And a step of controlling decoding of the extracted packet data according to the comparison result between the restored time stamp and a reference time.
前記貯蔵されたパケットを引き出す段階は、前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によって前記バッファから貯蔵されたパケットを引き出す段階を含むこと
を特徴とする請求項1に記載の暗号ストリーム処理方法。
The step of extracting the stored packet includes a step of extracting the stored packet from the buffer according to a pre-comparison result obtained by comparing a time stamp of the packet first extracted from the buffer with the reference time. The encryption stream processing method according to claim 1.
前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によって前記バッファから貯蔵されたパケットを引き出す段階は、前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によって前記バッファをアクセスすることに使用されるポインタを制御する段階を含むこと
を特徴とする請求項2に記載の暗号ストリーム処理方法。
The step of extracting a packet stored from the buffer according to a result of preceding comparison comparing the time stamp of the packet first extracted from the buffer and the reference time includes the time stamp of the packet first extracted from the buffer and the reference time. The encryption stream processing method according to claim 2, further comprising: controlling a pointer used to access the buffer according to a preceding comparison result obtained by comparing
前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によって前記バッファから貯蔵されたパケットを引き出す段階は、前記貯蔵されたパケットを再び引き出すことを含むこと
を特徴とする請求項2に記載の暗号ストリーム処理方法。
Retrieving the stored packet from the buffer according to a result of preceding comparison comparing the time stamp of the packet first extracted from the buffer and the reference time includes re-extracting the stored packet. The cryptographic stream processing method according to claim 2.
前記基準時間と前記復元されたタイムスタンプの比較結果によって前記引き出されたパケットのデータをデコーディングすることを制御する段階は、前記基準時間より以前時間を示すタイムスタンプに対応するパケットを先ずデコーディングすることを含むこと
を特徴とする請求項1に記載の暗号ストリーム処理方法。
The step of controlling the decoding of the extracted packet data according to the comparison result between the reference time and the restored time stamp includes first decoding a packet corresponding to a time stamp indicating a time before the reference time. The cryptographic stream processing method according to claim 1, further comprising:
前記基準時間と前記復元されたタイムスタンプとの比較結果によって前記引き出されたパケットのデータをデコーディングすることを制御する段階は、前記基準時間と一致する時間を示すタイムスタンプに対応するパケットをデコーディングすることを含むこと
を特徴とする請求項1に記載の暗号ストリーム処理方法。
The step of controlling the decoding of the extracted packet data according to the comparison result between the reference time and the restored time stamp includes decoding a packet corresponding to the time stamp indicating a time corresponding to the reference time. The cryptographic stream processing method according to claim 1, further comprising: coding.
前記基準時間と前記復元されたタイムスタンプとの比較結果によって前記引き出されたパケットのデータをデコーディングすることを制御する段階は、前記基準時間後の時間を示すタイムスタンプに対応するパケットをデコーディングしてバッファリングすることを含むこと
を特徴とする請求項1に記載の暗号ストリーム処理方法。
The step of controlling decoding of the extracted packet data according to a comparison result between the reference time and the restored time stamp includes decoding a packet corresponding to a time stamp indicating a time after the reference time. The encryption stream processing method according to claim 1, further comprising: buffering.
前記暗号データストリームは、PESを含み、前記基準時間はシステムタイムクロックを含むこと
を特徴とする請求項1に記載の暗号ストリーム処理方法。
The encryption stream processing method according to claim 1, wherein the encryption data stream includes a PES, and the reference time includes a system time clock.
前記暗号データストリームは、ビデオ、オーディオ及び/又はビデオ又はオーディオデータストリームを含むこと
を特徴とする請求項1に記載の暗号ストリーム処理方法。
The method of claim 1, wherein the encrypted data stream includes video, audio and / or video or audio data stream.
バッファに暗号ストリームの複数のパケットを貯蔵する段階と、
前記バッファから貯蔵されたパケットを順次に処理する段階と
を含み、
前記順次に処理する段階は、
前記バッファから貯蔵されたパケットを順次に引き出す段階と、
前記引き出されたパケットそれぞれをパーシングしてタイムスタンプを復元する段階と、
前記復元されたタイムスタンプそれぞれを基準時間と比較する段階と、
前記復元されたタイムスタンプそれぞれと前記基準時間の比較結果によって前記引き出されたパケットを選択的にデコーディングする段階と
を含むことを特徴とするパケット化されたコードストリーム処理方法。
Storing a plurality of packets of the cryptographic stream in a buffer;
Sequentially processing packets stored from the buffer;
The step of sequentially processing includes:
Sequentially retrieving packets stored from the buffer;
Parsing each of the extracted packets to restore a time stamp; and
Comparing each restored timestamp with a reference time;
And a step of selectively decoding the extracted packet according to the comparison result between each of the restored time stamps and the reference time.
前記バッファに貯蔵されたパケットを順次に処理する段階は、前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によって前記バッファから貯蔵されたパケットを引き出す段階を含むこと
を特徴とする請求項10に記載のパケット化されたコードストリーム処理方法。
The step of sequentially processing the packets stored in the buffer includes the step of extracting the packet stored from the buffer according to a result of preceding comparison that compares the time stamp of the packet first extracted from the buffer with the reference time. The packetized codestream processing method according to claim 10, wherein:
前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によって前記バッファから貯蔵されたパケットを引き出す段階は、前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によって前記バッファをアクセスすることに使用するポインタを制御する段階を含むこと
を特徴とする請求項11に記載のパケット化されたコードストリーム処理方法。
The step of extracting a packet stored from the buffer according to a result of preceding comparison comparing the time stamp of the packet first extracted from the buffer and the reference time includes the time stamp of the packet first extracted from the buffer and the reference time. The packetized codestream processing method according to claim 11, further comprising: controlling a pointer used to access the buffer according to a preceding comparison result obtained by comparing
前記選択的にデコーディングする段階は、前記基準時間より以前時間を示すタイムスタンプに対応するパケットを先ずデコーディングすることを含むこと
を特徴とする請求項10に記載のパケット化されたコードストリーム処理方法。
The packetized code stream processing according to claim 10, wherein the selectively decoding step includes first decoding a packet corresponding to a time stamp indicating a time before the reference time. Method.
前記選択的にデコーディングする段階は、前記基準時間と一致する時間を示すタイムスタンプに対応するパケットをデコーディングすることを含むこと
を特徴とする請求項10に記載のパケット化されたコードストリーム処理方法。
The packetized codestream processing according to claim 10, wherein the selectively decoding step includes decoding a packet corresponding to a time stamp indicating a time corresponding to the reference time. Method.
前記選択的にデコーディングする段階は、前記基準時間後の時間を示すタイムスタンプに対応するパケットをデコーディングしてバッファリングすることを含むこと
を特徴とする請求項10に記載のパケット化されたコードストリーム処理方法。
The packetized packet of claim 10, wherein the selectively decoding comprises decoding and buffering a packet corresponding to a time stamp indicating a time after the reference time. Code stream processing method.
前記連続的に貯蔵されたパケットを引き出す段階は、前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によって前記バッファから貯蔵されたパケットを再び引き出す段階を含むこと
を特徴とする請求項10に記載のパケット化されたコードストリーム処理方法。
Retrieving the continuously stored packets includes re-retrieving the stored packets from the buffer according to a result of a pre-comparison that compares the time stamp of the first extracted packet from the buffer with the reference time. The packetized code stream processing method according to claim 10.
前記暗号データストリームは、PESを含み、前記基準時間はシステムタイムクロックを含むこと
を特徴とする請求項10に記載のパケット化されたコードストリーム処理方法。
The packetized code stream processing method according to claim 10, wherein the encrypted data stream includes a PES, and the reference time includes a system time clock.
前記暗号データストリームは、ビデオ、オーディオ及び/又はビデオ又はオーディオデータストリームを含むこと
を特徴とする請求項10に記載のパケット化されたコードストリーム処理方法。
The packetized codestream processing method according to claim 10, wherein the encrypted data stream includes video, audio and / or video or audio data stream.
バッファに暗号ストリームの複数のパケットを貯蔵する手段と、
前記バッファから貯蔵されたパケットを順次に引き出す手段と、
前記引き出されたパケットそれぞれをパーシングしてタイムスタンプを復元する手段と、
前記復元されたタイムスタンプそれぞれを基準時間と比較する手段と、
前記復元されたタイムスタンプそれぞれと前記基準時間との前記比較結果によって前記引き出されたパケットを選択的にデコーディングする手段と
を含むことを特徴とするパケット化された暗号ストリーム処理装置。
Means for storing a plurality of packets of the cryptographic stream in a buffer;
Means for sequentially retrieving packets stored from the buffer;
Means for parsing each of the extracted packets to restore a time stamp;
Means for comparing each restored timestamp with a reference time;
A packetized cipher stream processing apparatus comprising: means for selectively decoding the extracted packet according to the comparison result between each restored time stamp and the reference time.
前記バッファから貯蔵されたパケットを順次に引き出す手段は、前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によってバッファから貯蔵されたパケットを引き出す手段を含むこと
を特徴とする請求項19に記載のパケット化された暗号ストリーム処理装置。
The means for sequentially extracting the stored packets from the buffer includes means for extracting the stored packets from the buffer according to a result of preceding comparison that compares the time stamp of the packet first extracted from the buffer with the reference time. The packetized cryptographic stream processing apparatus according to claim 19, wherein
前記バッファをさらに含むこと
を特徴とする請求項19に記載のパケット化された暗号ストリーム処理装置。
The packetized encrypted stream processing apparatus according to claim 19, further comprising the buffer.
暗号ストリームの複数のパケットを含むバッファから貯蔵されたパケットを順次に引き出し、前記引き出されたパケットそれぞれをパーシングしてタイムスタンプを復元し、前記復元されたタイムスタンプそれぞれを基準時間と比較し、前記復元されたタイムスタンプそれぞれと前記基準時間との比較結果によって前記引き出されたパケットを選択的にデコーディングするプロセッサを含むこと
を特徴とするパケット化された暗号ストリーム処理装置。
Sequentially retrieving packets stored from a buffer including a plurality of packets of a cryptographic stream, parsing each of the extracted packets to restore a timestamp, comparing each of the restored timestamp with a reference time, and A packetized cipher stream processing apparatus comprising: a processor that selectively decodes the extracted packet according to a comparison result between each restored time stamp and the reference time.
前記プロセッサは、前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によってバッファから貯蔵されたパケットを引き出すこと
を特徴とする請求項22に記載のパケット化された暗号ストリーム処理装置。
23. The packetized packet of claim 22, wherein the processor retrieves a packet stored from the buffer according to a result of preceding comparison that compares a time stamp of a packet that is first extracted from the buffer and the reference time. Cryptographic stream processing device.
前記バッファをさらに含むこと
を特徴とする請求項22に記載のパケット化された暗号ストリーム処理装置。
The packetized cipher stream processing apparatus according to claim 22, further comprising the buffer.
暗号ストリームの複数のパケットを含むバッファから貯蔵されたパケットを順次に引き出し、前記引き出されたパケットそれぞれをパーシングしてタイムスタンプを復元し、前記復元されたタイムスタンプそれぞれを基準時間と比較し、前記復元されたタイムスタンプそれぞれと前記基準時間との比較結果によって前記引き出されたパケットを選択的にデコーディングするプログラムコードを含むこと
を特徴とするパケット化された暗号ストリーム処理プログラムを貯蔵する貯蔵媒体。
Sequentially retrieving packets stored from a buffer including a plurality of packets of a cryptographic stream, parsing each of the extracted packets to restore a timestamp, comparing each of the restored timestamp with a reference time, and A storage medium for storing a packetized encrypted stream processing program, comprising: a program code for selectively decoding the extracted packet according to a comparison result between each restored time stamp and the reference time.
前記プログラムコードは、前記バッファから先ず引き出されたパケットのタイムスタンプと前記基準時間とを比較した先行比較結果によってバッファから貯蔵されたパケットを引き出すこと
を特徴とする請求項25に記載のパケット化された暗号ストリーム処理プログラムを貯蔵する貯蔵媒体。
26. The packetized packet of claim 25, wherein the program code retrieves a packet stored from the buffer according to a result of a prior comparison that compares a time stamp of the packet first extracted from the buffer with the reference time. A storage medium for storing the encrypted stream processing program.
JP2006064300A 2005-03-14 2006-03-09 Apparatus and method for performing video synchronization by parsing a time stamp from a packet stored in a buffer Pending JP2006262465A (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020050021067A KR20060099687A (en) 2005-03-14 2005-03-14 Apparatus and method for video synchronization using timestamps
US11/358,842 US20060203853A1 (en) 2005-03-14 2006-02-21 Apparatus and methods for video synchronization by parsing time stamps from buffered packets

Publications (1)

Publication Number Publication Date
JP2006262465A true JP2006262465A (en) 2006-09-28

Family

ID=37101120

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006064300A Pending JP2006262465A (en) 2005-03-14 2006-03-09 Apparatus and method for performing video synchronization by parsing a time stamp from a packet stored in a buffer

Country Status (1)

Country Link
JP (1) JP2006262465A (en)

Similar Documents

Publication Publication Date Title
JP5133567B2 (en) Codec change method and apparatus
US20050180512A1 (en) Method and apparatus for determining timing information from a bit stream
JP2002016918A (en) Multimedia multiplex transmission system and time information generation method
CN1157065C (en) Video decoder for synchronous decoding displaying using image as unit
JP5369599B2 (en) Video encoding apparatus and video encoding method
WO2004071085A1 (en) Code conversion method and device thereof
CN100416689C (en) Reproducing device and method, and recording medium
JP2001204032A (en) Mpeg decoder
US8238446B2 (en) Method and apparatus for reproducing digital broadcasting
CN1838773B (en) Apparatus and method for video synchronization by analyzing time stamps in buffered packets
JP4613860B2 (en) MPEG encoded stream decoding apparatus
JP2006262465A (en) Apparatus and method for performing video synchronization by parsing a time stamp from a packet stored in a buffer
US6556626B1 (en) MPEG decoder, MPEG system decoder and MPEG video decoder
JP2823806B2 (en) Image decoding device
JP6464647B2 (en) Moving image processing method, moving image transmission apparatus, moving image processing system, and moving image processing program
US20120082435A1 (en) Moving image display device
EP1947846A1 (en) Video recording and reproducing apparatus and method of reproducing video in the same
US9508389B2 (en) System, method, and apparatus for embedding personal video recording functions at picture level
JP2001346166A (en) Method and apparatus for reproducing compressed encoded data
KR100835909B1 (en) Digital video signal processing device and operation method thereof
JP3671969B2 (en) Data multiplexing method and multiple data decoding method
JP4373802B2 (en) Program transmission method, program transmission apparatus, program transmission system, and program transmission program
JP4719602B2 (en) Video output system
JP2011078068A (en) System for video transmission
JP2008011430A (en) Content retransmission method, content reception method, and content reception device