JP4997735B2 - Data processing apparatus, method thereof, and program - Google Patents

Data processing apparatus, method thereof, and program Download PDF

Info

Publication number
JP4997735B2
JP4997735B2 JP2005287829A JP2005287829A JP4997735B2 JP 4997735 B2 JP4997735 B2 JP 4997735B2 JP 2005287829 A JP2005287829 A JP 2005287829A JP 2005287829 A JP2005287829 A JP 2005287829A JP 4997735 B2 JP4997735 B2 JP 4997735B2
Authority
JP
Japan
Prior art keywords
video
display
audio
delay time
data
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.)
Expired - Fee Related
Application number
JP2005287829A
Other languages
Japanese (ja)
Other versions
JP2007104030A (en
Inventor
修利 志田
裕叔 長倉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP2005287829A priority Critical patent/JP4997735B2/en
Publication of JP2007104030A publication Critical patent/JP2007104030A/en
Application granted granted Critical
Publication of JP4997735B2 publication Critical patent/JP4997735B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Television Receiver Circuits (AREA)
  • Television Signal Processing For Recording (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Description

本発明はデータ処理装置、その方法およびプログラムに関し、たとえば、MPEG2(Moving Picture Experts Group Layer 2)方式等に基づいてエンコードされた圧縮映像データおよび圧縮音声データをデコードすることにより映像および音声を出力するデコード装置に適用して好適なものである。
圧縮映像データおよび圧縮音声データは、たとえばDVD・Blu-Ray Discなどの記録媒体や、デジタル放送、インターネットなどあらゆるデジタルメディアから取得可能なものを対象とする。
The present invention relates to a data processing apparatus, method and program thereof, and outputs video and audio by decoding compressed video data and compressed audio data encoded based on, for example, MPEG2 (Moving Picture Experts Group Layer 2) system. It is suitable for application to a decoding device.
Compressed video data and compressed audio data are targeted for data that can be obtained from a recording medium such as a DVD / Blu-Ray Disc, digital broadcasting, and any digital media such as the Internet.

近年、この種のデコード装置として、デジタル放送受信機が普及し始めている。このようなデジタル放送受信機は、たとえばユーザによりチャンネル切換操作が行われると、図1に示すような処理手順RT1Xに従って、映像および音声を出力するように構成されている。   In recent years, digital broadcast receivers are becoming popular as this type of decoding device. Such a digital broadcast receiver is configured to output video and audio according to a processing procedure RT1X as shown in FIG. 1 when a channel switching operation is performed by a user, for example.

デジタル放送受信機は、図1に示すように、ユーザによりチャンネル切換操作が行われるとステップSP1に移り、NIT(Network Information Table)を受信する。このNITには、伝送路に関する物理的な情報(この場合、衛星の軌道、偏波、トランスポンダごとの周波数等)が示されている。
これにより、デジタル放送受信機は、このNITに基づいてチャンネル切換操作により要求された要求チャンネルに対応するトランスポンダを選択することができ、この結果この要求チャンネルに対応するトランスポートストリームを受信することができる。
As shown in FIG. 1, when the channel switching operation is performed by the user, the digital broadcast receiver moves to step SP1 and receives an NIT (Network Information Table). This NIT indicates physical information (in this case, satellite orbit, polarization, frequency for each transponder, etc.) regarding the transmission path.
Thus, the digital broadcast receiver can select a transponder corresponding to the requested channel requested by the channel switching operation based on the NIT, and as a result, can receive the transport stream corresponding to the requested channel. it can.

次いで、デジタル放送受信機はステップSP2の処理に移り、PAT(Program Association Table)を受信する。
そして、このデジタル放送受信機はステップSP3の処理に移り、このPATに基づいて要求チャンネルに対応するPMT(Program Map Table)を受信する。
Next, the digital broadcast receiver moves to the process of step SP2 and receives a PAT (Program Association Table).
Then, the digital broadcast receiver moves to the processing of step SP3, and receives a PMT (Program Map Table) corresponding to the requested channel based on this PAT.

続いて、デジタル放送受信機はステップSP4の処理に移り、受信したPMTに基づいて要求チャンネルに対応するPID(Program Identification)を認識する。この場合このPIDは、要求チャンネルに対応する圧縮映像データや圧縮音声データやPCR(Program Clock Reference)データ等が含まれているパケットを識別するための識別情報に相当する。
このデジタル放送受信機は、受信しているトランスポートストリームの中から、認識したPIDに対応するパケットを分離することにより、この要求チャンネルに対応する圧縮映像データや圧縮音声データやPCRデータ等をストリームとして得ることができる。
Subsequently, the digital broadcast receiver proceeds to the process of step SP4, and recognizes a PID (Program Identification) corresponding to the requested channel based on the received PMT. In this case, the PID corresponds to identification information for identifying a packet including compressed video data, compressed audio data, PCR (Program Clock Reference) data, and the like corresponding to the requested channel.
This digital broadcast receiver separates the packet corresponding to the recognized PID from the received transport stream, thereby streaming compressed video data, compressed audio data, PCR data, etc. corresponding to the requested channel. Can be obtained as

因みに、以上に説明したステップSP1〜SP4までの処理は、分離処理(DEMUX処理)として広く知られているものである(特許文献1参照)。   Incidentally, the processing from step SP1 to SP4 described above is widely known as separation processing (DEMUX processing) (see Patent Document 1).

ところで、このようにして得られたストリーム中のPCRデータには、圧縮映像データや圧縮音声データをエンコードしたエンコード装置側の基準時刻が示されている。   By the way, the PCR data in the stream obtained in this way indicates the reference time on the encoding apparatus side where the compressed video data and the compressed audio data are encoded.

したがって、デジタル放送受信機は次のステップSP5の処理に移ると、このデジタル放送受信機において計時される基準時刻(STC(System Time Clock))を、PCRデータに示されている時刻に合わせる。
これにより、このデジタル放送受信機において計時される基準時刻を、エンコード装置側の時刻と同期させることができる。
Therefore, when the digital broadcast receiver moves to the process of the next step SP5, the reference time (STC (System Time Clock)) counted in this digital broadcast receiver is set to the time indicated in the PCR data.
Thereby, the reference time measured in this digital broadcast receiver can be synchronized with the time on the encoding apparatus side.

また、このストリームにおいては、図2に示すように、たとえば1フレーム分に相当する圧縮映像データ「Dpic(0)」、「Dpic(1)」、……ごとに、その映像を表示すべき時刻を示した表示時刻情報(PTS(Presentation Time Stamp))が対応付けられている。
同様にして、このストリームにおいては、たとえば1フレーム分に相当する圧縮音声データ「Dframe(0)」、「Dframe(1)」、……ごとに、その音声を出力すべき時刻を示した出音時刻情報(PTS)が対応付けられている。
In addition, in this stream, as shown in FIG. 2, for example, the time at which the video should be displayed for each compressed video data “Dpic (0)”, “Dpic (1)”,. Is associated with display time information (PTS (Presentation Time Stamp)).
Similarly, in this stream, for example, for each of compressed audio data “Dframe (0)”, “Dframe (1)”,. Time information (PTS) is associated.

このように、このデジタル放送受信機は、たとえば、計時している基準時刻が圧縮映像データ「Dpic(0)」に対応付けられている表示時刻情報「pts(0)」と一致したときステップSP6の処理に移り、圧縮映像データ「Dpic(0)」をデコードした結果得られた映像データに基づく映像「Vpic(0)」を、表示部に表示する。   In this way, this digital broadcast receiver, for example, when the time reference time coincides with the display time information “pts (0)” associated with the compressed video data “Dpic (0)”, step SP6. Then, the video “Vpic (0)” based on the video data obtained as a result of decoding the compressed video data “Dpic (0)” is displayed on the display unit.

また、このデジタル放送受信機は、計時している基準時刻が圧縮音声データ「Dframe(0)」に対応付けられている出音時刻情報「pts(0)」と一致したときステップSP7の処理に移り、当該圧縮音声データ「Dframe(0)」をデコードした結果得られた音声データに基づく音声「Sframe(0)」を、スピーカ等を介して出力する。   In addition, the digital broadcast receiver performs the processing in step SP7 when the measured reference time matches the sound output time information “pts (0)” associated with the compressed audio data “Dframe (0)”. Then, the audio “Sframe (0)” based on the audio data obtained as a result of decoding the compressed audio data “Dframe (0)” is output via a speaker or the like.

このようにしてこのデジタル放送受信機は、映像「Vpic(0)」、……を表示する映像表示タイミングと、この映像「Vpic(0)」、……に対応する音声「Sframe(0)」、……を出力する出音タイミングとをある程度一致させることができる。   In this way, the digital broadcast receiver uses the video display timing for displaying the video “Vpic (0)”, and the audio “Sframe (0)” corresponding to the video “Vpic (0)”,. ,... Can be matched to some extent with the sound output timing.

一方、動画像がデジタル化されて記録されている記録媒体としてのディスクを再生するデータ再生装置として、図3に示すような、可変レート対応のデータ再生装置が提案されている(特許文献2参照)。   On the other hand, as a data reproducing apparatus for reproducing a disc as a recording medium on which moving images are digitized and recorded, a data reproducing apparatus corresponding to a variable rate as shown in FIG. 3 has been proposed (see Patent Document 2). ).

このデータ再生装置において、光ディスク1に記録されているデータは、ピックアップ2より再生される。ピックアップ2は、光ディスク1にレーザ光を照射し、その反射光から光ディスク1に記録されているデータを再生する。
そして、ピックアップ2が出力する再生信号は復調回路3に入力されて復調される。復調回路3により復調されたデータは、セクタ検出回路4を介してECC回路5に入力され、誤りの検出、訂正が行われる。
In this data reproducing apparatus, data recorded on the optical disc 1 is reproduced from the pickup 2. The pickup 2 irradiates the optical disc 1 with laser light, and reproduces data recorded on the optical disc 1 from the reflected light.
The reproduction signal output from the pickup 2 is input to the demodulation circuit 3 and demodulated. The data demodulated by the demodulating circuit 3 is input to the ECC circuit 5 via the sector detecting circuit 4 to detect and correct errors.

なお、セクタ検出回路4において、セクタナンバ(光ディスク1のセクタに割り当てられたアドレス)が正常に検出されなかった場合、トラックジャンプ判定回路18にセクタナンバ異常信号が出力される。
ECC回路5は、訂正不能のデータが生じた場合、トラックジャンプ判定回路18にエラー発生信号を出力する。誤りの訂正が行われたデータは、ECC回路5からリングバッファメモリ7に供給されて記憶される。
If the sector number (address assigned to the sector of the optical disk 1) is not normally detected in the sector detection circuit 4, a sector number abnormality signal is output to the track jump determination circuit 18.
The ECC circuit 5 outputs an error occurrence signal to the track jump determination circuit 18 when uncorrectable data occurs. The data subjected to the error correction is supplied from the ECC circuit 5 to the ring buffer memory 7 and stored therein.

リングバッファ制御回路6は、セクタ検出回路4の出力から各セクタ毎のアドレスを読み取り、そのアドレスに対応するリングバッファメモリ7上の書き込みアドレス(書き込みポイント(WP))を指定する。またリングバッファ制御回路6は、後段の多重化データ分離回路8からのコードリクエスト信号に基づき、リングバッファメモリ7に書き込まれたデータの読み出しアドレス(再生ポイント(RP))を指定し、その再生ポイント(RP)からデータを読み出し、多重化データ分離回路8に供給する。   The ring buffer control circuit 6 reads an address for each sector from the output of the sector detection circuit 4 and designates a write address (write point (WP)) on the ring buffer memory 7 corresponding to the address. The ring buffer control circuit 6 designates the read address (reproduction point (RP)) of the data written in the ring buffer memory 7 based on the code request signal from the multiplexed data separation circuit 8 at the subsequent stage, and the reproduction point. Data is read from (RP) and supplied to the multiplexed data separation circuit 8.

多重化データ分離回路8のヘッダ分離回路9は、リングバッファメモリ7から供給されたデータからパックヘッダおよびパケットヘッダを分離して分離回路制御回路11に供給する。
分離回路制御回路11は、ヘッダ分離回路9から供給されたパケットヘッダのストリームid(stream id )情報に従い、スイッチング回路10の入力端子Gと出力端子(被切換端子)H1、H2を順次接続状態にして、時分割多重されたデータを正しく分離し、対応するコードバッファ13、15に供給する。
The header separation circuit 9 of the multiplexed data separation circuit 8 separates the pack header and the packet header from the data supplied from the ring buffer memory 7 and supplies them to the separation circuit control circuit 11.
The separation circuit control circuit 11 sequentially connects the input terminal G and the output terminals (switched terminals) H1 and H2 of the switching circuit 10 according to the stream id information of the packet header supplied from the header separation circuit 9. Thus, the time-division multiplexed data is correctly separated and supplied to the corresponding code buffers 13 and 15.

ビデオコードバッファ13は、内部のコードバッファの残量により、多重化データ分離回路8に対してコードリクエスト信号を発生する。そして、受け取ったデータを記憶する。またビデオデコーダ14からのコードリクエスト信号を受付け、内部のデータを出力する。ビデオデコーダ14は供給されたデータからビデオ信号を再生し、出力端子から出力する。   The video code buffer 13 generates a code request signal to the multiplexed data separation circuit 8 according to the remaining amount of the internal code buffer. Then, the received data is stored. It also receives a code request signal from the video decoder 14 and outputs internal data. The video decoder 14 reproduces a video signal from the supplied data and outputs it from the output terminal.

オーディオコードバッファ15は内部のコードバッファの残量により、多重化データ分離回路8に対してコードリクエスト信号を発生する。そして、受け取ったデータを記憶する。またオーディオデコーダ16からのコードリクエスト信号を受付け、内部のデータを出力する。オーディオデコーダ16は供給されたデータからオーディオ信号を再生し、出力端子から出力する。   The audio code buffer 15 generates a code request signal to the multiplexed data separation circuit 8 according to the remaining amount of the internal code buffer. Then, the received data is stored. It also receives a code request signal from the audio decoder 16 and outputs internal data. The audio decoder 16 reproduces an audio signal from the supplied data and outputs it from the output terminal.

このように、ビデオデコーダ14はビデオコードバッファ13にデータを要求し、ビデオコードバッファ13は多重化データ分離回路8に要求を出し、多重化データ分離回路8はリングバッファ制御回路6に対して要求を出す。
このときには、データがリングバッファメモリ7から、今度は要求とは逆向きに流れていく。
Thus, the video decoder 14 requests data from the video code buffer 13, the video code buffer 13 issues a request to the multiplexed data separation circuit 8, and the multiplexed data separation circuit 8 requests the ring buffer control circuit 6. Put out.
At this time, data flows from the ring buffer memory 7 in the opposite direction to the request.

ところで、たとえば単純な画面に関するデータ処理が続き、ビデオデコーダ14の単位時間当たりのデータ消費量が少なくなると、リングバッファメモリ7からの読み出しも少なくなる。この場合、リングバッファメモリ7の記憶データ量が多くなり、オーバーフローするおそれがある。
このため、トラックジャンプ判定回路18は、書き込みポイント(WP)および再生ポイント(RP)によりリングバッファメモリ7が現在記憶しているデータ量を算出(検出)し、そのデータがあらかじめ設定された所定の基準値を越えた場合に、リングバッファメモリ7がオーバーフローするおそれがあると判断して、トラツキングサーボ回路17にトラックジャンプ指令を出力する。
By the way, for example, when data processing relating to a simple screen continues and the data consumption amount per unit time of the video decoder 14 decreases, reading from the ring buffer memory 7 also decreases. In this case, the amount of data stored in the ring buffer memory 7 increases, which may cause overflow.
Therefore, the track jump determination circuit 18 calculates (detects) the amount of data currently stored in the ring buffer memory 7 based on the write point (WP) and the reproduction point (RP), and the data is set to a predetermined value set in advance. When the reference value is exceeded, it is determined that the ring buffer memory 7 may overflow, and a track jump command is output to the tracking servo circuit 17.

また、トラックジャンプ判定回路18は、セクタ検出回路4からのセクタナンバ異常信号またはECC回路5からのエラー発生信号を検出した場合、書き込みアドレス(WP)と読み出しアドレス(RP)からリングバッファメモリ7内に残存しているデータ量を求めるとともに、現在のトラック位置から光ディスク1が1回転する間に(光ディスク1の1回転待ちの間に)、リングバッファメモリ7から多重化データ分離回路8への読み出しを保証するのに必要なデータ量を求める。 When the track jump determination circuit 18 detects a sector number abnormality signal from the sector detection circuit 4 or an error occurrence signal from the ECC circuit 5, the track jump determination circuit 18 stores the write address (WP) and read address (RP) in the ring buffer memory 7. While the remaining amount of data is obtained, reading from the ring buffer memory 7 to the multiplexed data separation circuit 8 is performed while the optical disk 1 makes one rotation from the current track position (while waiting for one rotation of the optical disk 1 ). Find the amount of data needed to guarantee.

リングバッファメモリ7の残存データ量が大きい場合、リングバッファメモリ7から最高の転送レートでデータが読み出されてもリングバッファメモリ7にはアンダーフローが生じないため、トラックジャンプ判定回路18は、エラー発生位置をピックアップ2で再度再生することによりエラー回復が可能であると判断して、トラツキングサーボ回路17にトラックジャンプ指令を出力する。   If the remaining amount of data in the ring buffer memory 7 is large, underflow does not occur in the ring buffer memory 7 even if data is read from the ring buffer memory 7 at the highest transfer rate. It is determined that the error can be recovered by reproducing the generated position again with the pickup 2, and a track jump command is output to the tracking servo circuit 17.

トラックジャンプ判定回路18によりトラックジャンプ指令が出力されると、トラツキングサーボ回路17は、たとえば図4に示すようにピックアップ2による再生位置を、位置Aから1トラック内周の位置Bにジャンプさせる。
そして、リングバッファ制御回路6において、その再生位置が光ディスク1が再び1回転して位置Bから位置Aに到来するまでの間、すなわちセクタ検出回路4から得られるセクタナンバがトラックジャンプ時のセクタナンバになるまでの間、新たなデータのリングバッファメモリ7への書き込みが禁止され、必要に応じてリングバッファメモリ7に既に記憶されているデータが、多重化データ分離回路8に転送される。
When the track jump determination circuit 18 outputs a track jump command, the tracking servo circuit 17 causes the playback position of the pickup 2 to jump from position A to position B on the inner circumference of one track as shown in FIG.
In the ring buffer control circuit 6, the playback position of the optical disk 1 is rotated once again until it reaches the position A from the position B, that is, the sector number obtained from the sector detection circuit 4 becomes the sector number at the time of track jump. Until this time, writing of new data to the ring buffer memory 7 is prohibited, and data already stored in the ring buffer memory 7 is transferred to the multiplexed data separation circuit 8 as necessary.

また、トラックジャンプ後、セクタ検出回路4から得られるセクタナンバが、トラックジャンプ時のセクタナンバと一致しても、リングバッファメモリ7に記憶されているデータ量が所定の基準値を越えている場合、すなわちリングバッファメモリ7がオーバーフローする可能性がある場合には、リングバッファメモリ7へのデータの書き込みは再開されず、再びトラックジャンプが行われる。
このようにしてこのデータ再生装置においては、リングバッファメモリ7を持つことにより可変レート対応ができ、さらにエラーに対してリトライ(再試行)を行うことができる。
Further, even if the sector number obtained from the sector detection circuit 4 after the track jump matches the sector number at the time of the track jump, the amount of data stored in the ring buffer memory 7 exceeds a predetermined reference value, that is, If there is a possibility that the ring buffer memory 7 overflows, the writing of data to the ring buffer memory 7 is not resumed and a track jump is performed again.
In this manner, in this data reproducing apparatus, variable rate can correspondence by having a ring buffer memory 7, it is possible to further perform retry (retry) for errors.

ところで、上述したデータ再生装置において、ISO11172 (MPEG1)またはISO13818 (MPEG2)に準拠するように、可変レートで圧縮されたビデオデータ、オーディオデータおよび字幕データが多重化されたデータを、ビデオデータ、オーディオデータ、字幕データの同期をとって再生し、同期ずれを修正し、エラー発生時に対応し、サーチ動作や一時停止動作やこま送り動作の機能を実現できれば、データ再生装置としての有用性を格段的に向上し得ると考えられる。   By the way, in the data reproducing apparatus described above, video data, audio data and subtitle data multiplexed at variable rates so as to comply with ISO11172 (MPEG1) or ISO13818 (MPEG2) are converted into video data, audio data, and audio data. If data and subtitle data are synchronized and played back, the synchronization error is corrected, an error occurs, and the functions of search operation, pause operation, and top feed operation can be realized, the usefulness as a data playback device is remarkably improved. It is thought that it can be improved.

以上の点を考慮して、特許文献3に、可変レートで圧縮されたビデオデータ、オーディオデータおよび字幕データが多重化されたデータを高精度に同期をとって再生すると共に種々の機能を実現するデータ再生装置およびデータ記録媒体が提案されている。
特開2003−274304号公報 特開平6−124168号公報 特開2004−362775号公報
In consideration of the above points, Patent Document 3 reproduces data in which video data, audio data, and caption data compressed at a variable rate are multiplexed with high accuracy and realizes various functions. Data reproducing devices and data recording media have been proposed.
JP 2003-274304 A JP-A-6-124168 JP 2004-362775 A

ところで、上述したデジタル放送受信機は、実際上、表示部に映像を表示する際に用いる走査線の垂直方向動作について同期を取るための垂直同期信号を生成し、これに同期させるようにして映像「Vpic(0)」、……を順次表示するように構成されている。   By the way, the digital broadcast receiver described above actually generates a vertical synchronization signal for synchronizing the vertical operation of the scanning line used when displaying the video on the display unit, and synchronizes with this to generate the video. “Vpic (0)”,... Are sequentially displayed.

したがって、図2に示したような場合、たとえば音声「Sframe(0)」については、その音声「Sframe(0)」を出力すべき出音時刻「pts(0)」に出力できるのにもかかわらず、この音声「Sframe(0)」に対応する映像「Vpic(0)」については、その映像「Vpic(0)」を表示すべき表示時刻「pts(0)」に垂直同期信号が生成されていないのでこの映像「Vpic(0)」を表示することができず、これ以降の垂直同期信号が生成されたときにこの映像「Vpic(0)」を表示することになる。   Therefore, in the case shown in FIG. 2, for example, the voice “Sframe (0)” can be output at the sound output time “pts (0)” at which the voice “Sframe (0)” should be output. First, for the video “Vpic (0)” corresponding to this audio “Sframe (0)”, a vertical synchronization signal is generated at the display time “pts (0)” at which the video “Vpic (0)” should be displayed. Therefore, this video “Vpic (0)” cannot be displayed, and this video “Vpic (0)” is displayed when the subsequent vertical synchronizing signal is generated.

この結果、上述したデジタル放送受信機においては、音声「Sframe(0)」、……の出音タイミングとこの音声「Sframe(0)」、……に対応する映像「Vpic(0)」、……の映像表示タイミングとの間に最大±1/2フレームの差が出てしまうので、映像表示タイミングと出音タイミングとを精度良く一致させているとは言い難い。   As a result, in the digital broadcast receiver described above, the sound output timing of the sound “Sframe (0)”,... And the video “Vpic (0)” corresponding to the sound “Sframe (0)”,. Since there is a maximum difference of ± 1/2 frame from the video display timing, it is difficult to say that the video display timing and the sound output timing are accurately matched.

この問題を回避する手法としては、映像「Vpic(0)」、……を表示させる前に、デジタル放送受信機において生成されている垂直同期信号を表示時刻情報に合わせるように調節することも考えられるが、このような調節をした場合には垂直同期信号に乱れが生じ、これにより表示される映像「Vpic(0)」、……にショックが入ってしまうので、この手法を適用するのは好ましくない。   As a technique to avoid this problem, it is also possible to adjust the vertical sync signal generated in the digital broadcast receiver to match the display time information before displaying the video “Vpic (0)”,. However, if this adjustment is made, the vertical sync signal will be disturbed and this will cause a shock to the displayed video “Vpic (0)”. It is not preferable.

また、映像表示タイミングと出音タイミングとを高精度に一致させることができたとしても、実際上、上述したデジタル放送受信機は、PID切替やビデオシーケンス(Video sequence:水平垂直画素数、フレームレート、PTSのグリッド)の切替りなどに伴って表示遅延時間(dt)が変化すると音声(オーディオ;Audio)が音飛びするか、高精度の映像と音声(AV;Audio、Video)同期を保てないままとなるかのどちらかであった。   In addition, even if the video display timing and the sound output timing can be matched with high accuracy, the above-described digital broadcast receiver actually does not perform PID switching or video sequence (video sequence: number of horizontal / vertical pixels, frame rate). When the display delay time (dt) changes due to the switching of the PTS grid), the audio (Audio) skips or the high-precision video and audio (AV: Audio, Video) synchronize. Either it would remain.

