JP2002354419A - Recording reproducing equipment and method therefor, recording medium and program thereof - Google Patents

Recording reproducing equipment and method therefor, recording medium and program thereof

Info

Publication number
JP2002354419A
JP2002354419A JP2001156736A JP2001156736A JP2002354419A JP 2002354419 A JP2002354419 A JP 2002354419A JP 2001156736 A JP2001156736 A JP 2001156736A JP 2001156736 A JP2001156736 A JP 2001156736A JP 2002354419 A JP2002354419 A JP 2002354419A
Authority
JP
Japan
Prior art keywords
information
data stream
value
pts
recording
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.)
Withdrawn
Application number
JP2001156736A
Other languages
Japanese (ja)
Inventor
Hirotaka Takekoshi
弘孝 竹腰
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 JP2001156736A priority Critical patent/JP2002354419A/en
Publication of JP2002354419A publication Critical patent/JP2002354419A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

PROBLEM TO BE SOLVED: To output a smoothly changing image and sound synchronous to the image, in special reproduction. SOLUTION: In step S1, a program stream is read at a speed two or more times an ordinary value. In step S2, a DTS value and a PTS value of each frame are obtained from the program stream. In step S3, the DTS value and the PTS value are offset corresponding to a reproduction speed of the special reproduction, and a DTS offset value and a PTS offset value are produced. In a step S4, the PTS value and the DTS value of an image frame included in the program stream, and the PTS value of a sound frame are rewritten to be a PTS offset value and a DTS offset value. In a step S5, each of the rewritten PTS value and DTS value is compared with an STC counter value, and the timing of decode and the timing of output are controlled.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、記録再生装置およ
び方法、記録媒体、並びにプログラムに関し、例えば、
符号化されたAV信号のデータストリームを特殊再生す
る場合に用いて好適な記録再生装置および方法、記録媒
体、並びにプログラムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a recording / reproducing apparatus and method, a recording medium, and a program.
The present invention relates to a recording / reproducing apparatus and method, a recording medium, and a program suitable for use in performing special reproduction of an encoded AV signal data stream.

【0002】[0002]

【従来の技術】映像および音声の信号を高能率に圧縮符
号化する方式として、MPEG(Moving Picture Experts G
roup)2方式がある。MPEG2方式によって符号化された
映像および音声のデータストリームは、エレメンタリス
トリームと称される。エレメンタリストリームは、共通
の基準時刻の情報を有するPES(Packetized ElementaryS
tream)パケットと称されるデータ構造の中に分割されて
組み込まれることによってプログラムストリームに変換
される。
2. Description of the Related Art Moving Picture Experts MPEG (MPEG) is used as a method for compressing and encoding video and audio signals with high efficiency.
roup) There are two methods. A video and audio data stream encoded according to the MPEG2 system is called an elementary stream. The elementary stream is a PES (Packetized ElementaryS) having common reference time information.
A stream is converted into a program stream by being divided and incorporated into a data structure called a packet.

【0003】トランスポートストリームは、1以上のプ
ログラムストリームが多重化されている単一のビット列
であり、ディジタルCS放送、ディジタルBS放送など
で用いられている。
A transport stream is a single bit string in which one or more program streams are multiplexed, and is used in digital CS broadcasting, digital BS broadcasting, and the like.

【0004】MPEG2方式では、映像信号を構成する各映
像フレームを、Iピクチャ、Pピクチャ、またはBピク
チャのいずれかに分類して符号化する。Iピクチャは、
自己の映像フレームの情報だけを利用して符号化されて
いる(ピクチャ内符号化されている)。Pピクチャは、
順方向のピクチャ間予測符号化に基づいて符号化されて
いる。Bピクチャは、順方向および逆方向の映像フレー
ムの情報を用いた双方向予測符号化によって符号化され
ている。
[0004] In the MPEG2 system, each video frame constituting a video signal is categorized into one of an I picture, a P picture, and a B picture and encoded. I picture is
It is encoded using only the information of its own video frame (intra-picture encoding). P picture is
It is coded based on forward inter-picture predictive coding. The B picture is encoded by bidirectional predictive encoding using information on forward and backward video frames.

【0005】MPEG2方式で符号化された映像信号は、例
えば、15映像フレームを単位とするGOP(Group of Pic
ture)毎に、ランダムアクセスが可能とされている。GOP
には、ピクチャ内符号化されたIピクチャが少なくとも
1映像フレーム含まれている。
A video signal coded according to the MPEG2 system is, for example, a GOP (Group of Pic
ture), random access is possible. GOP
Contains at least one video frame containing an intra-coded I picture.

