JP4826407B2 - Recording / playback device - Google Patents

Recording / playback device Download PDF

Info

Publication number
JP4826407B2
JP4826407B2 JP2006255174A JP2006255174A JP4826407B2 JP 4826407 B2 JP4826407 B2 JP 4826407B2 JP 2006255174 A JP2006255174 A JP 2006255174A JP 2006255174 A JP2006255174 A JP 2006255174A JP 4826407 B2 JP4826407 B2 JP 4826407B2
Authority
JP
Japan
Prior art keywords
data
buffer
audio
video
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2006255174A
Other languages
Japanese (ja)
Other versions
JP2007043736A (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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2006255174A priority Critical patent/JP4826407B2/en
Publication of JP2007043736A publication Critical patent/JP2007043736A/en
Application granted granted Critical
Publication of JP4826407B2 publication Critical patent/JP4826407B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明はデータストリームを再生する再生装置に関する。   The present invention relates to a playback device for playing back a data stream.

近年、テレビ放送をハードディスク(以降、HDDと略す)やブルーレイディスクなどの記
録媒体に記録し、後から視聴を行うことが可能なテレビ放送受信機やパーソナルコンピュ
ータ等のデジタル機器が多く出回っている。テレビ放送のように膨大なデータを効率よく
処理するためにはデータの圧縮・伸張する技術が不可欠である。日本の放送においては圧
縮・伸張方式の国際標準規格であるMPEG(Moving Picture Experts Group)の中でも通信シ
ステムや放送システムへの適用が考慮されているMPEG2システムが規格として採用されて
おり、中でも伝送時に誤りの発生する環境での伝送・蓄積に適したMPEG2トランスポート
ストリーム(以降、MPEG2-TSと略す)と呼ばれる形式が用いられている。MPEG2-TSには送信
側が意図したとおりに受信側で再生可能となるようにシステムの基準参照値プログラムク
ロックリファレンス(PCR)が埋め込まれて送信される。同様に、再生時に参照される時刻
管理情報プログラムタイムスタンプ(PTS)、デコード時に参照される時刻管理情報デコー
ディングタイムスタンプ(DTS)などのデータも埋め込まれて送信される。
In recent years, there are many digital devices such as television broadcast receivers and personal computers that can record a television broadcast on a recording medium such as a hard disk (hereinafter abbreviated as HDD) or a Blu-ray disc and view it later. In order to efficiently process enormous amounts of data such as television broadcasts, data compression / decompression techniques are indispensable. In Japanese broadcasting, MPEG (Moving Picture Experts Group), which is an international standard for compression and decompression, adopts MPEG2 system, which is considered to be applied to communication systems and broadcasting systems. A format called MPEG2 transport stream (hereinafter abbreviated as MPEG2-TS) suitable for transmission / storage in an error-prone environment is used. In MPEG2-TS, a reference reference value program clock reference (PCR) of the system is embedded and transmitted so as to be reproducible on the receiving side as intended by the transmitting side. Similarly, data such as time management information program time stamp (PTS) referred to at the time of reproduction and time management information decoding time stamp (DTS) referred to at the time of decoding are embedded and transmitted.

受信機で放送波を受信し再生する動作は次の通りである。つまり、入力されるトランス
ポートストリーム(TS)からプログラムアソシエーションテーブル(PAT) / プログラムマッ
プテーブル(PMT)を取得し、目的のプログラム識別子(PID)を判別する。判明したPIDを持
つTSパケットを取得し、映像、音声、PCRに分離する。受信したPCRを使用してシステムタ
イムクロック(STC)の初期値を設定し、また定期的に受信されるPCRの値とSTC値を比較し
、デコードのタイムベースとなる27MHzのシステムクロック周波数の誤差を調節する。再
生装置内部でクロックを作成するSTCカウンタがシステムクロック周波数に応じてSTC値を
一定で増加させる。STC値と各映像データに付随しているDTSが一致した時刻にデコードを
行い、映像または音声データに付随するPTSが一致した時刻に表示を行う。
The operation of receiving and reproducing the broadcast wave by the receiver is as follows. That is, the program association table (PAT) / program map table (PMT) is acquired from the input transport stream (TS), and the target program identifier (PID) is determined. Obtain TS packets with the identified PID and separate them into video, audio and PCR. The initial value of the system time clock (STC) is set using the received PCR, and the PCR value and STC value that are received periodically are compared, and the error of the 27 MHz system clock frequency that is the decoding time base Adjust. An STC counter that creates a clock inside the playback device increases the STC value constantly according to the system clock frequency. Decoding is performed at the time when the STC value and the DTS attached to each video data match, and the display is performed at the time when the PTS attached to the video or audio data matches.

記録媒体ではMPEG2-TSの形式に則って複数の番組が多重化された状態で送信されるスト
リームから、記録したいコンテンツのTSパケットのみを抽出して記録を行う。記録媒体か
ら再生を行うために、映像と音声のデータを記録することは元より、それに付随している
表示時刻を示すPTS、復号時刻を示すDTSといった時刻情報、発信側の時刻情報であるPCR
を記録することが必要である。
In the recording medium, only TS packets of contents to be recorded are extracted and recorded from a stream transmitted in a state where a plurality of programs are multiplexed in accordance with the MPEG2-TS format. In addition to recording video and audio data for playback from a recording medium, time information such as PTS indicating display time and DTS indicating decoding time, PCR which is time information on the transmission side
It is necessary to record.

記録媒体からTSを再生する場合、上記のように記録された時刻情報によって、記録時の
TSの入力タイミングと同様なタイミングでTSの出力を行い、再生を行うことが可能である
。また、デコーダのバッファに蓄積されたデータ量を監視し、それに合わせて記録媒体か
らの入力を調整する再生方式によって再生を行う技術が公開されている(特許文献1)。後
者の再生手法ではデコーダが持つSTC値を動作の基準値として用いており、MPEG(Moving P
icture Encoding Group)規格で定められている特殊再生に有効である。例えば、Iピクチ
ャのみを順次表示させる場合には、本来連続的に増加するSTC値をIピクチャの持つ時刻
間隔に合わせて段階的に増加させることで容易に実現する。
When playing a TS from a recording medium, the time information recorded as described above
The TS can be output and reproduced at the same timing as the TS input timing. In addition, a technique for reproducing data by a reproduction method that monitors the amount of data stored in the buffer of the decoder and adjusts the input from the recording medium in accordance therewith is disclosed (Patent Document 1). In the latter playback method, the STC value of the decoder is used as the operation reference value, and MPEG (Moving P
This is effective for special playback as defined by the (icture Encoding Group) standard. For example, when only I pictures are sequentially displayed, it is easily realized by increasing the STC value, which originally increases continuously, stepwise in accordance with the time interval of the I picture.

特開平8−331560号公報JP-A-8-331560

HDDなどの媒体に記録されたTSに対して、放送波を再生する場合と同じ手順で再生を実
行する場合、HDD からのTSの出力方法がデコーダのバッファに蓄積されたデータ量を監視
し、それに合わせて記録媒体からの入力を調整する再生方式(以降、フロー制御再生と呼
ぶ)であると、問題が生じる。このことについて、図1を用いて説明を行う。
When playing back a TS recorded on a medium such as an HDD in the same procedure as playing a broadcast wave, the TS output method from the HDD monitors the amount of data stored in the decoder buffer, A problem arises in the reproduction method (hereinafter referred to as flow control reproduction) in which the input from the recording medium is adjusted accordingly. This will be described with reference to FIG.

図1は、記録時のTSの入力タイミングと同様なタイミングでHDD からTSの出力を行う再
生方式(以降、タイムスタンプ再生と呼ぶ)と、フロー制御再生との差異を示した模式図で
ある。101は、MPEGデコーダが再生を行う動作に対して、タイムスタンプ再生とフロー
制御再生での入力の違いを示している。上部に記されている矢印は、MPEGデコーダが再生
を行う手順を時系列として示しており、その下にタイムスタンプ再生でのデータの出力タ
イミングを右斜線で示している。タイムスタンプ再生では記録時の入力タイミングと同様
に小刻みにデータが出力される。対して、さらに下に左斜線によって示したようにフロー
制御再生の場合はデコーダの要求が続く限りは常にデータを出力しつづけている。102
は記録媒体から出力されるTSをパケットの並びで模式的に表した図である。右に記したTS
パケット1から順に記録媒体から出力されているものとして、タイムスタンプ再生の場合
には矢印Aで示す部分までにSTCにPCRを設定する準備が出来て、PCRのデータであるTSパケ
ットXがデコーダに入力されたタイミングでSTC値にPCRを代入するのに対して、フロー制
御再生の場合にはデータの入力速度が速いために矢印Bで示す部分まで出力され、PCRデー
タであるTSパケットYが入力されるとSTC値に設定を行う。その結果としてデコードを開始
した際に、パケットY以前にバッファリングしたTSパケット1からY-1までの映像・音声デ
ータは設定されたSTCカウンタ値よりもDTS・PTSが小さいため、デコードされない状態に
なる、もしくは正しい時刻情報を取得できないまま強引にデコード・出力が行われて映像
と音声の同期が取れない状態で出力してしまい、視聴者が違和感を覚える原因となる。ま
た、フロー制御再生においてMPEGデコーダのバッファが破綻するデータ量 よりも パケッ
トy-1までのデータ量の方が大きい場合を表した図が103である。103中の1から4
に示すように、ニアリーオーバーフローを検出すると、MPEGデコーダは記録媒体からの出
力を制御する部にTSの入力停止を要求する。すると、記録媒体が出力を停止してしまうた
め、デコーダはSTC値にPCRを設定できずに再生動作が止まってしまうことも考えられる。
FIG. 1 is a schematic diagram showing a difference between a reproduction method (hereinafter referred to as time stamp reproduction) in which TS is output from the HDD at the same timing as the TS input timing at the time of recording and flow control reproduction. Reference numeral 101 denotes a difference in input between time stamp reproduction and flow control reproduction with respect to an operation in which the MPEG decoder performs reproduction. The arrow written at the top indicates the time sequence for the reproduction by the MPEG decoder, and the data output timing in the time stamp reproduction is indicated by the right oblique line below it. In time stamp reproduction, data is output in small increments in the same manner as the input timing at the time of recording. On the other hand, as indicated by the left diagonal line below, in the case of flow control reproduction, data is always output as long as the decoder request continues. 102
FIG. 3 is a diagram schematically showing TS output from a recording medium in a sequence of packets. TS on the right
Assuming that packets are output in order from packet 1, in the case of time stamp playback, preparation for setting PCR in the STC by the part indicated by arrow A is completed, and TS packet X, which is PCR data, is sent to the decoder. In contrast to substituting PCR for the STC value at the input timing, in the case of flow control playback, since the data input speed is high, it is output up to the part indicated by arrow B, and TS packet Y which is PCR data is input If so, the STC value is set. As a result, when decoding is started, the video and audio data from TS packets 1 to Y-1 buffered before packet Y is not decoded because the DTS / PTS is smaller than the set STC counter value. Or it is forcibly decoded and output without being able to acquire correct time information and output in a state where the video and audio cannot be synchronized, causing the viewer to feel uncomfortable. 103 is a diagram showing a case where the data amount up to packet y-1 is larger than the data amount in which the MPEG decoder buffer fails in flow control reproduction. 1 to 4 in 103
As shown in FIG. 4, when the near overflow is detected, the MPEG decoder requests the TS controlling the output from the recording medium to stop the TS input. Then, since the recording medium stops outputting, it is possible that the decoder cannot set the PCR as the STC value and the reproduction operation stops.

これらの問題を解決する方法として、デコーダのSTDバッファを十分に大きくする方法
が考えられるが現実的ではない。
As a method for solving these problems, a method of sufficiently increasing the STD buffer of the decoder can be considered, but it is not realistic.

本発明は上記課題に鑑みて為されたものであり、本発明の目的は映像と音声を良好に再生することである。 The present invention has been made in view of the above problems, and an object of the present invention is to reproduce video and audio well .

上記の課題を解決するために、本発明の一実施の態様は、例えば特許請求の範囲に記載されるように構成する。 In order to solve the above problems, an embodiment of the present invention is configured as described in, for example, the claims.

本発明によって、映像と音声を良好に再生することができる。 According to the present invention, video and audio can be reproduced satisfactorily .

以下の実施例では現行放送の伝送に用いられているMPEG2-TSをHDDへ記録、再生する装
置を例に説明を行う。尚、以下は本発明の説明のための例示であって、本発明の範囲をこ
の変形例にのみ限定する趣旨ではない。本発明は、下記実施例以外の種々のデジタル記録
再生装置でも実施することが可能である。
In the following embodiment, an explanation will be given by taking as an example an apparatus for recording and reproducing MPEG2-TS used for transmission of current broadcasts on an HDD. The following is an example for explaining the present invention, and is not intended to limit the scope of the present invention only to this modification. The present invention can be implemented in various digital recording / reproducing apparatuses other than the following embodiments.

放送波では1つのTSに複数の番組が多重化されて送信されているため、含まれている番
組とTSを構成しているエレメンタリーストリームとの関係を表すPSI(Program Specific I
nformation)を含んでいる。デコーダではPSIを解析することで任意の一番組を取り出すこ
とが可能である。TSをHDDにどのように記録するかについては明確な規定が無いために様
々な方法が考えられるが、本実施例では上記のようにMPEG2-TSの形式に則って複数の番組
が多重化された放送波から、記録したい1つの番組を構成するストリームのみを抽出した
形式(以降、パーシャルTSと呼ぶ)で記録を行っているものとする。
Since a plurality of programs are multiplexed and transmitted in one TS in the broadcast wave, PSI (Program Specific I) representing the relationship between the included programs and the elementary streams constituting the TS.
nformation). The decoder can extract an arbitrary program by analyzing the PSI. There are no clear rules on how to record TS to HDD, so various methods can be considered. In this example, multiple programs are multiplexed according to the MPEG2-TS format as described above. It is assumed that recording is performed in a format (hereinafter referred to as partial TS) in which only a stream constituting one program to be recorded is extracted from the broadcast wave.

図2は再生装置の構成の一例を示すブロック図である。この図を用いて本実施例におけ
る記録媒体から所定のTSをデコードするまでの動作について説明する。図2において再生
装置は記録媒体201、出力制御部202、分離部203、MPEGデコーダ204、制御部
205、システムバス206からなる。さらに出力制御部202は読み出し部2021、
復号部2022、出力部2023、カウンタ2024から成る。さらに図には明記してい
ないが各処理ユニットの前段には処理速度の誤差を吸収するためのバッファが存在する。
MPEGデコーダ204はPCR取得部2041、STCカウンタ2042、オーディオパーサ20
43、オーディオバッファ2044、オーディオデコーダ2045、ビデオパーサ204
6、ビデオバッファ2047、ビデオデコーダ2048から成る。図には明記していない
が、出力段の前段にバッファが存在する。
FIG. 2 is a block diagram showing an example of the configuration of the playback apparatus. The operation until the predetermined TS is decoded from the recording medium in the present embodiment will be described with reference to FIG. In FIG. 2, the playback apparatus includes a recording medium 201, an output control unit 202, a separation unit 203, an MPEG decoder 204, a control unit 205, and a system bus 206. Further, the output control unit 202 includes a reading unit 2021,
It comprises a decoding unit 2022, an output unit 2023, and a counter 2024. Further, although not clearly shown in the figure, a buffer for absorbing an error in processing speed exists in the preceding stage of each processing unit.
The MPEG decoder 204 includes a PCR acquisition unit 2041, an STC counter 2042, and an audio parser 20.
43, audio buffer 2044, audio decoder 2045, video parser 204
6, a video buffer 2047 and a video decoder 2048. Although not clearly shown in the figure, there is a buffer before the output stage.

本実施例では図2に示していない入力部において放送波を受信し、記録媒体201には
暗号化を施されたパーシャルTS形式で記録されているとする。201はパーシャルTSを記
録する記録媒体であるが、同時に保存するストリームのGOPの先頭位置を記録し管理する
ことで、普通再生だけではなくたとえばIピクチャのみを連続して表示するといった、様
々な特殊再生が行えるように記録を行う。
In this embodiment, it is assumed that a broadcast wave is received at an input unit not shown in FIG. 2 and is recorded on the recording medium 201 in an encrypted partial TS format. 201 is a recording medium for recording a partial TS, but by recording and managing the GOP head position of a stream to be stored at the same time, various special displays such as not only normal reproduction but also continuous display of I pictures, for example. Record for playback.

202は記録媒体からパーシャルTSを出力するための出力制御部を示している。記録媒
体201から再生を行うTSを読み出し、分離部203に送出する。記録媒体201から読
み出し部2021によって任意のパーシャルTSを後段に転送する。復号部2022におい
て復号する。出力部2023は復号したデータをタイムスタンプ再生、若しくはフロー制
御再生のいずれかで出力する。カウンタ2024は再生時に時刻情報をカウントアップし
ていき、タイムスタンプ再生の基準時刻となる。
Reference numeral 202 denotes an output control unit for outputting a partial TS from a recording medium. The TS to be played back is read from the recording medium 201 and sent to the separation unit 203. An arbitrary partial TS is transferred from the recording medium 201 to the subsequent stage by the reading unit 2021. Decoding is performed in the decoding unit 2022. The output unit 2023 outputs the decoded data by either time stamp reproduction or flow control reproduction. The counter 2024 counts up time information during reproduction, and becomes a reference time for time stamp reproduction.

タイムスタンプ再生の場合には、再生するパーシャルTSの時刻情報とカウンタ2024
が生成する時刻情報とを比較して、時間が一致したPESを順次出力する。
In the case of time stamp reproduction, the time information of the partial TS to be reproduced and the counter 2024
Are compared with the time information generated by the, and sequentially output the PES having the same time.

フロー制御再生の場合には、MPEGデコーダ204から制御部205を通してパーシャル
TS出力の要求が来たら記録媒体からデータを順次読み出す。この場合には付加されている
タイムスタンプを無視し、タイムスタンプ再生よりも高速に出力を行う。MPEGデコーダ2
04からパーシャルTS出力停止の要求があった場合には記録媒体からの読み出しを止める
。これを繰り返すことで、MPEGデコーダ204の再生処理能力に応じたデータ出力を実現
する。
In the case of flow control playback, the MPEG decoder 204 sends a partial through the control unit 205.
When a TS output request is received, data is sequentially read from the recording medium. In this case, the added time stamp is ignored and output is performed at a higher speed than time stamp reproduction. MPEG decoder 2
If there is a request to stop the partial TS output from 04, reading from the recording medium is stopped. By repeating this, data output corresponding to the reproduction processing capability of the MPEG decoder 204 is realized.

分離部203では、記録/出力制御部202から送られてくるTSを解析し、映像、音声
、時刻情報、その他付加的な情報に分離する。分離したデータをMPEGデコーダ204に送
る。
The separation unit 203 analyzes the TS sent from the recording / output control unit 202 and separates it into video, audio, time information, and other additional information. The separated data is sent to the MPEG decoder 204.

MPEGデコーダ204では、分離部203によって分離された各データの信号を入力とし
て以下に示す処理を行う。PCR取得部2041で、TSが有するタイムスタンプを取得し、
システムの時間情報にセットする。STCカウンタ2042ではセットされた時間情報を定
期的にカウントアップしていき、オーディオデコード部2045とビデオデコード部20
48に送信する。ビデオPESパーサ2046で入力された映像データを解析した後にビデ
オバッファ2047に蓄え、ビデオデコード部2048では、STCカウンタ2042から
送信された時刻情報と、映像データの持つDTSが一致するとデコードを行い、PTSと一致す
ると後続の映像出力段に出力する。音声データはオーディオPESパーサ2043で解析し
、オーディオバッファ2044に貯められる。オーディオデコード部2045ではSTCカ
ウンタ2042から送信される時刻情報と音声データの持つPTSが一致したら音声出力を
行う。
In the MPEG decoder 204, the following processing is performed by using the data signal separated by the separation unit 203 as an input. The PCR acquisition unit 2041 acquires the time stamp of the TS,
Set to system time information. The STC counter 2042 periodically counts up the set time information, and the audio decoding unit 2045 and the video decoding unit 20
48. The video data input by the video PES parser 2046 is analyzed and stored in the video buffer 2047. The video decoding unit 2048 performs decoding when the time information transmitted from the STC counter 2042 and the DTS of the video data match, and performs PTS If it matches, it is output to the subsequent video output stage. The audio data is analyzed by the audio PES parser 2043 and stored in the audio buffer 2044. The audio decoding unit 2045 outputs audio when the time information transmitted from the STC counter 2042 matches the PTS of the audio data.

MPEGデコーダ204においては、フロー制御再生に使用するフロー制御信号を送信する
/しないの設定を行う。再生の手順は、フロー制御信号の送信する/しないによって違い
は無く、再生手順開始後、始めに取得したPCRをSTC値に設定すると、以降はSTCカウンタ
が一定速度でカウントアップしていく。デコード部ではそのSTCカウンタの時刻情報を基
準としてデコード・出力を行う。フロー制御信号を送信する場合、MPEGデコーダの持つビ
デオバッファ2047、オーディオバッファ2044の一方あるいは両方のデータ量を常
に監視し、バッファにたまっているデータ量が一定の閾値より大きく、あるいは閾値以上
になった場合には制御部205を通じて出力制御部202へパーシャルTS出力停止要求を
出す。同様にバッファ内のデータ量がある一定の閾値以下或いは閾値未満になった場合に
出力制御部202へTS出力開始要求を出す。上記動作を交互に繰り返すことで常にデコー
ド可能な状態を保ち、映像と音声を同期させて出力する。
In the MPEG decoder 204, a setting is made to determine whether or not to transmit a flow control signal used for flow control reproduction. There is no difference in the reproduction procedure depending on whether or not the flow control signal is transmitted. After the reproduction procedure is started, the first acquired PCR is set as the STC value, and thereafter, the STC counter counts up at a constant speed. The decoding unit performs decoding / output based on the time information of the STC counter. When a flow control signal is transmitted, the data amount of one or both of the video buffer 2047 and the audio buffer 2044 of the MPEG decoder is constantly monitored, and the amount of data accumulated in the buffer is greater than or equal to a certain threshold value. In the case of a failure, a partial TS output stop request is issued to the output control unit 202 through the control unit 205. Similarly, a TS output start request is issued to the output control unit 202 when the amount of data in the buffer is less than or equal to a certain threshold value or less than the threshold value. By repeating the above operation alternately, a state where decoding is always possible is maintained, and video and audio are output in synchronization.

制御部205は以上の各モジュールを統括し、システム全体の制御を行う。タイムスタ
ンプ再生とフロー制御再生の切換についても制御部205から命令を送り実行する。シス
テムバス206により、制御部から各ユニットへの命令や各ユニットからの情報を伝達す
る。以上で説明した装置を使用し、記録媒体201から入力されたパーシャルTSを映像と
音声の同期を取って出力するための再生手順を説明する。
The control unit 205 controls each of the above modules and controls the entire system. For switching between time stamp reproduction and flow control reproduction, an instruction is sent from the control unit 205 and executed. The system bus 206 transmits instructions from the control unit to each unit and information from each unit. A playback procedure for outputting the partial TS input from the recording medium 201 in synchronization with video and audio using the apparatus described above will be described.

通常再生を開始する動作について説明する。
図3は再生開始時の装置の動作を示すフローチャートである。例えばリモコンなどの外部
入力機器などから記録媒体201に記録されている任意のパーシャルTSの再生が指示され
た場合、制御部が目的とするストリームの情報を出力制御部202へ通知する。
An operation for starting normal reproduction will be described.
FIG. 3 is a flowchart showing the operation of the apparatus at the start of reproduction. For example, when the reproduction of an arbitrary partial TS recorded on the recording medium 201 is instructed from an external input device such as a remote controller, the control unit notifies the output control unit 202 of information on the target stream.

ステップ(以下、Sと略す)301では、出力制御部202でタイムスタンプ再生の設
定を行い、S302へ遷移する。記録媒体201ではIピクチャ位置を管理しており、パ
ーシャルTSはIピクチャから出力が行われる。
In step (hereinafter abbreviated as S) 301, the output control unit 202 sets time stamp reproduction, and the process proceeds to S302. The recording medium 201 manages the position of the I picture, and the partial TS is output from the I picture.

S302で出力制御部202は上位タスクから受け取った情報を元に再生すべき番組を
判断し、記録媒体201からタイムスタンプ再生でパーシャルTSの出力を開始して、フロ
ー制御再生への切り換えを行うためのタイマを設定してS303へ遷移する。設定する待
ち時間はMPEGデコーダが再生を開始するまでに掛かる時間以上の値を設定する。記録媒体
からの再生についてデコード開始に掛かる処理時間に規定は無いが、確実にデコードを行
える時間をあらかじめ調査し、たとえば一秒間といった一定の待ち時間を設定する。
In step S302, the output control unit 202 determines a program to be played back based on information received from the higher-level task, starts outputting a partial TS from the recording medium 201 by time stamp playback, and switches to flow control playback. Is set and the process proceeds to S303. The waiting time to be set is set to a value longer than the time required for the MPEG decoder to start playback. Although there is no regulation on the processing time required to start decoding for reproduction from a recording medium, a time during which decoding can be reliably performed is checked in advance, and a certain waiting time such as one second is set.

S303では制御部205からMPEGデコーダ204へ再生開始命令を出す。MPEGデコー
ダ204では、映像と音声のデコード・出力を開始してS304へ遷移する。S304で
は、S302において設定したタイマの分だけ時間が経過したら、制御部205が、出力
制御部202の動作をタイムスタンプ再生からフロー制御再生へ切換を行い、処理を終了
する。
In S303, a playback start command is issued from the control unit 205 to the MPEG decoder 204. The MPEG decoder 204 starts decoding and outputting video and audio, and proceeds to S304. In S304, when the time corresponding to the timer set in S302 elapses, the control unit 205 switches the operation of the output control unit 202 from time stamp reproduction to flow control reproduction, and the process ends.

上記のフローチャートでは、出力制御部202で待ち時間を設け、出力制御部202と
MPEGデコーダ204とが非同期で動作しているが、この動作に代わりMPEGデコーダ204
で映像と音声を同期して出力開始したことを制御バス206/制御部205を通じて出力
制御部202に通知し、それを受信して後にパーシャルTSの出力方法をフロー制御再生に
切り換えても同じ効果が実現できる。処理を置き換えた場合のフローチャートを図4に示
す。
In the above flowchart, the output control unit 202 sets a waiting time, and the output control unit 202
The MPEG decoder 204 operates asynchronously, but instead of this operation, the MPEG decoder 204
The same effect can be obtained by notifying the output control unit 202 through the control bus 206 / control unit 205 that the video and audio have started to be output in synchronization, and receiving it and switching the partial TS output method to flow control playback. Can be realized. FIG. 4 shows a flowchart when processing is replaced.

S401においてはS301と同様の動作を行う。S402ではS302と同様に出力
制御部202はパーシャルTSの出力を開始するが、タイマを設定せずにS403へ遷移す
る。S403はS303と同様の制御を行い、MPEGデコーダ204が出力動作を開始して
S404に遷移する。S404ではMPEGデコーダ204が映像と音声を出力開始したこと
を制御部205へ通知する。S405ではS304と同様に制御部205から出力制御部
202の動作をフロー制御再生に切り換えて処理を終了する。
In S401, the same operation as S301 is performed. In S402, as in S302, the output control unit 202 starts outputting a partial TS, but the process proceeds to S403 without setting a timer. In S403, the same control as in S303 is performed, and the MPEG decoder 204 starts an output operation, and the process proceeds to S404. In step S404, the MPEG decoder 204 notifies the control unit 205 that video and audio output has started. In step S405, as in step S304, the operation of the output control unit 202 is switched from the control unit 205 to flow control reproduction, and the process ends.

記録媒体201からの出力が開始された後MPEGデコーダ204が非デコード状態を長く
続けていると、ビデオバッファ2044・オーディオバッファ2047のいずれか、もし
くはいずれもがオーバーフローしてしまう。オーバーフローした場合、MPEGデコーダ20
4は超過したデータを古いものから順次破棄するなどの動作が考えられるが、上記のよう
に記録媒体201からの出力がタイムスタンプ再生で開始されるならば、入力のビットレ
ートは放送波と同様あるいはそれ以下となり、制御部205とMPEGデコーダ204の再生
開始動作が放送波を再生する場合と同様のシーケンスであれば、ビデオバッファ2044
とオーディオバッファ2047のサイズを変更しなくとも、バッファが破綻することなく
再生が可能である。
If the MPEG decoder 204 continues in the non-decoding state for a long time after the output from the recording medium 201 is started, either or both of the video buffer 2044 and the audio buffer 2047 will overflow. In case of overflow, the MPEG decoder 20
4 may be an operation such as discarding excess data sequentially from the oldest, but if the output from the recording medium 201 is started by time stamp reproduction as described above, the input bit rate is the same as the broadcast wave. Alternatively, if the playback start operation of the control unit 205 and the MPEG decoder 204 is the same sequence as that when the broadcast wave is played back, the video buffer 2044 is used.
Even if the size of the audio buffer 2047 is not changed, reproduction can be performed without the buffer breaking down.

以上の動作によって一度再生方法をフロー制御再生に設定したら、ユーザによる再生停
止操作や、再生方法の切換によって再び同期を取り直す必要が生じるまで、もしくは記録
媒体からのパーシャルTS入力が停止しない限り、以降の再生はフロー制御再生で動作する
Once the playback method has been set to flow control playback by the above operation, until the user needs to re-synchronize by stopping playback or switching the playback method, or unless the partial TS input from the recording medium is stopped Is operated by flow control reproduction.

通常再生を開始した後、ユーザからのリモコン操作などにより、再生状態を切り換える
場合の制御について示す。通常再生から音声出力を行わないIピクチャの映像のみ表示す
るサーチ動作へ遷移する場合の手順を図5に示す。
A control for switching the playback state by a remote control operation from the user after starting normal playback will be described. FIG. 5 shows a procedure in the case of transition from the normal reproduction to the search operation for displaying only the video of the I picture that does not perform audio output.

S501では現在の再生方法がタイムスタンプ再生である場合S502へ遷移し、フロ
ー制御再生である場合S503へ遷移する。S502では出力制御部202の動作をフロ
ー制御再生に切り換えてS503へ遷移する。S503では制御部205から出力制御部
202が持つバッファとMPEGデコーダ内のビデオバッファ2044とオーディオバッファ
2047をクリアしてS504へ遷移する。S504では出力制御部202が記録媒体か
らのTSの出力方法を変更してS505へ遷移する。毎回次に出力するIピクチャの位置を
取得し、得られた位置からIピクチャ一枚を含むサイズのデータをデコーダに出力するよ
うに変更する。S505では制御部205からMPEGデコーダの再生方法を映像はIピクチ
ャのみデコード・出力するように変更し、音声はデコード・出力を行わないように変更し
て処理を終了する。上記以外の特殊再生へ遷移する場合においても、すなわち映像と音声
の同期を取って再生を実行している状態から同期を取る必要がない再生状態に遷移する時
は同様の処理手順でフロー制御再生へと切り換える。
In S501, if the current reproduction method is time stamp reproduction, the process proceeds to S502, and if it is flow control reproduction, the process proceeds to S503. In S502, the operation of the output control unit 202 is switched to flow control reproduction, and the process proceeds to S503. In step S503, the buffer included in the output control unit 202, the video buffer 2044 and the audio buffer 2047 in the MPEG decoder are cleared from the control unit 205, and the process proceeds to step S504. In step S504, the output control unit 202 changes the TS output method from the recording medium, and the process advances to step S505. The position of the next I picture to be output is acquired every time, and the data is changed so that data of a size including one I picture is output to the decoder from the obtained position. In step S505, the reproduction method of the MPEG decoder is changed from the control unit 205 so that only the I picture is decoded and output for the video, and the audio is not decoded and output, and the process ends. Even when transitioning to a special playback other than the above, that is, when transitioning from a state in which playback is performed by synchronizing video and audio to a playback state that does not require synchronization, flow control playback is performed in the same procedure. Switch to.

図6は音声出力無しでIピクチャのみ出力している特殊再生から通常再生に切り換える
手順を示すフローチャートである。S601ではパーシャルTSの出力を止めて、S602
へ遷移する。S602では出力制御部202が持つバッファとMPEGデコーダ内のバッファ
をクリアしてS603へ遷移する。バッファのクリアを行わずに普通再生に切り換えてし
まうと切換時にバッファ内に残存しているIピクチャのみのストリームがデコード・出力
され、視聴者に違和感を与えてしまう。そのため、バッファのクリアを行うことで、残存
しているデータを無くしてスムーズにI,P,Bピクチャ全てをデコード・出力する普通
再生への遷移を実現する。S603では出力制御部202の動作をタイムスタンプ再生に
切り換えてS604へ遷移する。S604では出力制御部202が記録媒体201からの
パーシャルTSの出力方法をI、P、Bピクチャ全てを出力するように設定を変更してS6
05へ遷移する。S605ではパーシャルTSの出力を開始してS606へ遷移する。S6
06では制御部205からMPEGデコーダ204の再生方法を通常のデコードを行うよう設
定を変更して処理を終了する。例えばI,Pピクチャのみを用いた高速再生や音声出力を
伴わないスロー再生などを含む上記以外の映像と音声の同期を取らない特殊再生状態から
、映像と音声の同期を取る必要がある再生状態に遷移する場合は同様の処理手順でタイム
スタンプ再生へと切り換える。
FIG. 6 is a flowchart showing a procedure for switching from special reproduction, which outputs only an I picture without audio output, to normal reproduction. In S601, the partial TS output is stopped, and S602
Transition to. In S602, the buffer in the output control unit 202 and the buffer in the MPEG decoder are cleared, and the process proceeds to S603. If switching to normal playback without clearing the buffer, the stream of only the I picture remaining in the buffer at the time of switching is decoded and output, giving the viewer a sense of incongruity. Therefore, by clearing the buffer, the transition to normal reproduction in which all the I, P, and B pictures are smoothly decoded and output without any remaining data is realized. In step S603, the operation of the output control unit 202 is switched to time stamp reproduction, and the process proceeds to step S604. In S604, the output control unit 202 changes the setting of the output method of the partial TS from the recording medium 201 so that all I, P, and B pictures are output.
Transition to 05. In S605, the output of the partial TS is started and the process proceeds to S606. S6
In 06, the control unit 205 changes the reproduction method of the MPEG decoder 204 so that normal decoding is performed, and the process ends. For example, a playback state that requires synchronization of video and audio from a special playback state that does not synchronize video and audio other than the above, including high-speed playback using only I and P pictures and slow playback without audio output. In the case of transition to, the time stamp reproduction is switched in the same processing procedure.

これまでに示した例以外、例えば通常再生から音声付の1.5倍速早送り再生といったよ
うに映像と音声の同期を取って出力している状態はそのままに再生速度のみ変更するよう
な遷移では、出力するピクチャの種類・順番に変更が無いため、バッファをクリアする必
要が無く、かつ映像と音声の同期を取り直す必要も無い。よって、この場合はフロー制御
再生からタイムスタンプ再生に切り換える必要は無い。ただしタイムスタンプ再生に変更
することも厭わない。
Other than the examples shown so far, for example, in a transition where only the playback speed is changed while the video and audio are synchronized and output, such as normal playback to 1.5-speed fast forward playback with audio, the output is performed. Since there is no change in picture type / order, there is no need to clear the buffer and there is no need to re-synchronize the video and audio. Therefore, in this case, there is no need to switch from flow control playback to time stamp playback. However, you can also change to time stamp playback.

また、例えばIピクチャのみ表示させる順方向のサーチから、Iピクチャのみ表示させる
逆方向のサーチのように、映像と音声の同期を取らない再生状態から同期を取る必要がな
い再生状態へ遷移する場合は、フロー制御のままで必要に応じてバッファクリアを行い、
再生方法を変更すれば良い。
In addition, when a transition is made from a forward search that displays only I pictures to a playback state that does not require synchronization from a playback state that does not synchronize video and audio, such as a reverse search that displays only I pictures. Will clear the buffer as needed while still in flow control,
Change the playback method.

以上のように、動作前と動作後の再生状態を考慮することでタイムスタンプ再生とする
かどうかの判断が可能である。再生状態として「一時停止」という状態を持った場合、遷
移前の再生状態をチェックするだけでは再生時にタイムスタンプ再生に変更すべきかどう
かは判断が出来ない。例えば、ユーザの操作が「再生」→「一時停止」→「再生」ならば
、バッファクリアせずにフロー制御再生のままで構わないが、「サーチ」→「一時停止」
→「再生」という遷移であれば、バッファクリアを行いタイムスタンプ再生を開始しなけ
ればならない。よって「一時停止」を再生状態として認識しない作りにするか、或いは「
一時停止」状態の時にはさらに一つ前の再生状態を管理する作りにしておく。
As described above, it is possible to determine whether or not to perform time stamp reproduction by considering the reproduction state before and after the operation. If the playback state has a “pause” state, it is not possible to determine whether or not to change to time stamp playback during playback simply by checking the playback state before transition. For example, if the user's operation is “play” → “pause” → “play”, the flow control playback may be left without clearing the buffer, but “search” → “pause”
→ If the transition is “playback”, the buffer must be cleared and timestamp playback must be started. Therefore, either make “pause” not recognized as a playback state, or “
When in the “pause” state, the previous playback state is managed.

また、ランダムアクセス可能な記録媒体からの再生においては、再生中にユーザ操作に
よって指定された位置に移動して通常再生を再開するという動作も可能である。指定した
位置から通常再生を行う場合には、確実に時刻情報が飛ぶために操作前がどのような再生
状態かに拠らず操作後の再生開始時に映像と音声の同期を取る必要があるため、タイムス
タンプ再生で再開しなければならない。図7は普通再生中、あるいは特殊再生中に、ユー
ザの操作などによりパーシャルTSを指定された位置から再生開始する動作を説明するフロ
ーチャートである。
In reproduction from a randomly accessible recording medium, it is possible to move to a position designated by a user operation during reproduction and resume normal reproduction. When normal playback is performed from the specified position, it is necessary to synchronize video and audio at the start of playback after operation regardless of the playback state before the operation because time information is surely skipped. , Must restart with time stamp playback. FIG. 7 is a flowchart for explaining an operation of starting to reproduce a partial TS from a designated position by a user operation or the like during normal reproduction or special reproduction.

S701では、制御部205が指定された時刻の近傍のIピクチャを検索する。目的の
Iピクチャが見つかった場合にはS702へ遷移する。指定の時刻がストリームの存在の
範囲外であるなどして、目的のIピクチャが見つからなかった場合には何もせず処理を終
了する。S702では、図6で示したフローチャートと同様の操作を行ってタイムスタン
プ再生を開始し、処理を終了する。
In step S701, the control unit 205 searches for an I picture in the vicinity of the designated time. If the target I picture is found, the process proceeds to S702. If the target I picture is not found because the specified time is out of the range of the stream, the process is terminated without doing anything. In S702, the same operation as that in the flowchart shown in FIG. 6 is performed to start the time stamp reproduction, and the process ends.

以上の実施例に示した再生手法によって、記憶媒体に記録されたパーシャルTS再生にお
いて通常再生開始時にバッファの破綻を起こすことなく、AV同期を保って再生を行うこと
が可能である。デコーダのビデオバッファ2044とオーディオバッファ2047のサイ
ズを大きくしてやることもHDDからのパーシャルTS入力時にオーバーフローを防ぐ点で効
果がある。そのため、上記実施例と組み合わせる事でS302にて設定する待ち時間を減
らすことが可能である。究極的にはS302で設定する待ち時間無し、すなわち最初から
入力をフロー制御再生として出力制御部を動作させることも含む。また、MPEGデコーダ2
04のデコード手順中にフロー制御用の手順を用意して処理時間を短くしておくことでも
、同様にS302にて設定する待ち時間を短縮できる。しかし、どちらの方法も用意する
資源が増加する、或いは新規のプログラムを組むため、開発工数が増えるなどの欠点が挙
げられ現実的ではない。
With the playback method shown in the above embodiment, it is possible to perform playback while maintaining AV synchronization without causing a buffer failure at the start of normal playback in partial TS playback recorded on a storage medium. Increasing the size of the video buffer 2044 and the audio buffer 2047 of the decoder is also effective in preventing overflow when a partial TS is input from the HDD. Therefore, it is possible to reduce the waiting time set in S302 by combining with the above embodiment. Ultimately, there is no waiting time set in S302, that is, the operation of the output control unit using the input as the flow control reproduction from the beginning. MPEG decoder 2
The waiting time set in S302 can also be shortened by preparing a flow control procedure during the 04 decoding procedure and shortening the processing time. However, both methods are not realistic due to disadvantages such as an increase in resources to be prepared or a new program being built, resulting in an increase in development man-hours.

以上で示した処理はデコーダに入力されるTSが時刻情報を持ち、タイムスタンプ再生を
実行可能であるという条件において、どんな種類の記録媒体であるかに関わらず有効であ
る。上記実施例ではHDDからの再生を用いたが、その他の例としてDVDディスクやBlu-Ray
ディスクからの再生などが挙げられる。またテレビ放送受信機に限定せず、同様の構成を
持って映像と音声を再生することの出来る機器全てに適用が可能である。
The processing described above is effective regardless of the type of recording medium, provided that the TS input to the decoder has time information and can perform time stamp reproduction. In the above example, playback from the HDD was used, but other examples include DVD discs and Blu-Ray.
For example, playback from a disc. Further, the present invention is not limited to a television broadcast receiver, and can be applied to all devices that have the same configuration and can reproduce video and audio.

以上より、本発明によると記録媒体に記録されたTSを読み出し、AV同期を取る必要があ
る再生を行う時に、STDバッファのオーバーフローによる入力ストリームの停止を回避し
、かつ番組を構成する要素(映像・音声)の同期を良好に保った状態で再生を行う事を、フ
ロー制御専用の手順を用意することなく、またデコーダの使用するメモリ量を増やすこと
なく可能とする。
As described above, according to the present invention, when the TS recorded on the recording medium is read and playback that requires AV synchronization is performed, the stop of the input stream due to the overflow of the STD buffer is avoided, and the elements constituting the program (video It is possible to perform playback while maintaining good audio synchronization without preparing a dedicated flow control procedure and without increasing the amount of memory used by the decoder.

本発明の解決する課題を説明するための模式図である。It is a schematic diagram for demonstrating the subject which this invention solves. 本発明の一実施例における再生装置のシステム構成を示す模式図である。It is a schematic diagram which shows the system configuration | structure of the reproducing | regenerating apparatus in one Example of this invention. 本発明の一実施例における再生開始方法を示したフローチャートである。4 is a flowchart illustrating a reproduction start method according to an embodiment of the present invention. 図2に示したフローチャートの一部の処理を変更しても同じ効果を上げることを説明したフローチャートである。FIG. 3 is a flowchart for explaining that the same effect can be achieved even if a part of the processing of the flowchart shown in FIG. 2 is changed. 本発明の一実施例におけるフロー制御再生への移行手順を示したフローチャートである。It is the flowchart which showed the transition procedure to the flow control reproduction | regeneration in one Example of this invention. 本発明の一実施例におけるタイムスタンプ再生への移行手順を示したフローチャートである。It is the flowchart which showed the transfer procedure to the time stamp reproduction in one execution example of this invention. 本発明の一実施例におけるパーシャルTSの任意の場所からの再生開始手順を示したフローチャートである。It is the flowchart which showed the reproduction | regeneration start procedure from the arbitrary places of the partial TS in one Example of this invention.

符号の説明Explanation of symbols

101 タイムスタンプ再生とフロー制御再生との差異を示した模式図
102 入力ストリーム(TSパケット)の模式図
103 フロー制御再生によって入力が停止する手順の説明図
201 記録媒体
202 出力制御部
203 分離部
204 MPEGデコーダ
205 制御部
206 システムバス
2021 読み出し部
2022 復号部
2023 出力部
2024 カウンタ
2041 PCR取得部
2042 STCカウンタ
2043 オーディオPESパーサ
2044 オーディオバッファ
2045 オーディオデコード部
2046 ビデオPESパーサ
2047 ビデオバッファ
2048 ビデオデコード部
101 Schematic diagram showing difference between time stamp playback and flow control playback 102 Schematic diagram of input stream (TS packet) 103 Explanation of a procedure for stopping input by flow control playback 201 Recording medium 202 Output control unit 203 Separating unit 204 MPEG decoder 205 Control unit 206 System bus 2021 Reading unit 2022 Decoding unit 2023 Output unit 2024 Counter 2041 PCR acquisition unit 2042 STC counter 2043 Audio PES parser 2044 Audio buffer 2045 Audio decoding unit 2046 Video PES parser 2047 Video buffer 2048 Video decoding unit

Claims (7)

映像データと音声データとを有するデータストリームを記録する記録部と、
前記データストリームをデコードするデコーダと、
前記記録部に記録されたデータストリームの再生を制御する制御部とを備え、
前記デコーダは、入力されたデータストリームをデコード前にバッファデータとして一時的に保持し、
前記制御部は、映像データと音声データとを同期させない特殊再生と、映像データと音声データとを同期させる特殊再生とを切り替える場合に、前記デコーダに残存するバッファデータを出力せず、前記デコーダに新たに入力されたデータストリームをデコードして出力するよう制御し、映像データと音声データとを同期させて再生しながら再生速度を切り替える場合は、前記デコーダに残存するバッファデータを出力するように制御することを特徴とする記録再生装置。
A recording unit for recording a data stream including video data and audio data;
A decoder for decoding the data stream;
A control unit for controlling reproduction of the data stream recorded in the recording unit,
The decoder temporarily holds the input data stream as buffer data before decoding,
Wherein the control unit includes a special playback not synchronize the video data and audio data, to switch the special playback and to synchronize the video data and audio data, without outputting the buffered data remaining in the decoders, the decoder When the playback speed is switched while synchronizing and reproducing the video data and the audio data, the remaining buffer data is output to the decoder. recording and reproducing apparatus and controls.
前記デコーダは、入力されたデータストリームに含まれる映像データと音声データをデコード前にそれぞれ映像バッファデータと音声バッファデータとして一時的に保持し、前記映像バッファデータと前記音声バッファデータとをそれぞれデコードし、
前記制御部は、前記映像データと音声データとを同期させない特殊再生と、前記映像データと音声データとを同期させる特殊再生とを切り替える場合に、前記デコーダに残存する前記映像バッファデータと残存する前記音声バッファデータとをそれぞれ前記デコーダから出力せず、前記デコーダに新たに入力されたデータストリームに含まれる映像データと音声データとをそれぞれデコードして出力するよう制御することを特徴とする請求項1に記載の記録再生装置。
The decoder temporarily stores video data and audio data included in the input data stream as video buffer data and audio buffer data before decoding, respectively, and decodes the video buffer data and the audio buffer data, respectively. ,
Wherein, when switching the special playback is not synchronized with said video data and audio data, special reproduction and synchronizing said video data and audio data, remaining with the video buffer data remaining in the decoders wherein no audio buffer data and the output each of the decoders or al, and controlling so as to decode outputs video data and audio data included in the newly input data stream to said decoder The recording / reproducing apparatus according to claim 1.
映像データと音声データとを有するデータストリームを記録する記録部と、
前記データストリームをデコードするデコーダと、
前記記録部に記録されたデータストリームの再生を、映像データと音声データとを同期させない特殊再生と、映像データと音声データとを同期させる特殊再生とに切り替えて行う制御部とを備え、
前記デコーダは、入力されたデータストリームをデコード前にバッファデータとして一時的に保持し、
前記制御部は、前記映像データと音声データとを同期させない特殊再生から前記映像データと音声データとを同期させる特殊再生への切替の命令を送る場合に、前記デコーダにバッファデータをクリアする命令を送り、映像データと音声データとを同期させて再生しながら再生速度を変更する命令を送る場合は、前記デコーダにバッファデータをクリアする命令は送らないことを特徴とする記録再生装置。
A recording unit for recording a data stream including video data and audio data;
A decoder for decoding the data stream;
A controller that performs reproduction of the data stream recorded in the recording unit by switching between special reproduction in which video data and audio data are not synchronized and special reproduction in which video data and audio data are synchronized;
The decoder temporarily holds the input data stream as buffer data before decoding,
The control unit sends an instruction to clear the buffer data to the decoder when sending an instruction to switch from special reproduction that does not synchronize the video data and audio data to special reproduction that synchronizes the video data and audio data. feed Ri, when sending commands to change the playback speed during playback in synchronization with video data and audio data recording and reproducing apparatus characterized by not sending instructions to clear the buffer data to the decoder.
前記デコーダは、入力されたデータストリームに含まれる映像データと音声データをデコード前にそれぞれ映像バッファデータと音声バッファデータとして一時的に保持し、前記映像バッファデータと前記音声バッファデータとをそれぞれデコードし、
前記制御部は、前記映像データと音声データとを同期させない特殊再生から前記映像データと音声データとを同期させる特殊再生への切替の命令を送る場合に、前記デコーダに映像バッファデータと音声バッファデータとのそれぞれをクリアする命令を送ることを特徴とする請求項3に記載の記録再生装置。
The decoder temporarily stores video data and audio data included in the input data stream as video buffer data and audio buffer data before decoding, respectively, and decodes the video buffer data and the audio buffer data, respectively. ,
The control unit sends video buffer data and audio buffer data to the decoder when sending a command to switch from special reproduction that does not synchronize the video data and audio data to special reproduction that synchronizes the video data and audio data. The recording / reproducing apparatus according to claim 3, wherein a command for clearing each of the above is sent.
映像データと音声データとを有するデータストリームを記録する記録部と、
前記データストリームをデコードするデコーダと、
前記記録部に記録されたデータストリームを入力し、特殊再生における前記入力したデータストリームの前記デコーダへの出力を、映像データと音声データとを同期させない制御による出力と映像データと音声データとを同期させる制御による出力とに切り替えて行う出力部と、
前記記録部と前記デコーダと前記出力部とを制御する制御部とを備え、
前記デコーダは、入力されたデータストリームを一時的に保持するバッファ部と、前記バッファ部から出力されたデータストリームをデコードするデコード部とを有し、
前記制御部は、特殊再生において、前記映像データと音声データとを同期させない制御から前記映像データと音声データとを同期させる制御への切替の命令を前記出力部に送る場合に、前記デコーダのバッファ部にバッファクリアの命令を送り、映像データと音声データとを同期させて再生しながら再生速度を変更する命令を送る場合は、前記デコーダのバッファ部にバッファクリアの命令は送らないことを特徴とする記録再生装置。
A recording unit for recording a data stream including video data and audio data;
A decoder for decoding the data stream;
The data stream recorded in the recording unit is input, and the output of the input data stream to the decoder in the special playback is synchronized with the output by the control not synchronizing the video data and the audio data with the video data and the audio data. An output unit that performs switching to output by control
A controller that controls the recording unit, the decoder, and the output unit;
The decoder includes a buffer unit that temporarily holds an input data stream, and a decoding unit that decodes the data stream output from the buffer unit,
Wherein, in the special reproduction, when sending a command to switch from not synchronous control and the video data and audio data to a control for synchronizing said video data and audio data to the output unit, of said decoders Ri send instructions buffer clear the buffer portion, when sending commands to change the playback speed during playback in synchronization with video data and audio data, that do not send the instruction buffer clear the buffer of the decoder A characteristic recording / reproducing apparatus.
前記デコーダの前記バッファ部は、複数のバッファ部であり、少なくとも前記映像データを一時的に保持する映像データバッファ部と前記音声データを一時的に保持する音声データバッファ部とがあり、
前記デコーダのデコード部は、複数のデコード部であり、前記映像データバッファ部からの出力データをデコードする映像データデコード部と前記音声データバッファ部からの出力データをデコードする音声データデコード部とがあり、
前記制御部は、特殊再生において、前記映像データと音声データとを同期させない制御から前記映像データと音声データとを同期させる制御への切替の命令を前記出力部に送る場合に、前記デコーダに前記映像データバッファ部のバッファデータと前記音声データバッファ部のバッファデータとのそれぞれをクリアする命令を送ることを特徴とする請求項5に記載の記録再生装置。
The buffer unit of the decoder is a plurality of buffer units, and includes at least a video data buffer unit that temporarily holds the video data and an audio data buffer unit that temporarily holds the audio data,
The decoding unit of the decoder is a plurality of decoding units, and includes a video data decoding unit that decodes output data from the video data buffer unit and an audio data decoding unit that decodes output data from the audio data buffer unit ,
In the special reproduction, the control unit sends a command to the output unit to switch from control for not synchronizing the video data and audio data to control for synchronizing the video data and audio data to the output unit. 6. The recording / reproducing apparatus according to claim 5, wherein a command for clearing each of the buffer data of the video data buffer unit and the buffer data of the audio data buffer unit is sent.
前記データストリームはトランスポートストリーム形式で記録されていることを特徴とする請求項1から6のいずれか一に記載の記録再生装置。   The recording / reproducing apparatus according to claim 1, wherein the data stream is recorded in a transport stream format.
JP2006255174A 2006-09-21 2006-09-21 Recording / playback device Active JP4826407B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006255174A JP4826407B2 (en) 2006-09-21 2006-09-21 Recording / playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006255174A JP4826407B2 (en) 2006-09-21 2006-09-21 Recording / playback device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2004300889A Division JP4039417B2 (en) 2004-10-15 2004-10-15 Recording / playback device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2009237842A Division JP4973714B2 (en) 2009-10-15 2009-10-15 Recording / playback device

Publications (2)

Publication Number Publication Date
JP2007043736A JP2007043736A (en) 2007-02-15
JP4826407B2 true JP4826407B2 (en) 2011-11-30

Family

ID=37801213

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006255174A Active JP4826407B2 (en) 2006-09-21 2006-09-21 Recording / playback device

Country Status (1)

Country Link
JP (1) JP4826407B2 (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3156507B2 (en) * 1994-07-15 2001-04-16 松下電器産業株式会社 Image decoding device
JPH1093921A (en) * 1996-09-18 1998-04-10 Toshiba Corp Sound signal reproducing device and sound signal reproducing method
JP3914003B2 (en) * 2001-05-24 2007-05-16 株式会社東芝 Information reproducing apparatus and information reproducing method
JP2003101962A (en) * 2001-09-26 2003-04-04 Sony Corp Synchronous reproducing device and method
JP4086529B2 (en) * 2002-04-08 2008-05-14 松下電器産業株式会社 Image processing apparatus and image processing method
JP2004112176A (en) * 2002-09-17 2004-04-08 Pioneer Electronic Corp Information processor, its method, its program, recording medium with the program recorded, and reproducer
JP3973568B2 (en) * 2003-01-20 2007-09-12 Necエレクトロニクス株式会社 Data processing apparatus, data reproducing apparatus, data processing method, and data reproducing method

Also Published As

Publication number Publication date
JP2007043736A (en) 2007-02-15

Similar Documents

Publication Publication Date Title
JP4039417B2 (en) Recording / playback device
KR100984638B1 (en) Robust method for achieving audio/video synchronization in mpeg decoders in personal video recording applications
JP2004208308A (en) Method and apparatus for synchronizing reproduction of audio frame and/or video frame, video driver circuit, and decoder box
JP4650112B2 (en) RECORDING / OUTPUT DEVICE, RECORDING / OUTPUT METHOD, AND RECORDING DEVICE
KR101014664B1 (en) Reproduction method for guaranteeing seamless reproduction of a plurality of data streams and reproducing apparatus therefor
KR100565869B1 (en) Synchronous delay control device and method
KR20060099687A (en) Device of video-synchronization using time stamp and method thereof
JP2011014948A (en) Image encoding method, image encoding device, and image recording and reproducing device using them
KR100619041B1 (en) Video synchronization apparatus and video synchronization method
US8254764B2 (en) Recording apparatus, image reproducing apparatus, and special reproduction method therefor
JP4826407B2 (en) Recording / playback device
JP4973714B2 (en) Recording / playback device
JP4763589B2 (en) Playback device and playback method thereof
JP2009260669A (en) Reproduction method and reproducer
JP3583977B2 (en) Digital video playback device
JP3986147B2 (en) Acoustic signal processing apparatus and audio high-speed playback method
JP2002033712A (en) Packet processor and packet output method therefor
JP3897753B2 (en) Memory output device
JPH099215A (en) Data multiplex method, data transmission method, multiplex data decoding method and multiplex data decoder
JP2013012265A (en) Reproduction device and reproduction method
JP4187040B2 (en) Recording / playback device
JP3671969B2 (en) Data multiplexing method and multiple data decoding method
JPH10262211A (en) Information reproduction device and reproduction method
JP2008236163A (en) Reproducing device, and video recording and reproducing device and special reproduction method thereof
JP2003284069A (en) Method and apparatus for decoding multiple data

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090818

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091015

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091208

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101130

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110128

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

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

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

Free format text: PAYMENT UNTIL: 20140922

Year of fee payment: 3

R151 Written notification of patent or utility model registration

Ref document number: 4826407

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20140922

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250