また、特許文献3に開示されたデータ再生装置において、この問題を回避する手法としては、映像「Vpic(0)」、……を表示させる前に、生成されている垂直同期信号を表示時刻情報に合わせるように調節しているため、垂直同期信号に乱れが生じ、これにより表示される映像「Vpic(0)」、……にいわゆるショックが入ってしまっていた。   Further, in the data reproducing apparatus disclosed in Patent Document 3, as a method for avoiding this problem, before displaying the video “Vpic (0)”,... Since the vertical synchronization signal is disturbed, the video “Vpic (0)”, which is displayed by this, has a so-called shock.

本発明の目的は、表示遅延時間(dt)が変化したとしても、高精度AV同期を保ちながら、オーディオ(Audio)の音飛びや映像出力の乱れを回避することができるデータ処理装置、その方法およびプログラムを提供することにある。   An object of the present invention is to provide a data processing apparatus and method capable of avoiding audio skipping and video output disturbance while maintaining high-precision AV synchronization even when the display delay time (dt) changes. And to provide a program.

本発明の第1の観点のデータ処理装置は、映像表示タイミング信号が供給されたとき、映像データに基づく映像を表示する表示手段と、基準時刻をカウントするカウンタ手段と、上記映像データに基づく映像を表示すべき表示時刻以後、映像を表示させるタイミングを示す上記映像表示タイミング信号を所定の周期で上記表示手段に供給する供給手段と、上記映像データに基づく映像を表示すべき上記表示時刻と上記基準時刻から上記表示手段により当該映像が表示されるまでの表示遅延時間を算出する算出手段と、音声データに基づく音声を出力すべき出音時刻から上記算出手段で算出した表示遅延時間が経過したとき、上記音声データに基づく音声を出力可能な出音手段と、上記出音手段における上記音声の出力状態に応じて、上記出音手段の音声の出音タイミングを制御する制御手段と、少なくとも、上記表示遅延時間と上記出音時刻情報と上記基準時刻情報に基づいて、上記映像と上記音声の同期ずれを検出し、検出したずれ量に応じて同期ずれを修正する同期検出修正手段とを有する。 According to a first aspect of the present invention, there is provided a data processing apparatus including a display unit for displaying a video based on video data, a counter unit for counting a reference time, and a video based on the video data when a video display timing signal is supplied. After the display time at which the video is to be displayed, a supply means for supplying the video display timing signal indicating the video display timing to the display means at a predetermined cycle; the display time at which the video based on the video data is to be displayed ; The calculation means for calculating the display delay time from the reference time until the video is displayed by the display means, and the display delay time calculated by the calculation means from the sound output time when the sound based on the audio data should be output Sound output means capable of outputting sound based on the sound data, and the sound output according to the sound output state of the sound output means. And control means for controlling the sound output timing of the stages of speech, at least, on the basis of the display delay time and the sound output time information and the reference time information, detects the synchronization deviation of the video and the audio, the detected deviation Synchronization detection correcting means for correcting the synchronization shift according to the amount .

好適には、上記制御手段は、上記出音手段から音声が出力されていない状態では、上記映像と上記音声との同期をとって上記音声の出力を開始する。   Preferably, the control means starts outputting the sound by synchronizing the video and the sound in a state where no sound is output from the sound output means.

好適には、上記制御手段は、上記出音手段から音声が出力されている状態において、上記算出手段による表示遅延時間が変化した場合には、当該変化直前の表示遅延時間をもって当該音声の出力を継続する。   Preferably, in a state where sound is output from the sound output means, the control means outputs the sound with the display delay time immediately before the change when the display delay time by the calculation means changes. continue.

好適には、上記制御手段は、上記出音手段の音声出力が一時停止後に出力再開するときは、上記算出手段による最新の上記表示遅延時間で上記映像と音声との同期をとり直す。   Preferably, the control means re-synchronizes the video and the sound with the latest display delay time by the calculation means when the sound output of the sound output means is resumed after being paused.

好適には、上記音声データに含まれる出音時刻情報と上記算出手段による上記表示遅延時間に基づいて上記出音タイミングを上記映像表示タイミングと一致させる同期調整手段を有する。   Preferably, there is provided synchronization adjusting means for matching the sound output timing with the video display timing based on the sound output time information included in the audio data and the display delay time by the calculating means.

好適には、映像データをデコードして上記表示手段に供給する映像デコード手段と、上記算出手段の算出結果である表示遅延時間情報を保持し、所定条件を満たすタイミングで保持情報を更新する表示遅延時間管理手段と、を有し、上記同期検出修正手段は、上記算出手段の算出結果である表示遅延時間と上記表示遅延時間管理手段に保持されている表示遅延時間から映像に同期ずれがないことを確認して、映像と音声間に同期ずれが生じているか否かを確認し、映像が音声に比べて進んでいる場合には、上記映像デコード手段に一時動作を停止するように一時停止指令を送信し、映像が音声に比べて遅れている場合には、上記映像デコード手段に読み飛ばしするように読み飛ばし指令を送信する
また、好適には、音声データをデコードして出音手段に供給する音声デコード手段と、上記算出手段の算出結果である表示遅延時間情報を保持し、所定条件を満たすタイミングで保持情報を更新する表示遅延時間管理手段と、上記出音時刻と上記基準時刻との差分情報を上記同期検出修正手段に供給する演算手段と、を有し、上記同期検出修正手段は、上記演算手段の演算結果である差分情報と上記表示遅延時間管理手段に保持されている表示遅延時間から音声に同期ずれがないことを確認して、映像と音声間に同期ずれが生じているか否かを確認し、音声が映像に比べて進んでいる場合には、上記音声デコード手段に一時動作を停止するように一時停止指令を送信し、音声が映像に比べて遅れている場合には、上記音声デコード手段に読み飛ばしするように読み飛ばし指令を送信する。
Preferably, a video decoding unit that decodes video data and supplies it to the display unit, a display delay that holds display delay time information that is a calculation result of the calculation unit, and updates the hold information at a timing that satisfies a predetermined condition The synchronization detection and correction means has no synchronization deviation from the display delay time as the calculation result of the calculation means and the display delay time held in the display delay time management means. To check whether or not there is a synchronization error between the video and audio. If the video is advanced compared to the audio, the video decoding means is instructed to stop the temporary operation. When the video is delayed compared to the audio, a skip command is sent to the video decoding means so as to skip .
Preferably, the audio decoding means for decoding the audio data and supplying it to the sound output means, and the display delay time information as the calculation result of the calculating means are held, and the holding information is updated at a timing satisfying a predetermined condition. Display delay time management means, and calculation means for supplying difference information between the sound output time and the reference time to the synchronization detection correction means. The synchronization detection correction means is a calculation result of the calculation means. From the difference information and the display delay time stored in the display delay time management means, it is confirmed that there is no synchronization deviation in the audio, whether there is a synchronization deviation between the video and the audio, If it is ahead of the video, a pause command is sent to the audio decoding means to stop the temporary operation, and if the audio is behind the video, the audio decoding means is read. If then so skip to send a command.