【0006】MPEG2方式で符号化されているプログラム
ストリームからなるトランスポートストリーム(以下、
MPEG2−TSと記述する)には、放送局など送出側が意
図したタイミングで映像と音声が再生されるように、PC
R(Program Clock Reference)と称されるプログラム時刻
基準参照値や、PTS(Presentation Time Stamp)と称され
る再生のための時刻管理情報、およびDTS(Decoding Tim
e Stamp)と称されるデコードのための時刻管理情報が付
加されている。PCRは、送出側の基準時刻をセットし、
校正するための情報であり、トランストートストリーム
に埋め込まれて送出される。PTS,DTSは、それぞれ再生
のタイミング、デコードのタイミングを示す情報であ
り、PESのヘッダ情報に埋め込まれて送出される。
A transport stream composed of a program stream encoded by the MPEG2 system (hereinafter, referred to as a transport stream)
MPEG2-TS) includes a PC so that video and audio can be reproduced at the timing intended by the transmitting side such as a broadcasting station.
A program time reference reference value called R (Program Clock Reference), time management information for reproduction called PTS (Presentation Time Stamp), and DTS (Decoding Tim
Time management information for decoding called “e Stamp” is added. PCR sets the reference time on the sending side,
Information for calibration, which is embedded in the transto stream and transmitted. PTS and DTS are information indicating the timing of reproduction and the timing of decoding, respectively, and are transmitted by being embedded in the header information of PES.

【0007】セットトップボックスなどの受信側におい
ては、チャンネル切替時などにPCRを取得し、PCRが示す
値(以下、PCT値と記述する)を自己のSTC(System Time
Clock)カウンタにセットする。その後、PCRを取得する
毎に、取得したPCR値と、STCカウンタの値(以下、STC
カウンタ値と記述する)とを比較して、両者が一致する
ようにSTCカウンタのクロックを微調整することによ
り、送出側が意図した基準時刻を再生側において復元す
る。
On the receiving side such as a set-top box, a PCR is acquired at the time of channel switching or the like, and a value indicated by the PCR (hereinafter referred to as a PCT value) is stored in its own STC (System Time).
Clock) counter. Thereafter, every time a PCR is acquired, the acquired PCR value and the value of the STC counter (hereinafter, STC
Then, the reference time intended by the transmitting side is restored on the reproducing side by fine-tuning the clock of the STC counter so that the two coincide with each other.

【0008】ストリームのデコードは、DTSが示す値
(以下、DTS値と記述する)がSTCカウンタ値と一致した
タイミングに行われ、デコードされた映像や音声は、PT
S値がSTCカウンタ値と一致したタイミングに行われる。
これにより、送出側の意図した順序と時間間隔で、再生
側において映像と音声が再生される。
[0008] The stream is decoded at a timing when the value indicated by the DTS (hereinafter, referred to as the DTS value) matches the STC counter value.
This is performed at the timing when the S value matches the STC counter value.
Thereby, the video and the audio are reproduced on the reproducing side in the sequence and the time interval intended by the transmitting side.

【0009】図1は、MPEG2−TSを記録し、また再生
する記録再生装置の構成の一例を示している。当該記録
再生装置において、入力されるMPEG2−TSは、TSパ
ーサ1、およびスイッチ2の端子aに供給される。
FIG. 1 shows an example of the configuration of a recording and reproducing apparatus for recording and reproducing MPEG2-TS. In the recording / reproducing apparatus, the input MPEG2-TS is supplied to the TS parser 1 and the terminal a of the switch 2.

【0010】TSパーサ1は、記録するプログラムスト
リームをMPEG2−TSから抽出して、記録再生部3の書
き込み部4に供給する。書き込み部4は、TSパーサ1
からのプログラムストリームをハードディスクドライブ
などよりなる記録媒体5に記録する。読み出し部6は、
記録媒体5に記録されているプログラムストリームを読
み出して、スイッチ2の端子bに供給する。
[0010] The TS parser 1 extracts a program stream to be recorded from the MPEG2-TS and supplies it to the writing unit 4 of the recording / reproducing unit 3. The writing unit 4 includes the TS parser 1
Is recorded on a recording medium 5 such as a hard disk drive. The reading unit 6
The program stream recorded on the recording medium 5 is read and supplied to the terminal b of the switch 2.

【0011】スイッチ2は、端子aに供給されたMPEG2
−TS、または端子bに供給されるプログラムストリー
ムを、PCR取得部7、およびPESパーサ8,9に出力す
る。以下、スイッチ2が後段に出力するMPEG2−TS、
またはプログラムストリームを、単にストリームと記述
する。
[0011] The switch 2 is provided for the MPEG2 supplied to the terminal a.
-Output the TS or the program stream supplied to the terminal b to the PCR acquisition unit 7 and the PES parsers 8 and 9. Hereinafter, MPEG2-TS output from the switch 2 to the subsequent stage,
Alternatively, the program stream is simply described as a stream.

【0012】PCR取得部7は、スイッチ2が出力するス
トリームから、PCRを抽出して制御部10に出力する。
制御部10は、PCR値とSTCカウンタ12のSTCカウンタ
値を比較し、両者が異なる場合、PCR値をSTCカウンタ1
2にセットする。クロック発生部11は、STCカウンタ
11をカウントアップさせるためのクロック信号を発振
してSTCカウンタ12に供給する。STCカウンタ12は、
制御部10から供給されるPCR値をセットし、その値
を、クロック発生部11から供給されるクロック信号に
同期してカウントアップする。STCカウンタ値は、映像
デコーダ13の比較器16および音声デコーダ18の比
較器21に供給される。
The PCR acquisition section 7 extracts a PCR from the stream output by the switch 2 and outputs the extracted PCR to the control section 10.
The control unit 10 compares the PCR value with the STC counter value of the STC counter 12, and when the two values are different from each other,
Set to 2. The clock generator 11 oscillates a clock signal for counting up the STC counter 11 and supplies the clock signal to the STC counter 12. The STC counter 12
The PCR value supplied from the control unit 10 is set, and the value is counted up in synchronization with the clock signal supplied from the clock generation unit 11. The STC counter value is supplied to the comparator 16 of the video decoder 13 and the comparator 21 of the audio decoder 18.

【0013】PESパーサ8は、スイッチ2が出力するス
トリームから、映像フレームのデータが格納されている
PESを抽出して映像デコーダ13の入力バッファ14に
出力する。入力バッファ14は、PESパーサ8からのPES
を所定の時間だけバッファリングした後、PTS・DTS取得
部15および映像デコード部17に出力する。PTS・DTS
取得部15は、PESパケットからPTSおよびDTSを抽出し
て比較器16に出力する。
The PES parser 8 stores video frame data from the stream output from the switch 2.
The PES is extracted and output to the input buffer 14 of the video decoder 13. The input buffer 14 receives the PES from the PES parser 8
Are buffered for a predetermined time, and then output to the PTS / DTS acquisition unit 15 and the video decoding unit 17. PTS / DTS
The acquisition unit 15 extracts PTS and DTS from the PES packet and outputs the PTS and DTS to the comparator 16.

【0014】比較器16は、PTS値およびDTS値のそれぞ
れと、STCカウンタ値を比較して、DTS値とSTCカウンタ
値が一致した場合、その時点が対応するPESパケットの
デコードのタイミングであることを映像デコード部17
に通知し、PTS値とSTCカウンタ値が一致した場合、その
時点が対応するPESパケットの出力のタイミングである
ことを映像デコード部17に通知する。映像デコード部
18は、比較器16から通知されるタイミングに同期し
て、入力バッファ14からの対応するPESパケットをデ
コードして出力する。
The comparator 16 compares the PTS value and the DTS value with the STC counter value. If the DTS value and the STC counter value match, the time is the timing of decoding the corresponding PES packet. To the video decoding unit 17
When the PTS value matches the STC counter value, the video decoding unit 17 is notified that the time is the output timing of the corresponding PES packet. The video decoding unit 18 decodes and outputs the corresponding PES packet from the input buffer 14 in synchronization with the timing notified from the comparator 16.

【0015】PESパーサ9は、スイッチ2が出力するス
トリームから、音声フレームのデータが格納されている
PESを抽出して音声デコーダ18の入力バッファ19に
出力する。入力バッファ19は、PESパーサ9からのPES
を所定の時間だけバッファリングした後、PTS取得部2
0および音声デコード部22に出力する。PTS取得部2
0は、PESパケットからPTSを抽出して比較器21に出力
する。
The PES parser 9 stores voice frame data from the stream output from the switch 2.
The PES is extracted and output to the input buffer 19 of the audio decoder 18. The input buffer 19 receives the PES from the PES parser 9
After buffering for a predetermined time, the PTS acquisition unit 2
0 and output to the audio decoding unit 22. PTS acquisition unit 2
0 extracts the PTS from the PES packet and outputs it to the comparator 21.

【0016】比較器21は、PTS値とSTCカウンタ値を比
較して、PTS値とSTCカウンタ値が一致した場合、その時
点が対応するPESパケットの出力のタイミングであるこ
とを音声デコード部22に通知する。音声デコード部2
2は、比較器21から通知されるタイミングに同期し
て、入力バッファ19からの対応するPESパケットをデ
コードして出力する。
The comparator 21 compares the PTS value with the STC counter value. If the PTS value and the STC counter value match, the comparator 21 informs the audio decoding unit 22 that the time is the output timing of the corresponding PES packet. Notice. Audio decoding unit 2
2 decodes and outputs the corresponding PES packet from the input buffer 19 in synchronization with the timing notified from the comparator 21.

【0017】次に、当該記録再生装置の映像デコーダ1
3および音声デコーダ18によるストリームを再生する
動作について、図2を参照して説明する。
Next, the video decoder 1 of the recording / reproducing apparatus
3 and the operation of reproducing the stream by the audio decoder 18 will be described with reference to FIG.

【0018】図2の横軸は、STCカウンタ値を示してい
る。同図において、I1,B1,P1などは、それぞれ
Iピクチャの映像フレーム、Bピクチャの映像フレー
ム、またはPピクチャの映像フレームを示しており、添
え字の数値(I1の”1”)は、同じ種類のピクチャに
おける表示出力の順序を示している。
The horizontal axis of FIG. 2 shows the STC counter value. In the figure, I1, B1, P1 and the like indicate a video frame of an I picture, a video frame of a B picture, or a video frame of a P picture, respectively, and the subscript numerical value (“1” of I1) is the same. The order of the display output in the type of picture is shown.

【0019】図2(A)は、PESパーサ8から映像デコ
ーダ13に入力される映像ストリームに含まれる第1の
GOP(GOP1)とそれに続く第2のGOP(GOP2)の一部を
構成する映像フレームの入力タイミングを示している。
例えば、Iピクチャの映像フレームI1は、STCカウン
タ値が3994であるタイミングに映像デコーダ13に
入力されることを示している。また、Bピクチャの映像
フレームB1は、STCカウンタ値が6997であるタイ
ミングに映像デコーダ13に入力されることを示してい
る。なお、各映像フレームのDTS値(デコードタイミン
グ)、およびPTS値(出力タイミング)は、図示の通り
であるとする。
FIG. 2A shows the first video stream included in the video stream input from the PES parser 8 to the video decoder 13.
It shows the input timing of a video frame that forms part of a GOP (GOP1) and a subsequent second GOP (GOP2).
For example, a video frame I1 of an I picture is input to the video decoder 13 at a timing when the STC counter value is 3994. Also, it is shown that the video frame B1 of the B picture is input to the video decoder 13 at the timing when the STC counter value is 6997. It is assumed that the DTS value (decode timing) and the PTS value (output timing) of each video frame are as shown.

【0020】図2(B)は、PESパーサ9から音声デコ
ーダ18に入力される音声ストリームの音声フレームの
入力タイミングを示している。例えば、Iピクチャの映
像フレームI1に対応する音声フレームA1は、STCカ
ウンタ値が3994であるタイミングに音声デコーダ1
8に入力されることを示している。また、Bピクチャの
映像フレームB1に対応する音声フレームA2は、STC
カウンタ値が6997であるタイミングに音声デコーダ
18に入力されることを示している。なお、各音声フレ
ームのPTS値(出力タイミング)は、図示の通りである
とする。
FIG. 2B shows an input timing of an audio frame of an audio stream input from the PES parser 9 to the audio decoder 18. For example, an audio frame A1 corresponding to a video frame I1 of an I picture has an audio decoder 1 at a timing when the STC counter value is 3994.
8 is input. The audio frame A2 corresponding to the video frame B1 of the B picture is an STC.
This shows that the counter value is input to the audio decoder 18 at the timing of 6997. It is assumed that the PTS value (output timing) of each audio frame is as shown.

【0021】なお、映像フレームや音声フレームのPTS
値やDTS値は、例えば、BSディジタル放送の場合、連
続するフレームに対して3003ずつインクリメントさ
れて設定されている。
Note that the PTS of video frames and audio frames
For example, in the case of BS digital broadcasting, the value and the DTS value are set by incrementing 3003 for consecutive frames.

【0022】映像ストリームのデコードの順序とDTS値
の関係について、図2(C)を参照して説明する。図2
(C)は、映像フレームのデコードのタイミングを示し
ている。映像フレームI1は、第1のGOPのうち、最初
にデコードされる映像フレームであるので、最も小さい
DTS値が設定されている。続いて入力される映像フレー
ムB1,B2は、双方向予測符号化されているので、そ
のデコードには、前後の映像フレームの情報が用いられ
る。よって、後に続く映像フレームP1を先にデコード
する必要がある。したがって、DTS値は、映像フレーム
P1,B1,B2の順にその値が増加するように設定さ
れている。
The relationship between the decoding order of the video stream and the DTS value will be described with reference to FIG. FIG.
(C) shows the decoding timing of the video frame. Since the video frame I1 is a video frame to be decoded first in the first GOP, it is the smallest video frame.
DTS value is set. Since the subsequently input video frames B1 and B2 are bidirectionally predictive coded, the information of the preceding and succeeding video frames is used for decoding. Therefore, it is necessary to decode the succeeding video frame P1 first. Therefore, the DTS value is set so that the value increases in the order of the video frames P1, B1, and B2.

【0023】そのように設定されているDTSに従い、入
力された映像ストリームは、STCカウンタ値が3994
であるタイミングに映像フレームI1がデコードされ、
次に、STCカウンタ値が13003であるタイミングに
映像フレームP1が、既にデコードされている映像フレ
ームI1を利用してデコードされる。さらに、STCカウ
ンタ値が16006であるタイミングに映像フレームB
1が、既にデコードされている映像フレームI1,P1
を利用してデコードされる。
According to the DTS set as described above, the input video stream has an STC counter value of 3994.
The video frame I1 is decoded at the timing
Next, at the timing when the STC counter value is 13003, the video frame P1 is decoded using the already decoded video frame I1. Further, at the timing when the STC counter value is 16006, the video frame B
1 is the already decoded video frame I1, P1
Is decoded by using.

【0024】映像ストリームの表示出力の順序とPTS値
の関係について、図2(D)を参照して説明する。図2
(D)は、映像フレームは表示出力のタイミングを示し
ている。映像出力の順序は、図2(A)に示した入力タ
イミングの順序と同一である。したがって、PTS値は、
映像フレームI1,B1,B2,・・・の順に、300
3ずつインクリメントされた値が設定されている。
The relationship between the order of video stream display output and the PTS value will be described with reference to FIG. FIG.
(D) shows the display output timing of the video frame. The order of the video output is the same as the order of the input timing shown in FIG. Therefore, the PTS value is
300 in the order of video frames I1, B1, B2,.
A value that is incremented by three is set.

【0025】入力された映像ストリームの表示について
は、デコードされた映像フレームI1が、STCカウンタ
値が13003であるタイミングに表示出力される。次
に、デコードされた映像フレームB1が、STCカウンタ
値が16006であるタイミングに表示出力される。さ
らに、デコードされた映像フレームB2が、STCカウン
タ値が19009であるタイミングに表示出力される。
As for the display of the input video stream, the decoded video frame I1 is displayed and output at the timing when the STC counter value is 13003. Next, the decoded video frame B1 is displayed and output at a timing when the STC counter value is 16006. Further, the decoded video frame B2 is displayed and output at a timing when the STC counter value is 19,099.

【0026】なお、映像ストリームに対応する音声スト
リームは、図2(E)に示すように、入力タイミングの
順序と、デコードタイミングの順序と、出力タイミング
の順序が同じである。よって、音声ストリームは、音声
フレームA1,A2,A3,・・・の順番で、設定され
ているPTS値とSTCカウンタ値が一致するタイミングにデ
コードされて出力される。
As shown in FIG. 2E, the order of the input timing, the order of the decode timing, and the order of the output timing of the audio stream corresponding to the video stream are the same. Therefore, the audio stream is decoded and output in the order of the audio frames A1, A2, A3,... At the timing when the set PTS value matches the STC counter value.

【0027】従来の記録再生装置では、早送り再生や巻
き戻し再生のような特殊再生を行う場合、読み出し部6
が、通常よりも速い所定の速度でストリームを読み出
し、PESパーサ8が、映像フレームのうちのIピクチャ
の映像フレームだけを抽出して映像デコーダ13に供給
し、映像デコーダ13が、PTS値およびDTS値と、STCカ
ウンタ値とを比較してデコードタイミングや表示出力タ
イミングを制御するのではなく、入力されたIピクチャ
の映像フレームを順次デコードして表示出力することに
よって実現している。
In the conventional recording / reproducing apparatus, when performing special reproduction such as fast forward reproduction or rewind reproduction, the reading section 6
Reads out the stream at a predetermined speed higher than usual, the PES parser 8 extracts only the I-picture video frame from the video frames and supplies it to the video decoder 13, and the video decoder 13 outputs the PTS value and the DTS Instead of controlling the decode timing and the display output timing by comparing the value with the STC counter value, this is realized by sequentially decoding the input I-picture video frames and displaying and outputting them.

【0028】従来の記録再生装置による2倍速の早送り
再生について、図3を参照して説明する。同図(A)
は、抽出されたIピクチャの映像フレームI1,I2,
I3が映像デコーダ13に入力されるタイミングを示し
ている。Iピクチャに設定されているDTS値およびPTS値
は図示のとおりであるとする。同図(B)は、Iピクチ
ャのデコードタイミングを示している。同図(C)は、
Iピクチャの表示出力タイミングを示している。
Referring to FIG. 3, a description will be given of double-speed fast-forward reproduction by a conventional recording / reproducing apparatus. Figure (A)
Are the video frames I1, I2, of the extracted I picture
The timing at which I3 is input to the video decoder 13 is shown. It is assumed that the DTS value and the PTS value set for the I picture are as illustrated. FIG. 3B shows the decoding timing of the I picture. FIG.
The display output timing of the I picture is shown.

【0029】同図(B),(C)に示すように、映像フ
レームI1,I2,I3は、設定されているDTS値やPTS
値に関わりなく、入力された時点でデコードされて表示
出力される。例えば、映像フレームI1は、STCカウン
タ値が3994であるタイミングにデコードされて表示
出力される。また、映像フレームI2は、STCカウンタ
値が25015であるタイミングにデコードされて表示
出力される。さらに、映像フレームI3は、STCカウン
タ値が46036であるタイミングにデコードされて表
示出力される。
As shown in FIGS. 3B and 3C, the video frames I1, I2, and I3 are composed of the set DTS value and PTS.
Regardless of the value, it is decoded and displayed at the time of input. For example, the video frame I1 is decoded and displayed at a timing when the STC counter value is 3994. The video frame I2 is decoded at the timing when the STC counter value is 25015, and is displayed and output. Further, the video frame I3 is decoded at the timing when the STC counter value is 46036, and is displayed and output.

【0030】映像フレームI1,I2,I3が2倍速の
早送り再生で表示出力されるタイミングの間隔に注目す
れば、映像フレーム間の表示出力の間隔は、21021
である。この値は、通常の再生(1倍速の再生)が行わ
れた場合の間隔である45045(=映像フレークI2
のPTS値(58048)−映像フレークI1のPTS値(1
3003))の約2倍である。すなわち、通常の再生の
2倍度で再生が実現されていることがわかる。
If attention is paid to the interval between the timings at which the video frames I1, I2 and I3 are displayed and output in the double-speed fast-forward reproduction, the interval between the display outputs between the video frames is 21021.
It is. This value is 45045 (= video flake I2), which is the interval when normal reproduction (1 × speed reproduction) is performed.
PTS value (58048)-PTS value of video flake I1 (1
3003)). That is, it can be seen that the reproduction is realized at twice the normal reproduction.

【0031】[0031]

【発明が解決しようとする課題】ところで、ディジタル
CS放送、ディジタルBS放送などのディジタル放送の
運用においては、ストリームに含まれるGOPは15映像
フレーム(15ピクチャ)で構成され、そのうちの1映
像フレームだけがIピクチャである。つまり、全ての映
像フレームのうち、Iピクチャは1/15にすぎないこ
とになる。
In the operation of digital broadcasting such as digital CS broadcasting and digital BS broadcasting, a GOP included in a stream is composed of 15 video frames (15 pictures), of which only one video frame is provided. Is an I picture. That is, the I picture is only 1/15 of all the video frames.

【0032】したがって、従来の記録再生装置によっ
て、例えば、15倍速以下の速度で特殊再生を実行した
場合、その映像が滑らかに変化せず、コマ送りのような
ギクシャクしたものになってしまう課題があった。
Therefore, when special reproduction is performed at a speed of, for example, 15 times or less by the conventional recording / reproducing apparatus, the video does not change smoothly and becomes jerky like frame advance. there were.

【0033】また、映像とともに音声を出力することを
考慮した場合、特殊再生時においては、上述したよう
に、PTS値およびDTS値と、STCカウンタ値とに基づくデ
コードタイミングや表示出力タイミングの制御を行わな
いので、映像と音声を同期させることが困難である課題
があった。
In consideration of outputting audio along with video, during special playback, as described above, control of decode timing and display output timing based on the PTS value and DTS value and the STC counter value is performed. Since it is not performed, there is a problem that it is difficult to synchronize video and audio.

【0034】本発明はこのような状況に鑑みてなされた
ものであり、特殊再生をする場合、映像フレームの種類
(Iピクチャ、Bピクチャ、およびPピクチャ)に拘わ
らず、全ての映像フレームのPTS値およびDTS値を書き換
え、また、全ての音声フレームのPTS値を書き換えるこ
とにより、滑らかに変化する映像と、それに同期した音
声を出力できるようにすることを目的とする。
The present invention has been made in view of such a situation. In the case of performing special reproduction, the PTS of all video frames regardless of the type of video frame (I picture, B picture, and P picture). It is an object of the present invention to be able to output a video that smoothly changes and an audio synchronized with the video by rewriting a value and a DTS value and rewriting a PTS value of all audio frames.

【0035】[0035]

【課題を解決するための手段】本発明の記録再生装置
は、情報記録媒体からデータストリームを読み出す読み
出し手段と、読み出し手段で読み出されたデータストリ
ームから、データストリームのデコードタイミングを示
す第1の情報および出力タイミングを示す第2の情報を
取得する取得手段と、取得手段で取得された第1および
第2の情報をオフセットして、第1のオフセット情報お
よび第2のオフセット情報を生成する生成手段と、デー
タストリームに含まれる第1および第2の情報を、生成
手段で生成された第1および第2のオフセット情報で置
き換える置換手段と、第1および第2のオフセット情報
を含むデータストリームをデコードして、映像信号およ
び音声信号を再生するデコード手段とを含むことを特徴
とする。
A recording / reproducing apparatus according to the present invention comprises a reading means for reading a data stream from an information recording medium, and a first means for indicating a decoding timing of the data stream from the data stream read by the reading means. Acquisition means for acquiring information and second information indicating output timing, and generation for offsetting the first and second information acquired by the acquisition means to generate first offset information and second offset information. Means for replacing the first and second information included in the data stream with the first and second offset information generated by the generating means, and a data stream including the first and second offset information. Decoding means for decoding and reproducing a video signal and an audio signal.

【0036】本発明の記録再生装置は、データストリー
ムから、基準時刻を調整するための基準時刻情報を抽出
し、基準時刻を調整する調整手段とをさらに含むことが
できる。
[0036] The recording / reproducing apparatus of the present invention may further include adjusting means for extracting reference time information for adjusting the reference time from the data stream and adjusting the reference time.

【0037】前記生成手段は、取得手段で取得された第
1および第2の情報、基準時刻、並びに再生速度に対応
する係数を用いて、第1のオフセット情報および第2の
オフセット情報を生成するようにすることができる。
The generating means generates first offset information and second offset information using the first and second information obtained by the obtaining means, a reference time, and a coefficient corresponding to the reproduction speed. You can do so.

【0038】本発明の記録再生方法は、情報記録媒体か
らデータストリームを読み出す読み出しステップと、読
み出しステップの処理で読み出されたデータストリーム
から、データストリームのデコードタイミングを示す第
1の情報および出力タイミングを示す第2の情報を取得
する取得ステップと、取得ステップの処理で取得された
第1および第2の情報をオフセットして、第1のオフセ
ット情報および第2のオフセット情報を生成する生成ス
テップと、データストリームに含まれる第1および第2
の情報を、生成ステップの処理で生成された第1および
第2のオフセット情報で置き換える置換ステップと、第
1および第2のオフセット情報を含むデータストリーム
をデコードして、映像信号および音声信号を再生するデ
コードステップとを含むことを特徴とする。
According to the recording / reproducing method of the present invention, there are provided a reading step for reading a data stream from an information recording medium, and first information indicating a decoding timing of the data stream and output timing from the data stream read in the processing of the reading step. An acquisition step of acquiring second information indicating the following, and a generation step of offsetting the first and second information acquired in the processing of the acquisition step to generate first offset information and second offset information. , A first and a second included in the data stream
Replacing the information with the first and second offset information generated in the processing of the generation step, and decoding a data stream including the first and second offset information to reproduce a video signal and an audio signal. Decoding step.