本発明の第2の観点のデータ処理方法は、映像表示タイミング信号が供給されたとき、映像データに基づく映像を表示手段に表示する表示ステップと、基準時刻をカウントするカウントステップと、上記映像データに基づく映像を表示すべき表示時刻以後、映像を表示させるタイミングを示す上記映像表示タイミング信号を所定の周期で供給する供給ステップと、上記映像データに基づく映像を表示すべき上記表示時刻と上記基準時刻から上記表示ステップにより当該映像が表示されるまでの表示遅延時間を算出する算出ステップと、音声データに基づく音声を出力すべき出音時刻から上記算出ステップで算出した表示遅延時間が経過したとき、上記音声データに基づく音声を出力する出音ステップと、上記出音ステップにおける上記音声の出力状態に応じて、上記出音ステップの出音タイミングを制御する制御ステップと、少なくとも、上記表示遅延時間と上記出音時刻情報と上記基準時刻情報に基づいて、上記映像と上記音声の同期ずれを検出し、検出したずれ量に応じて同期ずれを修正する同期検出修正ステップとを有する。 A data processing method according to a second aspect of the present invention includes a display step of displaying a video based on video data on a display means when a video display timing signal is supplied, a counting step of counting a reference time, and the video data A supply step of supplying the video display timing signal indicating the timing for displaying the video at a predetermined cycle after the display time at which the video based on the video is to be displayed; the display time at which the video based on the video data is to be displayed; and the reference a calculation step of calculating a display delay time until the video by the display step from is displayed, when the display delay time calculated in the calculation step from the sound output time to be output the sound based on the sound data has elapsed A sound output step for outputting sound based on the sound data; and the sound output step in the sound output step In response to a force condition, a control step for controlling the sound output timing of the sound output step, at least, on the basis of the display delay time and the sound output time information and the reference time information, the video and the audio sync And a synchronization detection correcting step for correcting the synchronization shift according to the detected shift amount .

本発明の第3の観点のプログラムは、映像表示タイミング信号が供給されたとき、映像データに基づく映像を表示手段に表示する表示処理と、基準時刻をカウントするカウント処理と、上記映像データに基づく映像を表示すべき表示時刻以後、映像を表示させるタイミングを示す上記映像表示タイミング信号を所定の周期で供給する供給処理と、上記映像データに基づく映像を表示すべき上記表示時刻と上記基準時刻から上記表示処理により当該映像が表示されるまでの表示遅延時間を算出する算出処理と、音声データに基づく音声を出力すべき出音時刻から上記算出処理で算出した表示遅延時間が経過したとき、上記音声データに基づく音声を出力する出音処理と、上記出音処理における上記音声の出力状態に応じて、上記出音処理の出音タイミングを制御する制御処理と、少なくとも、上記表示遅延時間と上記出音時刻情報と上記基準時刻情報に基づいて、上記映像と上記音声の同期ずれを検出し、検出したずれ量に応じて同期ずれを修正する同期検出修正処理とを含むデータ処理をコンピュータに実行させるデータ処理プログラムである。 A program according to a third aspect of the present invention is based on a display process for displaying a video based on video data on a display means , a count process for counting a reference time, and the video data when a video display timing signal is supplied. From the display time at which video is to be displayed, supply processing for supplying the video display timing signal indicating the timing at which video is to be displayed at a predetermined cycle, the display time at which video based on the video data is to be displayed, and the reference time when passed a calculating process for calculating a display delay time until the video is displayed by the display processing, the display delay time calculated in the calculation processing from the sound output time to be output the sound based on the sound data, the a sound output process for outputting audio based on the audio data, in accordance with the output state of the sound in the sound output processing, sound output of the sound output processing A control process for controlling the timing, at least, on the basis of the display delay time and the sound output time information and the reference time information, detects the synchronization deviation of the video and the audio, synchronization deviation in accordance with the detected shift amount A data processing program for causing a computer to execute data processing including synchronization detection correction processing for correcting data.

本発明によれば、PID切替やVideo sequence(水平垂直画素数、フレームレート、PTSのグリッド)の切替りなどに伴って表示遅延時間(dt)が変化しても、高精度AV同期を保ちながら、Audioの音飛びや映像出力の乱れを回避することができる利点がある。   According to the present invention, even if the display delay time (dt) changes due to switching of PID or switching of video sequence (number of horizontal and vertical pixels, frame rate, PTS grid), etc., while maintaining high-precision AV synchronization There is an advantage that audio sound skipping and video output disturbance can be avoided.

以下、本発明の実施形態を図面に関連付けて説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図5は、本発明の実施形態に係るデータ処理装置の構成例を示すブロック図である。
図6は、図5のデータ処理装置の基本的な映像表示タイミングと出音タイミングを示すタイムチャートである。
また、図7、図5のデータ処理装置の表示遅延時間の更新にかかわる映像表示タイミングと出音タイミングを示すタイムチャートである。
本実施形態のデータ処理装置100は、たとえばデジタル放送受信機、蓄積データの再生装置に適用可能である。
FIG. 5 is a block diagram showing a configuration example of the data processing apparatus according to the embodiment of the present invention.
FIG. 6 is a time chart showing basic video display timing and sound output timing of the data processing apparatus of FIG.
FIG. 7 is a time chart showing video display timing and sound output timing related to the update of the display delay time of the data processing apparatus of FIG.
The data processing apparatus 100 of this embodiment can be applied to, for example, a digital broadcast receiver and a stored data reproduction apparatus.

データ処理装置100は、図5に示すように、デジタルチューナ101、蓄積メディア102、ストリームバッファ103、分離処理部(DEMUX処理部)104、源発振クロック生成部109、基準時刻(STC(System Time Clock))カウンタ部110、映像ESバッファ111、字幕ESバッファ112、音声ESバッファ113、表示時刻情報抽出部114、映像デコーダ部115、出字時刻情報抽出部116、字幕デコーダ部117、出音時刻情報抽出部118、音声デコーダ部119、第1比較回路120、第2比較回路121、第3比較回路122、水平垂直同期信号生成回路123、第1ラッチ回路124、第1演算回路125、加算器126、同期信号発生回路127、表示遅延時間管理部128、表示処理部129、表示部130、出音処理部131、出音部132、第2ラッチ回路133、第2演算回路134、第3演算回路135、同期ずれ検出部136、および同期ずれ修正部137を、有している。   As shown in FIG. 5, the data processing apparatus 100 includes a digital tuner 101, a storage medium 102, a stream buffer 103, a separation processing unit (DEMUX processing unit) 104, a source oscillation clock generation unit 109, a reference time (STC (System Time Clock) )) Counter unit 110, video ES buffer 111, caption ES buffer 112, audio ES buffer 113, display time information extraction unit 114, video decoder unit 115, character output time information extraction unit 116, caption decoder unit 117, sound output time information Extraction unit 118, audio decoder unit 119, first comparison circuit 120, second comparison circuit 121, third comparison circuit 122, horizontal / vertical synchronizing signal generation circuit 123, first latch circuit 124, first arithmetic circuit 125, adder 126 , Synchronization signal generation circuit 127, display delay time management unit 128, display processing unit 129, display unit 1 30, a sound output processing unit 131, a sound output unit 132, a second latch circuit 133, a second arithmetic circuit 134, a third arithmetic circuit 135, a synchronization shift detection unit 136, and a synchronization shift correction unit 137.

また、本実施形態のDEMUX処理部104は、NIT取得部105、PAT取得部106、PMT取得部107、およびフィルタ部108を有する。
そして、フィルタ部108は、PCR(Program Clock Reference)フィルタ108A、映像フィルタ108B、字幕フィルタ108C、および音声フィルタ108Dを、含んで構成されている。
The DEMUX processing unit 104 according to the present embodiment includes a NIT acquisition unit 105, a PAT acquisition unit 106, a PMT acquisition unit 107, and a filter unit 108.
The filter unit 108 includes a PCR (Program Clock Reference) filter 108A, a video filter 108B, a caption filter 108C, and an audio filter 108D.

データ処理装置100において、デジタルチューナ101により、アンテナ等を介して受信したテレビ放送波から得られる入力ストリームが、DEMUX処理部104内のNIT取得部105に供給される。   In the data processing device 100, the digital tuner 101 supplies an input stream obtained from a television broadcast wave received via an antenna or the like to the NIT acquisition unit 105 in the DEMUX processing unit 104.

NIT取得部105は、デジタルチューナ101により供給された入力ストリームからNIT(Network Information Table)を取得する。
これにより、デジタルチューナ101は、取得したNITに基づいてユーザのチャンネル切換操作により要求された要求チャンネルに対応するトランスポンダを選択することができ、その結果、この要求チャンネルに対応するトランスポートストリームを受信することができる。
The NIT acquisition unit 105 acquires a network information table (NIT) from the input stream supplied from the digital tuner 101.
Accordingly, the digital tuner 101 can select a transponder corresponding to the requested channel requested by the user's channel switching operation based on the acquired NIT, and as a result, receives the transport stream corresponding to the requested channel. can do.

この後、DEMUX処理部104内に設けられたPAT取得部106は、PAT(Program Association Table)を取得する。
次いで、DEMUX処理部104内に設けられたPMT取得部107は、PAT取得部106により取得されたPATに基づいて、ユーザのチャンネル切換操作により要求された要求チャンネルに対応するPMT(Program Map Table)を取得する。
Thereafter, the PAT acquisition unit 106 provided in the DEMUX processing unit 104 acquires a PAT (Program Association Table).
Next, a PMT acquisition unit 107 provided in the DEMUX processing unit 104, based on the PAT acquired by the PAT acquisition unit 106, a PMT (Program Map Table) corresponding to the requested channel requested by the user channel switching operation. To get.

そして、PMT取得部107は、取得したPMTに基づいて、要求チャンネルに対応するPID(Program Identification)を認識し、認識したPIDをフィルタ部108内のPCRフィルタ108A、映像フィルタ108B、字幕フィルタ108Cおよび音声フィルタ108Dのそれぞれに設定する。   Then, the PMT acquisition unit 107 recognizes a PID (Program Identification) corresponding to the requested channel based on the acquired PMT, and recognizes the recognized PID in the PCR filter 108A, the video filter 108B, the subtitle filter 108C in the filter unit 108, and Set for each of the audio filters 108D.

また、蓄積メディア(DISKなど)102からは、その蓄積データをストリームバッファ103に入れ、ストリームバッファ103のストリームがDEMUX処理部104に供給される。   Further, from the storage medium (such as DISK) 102, the stored data is put into the stream buffer 103, and the stream in the stream buffer 103 is supplied to the DEMUX processing unit 104.

DEMUX処理部104のフィルタ部108におけるPCRフィルタ108A、映像フィルタ108B、字幕フィルタ108Cおよび音声フィルタ108Dは、それぞれに設定されたPIDに基づいて、受信されているトランスポートストリームから、要求チャンネルに対応するPCRデータ、圧縮映像データ、字幕データおよび圧縮音声データが含まれているPCR、映像パケット、音声パケットおよび字幕パケットを抽出することができる。
抽出された各データはSTCカウンタ部110、映像ESバッファ111、字幕ESバッファ112、および音声ESバッファ113にそれぞれ供給される。
The PCR filter 108A, the video filter 108B, the subtitle filter 108C, and the audio filter 108D in the filter unit 108 of the DEMUX processing unit 104 correspond to the request channel from the received transport stream based on the PID set for each. PCR, video packet, audio packet, and subtitle packet including PCR data, compressed video data, subtitle data, and compressed audio data can be extracted.
Each extracted data is supplied to the STC counter unit 110, the video ES buffer 111, the caption ES buffer 112, and the audio ES buffer 113, respectively.

源発振クロック生成部109は、PCRフィルタ108Aにより抽出されたPCRパケット中のPCRデータを基準信号として、STCカウンタ部110から出力される信号を位相同期させるような負帰還制御を行う。
これにより、源発振クロック生成部109は、エンコーダ装置側の基準クロック信号に同期した動作クロック信号S101を生成することができ、得られた動作クロック信号S101を水平垂直同期信号発生回路123、同期信号発生回路127、およびSTCカウンタ部110に対して供給する。
The source oscillation clock generation unit 109 performs negative feedback control such that the signal output from the STC counter unit 110 is phase-synchronized with the PCR data in the PCR packet extracted by the PCR filter 108A as a reference signal.
Thereby, the source oscillation clock generation unit 109 can generate the operation clock signal S101 synchronized with the reference clock signal on the encoder device side, and the obtained operation clock signal S101 is converted into the horizontal / vertical synchronization signal generation circuit 123, the synchronization signal. This is supplied to the generation circuit 127 and the STC counter unit 110.

水平垂直同期信号発生回路123は、源発振クロック生成部109から供給される動作クロック信号S101に基づいて、走査線の垂直方向動作について同期を取るための垂直同期信号S102と、走査線の水平方向動作について同期を取るための水平同期信号S103とを生成する。
そして、水平垂直同期信号発生回路123は、生成した垂直同期信号S102を第1ラッチ回路124と表示処理部129に対して供給する。
また、水平垂直同期信号発生回路123は、源発振クロック生成部109から供給される動作クロック信号S101と、生成した垂直同期信号S102および水平同期信号S103とを、表示処理部129に対して供給する。
すなわち、水平垂直同期信号発生回路123は、供給手段の一部として機能する。
The horizontal / vertical synchronization signal generation circuit 123 is configured to synchronize with the vertical synchronization signal S102 for synchronizing the vertical operation of the scanning line based on the operation clock signal S101 supplied from the source oscillation clock generation unit 109, A horizontal synchronization signal S103 for synchronizing the operation is generated.
The horizontal / vertical synchronization signal generation circuit 123 supplies the generated vertical synchronization signal S102 to the first latch circuit 124 and the display processing unit 129.
The horizontal / vertical synchronization signal generation circuit 123 supplies the operation clock signal S101 supplied from the source oscillation clock generation unit 109 and the generated vertical synchronization signal S102 and horizontal synchronization signal S103 to the display processing unit 129. .
That is, the horizontal / vertical synchronizing signal generation circuit 123 functions as a part of the supply unit.

これにより、表示処理部129は、供給される動作クロック信号S101、垂直同期信号S102、および水平同期信号S103に従って、映像デコーダ部115から供給されるデジタル映像信号S104と字幕デコーダ部117から供給される字幕信号S110を、後段の表示部130に対して供給する。
その結果、デジタル映像信号S104と字幕信号S110に基づく映像が表示部130に表示される。
Thereby, the display processing unit 129 is supplied from the digital video signal S104 supplied from the video decoder unit 115 and the subtitle decoder unit 117 in accordance with the supplied operation clock signal S101, vertical synchronization signal S102, and horizontal synchronization signal S103. The subtitle signal S110 is supplied to the display unit 130 at the subsequent stage.
As a result, a video based on the digital video signal S104 and the caption signal S110 is displayed on the display unit 130.