【0039】本発明の記録媒体のプログラムは、情報記
録媒体からデータストリームを読み出す読み出しステッ
プと、読み出しステップの処理で読み出されたデータス
トリームから、データストリームのデコードタイミング
を示す第1の情報および出力タイミングを示す第2の情
報を取得する取得ステップと、取得ステップの処理で取
得された第1および第2の情報をオフセットして、第1
のオフセット情報および第2のオフセット情報を生成す
る生成ステップと、データストリームに含まれる第1お
よび第2の情報を、生成ステップの処理で生成された第
1および第2のオフセット情報で置き換える置換ステッ
プと、第1および第2のオフセット情報を含むデータス
トリームをデコードして、映像信号および音声信号を再
生するデコードステップとを含むことを特徴とする。
The program of the recording medium according to the present invention comprises: a reading step of reading a data stream from an information recording medium; and a first information indicating a decoding timing of the data stream and an output from the data stream read in the processing of the reading step. An acquisition step of acquiring second information indicating a timing; and offsetting the first and second information acquired in the processing of the acquisition step to obtain a first information.
Generating the offset information and the second offset information, and replacing the first and second information included in the data stream with the first and second offset information generated in the processing of the generating step. And a decoding step of decoding a data stream including the first and second offset information to reproduce a video signal and an audio signal.

【0040】本発明のプログラムは、情報記録媒体から
データストリームを読み出す読み出しステップと、読み
出しステップの処理で読み出されたデータストリームか
ら、データストリームのデコードタイミングを示す第1
の情報および出力タイミングを示す第2の情報を取得す
る取得ステップと、取得ステップの処理で取得された第
1および第2の情報をオフセットして、第1のオフセッ
ト情報および第2のオフセット情報を生成する生成ステ
ップと、データストリームに含まれる第1および第2の
情報を、生成ステップの処理で生成された第1および第
2のオフセット情報で置き換える置換ステップと、第1
および第2のオフセット情報を含むデータストリームを
デコードして、映像信号および音声信号を再生するデコ
ードステップとをコンピュータに実行させることを特徴
とする。
The program according to the present invention comprises a reading step of reading a data stream from an information recording medium, and a first step indicating a decoding timing of the data stream from the data stream read in the processing of the reading step.
Obtaining the first information and the second information indicating the output timing; and offsetting the first and second information obtained in the processing of the obtaining step to obtain the first offset information and the second offset information. A generating step of generating; a replacing step of replacing the first and second information included in the data stream with the first and second offset information generated in the processing of the generating step;
And decoding a data stream including the second offset information and reproducing a video signal and an audio signal.

【0041】本発明の記録再生装置および方法、並びに
プログラムにおいては、情報記録媒体からデータストリ
ームが読み出され、読み出されたデータストリームか
ら、データストリームのデコードタイミングを示す第1
の情報および出力タイミングを示す第2の情報が取得さ
れ、取得された第1および第2の情報がオフセットされ
て、第1のオフセット情報および第2のオフセット情報
が生成される。また、データストリームに含まれる第1
および第2の情報が、生成された第1および第2のオフ
セット情報で置き換えられる。さらに、第1および第2
のオフセット情報を含むデータストリームがデコードさ
れて、映像信号および音声信号が再生される。
In the recording / reproducing apparatus, method, and program according to the present invention, a data stream is read from an information recording medium, and a first timing indicating a decoding timing of the data stream is read from the read data stream.
And the second information indicating the output timing are obtained, and the obtained first and second information are offset to generate first offset information and second offset information. In addition, the first stream included in the data stream
And the second information are replaced with the generated first and second offset information. In addition, the first and second
Is decoded, and the video signal and the audio signal are reproduced.

【0042】[0042]

【発明の実施の形態】本発明の一実施の形態である記録
再生装置の構成例について、図4を参照して説明する。
この記録再生装置は、入力されるMPEG2−TSに含まれ
るプログラムストリームを記録し、また読み出してデコ
ードし、得られる映像および音声を出力する他、入力さ
れるMPEG2−TSに含まれるプログラムストリームをリ
アルタイムでデコードし、得られる映像および音声を出
力するものである。さらに、この記録再生装置は、読み
出したプログラムストリームを特殊再生するものであ
る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A configuration example of a recording / reproducing apparatus according to an embodiment of the present invention will be described with reference to FIG.
This recording / reproducing apparatus records a program stream included in an input MPEG2-TS, reads and decodes the same, outputs the obtained video and audio, and also converts a program stream included in the input MPEG2-TS in real time. And outputs the obtained video and audio. Further, the recording / reproducing apparatus performs special reproduction of the read program stream.

【0043】この記録再生装置において、入力されるMP
EG2−TSは、TSパーサ31、およびスイッチ32の
端子aに供給される。TSパーサ31は、記録するプロ
グラムストリームをMPEG2−TSから抽出して、記録再
生部33の書き込み部34に供給する。書き込み部34
は、TSパーサ31からのプログラムストリームをハー
ドディスクドライブなどよりなる記録媒体35に記録す
る。読み出し部36は、記録媒体35に記録されている
プログラムストリームを読み出して、PTS・DTS取得部3
7、およびPTS・DTS書き換え部39に出力する。
In this recording / reproducing apparatus, the input MP
The EG2-TS is supplied to the TS parser 31 and the terminal a of the switch 32. The TS parser 31 extracts a program stream to be recorded from the MPEG2-TS, and supplies the program stream to the writing unit 34 of the recording / reproducing unit 33. Writing unit 34
Records the program stream from the TS parser 31 on a recording medium 35 such as a hard disk drive. The reading unit 36 reads the program stream recorded on the recording medium 35 and reads the program stream from the PTS / DTS acquisition unit 3.
7 and output to the PTS / DTS rewriting unit 39.

【0044】PTS・DTS取得部37は、読み出し部36か
ら入力されるプログラムストリームから、各フレームの
DTS値およびPTS値を取得してPTS・DTS演算部38に出力
する。PTS・DTS演算部38は、PTS・DTS取得部37から
のDTS値およびPTS値を、特殊再生の再生速度に対応して
オフセットし、得られるDTSオフセット値およびPTSオフ
セット値をPTS・DTS書き換え部39に出力する。
The PTS / DTS acquisition unit 37 converts the program stream input from the reading unit 36
The DTS value and the PTS value are obtained and output to the PTS / DTS calculation unit 38. The PTS / DTS calculation unit 38 offsets the DTS value and the PTS value from the PTS / DTS acquisition unit 37 in accordance with the playback speed of trick play, and converts the obtained DTS offset value and PTS offset value into a PTS / DTS rewrite unit. Output to 39.

【0045】PTS・DTS書き換え部39は、読み出し部3
6から入力されるプログラムストリームに含まれる各フ
レームのPTS値およびDTS値を、PTS・DTS演算部38から
入力されるPTSオフセット値およびDTSオフセット値に書
き換えて、スイッチ32の端子bに供給する。
The PTS / DTS rewriting unit 39 includes the reading unit 3
The PTS value and the DTS value of each frame included in the program stream input from the PTS 6 are rewritten to the PTS offset value and the DTS offset value input from the PTS / DTS operation unit 38, and are supplied to the terminal b of the switch 32.

【0046】スイッチ32は、端子aに供給されたMPEG
2−TS、または端子bに供給されるプログラムストリ
ームを、PCR取得部40、およびPESパーサ41,42に
出力する。以下、スイッチ32が後段に出力するMPEG2
−TS、またはプログラムストリームを、単にストリー
ムと記述する。
The switch 32 outputs the MPEG signal supplied to the terminal a.
2-TS or the program stream supplied to the terminal b is output to the PCR acquisition unit 40 and the PES parsers 41 and 42. Hereinafter, MPEG2 output by the switch 32 to the subsequent stage
-A TS or a program stream is simply described as a stream.

【0047】PCR取得部40は、スイッチ32が出力す
るストリームから、PCRを抽出して制御部43に出力す
る。制御部43は、磁気ディスク、光ディスク、光磁気
ディスク、半導体メモリなどよりなる記録媒体56に記
憶されている制御用プログラムを読み出し、読み出した
制御用プログラム、ユーザから入力されるコマンド等に
基づいて、記録再生装置の全体を制御する。また、制御
部43は、PCR値とSTCカウンタ45のSTCカウンタ値を
比較し、両者が異なる場合、PCR値をSTCカウンタ45に
セットする。
The PCR acquisition section 40 extracts a PCR from the stream output from the switch 32 and outputs the extracted PCR to the control section 43. The control unit 43 reads a control program stored in a recording medium 56 including a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, and the like, and based on the read control program, a command input by a user, and the like, It controls the entire recording and playback device. Further, the control unit 43 compares the PCR value with the STC counter value of the STC counter 45, and sets the PCR value in the STC counter 45 when the two are different.

【0048】クロック発生部44は、STCカウンタ45
をカウントアップさせるためのクロック信号を発振して
STCカウンタ45に供給する。STCカウンタ45は、制御
部43から供給されるPCR値をセットし、その値を、ク
ロック発生部44から供給されるクロック信号に同期し
てカウントアップする。STCカウンタ値は、記録再生部
33のPTS・DTS演算部38、映像デコーダ13の比較器
16、および音声デコーダ18の比較器21に供給され
る。
The clock generator 44 includes an STC counter 45
Oscillates a clock signal to count up
It is supplied to the STC counter 45. The STC counter 45 sets the PCR value supplied from the control unit 43, and counts up the value in synchronization with the clock signal supplied from the clock generation unit 44. The STC counter value is supplied to the PTS / DTS operation unit 38 of the recording / reproducing unit 33, the comparator 16 of the video decoder 13, and the comparator 21 of the audio decoder 18.

【0049】PESパーサ41は、スイッチ32が出力す
るストリームから、映像フレームのデータが格納されて
いるPESを抽出して映像デコーダ46の入力バッファ4
7に出力する。入力バッファ47は、PESパーサ41ら
のPESを所定の時間だけバッファリングした後、PTS・DT
S取得部48および映像デコード部50に出力する。PTS
・DTS取得部48は、PESパケットからPTSおよびDTSを抽
出して比較器49に出力する。
The PES parser 41 extracts the PES storing the video frame data from the stream output from the switch 32 and outputs the PES to the input buffer 4 of the video decoder 46.
7 is output. The input buffer 47 buffers the PES of the PES parser 41 and the like for a predetermined time, and then sets the PTS / DT
The signal is output to the S acquisition unit 48 and the video decoding unit 50. PTS
The DTS acquisition unit 48 extracts the PTS and the DTS from the PES packet and outputs the PTS and the DTS to the comparator 49.

【0050】比較器49は、PTS値およびDTS値のそれぞ
れと、STCカウンタ値を比較して、DTS値とSTCカウンタ
値が一致した場合、対応する映像フレームのデコードの
タイミングであることを示すパルスを映像デコード部5
0に出力し、PTS値とSTCカウンタ値が一致した場合、対
応する映像フレームの表示出力のタイミングであること
示すパルスを映像デコード部50に出力する。映像デコ
ード部50は、比較器49からのパルスに同期して、入
力バッファ14からの対応する映像フレームをデコード
して表示出力する。
The comparator 49 compares the PTS value and the DTS value with the STC counter value. If the DTS value matches the STC counter value, a pulse indicating the timing of decoding the corresponding video frame. Video decoding unit 5
When the PTS value matches the STC counter value, a pulse indicating the timing of the display output of the corresponding video frame is output to the video decoding unit 50. The video decoding unit 50 decodes and displays and outputs the corresponding video frame from the input buffer 14 in synchronization with the pulse from the comparator 49.

【0051】PESパーサ42は、スイッチ32が出力す
るストリームから、音声フレームのデータが格納されて
いるPESを抽出して音声デコーダ51の入力バッファ5
2に出力する。入力バッファ52は、PESパーサ42ら
のPESを所定の時間だけバッファリングした後、PTS取得
部53および音声デコード部55に出力する。PTS取得
部53は、PESパケットからPTSを抽出して比較器54に
出力する。
The PES parser 42 extracts, from the stream output from the switch 32, the PES in which the data of the audio frame is stored, and extracts the PES from the input buffer 5 of the audio decoder 51.
Output to 2. The input buffer 52 buffers the PES from the PES parser 42 for a predetermined time, and then outputs the PES to the PTS acquisition unit 53 and the audio decoding unit 55. The PTS acquisition unit 53 extracts the PTS from the PES packet and outputs the PTS to the comparator 54.

【0052】比較器54は、PTS値とSTCカウンタ値を比
較して、PTS値とSTCカウンタ値が一致した場合、対応す
る音声フレームのデコードおよび出力のタイミングであ
ることを示すパルスを音声デコード部55に出力する。
音声デコード部55は、比較器54からのパルスに同期
して、入力バッファ19からの対応する音声フレームを
デコードして出力する。
The comparator 54 compares the PTS value with the STC counter value. If the PTS value and the STC counter value match, the comparator 54 outputs a pulse indicating the timing of decoding and outputting the corresponding audio frame. Output to 55.
The audio decoding unit 55 decodes and outputs a corresponding audio frame from the input buffer 19 in synchronization with the pulse from the comparator 54.

【0053】次に、図5は、PTSオフセット値およびDTS
オフセット値を演算するPTS・DTS演算部38の構成例を
示している。
Next, FIG. 5 shows the PTS offset value and DTS
3 shows a configuration example of a PTS / DTS calculation unit 38 that calculates an offset value.

【0054】PTS・DTS演算部38において、PTS・DTS取
得部37からのPTS値は、減算器67に入力され、PTS・
DTS取得部37からのDTS値は、減算器64およびDTS値
メモリ61に入力され、STCカウンタ45からのSTCカウ
ンタ値は、STCカウンタ値メモリ63に入力される。
In the PTS / DTS operation section 38, the PTS value from the PTS / DTS acquisition section 37 is input to a subtracter 67, and the PTS / DTS
The DTS value from the DTS acquisition unit 37 is input to the subtractor 64 and the DTS value memory 61, and the STC counter value from the STC counter 45 is input to the STC counter value memory 63.

【0055】DTS値メモリ61は、入力されるDTS値のう
ち、新たに入力されたIピクチャの映像フレームに対応
するDTS値を保持し、保持したDTS値を減算器64,67
に出力する。
The DTS value memory 61 holds a DTS value corresponding to a newly input video frame of the I picture among the input DTS values, and subtracts the held DTS value from the subtracters 64 and 67.
Output to

【0056】係数メモリ62は、再生速度に対応する係
数Kを、乗算器65,68に供給する。なお、再生速度
がX倍速である場合、係数K=1/Xである。例えば、
2倍速の早送り再生の場合、係数K=1/2となる。ま
た、例えば、1/4倍速のスロー再生の場合、係数K=
4となる。
The coefficient memory 62 supplies the coefficient K corresponding to the reproduction speed to the multipliers 65 and 68. When the reproduction speed is X times, the coefficient K = 1 / X. For example,
In the case of double-speed fast-forward playback, the coefficient K is 1/2. Further, for example, in the case of 1/4 speed slow reproduction, the coefficient K =
It becomes 4.

【0057】STCカウンタ値メモリ63は、DTS値メモリ
61がDTS値を保持したタイミングに同期して、そのと
き、STCカウンタ値45から入力されるSTCカウンタ値を
保持し、保持したSTCカウンタ値を加算器66,69に
出力する。
The STC counter value memory 63 holds the STC counter value input from the STC counter value 45 at that time in synchronization with the timing when the DTS value memory 61 holds the DTS value, and stores the held STC counter value. Output to adders 66 and 69.

【0058】減算器64は、PTS・DTS取得部37より順
次入力される各フレームに対応するDTS値から、DTS値メ
モリ61が保持するDTS値を減算して、演算結果を乗算
器65に出力する。乗算器65は、減算器64の演算結
果に係数Kを乗算して、演算結果を加算器66に出力す
る。加算器66は、乗算器65の演算結果に、STCカウ
ンタ値メモリ63が保持するSTCカウンタ値を加算し、
演算結果をDTSオフセット値として、PTS・DTS書き換え
部39に出力する。
The subtracter 64 subtracts the DTS value held in the DTS value memory 61 from the DTS value corresponding to each frame sequentially input from the PTS / DTS acquisition unit 37, and outputs the operation result to the multiplier 65. I do. The multiplier 65 multiplies the operation result of the subtractor 64 by a coefficient K, and outputs the operation result to the adder 66. The adder 66 adds the STC counter value held in the STC counter value memory 63 to the operation result of the multiplier 65,
The calculation result is output to the PTS / DTS rewriting unit 39 as a DTS offset value.

【0059】減算器67は、PTS・DTS取得部37より順
次入力される各フレームに対応するPTS値から、DTS値メ
モリ61が保持するDTS値を減算して、演算結果を乗算
器68に出力する。乗算器68は、減算器67の演算結
果に係数Kを乗算して、演算結果を加算器69に出力す
る。加算器69は、乗算器68の演算結果に、STCカウ
ンタ値メモリ63が保持するSTCカウンタ値を加算し、
演算結果をPTSオフセット値として、PTS・DTS書き換え
部39に出力する。
The subtracter 67 subtracts the DTS value held in the DTS value memory 61 from the PTS value corresponding to each frame sequentially input from the PTS / DTS acquisition unit 37, and outputs the operation result to the multiplier 68. I do. Multiplier 68 multiplies the operation result of subtractor 67 by coefficient K, and outputs the operation result to adder 69. The adder 69 adds the STC counter value held in the STC counter value memory 63 to the operation result of the multiplier 68,
The calculation result is output to the PTS / DTS rewriting unit 39 as a PTS offset value.

【0060】したがって、PTSオフセット値およびDTSオ
フセット値は、次式(1),(2)によって演算される
ことになる。 PTSオフセット値=K(各フレームのPTS値−DTS値メモリ61が保持するDTS値) +STCカウンタ値メモリ63が保持するSTCカウンタ値 ・・・(1) DTSオフセット値=K(各フレームのDTS値−DTS値メモリ61が保持するDTS値) +STCカウンタ値メモリ63が保持するSTCカウンタ値 ・・・(2)
Therefore, the PTS offset value and the DTS offset value are calculated by the following equations (1) and (2). PTS offset value = K (PTS value of each frame−DTS value held by DTS value memory 61) + STC counter value held by STC counter value memory 63 (1) DTS offset value = K (DTS value of each frame) −DTS value held in DTS value memory 61) + STC counter value held in + STC counter value memory 63 (2)

【0061】次に、本発明を適用した記録再生装置によ
る特殊再生処理について、2倍速の早送り再生を例にし
て、図6のフローチャートを参照して説明する。
Next, the special reproduction process by the recording / reproducing apparatus to which the present invention is applied will be described with reference to the flowchart of FIG.

【0062】ステップS1において、読み出し部36
は、記録媒体35に記録されているプログラムストリー
ムを、通常の2倍以上の読み出し速度で読み出して、PT
S・DTS取得部37、およびPTS・DTS書き換え部39に出
力する。ステップS2において、PTS・DTS取得部37
は、読み出し部36から入力されたプログラムストリー
ムから、各フレームのDTS値およびPTS値を取得してPTS
・DTS演算部38に出力する。
In step S1, the reading section 36
Reads the program stream recorded on the recording medium 35 at a reading speed that is twice or more the normal reading speed,
Output to the S / DTS acquisition unit 37 and the PTS / DTS rewriting unit 39. In step S2, the PTS / DTS acquisition unit 37
Acquires the DTS value and PTS value of each frame from the program stream input from the
• Output to the DTS calculation unit 38.

【0063】ステップS3において、PTS・DTS演算部3
8は、PTS・DTS取得部37からのDTS値およびPTS値を、
特殊再生の再生速度に対応してオフセットし、得られた
DTSオフセット値およびPTSオフセット値をPTS・DTS書き
換え部39に出力する。
In step S3, the PTS / DTS operation unit 3
8 represents the DTS value and the PTS value from the PTS / DTS acquisition unit 37,
Offset corresponding to the playback speed of trick play
The DTS offset value and the PTS offset value are output to the PTS / DTS rewriting unit 39.