同期信号発生回路127は、源発振クロック生成部109から供給される動作クロック信号S101に基づいてオーディオフレーム(Audio Frame)出力同期信号S105を生成する。
そして、同期信号発生回路127は、生成した同期信号S105と源発振クロック生成部109から供給される動作クロック信号S101とを、出音処理部131に対して供給する。
このようにして、出音処理部131は、供給される動作クロック信号S101およびオーディオフレーム(Audio Frame)出力同期信号S105に従って、音声デコーダ部119から供給されるデジタル音声信号S106を、後段の出音部132に対して供給する。
その結果、デジタル音声信号S106に基づく音声が出音部132を介して出力される。
また、同期信号発生回路127は、生成したオーディオフレーム(Audio Frame)出力同期信号S105を第2ラッチ回路133に供給する。
The synchronization signal generation circuit 127 generates an audio frame output synchronization signal S105 based on the operation clock signal S101 supplied from the source oscillation clock generation unit 109.
The synchronization signal generation circuit 127 supplies the generated synchronization signal S105 and the operation clock signal S101 supplied from the source oscillation clock generation unit 109 to the sound output processing unit 131.
In this way, the sound output processing unit 131 converts the digital audio signal S106 supplied from the audio decoder unit 119 into the output sound of the subsequent stage according to the supplied operation clock signal S101 and audio frame output synchronization signal S105. Supplied to the unit 132.
As a result, sound based on the digital sound signal S106 is output via the sound output unit 132.
The synchronization signal generation circuit 127 supplies the generated audio frame output synchronization signal S105 to the second latch circuit 133.

一方、STCカウンタ部110は、源発振クロック生成部109からの動作クロック信号S101に基づいて、デジタルチューナ101および蓄積メディア102からのストリームにおける基準時刻(STC(System Time Clock))を計時する。
STCカウンタ部110は、PCRフィルタ108AからPCRパケットが供給されると、計時している基準時刻を、供給されたPCRパケット中のPCRデータに示されている時刻に合わせる。
これにより、このデジタルチューナ101および蓄積メディア102からのストリームにおいて計時される基準時刻を、エンコード装置側の時刻と同期させることができる。
そして、STCカウンタ部110は、計時している基準時刻を示した基準時刻情報I101を、源発振クロック生成部109、第1ラッチ回路124、第2ラッチ回路133、第1比較回路120、第2比較回路121、および第3比較回路122に対して供給する。
On the other hand, the STC counter unit 110 measures a reference time (STC (System Time Clock)) in the streams from the digital tuner 101 and the storage medium 102 based on the operation clock signal S101 from the source oscillation clock generation unit 109.
When the PCR packet is supplied from the PCR filter 108A, the STC counter unit 110 adjusts the time reference time to the time indicated in the PCR data in the supplied PCR packet.
Thereby, the reference time measured in the streams from the digital tuner 101 and the storage medium 102 can be synchronized with the time on the encoding apparatus side.
Then, the STC counter unit 110 converts the reference time information I101 indicating the reference time being measured into the source oscillation clock generation unit 109, the first latch circuit 124, the second latch circuit 133, the first comparison circuit 120, the second This is supplied to the comparison circuit 121 and the third comparison circuit 122.

表示時刻情報抽出部114は、映像ESバッファ111から、1フレームごとの圧縮映像データに対応付けられている表示時刻情報(PTS(Presentation Time Stamp))I102を抽出し、これを第1比較回路120、第1演算回路125、および第2演算回路134に対して供給する。   The display time information extraction unit 114 extracts display time information (PTS (Presentation Time Stamp)) I102 associated with the compressed video data for each frame from the video ES buffer 111, and extracts this from the first comparison circuit 120. , To the first arithmetic circuit 125 and the second arithmetic circuit 134.

第1比較回路120は、STCカウンタ部110から順次供給される基準時刻情報I101と、表示時刻情報抽出部114から供給される表示時刻情報I102とを比較する。
そして、第1比較回路120は、たとえば図6に示すように、基準時刻情報I101において示される基準時刻が、表示時刻情報I102において示されるたとえば表示時刻「PTSV(0)」と一致したとき、デコード処理を開始させるためのデコード処理開始命令信号S107を、映像デコーダ部115に対して供給する。
The first comparison circuit 120 compares the reference time information I101 sequentially supplied from the STC counter unit 110 with the display time information I102 supplied from the display time information extraction unit 114.
Then, as shown in FIG. 6, for example, the first comparison circuit 120 decodes when the reference time indicated in the reference time information I101 coincides with, for example, the display time “PTSV (0)” indicated in the display time information I102. A decode processing start command signal S107 for starting the processing is supplied to the video decoder unit 115.

映像デコーダ部115は、第1比較回路120からデコード処理開始命令信号S107が供給されると、映像ESバッファ111から得られる、対応する1フレーム分の圧縮映像データ「Dpic(0)」をデコード処理することによりデジタル映像信号S104を生成し、これを表示処理部129に対して供給する。   When the decoding process start command signal S107 is supplied from the first comparison circuit 120, the video decoder 115 decodes the corresponding compressed video data “Dpic (0)” for one frame obtained from the video ES buffer 111. As a result, a digital video signal S104 is generated and supplied to the display processing unit 129.

しかしながらこの場合、表示処理部129は、図6に示す基準時刻「PTSV(0)」において、水平垂直同期信号発生回路123から垂直同期信号S102が供給されていないので、これ以降の垂直同期信号S102が供給された時刻「vt(n)」に、映像デコーダ部115から供給された1フレーム分のデジタル映像信号S104を表示部130に供給する。
これにより、このデジタル映像信号S104に基づく映像「Vpic(0)」を表示するタイミングが、この映像「Vpic(0)」を表示すべき表示時刻「PTSV(0)」よりも、所定時間dt(0)だけ遅れることになる(以下、この所定時間を表示遅延時間と呼ぶ)。
ビデオのフレームレートや水平垂直画素数が変化した場合には必要に応じて垂直同期信号の周期設定を変更することがある。このような事象の発生に伴いビデオの表示遅延時間は変化するため、以下ビデオの表示遅延時間のことをdt[最新値]と呼ぶこととする。
一方、オーディオの出力遅延時間の調整に使用される表示遅延時間のことをdtと呼ぶこととする。
In this case, however, the display processing unit 129 does not receive the vertical synchronization signal S102 from the horizontal / vertical synchronization signal generation circuit 123 at the reference time “PTSV (0)” shown in FIG. At the time “vt (n)” when the video signal is supplied, the digital video signal S104 for one frame supplied from the video decoder unit 115 is supplied to the display unit 130.
Accordingly, the timing for displaying the video “Vpic (0)” based on the digital video signal S104 is a predetermined time dt () than the display time “PTSV (0)” at which the video “Vpic (0)” is to be displayed. 0) (hereinafter, this predetermined time is referred to as a display delay time).
When the video frame rate or the number of horizontal and vertical pixels changes, the period setting of the vertical synchronization signal may be changed as necessary. Since the video display delay time changes with the occurrence of such an event, the video display delay time is hereinafter referred to as dt [latest value].
On the other hand, the display delay time used for adjusting the audio output delay time is called dt.

ところで、本実施の形態の第1ラッチ回路124は、予め、水平垂直同期信号発生回路123から垂直同期信号S102が供給されたたとえばタイミングT1で、STCカウンタ部110から供給された基準時刻「vt(n-1)」を示す基準時刻情報I101をラッチしている。
これにより、第1ラッチ回路124から演算回路125に対しては、基準時刻「vt(n-1)」が示された基準時刻情報I101が供給されている。
By the way, the first latch circuit 124 of the present embodiment, for example, at the timing T1 when the vertical synchronization signal S102 is supplied from the horizontal / vertical synchronization signal generation circuit 123 in advance, the reference time “vt ( n-1) "is latched.
Thus, the reference time information I101 indicating the reference time “vt (n−1)” is supplied from the first latch circuit 124 to the arithmetic circuit 125.

そして、第1演算回路125は、表示時刻情報抽出部114から表示時刻「PTSV(0)」が示された表示時刻情報I102が供給された際、次式、を計算することにより表示遅延時間dt[最新値]を算出する。   When the display time information I102 indicating the display time “PTSV (0)” is supplied from the display time information extraction unit 114, the first arithmetic circuit 125 calculates the display delay time dt by calculating the following equation. Calculate [latest value].

(数1)
dt[最新値] = Vt - (PTSV - STC[vt]) mod Vt ・・・式(1)
因みにこの式(1)を具体的に説明すると、圧縮映像データ「Dpic(0)」に基づく映像「Vpic(0)」を表示すべき表示時刻「PTSV(0)」を入手後、後で図11のフローチャートに関連付けて説明するように、その後に垂直同期信号S102が供給されたときのSTC時刻「STC[vt]」を引き算した後、その結果を垂直同期信号S102の周期時間Vtで割り算する。そしてこの割り算した結果生じた余りを、垂直同期信号S102の周期時間Vtから引き算することにより、表示遅延時間dt[最新値]を算出する。
(Equation 1)
dt [latest value] = Vt-(PTSV-STC [vt]) mod Vt ... Formula (1)
The formula (1) will be described in detail. After obtaining the display time “PTSV (0)” at which the video “Vpic (0)” based on the compressed video data “Dpic (0)” should be displayed, 11, after subtracting the STC time “STC [vt]” when the vertical synchronization signal S102 is supplied thereafter, the result is divided by the cycle time Vt of the vertical synchronization signal S102. . Then, the display delay time dt [latest value] is calculated by subtracting the remainder resulting from the division from the cycle time Vt of the vertical synchronization signal S102.

第1演算回路125は、このように算出した表示遅延時間dt[最新値]を示す表示遅延時間情報I103を、表示遅延時間管理部128に供給する。
表示遅延時間管理部128は、供給された表示遅延時間dt[最新値]を保持する。
この第1演算回路125や表示遅延時間管理部128等が算出手段の一部として機能する。
The first arithmetic circuit 125 supplies the display delay time information I103 indicating the display delay time dt [latest value] calculated in this way to the display delay time management unit 128.
The display delay time management unit 128 holds the supplied display delay time dt [latest value].
The first arithmetic circuit 125, the display delay time management unit 128, and the like function as a part of calculation means.

表示遅延時間管理部128は、後で説明する図12のフローチャートにあるように、ステップSP301またはSP303の条件を満たしているタイミングで表示遅延時間dtを更新する。SP301またはSP303の条件判定に必要となる情報は、音声デコーダ部119からの音声同期ずれ検出情報I108により与えられる。   The display delay time management unit 128 updates the display delay time dt at a timing that satisfies the condition of step SP301 or SP303, as shown in the flowchart of FIG. Information necessary for the condition determination of SP301 or SP303 is given by the audio synchronization deviation detection information I108 from the audio decoder unit 119.

表示遅延時間管理部128は、加算器126に対して、表示遅延時間dtを示す情報I105を供給する。   The display delay time management unit 128 supplies information I105 indicating the display delay time dt to the adder 126.

この一方で、出音時刻情報抽出部118は、音声ESバッファ113から、1フレームごとの圧縮音声データに対応付けられている出音時刻情報(PTS)I104を抽出し、これを第3演算回路135、加算器126に対して供給する。   On the other hand, the sound output time information extraction unit 118 extracts sound output time information (PTS) I104 associated with the compressed sound data for each frame from the sound ES buffer 113, and this is extracted into the third arithmetic circuit. 135 is supplied to the adder 126.

加算器126は、出音時刻情報抽出部118から供給された出音時刻情報I104が示すたとえば出音時刻「PTSA(0)」に対して、表示遅延時間管理部128から供給された表示遅延時間情報I105が示す表示遅延時間dtを加算し、その加算結果「vt(n)」を示した修正出音時刻情報I106を第2比較回路121に対して供給する。   The adder 126 displays the display delay time supplied from the display delay time management unit 128 with respect to, for example, the sound output time “PTSA (0)” indicated by the sound output time information I104 supplied from the sound output time information extraction unit 118. The display delay time dt indicated by the information I105 is added, and the corrected sound output time information I106 indicating the addition result “vt (n)” is supplied to the second comparison circuit 121.

第2比較回路121は、STCカウンタ部110から順次供給される基準時刻情報I101と、加算器126から供給される修正出音時刻情報I106とを比較する。
そして、第2比較回路121は、基準時刻情報I101において示される基準時刻が、修正出音時刻情報I106において示される出音時刻「vt(n)」と一致したとき、デコード処理を開始させるためのデコード処理開始命令信号S108を、音声デコーダ部119に対して供給する。
なお、本実施形態において、加算器126や第2比較回路121等により同期調整手段が構成される。
The second comparison circuit 121 compares the reference time information I101 sequentially supplied from the STC counter unit 110 with the modified sound output time information I106 supplied from the adder 126.
The second comparison circuit 121 starts decoding processing when the reference time indicated in the reference time information I101 matches the sound output time “vt (n)” indicated in the modified sound output time information I106. The decoding process start command signal S108 is supplied to the audio decoder unit 119.
In this embodiment, the adder 126, the second comparison circuit 121, and the like constitute a synchronization adjustment unit.

音声デコーダ部119は、第2比較回路121からデコード処理開始命令信号S108が供給されると、これに応じて音声ESバッファ113から得られる、対応する1フレーム分の圧縮音声データ「Dframe(0)」をデコード処理することによりデジタル音声信号S106を生成し、これを出音処理部131を介して出音部132に供給する。
これにより、圧縮音声データ「Dframe(0)」に基づく音声「Sframe(0)」が、時刻「PTSA(0)」から表示遅延時間dtだけ遅れた時刻「vt(n)」に出力される。
When the decoding processing start command signal S108 is supplied from the second comparison circuit 121, the audio decoder unit 119 receives the corresponding compressed audio data “Dframe (0) for one frame obtained from the audio ES buffer 113 in response thereto. ”Is generated, and a digital audio signal S106 is generated and supplied to the sound output unit 132 via the sound output processing unit 131.
As a result, the audio “Sframe (0)” based on the compressed audio data “Dframe (0)” is output at the time “vt (n)” delayed by the display delay time dt from the time “PTSA (0)”.

出字時刻情報抽出部116は、字幕ESバッファ112から、圧縮映像データに対応付けられている出字時刻情報(PTS(Presentation Time Stamp))I107を抽出し、これを第3比較回路122および第1演算回路125に対して供給する。   The character output time information extraction unit 116 extracts character output time information (PTS (Presentation Time Stamp)) I107 associated with the compressed video data from the caption ES buffer 112, and this is extracted from the third comparison circuit 122 and the third comparison circuit 122. 1 is supplied to the arithmetic circuit 125.

第3比較回路122は、STCカウンタ部110から順次供給される基準時刻情報I101と、出字時刻情報抽出部116から供給される出字時刻情報I107とを比較する。
そして、第3比較回路122は、当該基準時刻情報I101において示される基準時刻が、出字時刻情報I107において示される出字時刻と一致したとき、デコード処理を開始させるためのデコード処理開始命令信号S109を、字幕デコーダ部117に対して供給する。
The third comparison circuit 122 compares the reference time information I101 sequentially supplied from the STC counter unit 110 with the character output time information I107 supplied from the character output time information extraction unit 116.
Then, the third comparison circuit 122, when the reference time indicated in the reference time information I101 coincides with the character output time indicated in the character output time information I107, decode processing start instruction signal S109 for starting the decoding process. Are supplied to the caption decoder unit 117.

字幕デコーダ部117は、第3比較回路122からデコード処理開始命令信号S109が供給されると、字幕ESバッファ113から得られる、圧縮字幕データをデコード処理することにより字幕信号S110を生成し、これを表示処理部129に対して供給する。   When the decoding process start command signal S109 is supplied from the third comparison circuit 122, the caption decoder unit 117 generates a caption signal S110 by decoding the compressed caption data obtained from the caption ES buffer 113, and generates the caption signal S110. Supply to the display processing unit 129.

このように、この例で示したデータ処理装置100は、図6に示すように、映像「Vpic(0)」が表示される映像表示タイミングと、この映像「Vpic(0)」に対応する音声「Sframe(0)」が出音される出音タイミングとを、高精度に一致させることができる。   In this way, the data processing apparatus 100 shown in this example, as shown in FIG. 6, the video display timing at which the video “Vpic (0)” is displayed and the audio corresponding to the video “Vpic (0)”. The sound output timing at which “Sframe (0)” is output can be matched with high accuracy.

またこの後もこの例でデータ処理装置100は、同じようにして、出音時刻情報抽出部118から供給される出音時刻情報I104が示す出音時刻に対して、表示遅延時間管理部128から供給される表示遅延時間情報I105が示す表示遅延時間dtを加算し続ける。
これによりこれ以降も、映像「Vpic(1)」、……が表示される映像表示タイミングと、それ対応する音声「Sframe(1)」、……が出音される出音タイミングとを、高精度に一致させることができる。
Thereafter, in this example, the data processing apparatus 100 also performs the same operation from the display delay time management unit 128 to the sound output time indicated by the sound output time information I104 supplied from the sound output time information extraction unit 118. The display delay time dt indicated by the supplied display delay time information I105 is continuously added.
As a result, the video display timing at which the video “Vpic (1)”,... Is displayed and the sound output timing at which the corresponding audio “Sframe (1)”,. The accuracy can be matched.

<比較例1>
これに対して、たとえば特許文献3に開示された蓄積データの再生装置では、図8に示すように、映像「Vpic(0)」、……を表示させる前に、生成されている垂直同期信号を表示時刻情報に合わせるように調節しているため、垂直同期信号に乱れが生じ、これにより表示される映像「Vpic(0)」、……にショックが入ってしまっていた。
具体的には、蓄積データの再生装置においては、図においてタイミングT2で、生成されている垂直同期信号を表示時刻情報PTSV(0)に合わせるように調節する。そのため、垂直同期信号(VSYNC)に乱れが生じ、その直後に表示される映像Vpic(0)にショックが入る。
<Comparative Example 1>
On the other hand, for example, in the stored data reproducing apparatus disclosed in Patent Document 3, as shown in FIG. 8, before the video “Vpic (0)”,. Was adjusted to match the display time information, the vertical sync signal was disturbed, and the video “Vpic (0)”,.
Specifically, the playback apparatus of the stored data at a timing T2 in FIG. 8, modulate to match the vertical synchronizing signal being generated in the display time information PTSV (0). Therefore, the vertical synchronization signal (VSYNC) is disturbed, and a shock is applied to the video Vpic (0) displayed immediately after that.

<比較例2>
また、本発明の実施形態に係る構成を採用していないデジタル放送受信機では、PID切替やVideo sequence(水平垂直画素数、フレームレート、PTSのグリッド)の切替りなどに伴って高精度AV同期を保障する遅延値(dt)が変化するとAudioが音飛びするか、高精度AV同期を保てないままとなる。
具体的には、図9に示すように、PID切替やVideo sequenceの切替りなどで、図中の表示時間遅延dt(0)とdt(1)のように表示時間遅延が変化する。その場合、dt(0)< dt(1)であれば、Sframe(0)の出力が終わっても、次のSframe(1)の出力時刻がPTSA(1)+dt(1)であるため、まだ出力時刻とならない。したがって、音飛びが発生する。
また、dt(0) > dt(1)であれば、Sframe(0)の出力が終わらないうちに、Sframe(1)の出力時刻となってしまうため、同期ずれとなる。
<Comparative example 2>
Also, in a digital broadcast receiver that does not employ the configuration according to the embodiment of the present invention, high-accuracy AV synchronization is accompanied by PID switching, video sequence (horizontal and vertical pixel count, frame rate, PTS grid) switching, etc. If the delay value (dt) for guaranteeing changes, the audio skips or the high-precision AV synchronization cannot be maintained.
Specifically, as shown in FIG. 9, the display time delay changes as shown by the display time delays dt (0) and dt (1) in the figure by switching the PID or the video sequence. In that case, if dt (0) <dt (1), the output time of the next Sframe (1) is PTSA (1) + dt (1) even if the output of Sframe (0) ends. The output time is not yet reached. Therefore, sound skip occurs.
Further, if dt (0)> dt (1), the output time of Sframe (1) will be reached before the output of Sframe (0) is completed, resulting in a synchronization shift.

本発明の実施形態に係るデータ処理装置100は、以上の点を考慮して構成されており、前述した図6に示すように、PID切替やVideo sequence(水平垂直画素数、フレームレート、PTSのグリッド)の切替りなどに伴って高精度AV同期を保障する遅延値(dt)が変化しても、高精度AV同期を保ちながら、Audioの音飛びや映像出力の乱れを回避しうる。
具体的には、図6および図7に示すように、表示遅延時間の最新値が、dt(0)からdt(1)に変化するように、変化しても、Sframe(1)の出力時に使用する表示遅延時間dtを、Sframe(0)時のdtと同じものにすることで、Audioの音飛びや映像出力の乱れを回避することができる。
The data processing apparatus 100 according to the embodiment of the present invention is configured in consideration of the above points. As shown in FIG. 6 described above, PID switching and video sequence (number of horizontal and vertical pixels, frame rate, PTS) Even if the delay value (dt) for ensuring high-accuracy AV synchronization changes due to switching of the grid), audio skipping and disturbance of video output can be avoided while maintaining high-accuracy AV synchronization.
Specifically, as shown in FIGS. 6 and 7, even when the latest value of the display delay time is changed from dt (0) to dt (1), even when Sframe (1) is output. By making the display delay time dt to be the same as dt at the time of Sframe (0), audio skipping and video output disturbance can be avoided.

以下に、本実施形態に係るデータ処理装置100における、状態遷移、表示遅延時間dtの更新処理、および同期ずれ検出処理につい図10〜図14のフローチャートに関連付けて、順を追って説明する。   Hereinafter, the state transition, the display delay time dt update process, and the synchronization shift detection process in the data processing apparatus 100 according to the present embodiment will be described in order with reference to the flowcharts of FIGS.

まず、状態遷移について説明する。
図10は、本実施形態に係るデータ処理装置の状態遷移について説明するためのフローチャートである。
First, state transition will be described.
FIG. 10 is a flowchart for explaining state transition of the data processing apparatus according to the present embodiment.

データ処理装置100においては、ステップSP101では初期設定状態、ステップSP102では停止状態をとり、ステップST103において、放送受信視聴であるか蓄積メディア再生であるかの判別を行う。   In the data processing apparatus 100, the initial setting state is set in step SP101 and the stop state is set in step SP102, and in step ST103, it is determined whether it is broadcast reception viewing or storage media playback.

そして、たとえば放送受信視聴であれば、ステップSP104のように視聴準備状態となる。
その後、放送受信によりステップSP105においてNITを取得し、ステップSP106においてPATを取得し、ステップSP110においてPMTを取得し、各PIDを取得する。
次いで、ステップSP115において、このPMTに基づいて認識したPIDを用いて、トランスポートストリームからPCRパケット、映像パケットおよび音声パケットを分離する。
そして、ステップSP116にて、分離した各ESのデコードを開始する。次にステップSP117において、STCカウンタ部110により計時している基準時刻を、ステップSP111またはステップSP113で選択済みの同期基準に基づいて、基準時計(STC)を設定する。
For example, in the case of broadcast reception viewing, a viewing preparation state is set as in step SP104.
Then, NIT is acquired in step SP105 by broadcast reception, PAT is acquired in step SP106, PMT is acquired in step SP110, and each PID is acquired.
Next, in step SP115, using the PID recognized based on this PMT, the PCR packet, the video packet, and the audio packet are separated from the transport stream.
In step SP116, decoding of each separated ES is started. Next, in step SP117, a reference clock (STC) is set based on the reference time measured by the STC counter unit 110 based on the synchronization reference selected in step SP111 or step SP113.

さらに続くステップSP118において、垂直同期信号S102が供給されたたとえば図6のタイミングT1で、STCカウンタ部110から供給された基準時刻情報I101(「vt(n-1)」)を、第1ラッチ回路124にラッチさせる。   In the subsequent step SP118, the reference time information I101 ("vt (n-1)") supplied from the STC counter unit 110 is supplied to the first latch circuit at the timing T1 shown in FIG. 6 when the vertical synchronization signal S102 is supplied. 124 is latched.

そしてステップSP119に移り、たとえば最初にデコードする圧縮映像データ「Dpic(0)」の表示時刻情報I102(「PTSV(0)」)を、表示時刻情報抽出部114によって所定時間内に抽出できたか否かを判定する。   Then, the process proceeds to step SP119, for example, whether or not the display time information I102 (“PTSV (0)”) of the compressed video data “Dpic (0)” to be decoded first can be extracted within a predetermined time by the display time information extraction unit 114. Determine whether.

このステップSP119において肯定結果が得られると、このことは、圧縮映像データ「Dpic(0)」に対応する表示時刻情報I102(「PTSV(0)」)を抽出できたことを意味しており、次のステップSP121に進む。   If a positive result is obtained in step SP119, this means that the display time information I102 (“PTSV (0)”) corresponding to the compressed video data “Dpic (0)” has been extracted. Proceed to the next Step SP121.

そして、ステップSP121において、抽出した表示時刻情報I102(「PTSV(0)」)と第1ラッチ回路124によりラッチした基準時刻情報I101(「vt(n-1)」)とを用いて上述の式(1)を第1演算回路125に演算させることにより、表示遅延時間dt[最新値]を算出する。   In step SP121, the above expression is used by using the extracted display time information I102 (“PTSV (0)”) and the reference time information I101 (“vt (n−1)”) latched by the first latch circuit 124. By causing the first arithmetic circuit 125 to calculate (1), the display delay time dt [latest value] is calculated.

次に、ステップSP122に移り、表示する映像「Vpic(0)」の表示遅延時間dt[最新値]を予め得ることができる。
これにより、ステップSP124において、この映像「Vpic(0)」に対応する音声「Sframe(0)」を、かかる表示遅延時間dtだけ遅らせて出力することができる。
また、映像と字幕に関しては、ステップSP123・ステップSP125により、表示時刻がSTCに一致した以後のVSyncが供給された時に表示を開始する。
Next, the process proceeds to step SP122, and the display delay time dt [latest value] of the video “Vpic (0)” to be displayed can be obtained in advance.
Accordingly, in step SP124, the audio “Sframe (0)” corresponding to the video “Vpic (0)” can be output with a delay of the display delay time dt.
In addition, display of video and subtitles is started when VSync after the display time coincides with STC is supplied in steps SP123 and SP125.

また、ステップSP119において否定結果が得られた場合、このことは、圧縮映像データ「Dpic(0)」に対応する表示時刻情報I102(「PTSV(0)」)が欠落していた等の理由により、表示時刻情報I102(「PTSV(0)」)が抽出できなかったことを意味しており、このときは、表示遅延時間dt[最新値]を算出するステップSP121ではなくステップSP120に進む。
そして、このステップSP120において、表示遅延時間dt[最新値]の値をたとえば「0」に設定し、続くステップSP123、SP124およびSP125に進む。
If a negative result is obtained in step SP119, this is because the display time information I102 (“PTSV (0)”) corresponding to the compressed video data “Dpic (0)” is missing. This means that the display time information I102 (“PTSV (0)”) could not be extracted. At this time, the process proceeds to step SP120 instead of step SP121 for calculating the display delay time dt [latest value].
In step SP120, the value of the display delay time dt [latest value] is set to, for example, “0”, and the process proceeds to subsequent steps SP123, SP124, and SP125.

ステップSP126において、視聴・再生定常状態に移ると、同期ずれの検出と修正を行う。
詳細は、後で図13および図14のフローチャートに関連付けて説明する。
また、表示時刻情報(PTSV)毎に、後で図11に関連付けて説明するように、表示遅延時間dt[最新値]を算出する。さらに、図12に関連付けて説明するように、表示遅延時間dtの更新も随時実施している。
In step SP126, when the viewing / playback steady state is reached, synchronization deviation is detected and corrected.
Details will be described later in association with the flowcharts of FIGS.
Further, for each display time information (PTSV), a display delay time dt [latest value] is calculated as described later in association with FIG. Furthermore, as will be described with reference to FIG. 12, the display delay time dt is updated as needed.

蓄積メディア再生の場合、たとえばユーザ入力や外部インターフェースからの指令によって、再生定常状態からステップSP127のサーチ状態、ステップSP128の一時停止状態、ステップSP129のコマ送り状態へと遷移する。   In the case of stored media playback, for example, in response to a user input or an instruction from an external interface, the playback steady state transitions to the search state in step SP127, the pause state in step SP128, and the frame advance state in step SP129.

ステップSP127におけるサーチ状態は、ビデオデータのうち、一定間隔ごとに出現するIピクチャデータのみを再生し、IピクチャとIピクチャの間のPピクチャやBピクチャを再生しないでスキップすることにより、蓄積メディア102に記録されたビデオデータを通常の再生にかかる時間よりも短い時間で再生する動作である。   In the search state in step SP127, only the I picture data that appears at regular intervals in the video data is reproduced, and the P picture or B picture between the I picture and the I picture is skipped without being reproduced, thereby storing the storage medium. This is an operation of reproducing the video data recorded in 102 in a time shorter than the time required for normal reproduction.

ステップSP128において、一時停止状態に移行すると、音声デコーダ部はデコードを一時停止する。
また、映像デコーダ部115と字幕デコーダ部117は水平垂直同期信号発生回路123からの垂直同期信号S102を待ち、垂直同期信号の検出後、映像デコーダ部115と字幕デコーダ部117はデコードを一時停止し、最後にデコードした画面を表示し続ける。
STCカウンタ部110はSTCの自動カウンタアップを中止する。
In step SP128, when the state is shifted to the pause state, the audio decoder unit pauses the decoding.
In addition, the video decoder unit 115 and the caption decoder unit 117 wait for the vertical synchronization signal S102 from the horizontal / vertical synchronization signal generation circuit 123, and after detecting the vertical synchronization signal, the video decoder unit 115 and the caption decoder unit 117 temporarily stop decoding. Continue to display the last decoded screen.
The STC counter unit 110 stops the STC automatic counter up.

ステップSP129において、コマ送り状態に移行すると、映像デコーダ部115は1フレーム分だけデコードを実施する。
すなわち、水平垂直同期信号発生回路123からの垂直同期信号S102を待ち、次の垂直同期信号S102で映像デコーダ部115が1フレーム分だけデコードを実施し、その次の垂直同期信号S102でデコードを一時停止する。
次に、STCを、1フレーム分だけ進める。すなわち、STCカウンタ部110のSTCに1フレームの表示時間を加えて、その値を再びSTCカウンタ部110にセットする。上記の処理をコマ送りの解除が行われるまで繰り返す。
In step SP129, when the frame advance state is entered, the video decoder unit 115 performs decoding for one frame.
That is, it waits for the vertical synchronizing signal S102 from the horizontal / vertical synchronizing signal generation circuit 123, and the video decoder unit 115 performs decoding for one frame by the next vertical synchronizing signal S102, and the decoding is temporarily performed by the next vertical synchronizing signal S102. Stop.
Next, the STC is advanced by one frame. That is, the display time of one frame is added to the STC of the STC counter unit 110, and the value is set in the STC counter unit 110 again. The above processing is repeated until the frame advance is canceled.