【0064】ステップS3の処理の詳細について、図7
を参照して説明する。
FIG. 7 shows the details of the processing in step S3.
This will be described with reference to FIG.

【0065】図7の横軸は、STCカウンタ値を示してい
る。図7(A)は、読み出し部36から読み出された映
像ストリームの第1のGOP(GOP1)とそれに続く第2の
GOP(GOP2)の一部を構成する映像フレームの入力タイ
ミングを示している。例えば、映像フレームI1は、ST
Cカウンタ値が3994であるタイミングに読み出され
たことを示している。また、映像フレームB1は、STC
カウンタ値が5496であるタイミングに読み出された
ことを示している。なお、各映像フレームのDTS値(デ
コードタイミング)、およびPTS値(出力タイミング)
は、図示の通りであるとする。
The horizontal axis of FIG. 7 shows the STC counter value. FIG. 7A illustrates a first GOP (GOP1) of a video stream read from the reading unit 36 and a second GOP subsequent thereto.
It shows the input timing of a video frame that forms part of a GOP (GOP2). For example, the video frame I1 is ST
This indicates that the C counter value was read at a timing of 3994. Also, the video frame B1 is an STC
This indicates that the counter value was read at a timing of 5496. Note that the DTS value (decode timing) and PTS value (output timing) of each video frame
Is as shown in the figure.

【0066】図7(B)は、読み出し部36から読み出
された音声ストリームを構成する音声フレームの入力タ
イミングを示している。例えば、映像フレームI1に対
応する音声フレームA1は、STCカウンタ値が3994
であるタイミングに読み出されたことを示している。ま
た、映像フレームB1に対応する音声フレームA2は、
STCカウンタ値が5496であるタイミングに読み出さ
れたことを示している。なお、各音声フレームのPTS値
(出力タイミング)は、図示の通りであるとする。
FIG. 7B shows the input timing of the audio frames constituting the audio stream read from the reading section 36. For example, the audio frame A1 corresponding to the video frame I1 has an STC counter value of 3994.
At a certain timing. The audio frame A2 corresponding to the video frame B1 is
This indicates that the STC counter value was read at a timing of 5496. It is assumed that the PTS value (output timing) of each audio frame is as shown.

【0067】PTS・DTS演算部38は、PTS・DTS取得部3
7からのPTS値を、式(1)に示すようにオフセット
し、PTS・DTS取得部37からのDTS値を、式(2)に示
すようにオフセットする。
The PTS / DTS calculation unit 38 is a PTS / DTS acquisition unit 3
7 is offset as shown in equation (1), and the DTS value from the PTS / DTS acquisition unit 37 is offset as shown in equation (2).

【0068】例えば、映像フレームI1のPTSオフセッ
ト値は、式(1)に従い、 PTSオフセット値=0.5(13003−3994)+3994 =8499 と演算される。
For example, the PTS offset value of the video frame I1 is calculated according to equation (1) as follows: PTS offset value = 0.5 (13003-3994) + 3994 = 8499.

【0069】映像フレームI1のDTSオフセット値は、
式(2)に従い、 DTSオフセット値=0.5(3994−3994)+3994 =3994 と演算される。
The DTS offset value of the video frame I1 is
According to equation (2), DTS offset value = 0.5 (3994-3994) + 3994 = 3994 is calculated.

【0070】また、例えば、映像フレームB1のPTSオ
フセット値は、式(1)に従い、 PTSオフセット値=0.5(16006−3994)+3994 =10000 と演算される。
Further, for example, the PTS offset value of the video frame B1 is calculated according to equation (1) as follows: PTS offset value = 0.5 (16006-3994) + 3994 = 10000.

【0071】映像フレームB1のDTSオフセット値は、
式(2)に従い、 DTSオフセット値=0.5(16006−3994)+3994 =10000 と演算される。
The DTS offset value of the video frame B1 is
According to equation (2), DTS offset value = 0.5 (16006-3994) + 3994 = 10000 is calculated.

【0072】さらに、例えば、映像フレームP1のPTS
オフセット値は、式(1)に従い、 PTSオフセット値=0.5(22012−3994)+3994 =13003 と演算される。
Further, for example, the PTS of the video frame P1
The offset value is calculated as PTS offset value = 0.5 (22012-3994) + 3994 = 130003 according to equation (1).

【0073】映像フレームP1のDTSオフセット値は、
式(2)に従い、 DTSオフセット値=0.5(13003−3994)+3994 =8499 と演算される。
The DTS offset value of the video frame P1 is
According to equation (2), DTS offset value = 0.5 (13003-3994) + 3994 = 8499 is calculated.

【0074】同様にして、各映像フレームのPTSオフセ
ット値およびDTSオフセット値が、図7(C)に示すと
おりに演算される。なお、音声フレームについては、PT
S値のオフセット値だけが、図7(D)に示すとおりに
演算される。
Similarly, the PTS offset value and DTS offset value of each video frame are calculated as shown in FIG. For audio frames, PT
Only the offset value of the S value is calculated as shown in FIG.

【0075】図6に戻る。ステップS4において、PTS
・DTS書き換え部39は、読み出し部36から入力され
たプログラムストリームに含まれる映像フレームのPTS
値およびDTS値と、音声フレームのPTS値を、PTS・DTS演
算部38から入力されたPTSオフセット値およびDTSオフ
セット値に書き換える。PTS値およびDTS値が書き換えら
れたストリームは、スイッチ32の端子bを介して後段
に供給される。
Returning to FIG. In step S4, the PTS
The DTS rewriting unit 39 is a PTS of a video frame included in the program stream input from the reading unit 36.
The value and the DTS value and the PTS value of the voice frame are rewritten to the PTS offset value and the DTS offset value input from the PTS / DTS calculation unit 38. The stream in which the PTS value and the DTS value have been rewritten is supplied to the subsequent stage via the terminal b of the switch 32.

【0076】ステップS5において、PESパーサ41
は、スイッチ32からのストリームから、映像フレーム
のデータが格納されているPESを抽出して映像デコーダ
46の入力バッファ47に出力する。入力バッファ47
は、PESパーサ41らのPESを所定の時間だけバッファリ
ングした後、PTS・DTS取得部48および映像デコード部
50に出力する。PTS・DTS取得部48は、PESパケット
からPTSおよびDTSを抽出して比較器49に出力する。比
較器49は、PTS値およびDTS値のそれぞれと、STCカウ
ンタ値を比較して、DTS値とSTCカウンタ値が一致した場
合、対応する映像フレームのデコードのタイミングであ
ることを示すパルスを映像デコード部50に出力し、PT
S値とSTCカウンタ値が一致した場合、対応する映像フレ
ームの表示出力のタイミングであること示すパルスを映
像デコード部50に出力する。映像デコード部50は、
比較器49からのパルスに同期して、入力バッファ14
からの対応する映像フレームをデコードして表示出力す
る。なお、映像フレームのデコードタイミングと表示出
力タイミングの順序は、図7(E)に示すとおりであ
る。
In step S5, the PES parser 41
Extracts the PES storing the video frame data from the stream from the switch 32 and outputs it to the input buffer 47 of the video decoder 46. Input buffer 47
After buffering the PES from the PES parser 41 for a predetermined time, the PES is output to the PTS / DTS acquisition unit 48 and the video decoding unit 50. The PTS / DTS acquisition unit 48 extracts PTS and DTS from the PES packet and outputs the PTS and DTS to the comparator 49. The comparator 49 compares each of the PTS value and the DTS value with the STC counter value. If the DTS value and the STC counter value match, the comparator 49 decodes a pulse indicating the timing of decoding the corresponding video frame. Output to unit 50, PT
When the S value and the STC counter value match, a pulse indicating the timing of display output of the corresponding video frame is output to the video decoding unit 50. The video decoding unit 50
The input buffer 14 is synchronized with the pulse from the comparator 49.
And decodes and outputs the corresponding video frame. The order of the video frame decoding timing and the display output timing is as shown in FIG.

【0077】一方、PESパーサ42は、スイッチ32か
らのストリームから、音声フレームのデータが格納され
ているPESを抽出して音声デコーダ51の入力バッファ
52に出力する。入力バッファ52は、PESパーサ42
らのPESを所定の時間だけバッファリングした後、PTS取
得部53および音声デコード部55に出力する。PTS取
得部53は、PESパケットからPTSを抽出して比較器54
に出力する。比較器54は、PTS値とSTCカウンタ値を比
較して、PTS値とSTCカウンタ値が一致した場合、対応す
る音声フレームのデコードおよび出力のタイミングであ
ることを示すパルスを音声デコード部55に出力する。
音声デコード部55は、比較器54からのパルスに同期
して、入力バッファ19からの対応する音声フレームを
デコードして出力する。なお、音声フレームのデコード
タイミングと表示出力タイミングの順序は、図7(F)
に示すとおりである。
On the other hand, the PES parser 42 extracts the PES storing the data of the audio frame from the stream from the switch 32 and outputs the extracted PES to the input buffer 52 of the audio decoder 51. The input buffer 52 is a PES parser 42
After buffering these PESs for a predetermined time, they are output to the PTS acquisition unit 53 and the audio decoding unit 55. The PTS acquiring unit 53 extracts the PTS from the PES packet and
Output to The comparator 54 compares the PTS value with the STC counter value. If the PTS value matches the STC counter value, the comparator 54 outputs a pulse indicating the timing of decoding and outputting the corresponding audio frame to the audio decoding unit 55. I do.
The audio decoding unit 55 decodes and outputs a corresponding audio frame from the input buffer 19 in synchronization with the pulse from the comparator 54. The order of the decoding timing of the audio frame and the display output timing is shown in FIG.
As shown in FIG.

【0078】以上説明したように、本発明を適用した記
録再生装置による特殊再生処理では、映像フレームの種
類に拘わらず、全ての映像フレームを表示出力すること
ができる。また、再生速度に対応して、映像フレームの
PTS値およびDTS値と、対応する音声フレームのPTS値を
書き換えているので、映像と音声を同期させて出力する
ことができる。
As described above, in the special reproduction processing by the recording / reproducing apparatus to which the present invention is applied, all video frames can be displayed and output regardless of the type of video frame. Also, corresponding to the playback speed,
Since the PTS value and DTS value and the PTS value of the corresponding audio frame are rewritten, the video and the audio can be output in synchronization.