ステップSP127のサーチ状態、ステップSP128の一時停止状態、ステップ129のコマ送り状態の何れかの状態から、再生状態へ復帰する場合または停止する場合は、ステップSP130にて現在表示している映像の表示時刻を現在時刻として、表示時刻情報を抽出済みとする。   When returning to the playback state or stopping from any of the search state at step SP127, the pause state at step SP128, and the frame advance state at step 129, display of the video currently displayed at step SP130 The display time information is already extracted with the time as the current time.

そして、本実施形態のデータ処理装置100においては、同期ずれ検出方式、および、同期ずれ修正方式に次のような制御方式を含んで構成されている。
オーディオ(Audio)が出力されていない状態では高精度AV同期を取ってAudioを出力開始する。
Audioが出力されている状態でVideoSequence(フレームレート、水平垂直画素数)切り替わりなどに伴う表示遅延時間(dt[最新値])が変化してもAudio出力は変化前の表示遅延時間(dt)で継続する。
Audioがアンダーフロー(Underflow)やPTS ギャップ、再生モード遷移などでAudio一時停止後の出力再開する時に最新の表示遅延時間(dt[最新値])で同期を取り直す。
これにより高精度にAV同期を行いながら、PID切替やVideo sequence(水平垂直画素数、フレームレート、PTSのグリッド)の切替りなどに伴って表示遅延時間(dt)が変化しても、高精度AV同期を保ちながら、Audioの音飛びや映像出力の乱れを回避できる。
The data processing apparatus 100 according to the present embodiment is configured to include the following control methods in the synchronization error detection method and the synchronization error correction method.
When audio is not being output, high-precision AV synchronization is taken and audio output is started.
Even if the display delay time (dt [latest value]) changes due to switching of VideoSequence (frame rate, number of horizontal and vertical pixels) while audio is output, the audio output is the display delay time (dt) before the change. continue.
When audio resumes output after audio is paused due to underflow, PTS gap, playback mode transition, etc., resynchronization is performed with the latest display delay time (dt [latest value]).
This ensures high accuracy even when the display delay time (dt) changes due to switching of PID or video sequence (horizontal / vertical pixel count, frame rate, PTS grid) while performing AV synchronization with high accuracy. While maintaining AV synchronization, audio skipping and video output disturbance can be avoided.

次に、表示遅延時間dt[最新値]の算出処理について説明する。
図11は、本実施形態に係るデータ処理装置100の表示遅延時間dt[最新値]の算出について説明するためのフローチャートである。
Next, the display delay time dt [latest value] calculation process will be described.
FIG. 11 is a flowchart for explaining the calculation of the display delay time dt [latest value] of the data processing apparatus 100 according to the present embodiment.

まずステップSP201にて、映像デコーダ部115は映像のフレームレートまたは水平垂直画素数に変化があったか否かを判定する。変化があった場合は、ステップSP202に移行する。   First, in step SP201, the video decoder unit 115 determines whether or not the video frame rate or the number of horizontal and vertical pixels has changed. If there is a change, the process proceeds to step SP202.

ステップSP202では、必要に応じて垂直同期信号の周期設定を行う。すなわち、映像デコーダ部115からの垂直同期信号設定情報I109により、水平垂直同期信号発生回路123は、周期設定を変更する。その後、ステップSP203へ移行する。   In step SP202, the period of the vertical synchronization signal is set as necessary. That is, the horizontal / vertical synchronization signal generating circuit 123 changes the cycle setting according to the vertical synchronization signal setting information I109 from the video decoder 115. Thereafter, the process proceeds to step SP203.

ステップSP203において、垂直同期信号の周期時間Vtを算出する。   In step SP203, the cycle time Vt of the vertical synchronizing signal is calculated.

ステップSP204に移り、表示時刻情報抽出部114から表示時刻PTSVが示された表示時刻情報I102が演算回路125に送られる。   In step SP204, the display time information I102 indicating the display time PTSV is sent from the display time information extraction unit 114 to the arithmetic circuit 125.

一方、第1ラッチ回路124は、予め、水平垂直同期信号発生回路123から垂直同期信号S102が供給されたタイミングで、STCカウンタ部110から供給された基準時刻を示す基準時刻情報I101(STC[vt])をラッチしている。これによりこの第1ラッチ回路124から演算回路125に対しては、基準時刻が示された基準時刻情報I101が供給されている(ステップSP205、SP206)。   On the other hand, the first latch circuit 124 has reference time information I101 (STC [vt] indicating the reference time supplied from the STC counter unit 110 at the timing when the vertical synchronization signal S102 is supplied from the horizontal / vertical synchronization signal generation circuit 123 in advance. ]) Is latched. As a result, the reference time information I101 indicating the reference time is supplied from the first latch circuit 124 to the arithmetic circuit 125 (steps SP205 and SP206).

dt[最新値]を算出に必要となる情報が揃ったため、ステップSP207で式(1)の計算を行うことにより、dt[最新値]を算出する。   Since information necessary for calculating dt [latest value] has been prepared, dt [latest value] is calculated by performing calculation of equation (1) in step SP207.

ステップSP208にて、演算回路125からdt[最新値]の情報I103が送られ、表示遅延時間管理部126は、dt[最新値]を保存する。   In step SP208, the information I103 of dt [latest value] is sent from the arithmetic circuit 125, and the display delay time management unit 126 stores dt [latest value].

次に、オーディオの出力遅延時間dtの更新処理について説明する。
図12は、本実施形態に係るデータ処理装置のオーディオの出力遅延時間dtの更新処理について説明するためのフローチャートである。
Next, an audio output delay time dt update process will be described.
FIG. 12 is a flowchart for explaining an audio output delay time dt update process of the data processing apparatus according to the present embodiment.

ステップSP301またはステップSP303の判定で、判定結果が肯定であれば、出力遅延時間dtをステップSP302またはステップSP304にてdt[最新値]に更新する。
ステップSP301またはステップSP303の条件判定に必要となる情報は、音声デコーダ部119からの音声同期ずれ検出情報I108により与えられる。
また、判定結果が否定であれば、出力遅延時間dtは変化しない。
また、図7のタイムチャートにおいては、ステップSP303の条件であるAudioのGap・無音が発生した場合に出力遅延時間dtを更新する状況を示している。
If the determination result in step SP301 or step SP303 is affirmative, the output delay time dt is updated to dt [latest value] in step SP302 or step SP304.
Information necessary for the condition determination in step SP301 or step SP303 is given by the audio synchronization deviation detection information I108 from the audio decoder unit 119.
If the determination result is negative, the output delay time dt does not change.
In addition, the time chart of FIG. 7 shows a situation in which the output delay time dt is updated when an audio gap or silence occurs as the condition of step SP303.

次に、ビデオ(Video)およびオーディオ(Audio)の同期ずれ検出・修正について説明する。
映像デコーダ部115および音声デコーダ部119が両方ともデコード状態にある時、リップシンクと呼ばれる表示画像と出力音声の同期ずれを検出し、修正する手段が必要となる。
Next, detection and correction of synchronization deviation between video and audio will be described.
When both the video decoder unit 115 and the audio decoder unit 119 are in a decoding state, a means for detecting and correcting a synchronization shift between the display image and the output audio called lip sync is required.

まず、ビデオ(Video)の同期ずれ検出・修正について説明する。
図13は、本実施形態に係るデータ処理装置におけるビデオ(Video)の同期ずれ検出・修正について説明するためのフローチャートである。
First, detection and correction of video synchronization deviation will be described.
FIG. 13 is a flowchart for explaining detection / correction of video synchronization deviation in the data processing apparatus according to the present embodiment.

ステップSP401において、表示時刻情報抽出部114で次の垂直同期信号S102で出力されるPTSVを得たか否かを判定する。
結果が肯定であれば、ステップSP402へ移行する。
In step SP401, the display time information extraction unit 114 determines whether or not the PTSV output by the next vertical synchronization signal S102 has been obtained.
If the result is positive, the process proceeds to step SP402.

ステップSP402では、演算回路125が、表示時刻情報抽出部114より新たなPTSVを得る。   In step SP402, the arithmetic circuit 125 obtains a new PTSV from the display time information extraction unit 114.

第1ラッチ回路124にて、垂直同期信号S102が供給されたタイミングで、STCカウンタ部110から供給された基準時刻を示す基準時刻情報I101(STC[vt])をラッチする(ステップSP403、SP404)。   The first latch circuit 124 latches the reference time information I101 (STC [vt]) indicating the reference time supplied from the STC counter unit 110 at the timing when the vertical synchronization signal S102 is supplied (steps SP403 and SP404). .

ステップSP405に移り、第比較回路120がPTSV−STC[vt]の計算を行い、その結果を同期ずれ検出部136に送る。また、演算回路125は、算出したdt[最新値]を同期ずれ検出部136に送る。 Moving to step SP405, the first comparison circuit 120 calculates PTSV-STC [vt] and sends the result to the synchronization shift detection unit 136. Further, the arithmetic circuit 125 sends the calculated dt [latest value] to the synchronization deviation detection unit 136.

ステップSP406においては、同期ずれ検出部136にてPTSV−STC[vt]の計算結果と表示遅延時間dt[最新値]の和が0となることを確認する。すなわち、Videoの同期ずれがないことを確認する。
肯定結果であれば、ステップSP408へ移行する。否定結果であれば、ステップSP407へ移行する。
In step SP406, the synchronization deviation detection unit 136 confirms that the sum of the calculation result of PTSV-STC [vt] and the display delay time dt [latest value] becomes zero. That is, it is confirmed that there is no video synchronization error.
If the result is affirmative, the process proceeds to step SP408. If the result is negative, the process proceeds to step SP407.

ステップSP408とステップSP409において、ずれ検出方式とずれ修正方式を確認する。少なくともどちらかが否定結果であれば、ずれ検出またはずれ修正を行わない。どちらも肯定結果であれば、ステップSP410へ移行する。   In step SP408 and step SP409, the deviation detection method and the deviation correction method are confirmed. If at least one of the results is negative, no deviation detection or deviation correction is performed. If both are positive, the process proceeds to step SP410.

ステップSP410においは、同期ずれ検出部136にてVideoとAudio間で同期ずれが生じているか否かを確認する。ずれがなければ、何もしない。同期ずれが生じていれば、同期ずれ検出信号S111を同期ずれ修正部137に送出する。   In step SP410, the synchronization error detection unit 136 checks whether or not there is a synchronization error between Video and Audio. If there is no gap, do nothing. If a synchronization error has occurred, a synchronization error detection signal S111 is sent to the synchronization error correction unit 137.

ステップSP411において、同期ずれ修正部137は、同期ずれ量を計算する。
(PTSV−STC[vt])−(PTSA−STC[at])が(dt - dt[最新値])より大きい場合は、VideoがAudioに比べ、進んでいるため、一時停止指令を映像デコーダ部115に送る(ステップSP413)。
また、(PTSV−STC[vt])−(PTSA−STC[at])が(dt - dt[最新値])よりも小さい場合は、VideoがAuidoに比べ、遅れているため、映像デコーダ部115に読み飛ばし指令を送る(ステップSP414)。
In step SP411, the synchronization error correction unit 137 calculates the amount of synchronization error.
When (PTSV-STC [vt]) − (PTSA-STC [at]) is larger than (dt−dt [latest value]), video is advanced as compared with audio, so a pause command is issued to the video decoder unit. 115 (step SP413).
Further, when (PTSV-STC [vt]) − (PTSA-STC [at]) is smaller than (dt−dt [latest value]), the video is delayed compared to Auido, and therefore the video decoder unit 115. Is sent a skip command (step SP414).

ステップSP406の判定結果が否定であれば、PTSV−STC[vt]とdt[最新値]の差分値に対する絶対値と一定値Tnとを比較する(ステップSP407)。
差分値の絶対値がTn未満であれば、ずれを調べた後(ステップSP412)、ずれ修正を実施する(ステップSP413、SP414)。
If the determination result in step SP406 is negative, the absolute value of the difference value between PTSV-STC [vt] and dt [latest value] is compared with the constant value Tn (step SP407).
If the absolute value of the difference value is less than Tn, the deviation is examined (step SP412), and then the deviation is corrected (steps SP413 and SP414).

ステップSP407の判定結果が否定である、すなわち、差分値の絶対値が一定値Tn以上であれば、深刻な同期ずれが生じたと判断して、バッファをクリアし、警告表示を行った後に、停止状態へ移行する(ステップSP415、SP416)。   If the determination result in step SP407 is negative, that is, if the absolute value of the difference value is greater than or equal to a certain value Tn, it is determined that a serious synchronization error has occurred, the buffer is cleared, and a warning is displayed. Transition to the state (steps SP415 and SP416).

次に、オーディオ(Audio)の同期ずれ検出・修正について説明する。
図14は、本実施形態に係るデータ処理装置におけるオーディオ(Audio)の同期ずれ検出・修正について説明するためのフローチャートである。
Next, detection and correction of audio synchronization deviation will be described.
FIG. 14 is a flowchart for explaining detection / correction of audio synchronization loss in the data processing apparatus according to the present embodiment.

ステップSP501において、出音時刻情報抽出部118で次のオーディオフレーム(Audio Frame)出力同期信号S105で出力されるPTSAを得たか否かを判定する。結果が肯定であれば、ステップSP502へ移行する。   In step SP501, it is determined whether or not the sound output time information extraction unit 118 has obtained the PTSA output by the next audio frame output synchronization signal S105. If the result is affirmative, the process proceeds to step SP502.

ステップSP502においては、第3演算回路135が、出音時刻情報抽出部118より新たなPTSAを得る。   In step SP502, the third arithmetic circuit 135 obtains a new PTSA from the sound output time information extraction unit 118.

第2ラッチ回路133において、同期信号発生回路127からAudio Frame出力同期信号S105が供給されたタイミングで、STCカウンタ部110から供給された基準時刻を示す基準時刻情報I101(STC[at])をラッチする(ステップSP403、SP404)。   The second latch circuit 133 latches the reference time information I101 (STC [at]) indicating the reference time supplied from the STC counter unit 110 at the timing when the audio frame output synchronization signal S105 is supplied from the synchronization signal generation circuit 127. (Steps SP403 and SP404).

ステップSP505において、第3演算回路135がPTSA−STC[at]の計算を行い、その結果を同期ずれ検出部136に送る。また、表示遅延時間管理部128は、dtを同期ずれ検出部136に送る。   In step SP505, the third arithmetic circuit 135 calculates PTSA-STC [at] and sends the result to the synchronization shift detection unit 136. Further, the display delay time management unit 128 sends dt to the synchronization shift detection unit 136.

ステップSP506においては、同期ずれ検出部136にてPTSA−STC[at]の計算結果と表示遅延時間dtの和が0となることを確認する。すなわち、Audioの同期ずれがないことを確認する。
肯定結果であれば、ステップSP508へ移行する。否定結果であれば、ステップSP507へ移行する。
In step SP506, the synchronization shift detection unit 136 confirms that the sum of the calculation result of PTSA-STC [at] and the display delay time dt is zero. That is, it is confirmed that there is no audio synchronization loss.
If the result is affirmative, the process proceeds to step SP508. If the result is negative, the process proceeds to step SP507.

ステップSP508とステップSP509において、ずれ検出方式とずれ修正方式を確認する。少なくともどちらかが否定結果であれば、ずれ検出またはずれ修正を行わない。どちらも肯定結果であれば、ステップSP510へ移行する。   In step SP508 and step SP509, the deviation detection method and the deviation correction method are confirmed. If at least one of the results is negative, no deviation detection or deviation correction is performed. If both are positive, the process proceeds to step SP510.

ステップSP510においては、同期ずれ検出部136にてVideoとAudio間で同期ずれが生じているか否かを確認する。ずれが無ければ、何もしない。同期ずれが生じていれば、同期ずれ検出信号S111を同期ずれ修正部137に送出する。   In step SP510, the synchronization error detection unit 136 checks whether or not there is a synchronization error between Video and Audio. If there is no gap, do nothing. If a synchronization error has occurred, a synchronization error detection signal S111 is sent to the synchronization error correction unit 137.

ステップSP511において、同期ずれ修正部137は、同期ずれ量を計算する。
(PTSA−STC[at])−(PTSV−STC[vt])が(dt[最新値] dt)より大きい場合は、AudioがVideoに比べ、進んでいるため、一時停止指令を音声デコーダ部119に送る(ステップSP513)。
また、(PTSA−STC[at])−(PTSV−STC[vt])が(dt[最新値] dt)よりも小さい場合は、AudioがVideoに比べ、遅れているため、音声デコーダ部119に読み飛ばし指令を送る(ステップSP514)。
In step SP511, the synchronization error correction unit 137 calculates the amount of synchronization error.
When (PTSA-STC [at])-(PTSV-STC [vt]) is larger than (dt [latest value] dt), the audio is advanced as compared with the video, so the pause command is sent to the audio decoder unit 119. (Step SP513).
If (PTSA-STC [at])-(PTSV-STC [vt]) is smaller than (dt [latest value] dt), the audio is delayed compared to the video, and therefore the audio decoder unit 119 A skip reading command is sent (step SP514).

ステップSP506の判定結果が否定であれば、PTSA−STC[at]とdtの差分値に対する絶対値と一定値Tnと比較する(ステップSP507)。
差分値の絶対値がTn未満であれば、ずれを調べた後(ステップSP512)、ずれ修正を実施する(ステップSP513、SP514)。
If the determination result in step SP506 is negative, the absolute value of the difference value between PTSA-STC [at] and dt is compared with a constant value Tn (step SP507).
If the absolute value of the difference value is less than Tn, the deviation is checked (step SP512), and then the deviation is corrected (steps SP513 and SP514).

ステップSP507の判定結果が否定である、すなわち、差分値の絶対値が一定値Tn以上であれば、深刻な同期ずれが生じたと判断して、バッファをクリアし、警告表示を行った後に、停止状態へ移行する(ステップSP515、SP516)。   If the determination result in step SP507 is negative, that is, if the absolute value of the difference value is greater than or equal to a certain value Tn, it is determined that a serious synchronization error has occurred, the buffer is cleared, a warning is displayed, and then the operation is stopped. Transition to the state (steps SP515 and SP516).

以上説明したように、本実施形態のデータ処理装置100は、出音処理部131、出音部132から音声が出力されていない状態では、映像と音声との同期をとって上記音声の出力を開始し、出音処理部131、出音部132から音声が出力されている状態において、演算回路125による表示遅延時間が変化した場合には、この変化直前の表示遅延時間をもって音声の出力を継続し、音声出力が一時停止後に出力再開するときは、演算回路125による最新の表示遅延時間で映像と音声との同期をとり直すように構成したことから、以下の効果を得ることができる。 As described above, in the data processing apparatus 100 according to the present embodiment, in the state where no sound is output from the sound output processing unit 131 and the sound output unit 132, the output of the sound is performed by synchronizing the video and the sound. When the display delay time by the arithmetic circuit 125 changes while the sound is output from the sound output processing unit 131 and the sound output unit 132, the sound output is performed with the display delay time immediately before the change. When the audio output is resumed after the audio output is temporarily stopped, since the video and audio are synchronized again with the latest display delay time by the arithmetic circuit 125, the following effects can be obtained. .

表示遅延時間(dt)が変化しても、高精度AV同期を保ちながら、オーディオ(Audio)の音飛びや映像出力の乱れを回避することができる。
また、たとえば、MPEG方式等に基づいてエンコードされた圧縮映像データおよび圧縮音声データをデコードすることにより映像および音声を出力するようになされたデコード装置に利用することができる。
ここでいうデコード装置には放送の受信視聴装置や蓄積メディア(DVD、Blu-ray Disk、HDDなど)の再生装置などが含まれ、本発明はこれらに対しても利用できる。
そして、これらの装置において次のような効果が得られる。
Even if the display delay time (dt) changes, it is possible to avoid audio skipping and disturbance of video output while maintaining high-precision AV synchronization.
Further, for example, the present invention can be used for a decoding apparatus that outputs video and audio by decoding compressed video data and compressed audio data encoded based on the MPEG method or the like.
The decoding device here includes a broadcast receiving / viewing device, a reproducing device for storage media (DVD, Blu-ray Disk, HDD, etc.), etc., and the present invention can also be used for these.
And the following effects are acquired in these apparatuses.

1)高精度AV同期を保障できる。
2)PID切替やVideo sequence(水平垂直画素数、フレームレート、PTSのグリッド)の切替りなどに伴って表示遅延時間(dt)が変化しても、高精度AV同期を保てる。
3)PID切替やVideo sequence(水平垂直画素数、フレームレート、PTSのグリッド)の切替りなどに伴って表示遅延時間(dt)が変化しても、高精度AV同期を保ちながら、Audioの音飛びや映像出力の乱れを回避しうる。
4)表示部130・出音部132が、記録機またはエンコーダに接続されていた場合(たとえば、HDDレコーダー、DVDレコーダー等の再圧縮・符号化するシステムの場合)、記録される画音のずれが無くなる。
1) High accuracy AV synchronization can be guaranteed.
2) Even if the display delay time (dt) changes due to switching of PID or switching of video sequence (number of horizontal / vertical pixels, frame rate, PTS grid), high-accuracy AV synchronization can be maintained.
3) Even if the display delay time (dt) changes due to PID switching or video sequence (horizontal / vertical pixel count, frame rate, PTS grid) switching, etc., audio sound is maintained while maintaining high-precision AV synchronization. It is possible to avoid flying and disturbance of video output.
4) When the display unit 130 and the sound output unit 132 are connected to a recorder or encoder (for example, in the case of a system for recompression / encoding such as an HDD recorder, a DVD recorder, etc.) Disappears.

デジタル放送受信機の一般的な栄上音声出力処理手順を示すフローチャートである。It is a flowchart which shows the general honor audio | voice output processing procedure of a digital broadcast receiver. 映像表示タイミングと出音タイミングを示すタイムチャートである。It is a time chart which shows video display timing and sound output timing. データ再生装置の構成例を示す図である。It is a figure which shows the structural example of a data reproduction apparatus. 図3のデータ再生装置のトラックジャンプの様子を示す図である。FIG. 4 is a diagram showing a state of track jumping in the data reproducing apparatus in FIG. 3. 本発明の実施形態に係るデータ処理装置の構成例を示すブロック図である。It is a block diagram which shows the structural example of the data processor which concerns on embodiment of this invention. 図5のデータ処理装置の基本的な映像表示タイミングと出音タイミングを示すタイムチャートである。6 is a time chart showing basic video display timing and sound output timing of the data processing apparatus of FIG. 5. 図5のデータ処理装置の表示遅延時間の更新にかかわる映像表示タイミングと出音タイミングを示すタイムチャートである。6 is a time chart showing video display timing and sound output timing related to update of display delay time of the data processing device of FIG. 5. 本実施形態に対する比較例として示す図であって、特許文献3に開示された蓄積データの再生装置の映像表示タイミングと出音タイミングを示すタイムチャートである。It is a figure shown as a comparative example with respect to this embodiment, Comprising: It is a time chart which shows the video display timing and sound output timing of the reproducing | regenerating apparatus of the accumulation data disclosed by patent document 3. FIG. 本実施形態に対する比較例として示す図であって、本実施形態の構成を有していない場合のデジタル放送受信機の映像表示タイミングと出音タイミングを示すタイムチャートである。It is a figure shown as a comparative example with respect to this embodiment, Comprising: It is a time chart which shows the video display timing and sound output timing of a digital broadcast receiver when not having the structure of this embodiment. 本実施形態に係るデータ処理装置の状態遷移について説明するためのフローチャートである。It is a flowchart for demonstrating the state transition of the data processor which concerns on this embodiment. 本実施形態に係るデータ処理装置100の表示遅延時間dt[最新値]の算出について説明するためのフローチャートである。It is a flowchart for demonstrating calculation of the display delay time dt [latest value] of the data processor 100 concerning this embodiment. 本実施形態に係るデータ処理装置の表示遅延時間dtの更新処理について説明するためのフローチャートである。It is a flowchart for demonstrating the update process of the display delay time dt of the data processor which concerns on this embodiment. 本実施形態に係るデータ処理装置におけるビデオ(Video)の同期ずれ検出・修正について説明するためのフローチャートである。It is a flowchart for demonstrating detection and correction | amendment of the synchronization loss of the video (Video) in the data processor which concerns on this embodiment. 本実施形態に係るデータ処理装置におけるオーディオ(Audio)の同期ずれ検出・修正について説明するためのフローチャートである。6 is a flowchart for explaining detection and correction of audio synchronization loss in the data processing apparatus according to the embodiment.

符号の説明Explanation of symbols

100・・・データ処理装置、101・・・デジタルチューナ、102・・・蓄積メディア、103・・・ストリームバッファ、104・・・分離処理部(DEMUX処理部)、105・・・NIT取得部、106・・・PAT取得部、107・・・PMT取得部、108・・・フィルタ部、108A・・・PCRフィルタ、108B・・・映像フィルタ、108C・・・字幕フィルタ、108D・・・音声フィルタ、10・・・源発振クロック生成部、110・・・STCカウンタ部、111・・・映像ESバッファ、112・・・字幕ESバッファ、113・・・音声ESバッファ、114・・・表示時刻情報抽出部、115・・・映像デコーダ部、116・・・出字時刻情報抽出部、117・・・字幕デコーダ部、118・・・出音時刻情報抽出部、119・・・音声デコーダ部、120・・・第1比較回路、121・・・第2比較回路、122・・・第3比較回路、123・・・水平垂直同期信号生成回路、124・・・第1ラッチ回路、125・・・第1演算回路、126・・・加算器、127・・・同期信号発生回路、128・・・表示遅延時間管理部、129・・・表示処理部、130・・・表示部、131・・・出音処理部、132・・・出音部、133・・・第2ラッチ回路、134・・・第2演算回路、135・・・第3演算回路、136・・・同期ずれ検出部、137・・・同期ずれ修正部。 DESCRIPTION OF SYMBOLS 100 ... Data processing apparatus, 101 ... Digital tuner, 102 ... Storage medium, 103 ... Stream buffer, 104 ... Separation processing part (DEMUX processing part), 105 ... NIT acquisition part, 106 ... PAT acquisition unit, 107 ... PMT acquisition unit, 108 ... filter unit, 108A ... PCR filter, 108B ... video filter, 108C ... subtitle filter, 108D ... audio filter 10 9 ... Source oscillation clock generator, 110 ... STC counter, 111 ... Video ES buffer, 112 ... Subtitle ES buffer, 113 ... Audio ES buffer, 114 ... Display time Information extraction unit, 115 ... Video decoder unit, 116 ... Output time information extraction unit, 117 ... Subtitle decoder unit, 118 ... During sound output Information extraction unit, 119: Audio decoder unit, 120: First comparison circuit, 121: Second comparison circuit, 122: Third comparison circuit, 123: Horizontal / vertical synchronization signal generation circuit, 124 ... first latch circuit, 125 ... first arithmetic circuit, 126 ... adder, 127 ... synchronization signal generation circuit, 128 ... display delay time management unit, 129 ... display processing , 130 ... display unit, 131 ... sound output processing unit, 132 ... sound output unit, 133 ... second latch circuit, 134 ... second arithmetic circuit, 135 ... third Arithmetic circuit, 136... Synchronization deviation detection unit, 137... Synchronization deviation correction unit.

Claims (13)