【0079】なお、ステップS3におけるPTS・DTS演算
部38の処理での係数Kの値は、ユーザの操作に対応し
て変化させることができる。係数Kを1とすれば、通常
の再生が実行される。また、係数Kの値を3とすれば、
1/3倍速のスロー再生が実行される。
The value of the coefficient K in the processing of the PTS / DTS calculation section 38 in step S3 can be changed in accordance with the operation of the user. If the coefficient K is set to 1, normal reproduction is performed. If the value of the coefficient K is 3, then
1/3 speed slow reproduction is executed.

【0080】以上のように、本発明を適用した記録再生
装置によれば、全ての映像フレームの映像が表示され、
それに同期して音声フレームの音声が出力されるので、
見たいシーンのサーチ等でユーザの使い勝手が向上す
る。
As described above, according to the recording / reproducing apparatus to which the present invention is applied, the video of all video frames is displayed,
Since the audio of the audio frame is output in synchronization with it,
The usability of the user is improved by searching for a scene to be viewed.

【0081】さらに、早聞き再生によって、時間を短縮
して視聴したり、遅聞き再生によって、聞き取り難い部
分をゆっくり視聴したりすることなどが可能となる。
Further, it is possible to view the content in a shorter time by the fast-reproduction reproduction, and to slowly view the hard-to-recognize part by the slow-reproduction reproduction.

【0082】ところで、上述した一連の処理は、ハード
ウェアにより実行させることもできるが、ソフトウェア
により実行させることもできる。一連の処理をソフトウ
ェアにより実行させる場合には、そのソフトウェアを構
成するプログラムが、専用のハードウェアに組み込まれ
ているコンピュータ、または、各種のプログラムをイン
ストールすることで、各種の機能を実行することが可能
な、例えば汎用のパーソナルコンピュータなどに、記録
媒体からインストールされる。
Incidentally, the above-described series of processing can be executed by hardware, but can also be executed by software. When a series of processing is executed by software, a program constituting the software can execute various functions by installing a computer built into dedicated hardware or installing various programs. It is installed from a recording medium into a possible general-purpose personal computer or the like.

【0083】この記録媒体は、図4に示すように、コン
ピュータとは別に、ユーザにプログラムを提供するため
に配布される、プログラムが記録されている磁気ディス
ク(フロッピディスクを含む)、光ディスク(CD-ROM(C
ompact Disc-Read Only Memory)、DVD(Digital Versati
le Disc)を含む)、光磁気ディスク(MD(Mini Disc)
を含む)、もしくは半導体メモリなどよりなるパッケー
ジメディアにより構成されるだけでなく、コンピュータ
に予め組み込まれた状態でユーザに提供される、プログ
ラムが記録されているROMやハードディスクなどで構成
される。
As shown in FIG. 4, this recording medium is a magnetic disk (including a floppy disk) on which the program is recorded and an optical disk (CD) which are distributed separately from the computer to provide the program to the user. -ROM (C
ompact Disc-Read Only Memory), DVD (Digital Versati
le Disc), magneto-optical disc (MD (Mini Disc)
), Or a package medium such as a semiconductor memory, as well as a ROM or a hard disk in which a program is recorded and provided to a user in a state of being incorporated in a computer in advance.

【0084】なお、本明細書において、記録媒体に記録
されるプログラムを記述するステップは、記載された順
序に従って時系列的に行われる処理はもちろん、必ずし
も時系列的に処理されなくとも、並列的あるいは個別に
実行される処理をも含むものである。
In this specification, the steps of describing the program recorded on the recording medium are not limited to the processing performed in chronological order according to the described order, but are not necessarily performed in chronological order. Alternatively, it also includes individually executed processing.

【0085】[0085]

【発明の効果】以上のように、本発明の記録再生装置お
よび方法、並びにプログラムによれば、データストリー
ムから取得した、データストリームのデコードタイミン
グを示す第1の情報および出力タイミングを示す第2の
情報をオフセットして、第1のオフセット情報および第
2のオフセット情報を生成し、第1および第2の情報
を、生成した第1および第2のオフセット情報で置き換
えるようにしたので、特殊再生において、滑らかに変化
する映像と、それに同期した音声を出力することが可能
となる。
As described above, according to the recording / reproducing apparatus, method, and program of the present invention, the first information indicating the decoding timing of the data stream and the second information indicating the output timing obtained from the data stream. The information is offset to generate first offset information and second offset information, and the first and second information are replaced with the generated first and second offset information. Thus, it is possible to output a smoothly changing video and audio synchronized with the video.

【図面の簡単な説明】[Brief description of the drawings]

【図1】MPEG2−TSを記録、再生する従来の記録再生
装置の構成の一例を示すブロック図である。
FIG. 1 is a block diagram illustrating an example of a configuration of a conventional recording / reproducing apparatus that records and reproduces MPEG2-TS.

【図2】従来の記録再生装置による通常の再生動作を説
明するための図である。
FIG. 2 is a diagram for explaining a normal reproducing operation by a conventional recording / reproducing apparatus.

【図3】従来の記録再生装置による2倍速の再生動作を
説明するための図である。
FIG. 3 is a diagram for explaining a 2 × speed reproduction operation by a conventional recording / reproducing apparatus.

【図4】本発明の一実施の形態である記録再生装置の構
成例を示すブロック図である。
FIG. 4 is a block diagram illustrating a configuration example of a recording / reproducing apparatus according to an embodiment of the present invention.

【図5】PTS・DTS演算部38の構成例を示すブロック図
である。
FIG. 5 is a block diagram illustrating a configuration example of a PTS / DTS calculation unit 38.

【図6】本発明の一実施の形態である記録再生装置によ
る特殊再生動作を説明するフローチャートである。
FIG. 6 is a flowchart illustrating a special reproduction operation performed by the recording / reproduction device according to an embodiment of the present invention.

【図7】PTS・DTS演算部38によるPTSオフセット値お
よびDTSオフセット値の演算を説明するための図であ
る。
FIG. 7 is a diagram for explaining the calculation of a PTS offset value and a DTS offset value by a PTS / DTS calculation unit 38;

【符号の説明】[Explanation of symbols]

37 PTS・DTS取得部, 38 PTS・DTS演算部, 3
9 PTS・DTS書き換え部, 43 制御部, 45 ST
Cカウンタ, 46 映像デコーダ, 51音声デコー
ダ, 56 記録媒体
37 PTS / DTS acquisition unit, 38 PTS / DTS calculation unit, 3
9 PTS / DTS rewrite unit, 43 control unit, 45 ST
C counter, 46 video decoder, 51 audio decoder, 56 recording medium

フロントページの続き Fターム(参考) 5C052 AB04 AC05 CC11 DD04 DD10 5C053 FA20 FA30 GA11 GB05 GB38 HA24 JA22 KA01 KA08 KA22 KA24 LA00 LA06 LA07 5D044 AB07 BC01 CC05 DE28 DE48 FG09 FG18 GK12 Continued on front page F term (reference) 5C052 AB04 AC05 CC11 DD04 DD10 5C053 FA20 FA30 GA11 GB05 GB38 HA24 JA22 KA01 KA08 KA22 KA24 LA00 LA06 LA07 5D044 AB07 BC01 CC05 DE28 DE48 FG09 FG18 GK12

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 符号化されたAV信号のデータストリー
ムを記録し、また再生する記録再生装置において、 情報記録媒体から前記データストリームを読み出す読み
出し手段と、 前記読み出し手段で読み出された前記データストリーム
から、前記データストリームのデコードタイミングを示
す第1の情報および出力タイミングを示す第2の情報を
取得する取得手段と、 前記取得手段で取得された前記第1および第2の情報を
オフセットして、第1のオフセット情報および第2のオ
フセット情報を生成する生成手段と、 前記データストリームに含まれる前記第1および第2の
情報を、前記生成手段で生成された前記第1および前記
第2のオフセット情報で置き換える置換手段と、 前記第1および前記第2のオフセット情報を含む前記デ
ータストリームをデコードして、映像信号および音声信
号を再生するデコード手段とを含むことを特徴とする記
録再生装置。
1. A recording / reproducing apparatus for recording and reproducing a data stream of an encoded AV signal, comprising: reading means for reading the data stream from an information recording medium; and the data stream read by the reading means. An acquisition unit for acquiring first information indicating a decode timing of the data stream and second information indicating an output timing, and offsetting the first and second information acquired by the acquisition unit, Generating means for generating first offset information and second offset information; and converting the first and second information included in the data stream into the first and second offsets generated by the generating means. Replacement means for replacing the first and second offset information with each other; It decodes the over arm, the recording and reproducing apparatus characterized by comprising a decoding means for reproducing video signals and audio signals.
【請求項2】 前記データストリームから、基準時刻を
調整するための基準時刻情報を抽出し、前記基準時刻を
調整する調整手段とをさらに含むことを特徴とする請求
項1に記載の記録再生装置。
2. The recording / reproducing apparatus according to claim 1, further comprising: adjusting means for extracting reference time information for adjusting a reference time from the data stream, and adjusting the reference time. .
【請求項3】 前記生成手段は、前記取得手段で取得さ
れた前記第1および第2の情報、前記基準時刻、並びに
再生速度に対応する係数を用いて、第1のオフセット情
報および第2のオフセット情報を生成することを特徴と
する請求項2に記載の記録再生装置。
3. The method according to claim 1, wherein the generating unit uses the first and second information acquired by the acquiring unit, the reference time, and a coefficient corresponding to a reproduction speed to generate first offset information and second information. The recording / reproducing apparatus according to claim 2, wherein offset information is generated.
【請求項4】 符号化されたAV信号のデータストリー
ムを記録し、また再生する記録再生装置の記録再生方法
において、 情報記録媒体から前記データストリームを読み出す読み
出しステップと、 前記読み出しステップの処理で読み出された前記データ
ストリームから、前記データストリームのデコードタイ
ミングを示す第1の情報および出力タイミングを示す第
2の情報を取得する取得ステップと、 前記取得ステップの処理で取得された前記第1および第
2の情報をオフセットして、第1のオフセット情報およ
び第2のオフセット情報を生成する生成ステップと、 前記データストリームに含まれる前記第1および第2の
情報を、前記生成ステップの処理で生成された前記第1
および前記第2のオフセット情報で置き換える置換ステ
ップと、 前記第1および前記第2のオフセット情報を含む前記デ
ータストリームをデコードして、映像信号および音声信
号を再生するデコードステップとを含むことを特徴とす
る記録再生方法。
4. A recording / reproducing method of a recording / reproducing apparatus for recording and reproducing a data stream of an encoded AV signal, comprising: a reading step of reading the data stream from an information recording medium; An obtaining step of obtaining, from the output data stream, first information indicating a decoding timing of the data stream and second information indicating an output timing; and the first and second information obtained in the processing of the obtaining step. Generating the first offset information and the second offset information by offsetting the second information, and generating the first and second information included in the data stream by the processing of the generating step. Said the first
And a replacement step of replacing with the second offset information; and a decoding step of decoding the data stream including the first and second offset information to reproduce a video signal and an audio signal. Recording and playback method.
【請求項5】 符号化されたAV信号のデータストリー
ムを記録し、また再生する記録再生用のプログラムであ
って、 情報記録媒体から前記データストリームを読み出す読み
出しステップと、 前記読み出しステップの処理で読み出された前記データ
ストリームから、前記データストリームのデコードタイ
ミングを示す第1の情報および出力タイミングを示す第
2の情報を取得する取得ステップと、 前記取得ステップの処理で取得された前記第1および第
2の情報をオフセットして、第1のオフセット情報およ
び第2のオフセット情報を生成する生成ステップと、 前記データストリームに含まれる前記第1および第2の
情報を、前記生成ステップの処理で生成された前記第1
および前記第2のオフセット情報で置き換える置換ステ
ップと、 前記第1および前記第2のオフセット情報を含む前記デ
ータストリームをデコードして、映像信号および音声信
号を再生するデコードステップとを含むことを特徴とす
るコンピュータが読み取り可能なプログラムが記録され
ている記録媒体。
5. A recording and reproducing program for recording and reproducing a data stream of an encoded AV signal, comprising: a reading step of reading the data stream from an information recording medium; An obtaining step of obtaining, from the output data stream, first information indicating a decoding timing of the data stream and second information indicating an output timing; and the first and second information obtained in the processing of the obtaining step. Generating the first offset information and the second offset information by offsetting the second information, and generating the first and second information included in the data stream by the processing of the generating step. Said the first
And a replacement step of replacing with the second offset information; and a decoding step of decoding the data stream including the first and second offset information to reproduce a video signal and an audio signal. Recording medium on which a computer-readable program to be executed is recorded.
【請求項6】 符号化されたAV信号のデータストリー
ムを記録し、また再生するコンピュータに、 情報記録媒体から前記データストリームを読み出す読み
出しステップと、 前記読み出しステップの処理で読み出された前記データ
ストリームから、前記データストリームのデコードタイ
ミングを示す第1の情報および出力タイミングを示す第
2の情報を取得する取得ステップと、 前記取得ステップの処理で取得された前記第1および第
2の情報をオフセットして、第1のオフセット情報およ
び第2のオフセット情報を生成する生成ステップと、 前記データストリームに含まれる前記第1および第2の
情報を、前記生成ステップの処理で生成された前記第1
および前記第2のオフセット情報で置き換える置換ステ
ップと、 前記第1および前記第2のオフセット情報を含む前記デ
ータストリームをデコードして、映像信号および音声信
号を再生するデコードステップとを実行させるプログラ
ム。
6. A computer for recording and reproducing a data stream of an encoded AV signal, comprising: a read step of reading the data stream from an information recording medium; and the data stream read in the processing of the read step. An obtaining step of obtaining first information indicating a decoding timing of the data stream and second information indicating an output timing of the data stream; and offsetting the first and second information obtained in the processing of the obtaining step. And generating the first offset information and the second offset information; and generating the first and second information included in the data stream by the first and second information generated in the processing of the generating step.
And a replacing step of replacing the data stream with the second offset information, and a decoding step of decoding the data stream including the first and second offset information to reproduce a video signal and an audio signal.
JP2001156736A 2001-05-25 2001-05-25 Recording reproducing equipment and method therefor, recording medium and program thereof Withdrawn JP2002354419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001156736A JP2002354419A (en) 2001-05-25 2001-05-25 Recording reproducing equipment and method therefor, recording medium and program thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001156736A JP2002354419A (en) 2001-05-25 2001-05-25 Recording reproducing equipment and method therefor, recording medium and program thereof

Publications (1)

Publication Number Publication Date
JP2002354419A true JP2002354419A (en) 2002-12-06

Family

ID=19000706

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001156736A Withdrawn JP2002354419A (en) 2001-05-25 2001-05-25 Recording reproducing equipment and method therefor, recording medium and program thereof

Country Status (1)

Country Link
JP (1) JP2002354419A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7466902B2 (en) * 2004-02-13 2008-12-16 Kabushiki Kaisha Toshiba H. 264 codec IC, DVD playback apparatus, H. 264 codec method
KR100915798B1 (en) 2008-01-24 2009-09-07 주식회사 텔레칩스 Method for recording digital broadcasting by enhanced compressing format
US7693398B2 (en) 2004-06-01 2010-04-06 Hitachi, Ltd. Digital information reproducing apparatus and method
US8107538B2 (en) 2005-08-19 2012-01-31 Nec Viewtechnology, Ltd. Moving image distribution system and moving image distribution server
JP2013214800A (en) * 2012-03-30 2013-10-17 Ntt Communications Kk Streaming media reproduction device, streaming media reproduction method, and program
US8572670B2 (en) 2008-02-20 2013-10-29 Nec Corporation Video distribution device, video distribution system, and video distribution method
US8620134B2 (en) 2005-07-19 2013-12-31 Nec Viewtechnology, Ltd. Video and audio reproducing apparatus and video and audio reproducing method for reproducing video images and sound based on video and audio streams
WO2014069081A1 (en) * 2012-10-30 2014-05-08 三菱電機株式会社 Audio/video play system, video display device, and audio output device
JP2016021778A (en) * 2015-09-30 2016-02-04 エヌ・ティ・ティ・コミュニケーションズ株式会社 Streaming media reproduction device, streaming media reproduction method and program

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7466902B2 (en) * 2004-02-13 2008-12-16 Kabushiki Kaisha Toshiba H. 264 codec IC, DVD playback apparatus, H. 264 codec method
US7693398B2 (en) 2004-06-01 2010-04-06 Hitachi, Ltd. Digital information reproducing apparatus and method
US8620134B2 (en) 2005-07-19 2013-12-31 Nec Viewtechnology, Ltd. Video and audio reproducing apparatus and video and audio reproducing method for reproducing video images and sound based on video and audio streams
US8107538B2 (en) 2005-08-19 2012-01-31 Nec Viewtechnology, Ltd. Moving image distribution system and moving image distribution server
US9049474B2 (en) 2005-08-19 2015-06-02 Nec Display Solutions, Ltd. Moving image distribution system and moving image distribution server
KR100915798B1 (en) 2008-01-24 2009-09-07 주식회사 텔레칩스 Method for recording digital broadcasting by enhanced compressing format
US8572670B2 (en) 2008-02-20 2013-10-29 Nec Corporation Video distribution device, video distribution system, and video distribution method
JP2013214800A (en) * 2012-03-30 2013-10-17 Ntt Communications Kk Streaming media reproduction device, streaming media reproduction method, and program
WO2014069081A1 (en) * 2012-10-30 2014-05-08 三菱電機株式会社 Audio/video play system, video display device, and audio output device
JP5933744B2 (en) * 2012-10-30 2016-06-15 三菱電機株式会社 Video / audio reproduction system, video display device, and audio output device
US9819839B2 (en) 2012-10-30 2017-11-14 Mitsubishi Electric Corporation Audio/video reproduction system, video display device, and audio output device for synchronizing decoding of video frames by the video display device to decoding of audio frames by the audio output device
JP2016021778A (en) * 2015-09-30 2016-02-04 エヌ・ティ・ティ・コミュニケーションズ株式会社 Streaming media reproduction device, streaming media reproduction method and program

Similar Documents

Publication Publication Date Title
JP4570462B2 (en) A stable method to achieve audio-video synchronization with an MPEG decoder in personal video recording applications
US7321718B2 (en) Method for generating additional information for guaranteeing seamless playback between data streams, recording medium storing the information, and recording editing and/or playback apparatus using the same
KR101014664B1 (en) Reproduction method for guaranteeing seamless reproduction of a plurality of data streams and reproducing apparatus therefor
GB2415585A (en) Speed variable audio playback
JP2003158719A (en) Video data stream multiplexing system for digital video recorder and method for operating the same
JPH10262208A (en) Step-out controller and step-out control method
JP2002354419A (en) Recording reproducing equipment and method therefor, recording medium and program thereof
JP4030276B2 (en) Digital video recording / playback device
JP2007158432A (en) Video recording device
KR100577327B1 (en) Av data recording/reproducing apparatus and method and recording medium on which data is recorded by the av data recording/reproducing apparatus or method
JP4763589B2 (en) Playback device and playback method thereof
JP3570785B2 (en) Moving image expansion / reproduction method and apparatus
JP2006352587A (en) Information processor
JP2002033712A (en) Packet processor and packet output method therefor
JP4288804B2 (en) Data decoding apparatus and data decoding method
KR100956821B1 (en) Method for playing Personal Video Recorder
JP2009218934A (en) Video reproducing device and video reproducing method
EP1148723B1 (en) Special reproduction data generating device, medium, and information aggregate
KR100677110B1 (en) Apparatus for recording and/or editing of data ensuring seamless playback between data stream
JP4861221B2 (en) RECORDING DEVICE, RECORDING METHOD, VIDEO RECORDING / REPRODUCING DEVICE, AND RECORDING FILE PROCESSING METHOD THEREOF
KR100657262B1 (en) Recording medium for storing additional information so as to ensure seamless playback between data stream
KR100532113B1 (en) Appratus for recording and/or playback of data ensuring seamless playback between data stream
JP2001291342A (en) Digital information recording and reproducing device
JP2004165856A (en) Information processing apparatus and method, recording medium, and program
KR20000026857A (en) Apparatus for transmitting trick replay data and method therefor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20080805