映像表示タイミング信号が供給されたとき、映像データに基づく映像を表示する表示手段と、
基準時刻をカウントするカウンタ手段と、
上記映像データに基づく映像を表示すべき表示時刻以後、映像を表示させるタイミングを示す上記映像表示タイミング信号を所定の周期で上記表示手段に供給する供給手段と、
上記映像データに基づく映像を表示すべき上記表示時刻と上記基準時刻から上記表示手段により当該映像が表示されるまでの表示遅延時間を算出する算出手段と、
音声データに基づく音声を出力すべき出音時刻から上記算出手段で算出した表示遅延時間が経過したとき、上記音声データに基づく音声を出力可能な出音手段と、
上記出音手段における上記音声の出力状態に応じて、上記出音手段の音声の出音タイミングを制御する制御手段と
少なくとも、上記表示遅延時間と上記出音時刻情報と上記基準時刻情報に基づいて、上記映像と上記音声の同期ずれを検出し、検出したずれ量に応じて同期ずれを修正する同期検出修正手段と
を有するデータ処理装置。
Display means for displaying video based on video data when a video display timing signal is supplied;
Counter means for counting the reference time;
Supply means for supplying the video display timing signal indicating the timing for displaying video after a display time at which video based on the video data is to be displayed to the display means at a predetermined period;
Calculating means for calculating a display delay time from the display time when the video based on the video data is to be displayed and the reference time until the video is displayed by the display means;
Sound output means capable of outputting sound based on the sound data when the display delay time calculated by the calculation means has elapsed from the sound output time at which sound based on the sound data should be output;
Control means for controlling the sound output timing of the sound of the sound output means according to the output state of the sound in the sound output means ;
Synchronization detection correction means for detecting a synchronization shift between the video and the audio based on at least the display delay time, the sound output time information, and the reference time information, and correcting the synchronization shift according to the detected shift amount; A data processing apparatus.
映像データをデコードして上記表示手段に供給する映像デコード手段と、
上記算出手段の算出結果である表示遅延時間情報を保持し、所定条件を満たすタイミングで保持情報を更新する表示遅延時間管理手段と、を有し、
上記同期検出修正手段は、
上記算出手段の算出結果である表示遅延時間と上記表示遅延時間管理手段に保持されている表示遅延時間から映像に同期ずれがないことを確認して、映像と音声間に同期ずれが生じているか否かを確認し、
映像が音声に比べて進んでいる場合には、上記映像デコード手段に一時動作を停止するように一時停止指令を送信し、
映像が音声に比べて遅れている場合には、上記映像デコード手段に読み飛ばしするように読み飛ばし指令を送信する
請求項1記載のデータ処理装置。
Video decoding means for decoding video data and supplying it to the display means;
Holding display delay time information as a calculation result of the calculation means, and having display delay time management means for updating the hold information at a timing satisfying a predetermined condition,
The synchronization detection correction means is
Confirm that there is no synchronization deviation from the video from the display delay time calculated by the calculation means and the display delay time held in the display delay time management means, and whether there is a synchronization deviation between the video and audio. Check whether or not
If the video is ahead of the audio, send a pause command to the video decoding means to stop the temporary operation,
2. The data processing apparatus according to claim 1 , wherein when the video is delayed compared to the audio, a skip instruction is transmitted so as to skip the video decoding means .
音声データをデコードして上記出音手段に供給する音声デコード手段と、
上記算出手段の算出結果である表示遅延時間情報を保持し、所定条件を満たすタイミングで保持情報を更新する表示遅延時間管理手段と、
上記出音時刻と上記基準時刻との差分情報を上記同期検出修正手段に供給する演算手段と、を有し、
上記同期検出修正手段は、
上記演算手段の演算結果である差分情報と上記表示遅延時間管理手段に保持されている表示遅延時間から音声に同期ずれがないことを確認して、映像と音声間に同期ずれが生じているか否かを確認し、
音声が映像に比べて進んでいる場合には、上記音声デコード手段に一時動作を停止するように一時停止指令を送信し、
音声が映像に比べて遅れている場合には、上記音声デコード手段に読み飛ばしするように読み飛ばし指令を送信する
請求項1または2記載のデータ処理装置。
Audio decoding means for decoding audio data and supplying it to the sound output means;
Display delay time management means for holding display delay time information which is a calculation result of the calculation means, and updating the hold information at a timing satisfying a predetermined condition;
Calculating means for supplying difference information between the sound output time and the reference time to the synchronization detection correcting means,
The synchronization detection correction means is
Confirm that there is no synchronization loss between the audio and the video based on the difference information as the calculation result of the calculation means and the display delay time held in the display delay time management means. Check
If the audio is ahead of the video, send a pause command to the audio decoding means to stop the temporary operation,
3. A data processing apparatus according to claim 1 , wherein when the audio is delayed from the video, a skip instruction is transmitted so as to skip the audio decoding means .
上記音声データに含まれる出音時刻情報と上記算出手段による上記表示遅延時間に基づいて上記出音タイミングと上記映像表示タイミングとが一致するようにタイミングを調整する同期調整手段を有する
請求項1から3のいずれか一に記載のデータ処理装置。
2. Synchronous adjustment means for adjusting timing so that the sound output timing and the video display timing coincide with each other based on sound output time information included in the audio data and the display delay time by the calculating means. 4. The data processing device according to any one of 3.
上記制御手段は、
上記出音手段から音声が出力されていない状態では、上記映像と上記音声との同期をとって上記音声の出力を開始する
請求項1から4のいずれか一に記載のデータ処理装置。
The control means includes
The above in the state where the sound output sound from the means is not output, the data processing apparatus as claimed in any one of 4 to take the synchronization with the video and the audio to start output of the audio.
上記制御手段は、
上記出音手段から音声が出力されている状態において、上記算出手段による表示遅延時間が変化した場合には、当該変化直前の表示遅延時間をもって当該音声の出力を継続する
請求項1から5のいずれか一に記載のデータ処理装置。
The control means includes
In a state where the sound from the sound output means is output, if the display delay time by the calculation means is changed, either with a display delay time of the change immediately before the claims 1 to continue the output of the sound of 5 the data processing apparatus according to one or.
上記制御手段は、
上記出音手段の音声出力が一時停止後に出力再開するときは、上記算出手段による最新の上記表示遅延時間で上記映像と音声との同期をとり直す
請求項1から6のいずれか一に記載のデータ処理装置。
The control means includes
The when the audio output of the sound output means outputs resumed after pausing, as claimed in any one of claims 1 to resynchronize with the video and audio in the latest of the display delay time 6 by the calculating means Data processing device.
映像表示タイミング信号が供給されたとき、映像データに基づく映像を表示手段に表示する表示ステップと、
基準時刻をカウントするカウントステップと、
上記映像データに基づく映像を表示すべき表示時刻以後、映像を表示させるタイミングを示す上記映像表示タイミング信号を所定の周期で供給する供給ステップと、
上記映像データに基づく映像を表示すべき上記表示時刻と上記基準時刻から上記表示ステップにより当該映像が表示されるまでの表示遅延時間を算出する算出ステップと、
音声データに基づく音声を出力すべき出音時刻から上記算出ステップで算出した表示遅延時間が経過したとき、上記音声データに基づく音声を出力する出音ステップと、
上記出音ステップにおける上記音声の出力状態に応じて、上記出音ステップの出音タイミングを制御する制御ステップと、
少なくとも、上記表示遅延時間と上記出音時刻情報と上記基準時刻情報に基づいて、上記映像と上記音声の同期ずれを検出し、検出したずれ量に応じて同期ずれを修正する同期検出修正ステップと
を有するデータ処理方法。
A display step of displaying a video based on the video data on the display means when the video display timing signal is supplied;
A counting step for counting a reference time;
A supply step of supplying the video display timing signal indicating a timing for displaying the video at a predetermined cycle after a display time when the video based on the video data is to be displayed;
A calculation step of calculating a display delay time from the display time when the video based on the video data is to be displayed and the reference time until the video is displayed by the display step;
A sound output step for outputting sound based on the sound data when the display delay time calculated in the calculation step has elapsed from the sound output time at which sound based on the sound data is to be output;
A control step for controlling the sound output timing of the sound output step in accordance with the output state of the sound in the sound output step ;
A synchronization detection correcting step for detecting a synchronization shift between the video and the audio based on at least the display delay time, the sound output time information, and the reference time information, and correcting the synchronization shift according to the detected shift amount; A data processing method.
映像デコード手段で映像データをデコードして上記表示手段に供給する映像デコードステップと、
上記算出ステップの算出結果である表示遅延時間情報を保持し、所定条件を満たすタイミングで保持情報を更新する表示遅延時間保持ステップと、を有し、
上記同期検出修正ステップでは、
上記算出ステップの算出結果である表示遅延時間と上記表示遅延時間ステップで保持されている表示遅延時間から映像に同期ずれがないことを確認して、映像と音声間に同期ずれが生じているか否かを確認し、
映像が音声に比べて進んでいる場合には、上記映像デコード手段に一時動作を停止するように一時停止指令を送信し、
映像が音声に比べて遅れている場合には、上記映像デコード手段に読み飛ばしするように読み飛ばし指令を送信する
請求項8記載のデータ処理方法。
A video decoding step of decoding video data by the video decoding means and supplying the decoded video data to the display means;
A display delay time holding step of holding display delay time information as a calculation result of the calculation step and updating the hold information at a timing satisfying a predetermined condition;
In the synchronization detection correction step,
Confirm that there is no synchronization error between the video and the audio by confirming that there is no synchronization error from the display delay time calculated in the calculation step and the display delay time held in the display delay time step. Check
If the video is ahead of the audio, send a pause command to the video decoding means to stop the temporary operation,
9. The data processing method according to claim 8 , wherein when the video is delayed compared to the audio, a skip instruction is transmitted to the video decoding means so as to skip the video .
音声デコード手段で音声データをデコードして出音手段に供給する音声デコードステップと、
上記算出ステップの算出結果である表示遅延時間情報を保持し、所定条件を満たすタイミングで保持情報を更新する表示遅延時間ステップと、
上記出音時刻と上記基準時刻との差分情報を演算する演算ステップと、を有し、
上記同期検出修正ステップは、
上記演算ステップの演算結果である差分情報と上記表示遅延時間ステップで保持されている表示遅延時間から音声に同期ずれがないことを確認して、映像と音声間に同期ずれが生じているか否かを確認し、
音声が映像に比べて進んでいる場合には、上記音声デコード手段に一時動作を停止するように一時停止指令を送信し、
音声が映像に比べて遅れている場合には、上記音声デコード手段に読み飛ばしするように読み飛ばし指令を送信する
請求項8または9記載のデータ処理方法。
A sound decoding step of decoding sound data by the sound decoding means and supplying the sound data to the sound output means;
A display delay time step that holds display delay time information that is a calculation result of the calculation step and updates the hold information at a timing that satisfies a predetermined condition;
A calculation step of calculating difference information between the sound output time and the reference time,
The synchronization detection correction step is
Check that there is no synchronization error in the audio from the difference information, which is the calculation result of the calculation step, and the display delay time held in the display delay time step. Check
If the audio is ahead of the video, send a pause command to the audio decoding means to stop the temporary operation,
The data processing method according to claim 8 or 9 , wherein when audio is delayed compared to video, a skip instruction is transmitted so as to skip to the audio decoding means .
映像表示タイミング信号が供給されたとき、映像データに基づく映像を表示手段に表示する表示処理と、
基準時刻をカウントするカウント処理と、
上記映像データに基づく映像を表示すべき表示時刻以後、映像を表示させるタイミングを示す上記映像表示タイミング信号を所定の周期で供給する供給処理と、
上記映像データに基づく映像を表示すべき上記表示時刻と上記基準時刻から上記表示処理により当該映像が表示されるまでの表示遅延時間を算出する算出処理と、
音声データに基づく音声を出力すべき出音時刻から上記算出処理で算出した表示遅延時間が経過したとき、上記音声データに基づく音声を出力する出音処理と、
上記出音処理における上記音声の出力状態に応じて、上記出音処理の出音タイミングを制御する制御処理と、
少なくとも、上記表示遅延時間と上記出音時刻情報と上記基準時刻情報に基づいて、上記映像と上記音声の同期ずれを検出し、検出したずれ量に応じて同期ずれを修正する同期検出修正処理と
を含むデータ処理をコンピュータに実行させるデータ処理プログラム。
Display processing for displaying video based on video data on the display means when the video display timing signal is supplied;
A counting process for counting the reference time;
A supply process for supplying the video display timing signal indicating a timing for displaying the video at a predetermined cycle after a display time when the video based on the video data is to be displayed;
A calculating process for calculating a display delay time from the display time and the reference time to be displayed an image based on the video data until the image is displayed by the display process,
A sound output process for outputting sound based on the sound data when the display delay time calculated in the calculation process has elapsed from the sound output time at which sound based on the sound data should be output;
Depending on the output state of the sound in the sound output process, a control process for controlling the sound output timing of the sound output processing,
Synchronization detection correction processing for detecting a synchronization shift between the video and the audio based on at least the display delay time, the sound output time information, and the reference time information, and correcting the synchronization shift according to the detected shift amount;
A data processing program for causing a computer to execute data processing including:
映像デコード手段で映像データをデコードして上記表示手段に供給する映像デコード処理と、
上記算出処理の算出結果である表示遅延時間情報を保持し、所定条件を満たすタイミングで保持情報を更新する表示遅延時間保持処理と、を含み、
上記同期検出修正処理では、
上記算出処理の算出結果である表示遅延時間と上記表示遅延時間処理で保持されている表示遅延時間から映像に同期ずれがないことを確認して、映像と音声間に同期ずれが生じているか否かを確認し、
映像が音声に比べて進んでいる場合には、上記映像デコード手段に一時動作を停止するように一時停止指令を送信し、
映像が音声に比べて遅れている場合には、上記映像デコード手段に読み飛ばしするように読み飛ばし指令を送信する
データ処理をコンピュータに実行させる請求項11記載のデータ処理プログラム
A video decoding process for decoding video data by the video decoding means and supplying the video data to the display means;
Holding display delay time information that is a calculation result of the calculation process, and updating display delay time information at a timing that satisfies a predetermined condition,
In the above sync detection correction process,
Check that there is no synchronization error between the video and the audio by confirming that there is no synchronization error from the display delay time that is the calculation result of the calculation process and the display delay time that is held by the display delay time process. Check
If the video is ahead of the audio, send a pause command to the video decoding means to stop the temporary operation,
12. The data processing program according to claim 11, which causes the computer to execute data processing for transmitting a skip instruction so as to skip the video decoding means when the video is delayed compared to the audio .
音声デコード手段で音声データをデコードして出音手段に供給する音声デコード処理と、
上記算出処理の算出結果である表示遅延時間情報を保持し、所定条件を満たすタイミングで保持情報を更新する表示遅延時間処理と、
上記出音時刻と上記基準時刻との差分情報を演算する演算処理と、を含み、
上記同期検出修正処理は、
上記演算処理の演算結果である差分情報と上記表示遅延時間処理で保持されている表示遅延時間から音声に同期ずれがないことを確認して、映像と音声間に同期ずれが生じているか否かを確認し、
音声が映像に比べて進んでいる場合には、上記音声デコード手段に一時動作を停止するように一時停止指令を送信し、
音声が映像に比べて遅れている場合には、上記音声デコード手段に読み飛ばしするように読み飛ばし指令を送信する
データ処理をコンピュータに実行させる請求項11または12記載のデータ処理プログラム
An audio decoding process for decoding the audio data by the audio decoding means and supplying it to the sound output means;
Display delay time information that is a calculation result of the calculation process, and holds the display delay time information at a timing that satisfies a predetermined condition;
A calculation process for calculating difference information between the sound output time and the reference time,
The synchronization detection correction process is
Confirm that there is no synchronization error in the audio from the difference information that is the calculation result of the calculation process and the display delay time held in the display delay time process, and whether there is a synchronization error between the video and the audio. Check
If the audio is ahead of the video, send a pause command to the audio decoding means to stop the temporary operation,
The data processing program according to claim 11 or 12, which causes the computer to execute data processing for transmitting a skip instruction so as to skip to the audio decoding means when the audio is delayed compared to the video .
JP2005287829A 2005-09-30 2005-09-30 Data processing apparatus, method thereof, and program Expired - Fee Related JP4997735B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005287829A JP4997735B2 (en) 2005-09-30 2005-09-30 Data processing apparatus, method thereof, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005287829A JP4997735B2 (en) 2005-09-30 2005-09-30 Data processing apparatus, method thereof, and program

Publications (2)

Publication Number Publication Date
JP2007104030A JP2007104030A (en) 2007-04-19
JP4997735B2 true JP4997735B2 (en) 2012-08-08

Family

ID=38030577

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005287829A Expired - Fee Related JP4997735B2 (en) 2005-09-30 2005-09-30 Data processing apparatus, method thereof, and program

Country Status (1)

Country Link
JP (1) JP4997735B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009182912A (en) * 2008-02-01 2009-08-13 Hitachi Ltd Video/audio reproducing apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002176643A (en) * 2000-12-06 2002-06-21 Hitachi Kokusai Electric Inc Synchronization recovery system for video/audio in video/ audio decoding processing
JP4480971B2 (en) * 2002-09-06 2010-06-16 船井電機株式会社 Optical disk playback device

Also Published As

Publication number Publication date
JP2007104030A (en) 2007-04-19

Similar Documents

Publication Publication Date Title
EP0686973B1 (en) Data reproducing device and data recording medium
US20090116814A1 (en) Reproducer, portable telephone, and reproducing method
KR101967818B1 (en) Receiver and the receiving method thereof
JP2005505211A (en) Robust method for recovering the program time base in MPEG-2 transport stream and realizing audio / video synchronization
US6339675B1 (en) Synchronization lag control apparatus and method
KR101246916B1 (en) Method and apparatus for compensating of audio/video synchronization
US20070086729A1 (en) Method for reproducing data of optical disc
KR20050109076A (en) Data broadcast playback control device, data broadcast playback control method, data broadcast playback control program, and recording medium recording program thereon
JP4997735B2 (en) Data processing apparatus, method thereof, and program
JP2007259313A (en) Stream reproduction method and reproduction apparatus
CN100581234C (en) Recording and reproducing device
US7907812B2 (en) Image and audio recording/reproducing apparatus
JP4514618B2 (en) Digital broadcast receiver
JP2009111955A (en) Stream reproducing device
JP2006352587A (en) Information processor
KR100631783B1 (en) System and method for synchronizing multimedia data with metadata
JPH10164512A (en) Data-processing synchronization device
JP4893801B2 (en) Recording apparatus and recording method
AU708660B2 (en) Data reproducing device and data recording medium
JP2006134390A (en) Clock generation apparatus and clock generation method
CA2385422C (en) Data reproduction apparatus and data storage medium
US20090208183A1 (en) Method and apparatus for generating media clock and recording medium storing the method
JP2019186732A (en) Recorder and playback method of recorded information
JP2009010794A (en) Image processing device
JP2004362774A (en) Data-reproducing device and data-recording medium

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080917

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110519

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110712

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110830

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

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120430

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

Free format text: PAYMENT UNTIL: 20150525

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees