JP4266427B2 - Recording / reproducing apparatus, recording / reproducing method, and computer-readable storage medium - Google Patents

Recording / reproducing apparatus, recording / reproducing method, and computer-readable storage medium Download PDF

Info

Publication number
JP4266427B2
JP4266427B2 JP05799899A JP5799899A JP4266427B2 JP 4266427 B2 JP4266427 B2 JP 4266427B2 JP 05799899 A JP05799899 A JP 05799899A JP 5799899 A JP5799899 A JP 5799899A JP 4266427 B2 JP4266427 B2 JP 4266427B2
Authority
JP
Japan
Prior art keywords
time information
recording
stream signal
reproducing
reproduced
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP05799899A
Other languages
Japanese (ja)
Other versions
JP2000261766A (en
JP2000261766A5 (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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP05799899A priority Critical patent/JP4266427B2/en
Priority to US09/516,115 priority patent/US6879768B1/en
Publication of JP2000261766A publication Critical patent/JP2000261766A/en
Publication of JP2000261766A5 publication Critical patent/JP2000261766A5/en
Application granted granted Critical
Publication of JP4266427B2 publication Critical patent/JP4266427B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、複数の番組が時分割多重されたストリーム信号を記録再生する場合に用いて好適な記録再生装置、記録再生方法及びこの記録再生装置に用いられるコンピュータ読み取り可能な記憶媒体に関するものである。
【0002】
【従来の技術】
近年、次世代の放送方式として、デジタル放送が注目されている。放送方式がデジタル化することにより、テレビ受信機にはいろいろな機能を搭載しやすくなってきた。その中でも、ハードディスク等の高速で大容量、しかもランダムアクセスの速度が高く、書き込みと読み出しが同時にできる記録再生部を内蔵し、この記録再生部を遅延装置として利用する記録再生装置の開発が行われている。
【0003】
この記録再生装置は、例えば現在放送されている番組を記録しながら、ユーザがある時間遅れて再生して見ることができるものである。例えば、スポーツ中継が延長された場合、スポーツ中継はそのまま見ることにし、他のチャネルで同時に放送されているドラマ等を記録媒体に記録し、スポーツ中継終了後、記録した番組を始めから再生することによって、現在放送されている番組を任意の時間遅れて見ることができる。
【0004】
また、記録されている番組は、スロー再生や、サーチ再生等の特殊再生機能を持たせることができ、あたかも現在放送されている番組が特殊再生できるかのごとく表示できる。
【0005】
このような記録再生の方法として、例えば特開平8−297922号公報に示されるように、再生されるビットストリームの速度と復号する速度とを一致させるために、記録時にトランスポートストリーム毎にタイムスタンプを付加し、再生側でこのタイムスタンプに合うように、ビットストリームの読み出しを制御しながら出力する方法がある。
【0006】
図3は従来の記録再生装置を示すブロック図である。
図3において、入力端子301より入力された放送信号は、チューナ部303により、複数の番組(プログラム)信号がデジタル化されて時分割多重されたビットストリーム信号に変換されてストリーム分離器305へ出力される。上記ディジタル化された番組信号のビットストリームフォーマットとして、ITU−Tにより規格化されたH222等のトランスポートストリームが知られている。また、画像信号や音声信号としては、MPEG2方式等で圧縮された信号等が用いられている。また、上記規格化されたビットストリーム中には、PCR又はSCRと呼ばれるパケットの到着時刻を示す時刻情報としてのデータが含まれている。
【0007】
ビットストリーム分離器305においては、制御器327より出力される制御信号によって、現在見たい番組のトランスポートストリームを切り替えスイッチ313の端子aに出力すると共に、記録したい番組のトランスポートストリームを切り替えスイッチ307の端子aに出力する。カウンタ309は、記録時に付加するためのタイムスタンプ用のカウンタである。
【0008】
切り替えスイッチ307において、記録したいトランスポートストリームに、カウンタ309から出力する値をタイムスタンプとして付加した後、記録再生部325へ出力する。記録再生部325においては、制御器327より出力される制御信号に基づいて記録したいトランスポート信号を記録媒体に記録しながら、同時に再生したいトランスポート信号をヘッダ分離器315とメモリ311へ出力する。
【0009】
ヘッダ分離器315においては、トランスポートに付加したタイムスタンプを分離し、タイムスタンプの値を比較器319へ出力する。比較器319においては、トランスポート分離器319より出力されるタイムスタンプの値とカウンタ317の値とを比較し、比較結果を制御器321へ出力する。制御器321は、上記タイムスタンプの値とカウンタ317の値とが一致したときに、メモリ311からトランスポートストリームを読み出し、一致しない場合は、メモリ311からの読み出しを停止する。
【0010】
メモリ311から読み出されたトランスポートストリームは、切り替えスイッチ313の端子bに出力される。切り替えスイッチ313においては、現在放送されている番組を見たいのであれば、端子aへ接続し、記録されている番組を見たいのであれば、端子bへ接続し、選択したトランスポートストリームを復号器323へ出力する。復号器323においては、復号処理を行い、映像信号は表示器329へ、音声信号はスピーカ311へ出力する。
【0011】
図4は多重化されたトランスポートストリームから記録したいトランスポートストリームのみを抜き出し、タイムスタンプを付加したときの様子を示したものである。
図4(a)のように、映像用トランスポートストリームV1、V2、V3・・・・と、音声用トランスポートストリームA1、A2、A3・・・・との複数番組分のビットストリームが時分割多重されている。
図4(b)は、記録したい番組の映像用トランスポートストリームV1と音声用トランスポートストリームA1を抜き出している。
【0012】
図4(c)は、抜き出したトランスポートストリームの始めに、タイムスタンプを付加した状態を示している。記録時には、タイムスタンプを付加された、映像用トランスポートストリームV1と、音声用トランスポートストリームA1のみを記録する。この例では、188byteのトランスポートストリーム毎に4byteのタイムスタンプヘッダを付加している。
【0013】
このように、付加したタイムスタンプの値を見ながら読み出しを制御することにより、復号の処理速度と記録再生部の読み出し速度とを一致させ、復号時のデータの過不足をなくすようにしている。
【0014】
【発明が解決しようとする課題】
しかしながら上記従来例では、記録するトランスポートストリーム毎に必ずタイムスタンプを付加しているので、記録する情報量が増加していた。特に上記従来例では、188byteのトランスポートストリームに対して4byteのタイムスタンプを付加しているので、約2パーセント程度情報量が増加していた。
【0015】
本発明は、上記の問題を解決するために成されたもので、記録時に情報量が増加することなしに、復号の処理速度と記録再生部の読み出し速度を一致させて、復号時のデータの過不足をなくすことができるようにすることを目的としている。
【0016】
【課題を解決するための手段】
上記の目的を達成するために、本発明による記録再生装置においては、時刻情報が挿入されたストリーム信号の上記時刻情報に基づいて伝送レートを求める第1の演算手段と、上記ストリーム信号を記録媒体に記録し所定レートで再生する記録再生手段と、上記再生されたストリーム信号を記憶する記憶手段と、上記再生されたストリーム信号の時刻情報と上記第1の演算手段で求められた伝送レートとに基づいて上記所定レートに応じた時刻情報を求める第2の演算手段と、上記再生されたストリーム信号の時刻情報と上記第2の演算手段で求められた上記所定レートに応じた時刻情報とを比較する比較手段と、上記比較手段の比較結果に応じて上記記憶手段の読み出しを制御する制御手段とを設けている。
【0017】
また、本発明による記憶媒体においては、時刻情報が挿入されたストリーム信号の上記時刻情報に基づいて伝送レートを求める第1の演算処理と、上記ストリーム信号を記録媒体に記録し所定レートで再生する記録再生処理と、上記再生されたストリーム信号を記憶手段に記憶する記憶処理と、上記再生されたストリーム信号の時刻情報と上記第1の演算処理で求められた伝送レートとに基づいて上記所定レートに応じた時刻情報を求める第2の演算処理と、上記再生されたストリーム信号の時刻情報と上記第2の演算処理で求められた上記所定レートに応じた時刻情報とを比較する比較処理と、上記比較処理の比較結果に応じて上記記憶手段の読み出しを制御する制御処理とを実行するためのプログラムを記憶している。
また、本発明による記録再生方法は、時刻情報が挿入されたストリーム信号の上記時刻情報に基づいて伝送レートを求める第1の演算ステップと、上記ストリーム信号を記録媒体に記録し所定レートで再生する記録再生ステップと、上記再生されたストリーム信号を記憶手段に記憶する記憶ステップと、上記再生されたストリーム信号の時刻情報と上記第1の演算ステップで求められた伝送レートとに基づいて上記所定レートに応じた時刻情報を求める第2の演算ステップと、上記再生されたストリーム信号の時刻情報と上記第2の演算ステップで求められた上記所定レートに応じた時刻情報とを比較する比較ステップと、上記比較ステップの比較結果に応じて上記記憶手段の読み出しを制御する制御ステップとを有することを特徴とする。
【0018】
【発明の実施の形態】
以下、本発明の実施の形態を図面と共に説明する。
図1は本発明の実施の形態による記録再生装置を示すブロック図である。
図1において、入力端子101より入力された放送信号は、チューナ部103により、デジタル化された複数の番組(プログラム)信号が時分割多重されたトランスポートストリーム信号に変換され、ストリーム分離器105へ出力される。ストリーム分離器105においては、制御器137より出力される制御信号に基づいて、現在見たい番組のトランスポートストリーム信号は切り替えスイッチ127の端子aへ出力すると共に、記録したい番組のトランスポートストリーム信号は、記録再生部135とPCR分離器107とに出力する。
【0019】
PCR分離器107においては、トランスポートストリーム中に挿入された時刻情報としてのPCRを分離し、レート演算器111へ出力すると共に、カウンタ109の数値をリセットする。カウンタ109は、PCRから次のPCRまでの間にあるトランスポートストリームのバイト数を数え、レート演算器111へ出力する。レート演算器111では、PCRの値とカウンタ109の値から、分離したトランスポートストリームのバイトレートを演算する。
【0020】
ここで、トランスポートレートは、トランスポートストリーム中の同一プログラムの連続する2つのPCRフィールドの最終ビットを含むバイトの間にあるバイト数を、これらの2つの同一のPCRフィールド中に符号化された時間の差で割ったものとして定義されている。その演算式は式(1)のように、ITU−TH222の規格で定義されている。
【0021】
transport_rate=〔(I’−I”)*システムクロック周波数〕/〔PCR(I’)−PCR(I”)〕・・・・(1)
ここで、I’は復号されるプログラムに適用される最も新しいPCRのべ一スフィールドの最終ビットを含むバイトのインデックス番号、I”は復号されるプログラムに適用される、直後に続くPCRのべースフィールドの最終ビットを含むバイトのインデックス番号と定義されている。但し、I”はI’より小さい。
【0022】
即ち、PCRとPCRとの間にあるバイト数にシステムクロック周波数を掛けた値を、PCRと次のPCRの値との差で割った値がバイトレートとなる。このようにレート演算器111によって求められたトランスポートストリームの伝送レートはレジスタ113に記録される。レジスタ113は、制御器137へ出力すると共に、PCR演算器119へ出力する。尚、レジスタ113は、番組毎に対応する複数のレジスタを有していてもよい。
【0023】
一方、再生側の動作として、記録されたトランスポートストリームは、制御器137より出力される制御信号によって、指定されたバイトレートで記録再生部135から読み出され、PCR分離器117とメモリ115へ出力される。PCR分離器117においては、再生されるトランスポートストリーム中からPCRを分離し、最も新しいPCR値を比較器121へ出力すると共に、1つ前のPCR値をPCR演算器119へ出力する。
【0024】
PCR演算器119においては、レジスタ113より出力されるトランスポートストリームの伝送レートとPCR分離器117より出力される1つ前のPCR値とから、現在のPCR値を演算し比較器121へ出力する。PCR演算器119の演算式は、式(1)を変形した式(2)によって求められる。
PCR(I’)=PCR(I”)+〔(I’−I”)*システムクロック周波数〕/transport_rate・・・・(2)
【0025】
比較器121においてはトランスポートストリームから分離したPCR値とPCR演算器119より求めたPCR値とを比較し、比較結果を制御器123へ出力する。制御器123においては、演算によって求められたPCR値がトランスポートストリームから分離したPCR値より小さければ、メモリの読み出しを停止し、切り替えスイッチ125の端子bに接続して、ヌルトランスポートストリームをPCRが含まれるトランスポートストリームの直前に挿入する。
【0026】
演算によって求められたPCR値がトランスポートストリームから分離したPCR値に等しい場合は、メモリ115を制御してそのままトランスポートストリームを読み出し、切り替えスイッチ125の端子aを接続し、記録したトランスポートストリームを選択する。上記ヌルトランスポートストリームは、TU−TH222の規格で定義されている。
【0027】
図2はPCRの前にヌルトランスポートストリームを挿入した様子を示すものである。
図2(a)は、記録再生部135から読み出したトランスポートストリームの状態を示す。
図2(b)は、PCRの前にレート調整のためにヌルトランスポートストリームを挿入して所定のバイトレートになった状態を示す。
【0028】
このように、PCRの前のトランスポートストリームにヌルトランスポートストリームを挿入することにより所定のバイトレートになったトランスポートストリームは、復号器129において映像信号と音声信号とが復号され、映像信号は表示器131へ出力され、音声信号はスピーカ133へ出力される。
【0029】
尚、制御器137はマイクロコンピュータ等で実現してもよく、ビットレート演算器111、レジスタ113、PCR演算器119を内蔵してもよい。
【0030】
次に本発明の他の実施の形態としての記憶媒体について説明する。
図1に示すシステムは、ハードウェアで構成することもできるが、CPUとメモリを含むコンピュータシステムで構成することができる。コンピュータシステムで構成する場合は、上記メモリは本発明による記憶媒体を構成する。この記憶媒体には、上記実施の形態において説明した動作を制御するための処理手順を実行するためのプログラムが記憶される。
【0031】
また、この記憶媒体としては、ROM、RAM等の半導体メモリ、光ディスク、光磁気ディスク、磁気媒体等を用いてよく、これらをCD−ROM、フロッピィディスク、磁気テープ、磁気カード、不揮発性メモリカード等に構成して用いてよい。
【0032】
従って、この記憶媒体を図1に示したシステムや装置以外の他のシステムや装置で用い、そのシステムあるいはコンピュータがこの記憶媒体に格納されたプログラムコードを読み出し、実行することによっても、上記実施の形態と同等の機能を実現できると共に、同等の効果を得ることができ、本発明の目的を達成することができる。
【0033】
また、コンピュータ上で稼働しているOS等が処理の一部又は全部を行う場合、あるいは、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された拡張機能ボードやコンピュータに接続された拡張機能ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づいて、上記拡張機能ボードや拡張機能ユニットに備わるCPU等が処理の一部又は全部を行う場合にも、上記実施の形態と同等の機能を実現できると共に、同等の効果を得ることができ、本発明の目的を達成することができる。
【0034】
【発明の効果】
以上説明したように、本発明によれば、記録したいプログラムの伝送レートを求め、再生時に再生レートに応じたPCR値等の時刻情報を求め、この時刻情報と再生ストリーム信号中にある時刻情報とを比較し、比較結果に応じて記憶手段の読み出しを制御することによって、余分なタイムスタンプを記録することなく、必要なプログラムのみ情報量を増加させることなく、復号する場合の処理速度と再生時の読み出し速度とを一致させながら記録再生することができる。
【図面の簡単な説明】
【図1】本発明の実施の形態による記録再生装置を示すブロック図である。
【図2】本発明の実施の形態によるトランスポートストリームの構成図である。
【図3】従来の記録再生装置を示すブロック図である。
【図4】従来のトランスポートストリームの構成図である。
【符号の説明】
105 ストリーム分離器
107 PCR分離器
109 カウンタ
111 レート演算器
113 レジスタ
115 メモリ
119 PCR演算器
121 比較器
125 切り替えスイッチ
123、137 制御器
135 記録再生部
129 復号器
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a recording / reproducing apparatus, a recording / reproducing method, and a computer-readable storage medium used in the recording / reproducing apparatus, which are suitable for use when recording / reproducing a stream signal in which a plurality of programs are time-division multiplexed. .
[0002]
[Prior art]
In recent years, digital broadcasting has attracted attention as a next-generation broadcasting system. With the digitalization of broadcasting systems, it has become easier to install various functions in television receivers. Among them, the development of a recording / reproducing device such as a hard disk, which has a high-speed, large-capacity, high-speed random access, a built-in recording / reproducing unit that can write and read simultaneously, and uses this recording / reproducing unit as a delay device has been developed. ing.
[0003]
This recording / reproducing apparatus is capable of reproducing and watching a user with a certain time delay while recording a currently broadcast program, for example. For example, if a sports broadcast is extended, the sports broadcast will be viewed as it is, and dramas etc. broadcasted simultaneously on other channels will be recorded on the recording medium, and the recorded program will be played back from the beginning after the sports broadcast ends. By this, it is possible to watch a program currently being broadcast with an arbitrary delay.
[0004]
The recorded program can be provided with special playback functions such as slow playback and search playback, and can be displayed as if the currently broadcast program can be specially played back.
[0005]
As such a recording / reproducing method, for example, as disclosed in Japanese Patent Laid-Open No. 8-297922, a time stamp is recorded for each transport stream at the time of recording in order to match the speed of the bit stream to be reproduced with the speed of decoding. There is a method in which the reproduction is performed while controlling the reading of the bit stream so that it matches the time stamp on the playback side.
[0006]
FIG. 3 is a block diagram showing a conventional recording / reproducing apparatus.
In FIG. 3, a broadcast signal input from an input terminal 301 is converted into a bit stream signal in which a plurality of program (program) signals are digitized and time-division multiplexed by a tuner unit 303 and output to a stream separator 305. Is done. As a bit stream format of the digitized program signal, a transport stream such as H222 standardized by ITU-T is known. As the image signal and the audio signal, a signal compressed by the MPEG2 method or the like is used. In addition, the standardized bit stream includes data as time information indicating the arrival time of a packet called PCR or SCR.
[0007]
The bit stream separator 305 outputs the transport stream of the program that the user wants to watch to the terminal a of the changeover switch 313 according to the control signal output from the controller 327, and changes the transport stream of the program that the user wants to record to the changeover switch 307. To terminal a. The counter 309 is a time stamp counter to be added at the time of recording.
[0008]
The changeover switch 307 adds the value output from the counter 309 as a time stamp to the transport stream to be recorded, and then outputs it to the recording / playback unit 325. The recording / reproducing unit 325 outputs a transport signal to be reproduced simultaneously to the header separator 315 and the memory 311 while recording a transport signal to be recorded on the recording medium based on the control signal output from the controller 327.
[0009]
The header separator 315 separates the time stamp added to the transport and outputs the time stamp value to the comparator 319. The comparator 319 compares the time stamp value output from the transport separator 319 with the value of the counter 317, and outputs the comparison result to the controller 321. The controller 321 reads the transport stream from the memory 311 when the time stamp value matches the counter 317 value, and stops reading from the memory 311 if they do not match.
[0010]
The transport stream read from the memory 311 is output to the terminal b of the changeover switch 313. The change-over switch 313 connects to the terminal a if the user wants to watch the program currently being broadcast, and connects to the terminal b if the user wants to watch the recorded program, and decodes the selected transport stream. To the device 323. The decoder 323 performs decoding processing, and outputs a video signal to the display 329 and an audio signal to the speaker 311.
[0011]
FIG. 4 shows a state when only a transport stream to be recorded is extracted from a multiplexed transport stream and a time stamp is added.
As shown in FIG. 4 (a), bit streams for a plurality of programs of video transport streams V1, V2, V3,... And audio transport streams A1, A2, A3,. It is multiplexed.
In FIG. 4B, the video transport stream V1 and the audio transport stream A1 of the program to be recorded are extracted.
[0012]
FIG. 4C shows a state where a time stamp is added to the beginning of the extracted transport stream. At the time of recording, only the video transport stream V1 and the audio transport stream A1 to which a time stamp is added are recorded. In this example, a 4-byte time stamp header is added to each 188-byte transport stream.
[0013]
In this way, by controlling the reading while looking at the value of the added time stamp, the decoding processing speed and the reading speed of the recording / reproducing unit are made to coincide with each other, so that excess or deficiency of data at the time of decoding is eliminated.
[0014]
[Problems to be solved by the invention]
However, in the above conventional example, since a time stamp is always added to each transport stream to be recorded, the amount of information to be recorded has increased. In particular, in the above conventional example, since a 4-byte time stamp is added to a 188-byte transport stream, the amount of information increases by about 2%.
[0015]
The present invention has been made in order to solve the above-described problems, and without increasing the amount of information at the time of recording, the decoding processing speed is matched with the reading speed of the recording / playback unit, and the data at the time of decoding is The purpose is to be able to eliminate excesses and deficiencies.
[0016]
[Means for Solving the Problems]
In order to achieve the above object, in the recording / reproducing apparatus according to the present invention, first calculation means for obtaining a transmission rate based on the time information of the stream signal into which the time information is inserted, and the stream signal as a recording medium Recording / reproducing means for recording at a predetermined rate, storage means for storing the reproduced stream signal, time information of the reproduced stream signal, and a transmission rate obtained by the first calculating means. Based on the second calculation means for obtaining the time information according to the predetermined rate based on the above, the time information of the reproduced stream signal is compared with the time information according to the predetermined rate obtained by the second calculation means. And a control means for controlling reading of the storage means in accordance with the comparison result of the comparison means.
[0017]
In the storage medium according to the present invention, the first arithmetic processing for obtaining the transmission rate based on the time information of the stream signal into which the time information is inserted, and the stream signal is recorded on the recording medium and reproduced at a predetermined rate. The predetermined rate based on the recording / reproduction process, the storage process for storing the reproduced stream signal in the storage means, the time information of the reproduced stream signal, and the transmission rate obtained in the first calculation process A second calculation process for obtaining time information according to the comparison, a comparison process for comparing the time information of the reproduced stream signal with the time information according to the predetermined rate obtained by the second calculation process, A program for executing control processing for controlling reading of the storage means in accordance with the comparison result of the comparison processing is stored.
The recording / reproducing method according to the present invention also includes a first calculation step for obtaining a transmission rate based on the time information of the stream signal into which the time information is inserted, and the stream signal is recorded on a recording medium and reproduced at a predetermined rate. The predetermined rate based on the recording / reproducing step, the storing step for storing the reproduced stream signal in the storage means, the time information of the reproduced stream signal and the transmission rate obtained in the first calculating step. A second calculation step for obtaining time information according to the comparison, a comparison step for comparing the time information of the reproduced stream signal with the time information according to the predetermined rate obtained in the second calculation step; And a control step for controlling reading of the storage means in accordance with the comparison result of the comparison step.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a recording / reproducing apparatus according to an embodiment of the present invention.
In FIG. 1, a broadcast signal input from an input terminal 101 is converted by a tuner unit 103 into a transport stream signal in which a plurality of digitized program (program) signals are time-division multiplexed, and is sent to a stream separator 105. Is output. In the stream separator 105, based on the control signal output from the controller 137, the transport stream signal of the program that the user wants to watch is output to the terminal a of the changeover switch 127, and the transport stream signal of the program that the user wants to record is And output to the recording / reproducing unit 135 and the PCR separator 107.
[0019]
The PCR separator 107 separates the PCR as time information inserted into the transport stream, outputs it to the rate calculator 111, and resets the value of the counter 109. The counter 109 counts the number of bytes in the transport stream between the PCR and the next PCR, and outputs it to the rate calculator 111. The rate calculator 111 calculates the byte rate of the separated transport stream from the PCR value and the counter 109 value.
[0020]
Here, the transport rate is the number of bytes between the bytes including the last bit of two consecutive PCR fields of the same program in the transport stream encoded in these two identical PCR fields. Defined as divided by the time difference. The arithmetic expression is defined in the ITU-TH222 standard as shown in Expression (1).
[0021]
transport_rate = [(I′−I ″) * system clock frequency] / [PCR (I ′) − PCR (I ″)] (1)
Where I ′ is the index number of the byte containing the last bit of the most recent PCR base field applied to the program to be decoded, and I ″ is the PCR number immediately following that applied to the program to be decoded. Defined as the index number of the byte containing the last bit of the source field, where I ″ is less than I ′.
[0022]
In other words, the byte rate is obtained by dividing the value obtained by multiplying the number of bytes between PCRs by the system clock frequency by the difference between the PCR and the next PCR value. In this way, the transmission rate of the transport stream obtained by the rate calculator 111 is recorded in the register 113. The register 113 outputs to the controller 137 and to the PCR calculator 119. The register 113 may have a plurality of registers corresponding to each program.
[0023]
On the other hand, as an operation on the playback side, the recorded transport stream is read from the recording / playback unit 135 at a specified byte rate by a control signal output from the controller 137, and sent to the PCR separator 117 and the memory 115. Is output. The PCR separator 117 separates the PCR from the transport stream to be reproduced, outputs the latest PCR value to the comparator 121, and outputs the previous PCR value to the PCR calculator 119.
[0024]
The PCR calculator 119 calculates the current PCR value from the transport stream transmission rate output from the register 113 and the previous PCR value output from the PCR separator 117, and outputs the calculated PCR value to the comparator 121. . The arithmetic expression of the PCR calculator 119 is obtained by Expression (2) obtained by modifying Expression (1).
PCR (I ′) = PCR (I ″) + [(I′−I ″) * system clock frequency] / transport_rate (2)
[0025]
The comparator 121 compares the PCR value separated from the transport stream with the PCR value obtained from the PCR calculator 119 and outputs the comparison result to the controller 123. In the controller 123, if the PCR value obtained by the calculation is smaller than the PCR value separated from the transport stream, the memory reading is stopped, and the null transport stream is connected to the terminal b of the changeover switch 125 and the null transport stream is converted to the PCR. Is inserted just before the transport stream that contains.
[0026]
When the PCR value obtained by the calculation is equal to the PCR value separated from the transport stream, the transport stream is read as it is by controlling the memory 115, the terminal a of the changeover switch 125 is connected, and the recorded transport stream is select. The null transport stream is defined in the TU-TH222 standard.
[0027]
FIG. 2 shows a state in which a null transport stream is inserted before PCR.
FIG. 2A shows the state of the transport stream read from the recording / playback unit 135.
FIG. 2B shows a state in which a null transport stream is inserted for rate adjustment before PCR and a predetermined byte rate is achieved.
[0028]
As described above, the video signal and the audio signal are decoded in the decoder 129 from the transport stream having a predetermined byte rate by inserting the null transport stream into the transport stream before the PCR, and the video signal is The audio signal is output to the speaker 131 and the audio signal is output to the speaker 133.
[0029]
The controller 137 may be realized by a microcomputer or the like, and may include a bit rate calculator 111, a register 113, and a PCR calculator 119.
[0030]
Next, a storage medium according to another embodiment of the present invention will be described.
The system shown in FIG. 1 can be configured by hardware, but can be configured by a computer system including a CPU and a memory. In the case of a computer system, the memory constitutes a storage medium according to the present invention. The storage medium stores a program for executing a processing procedure for controlling the operation described in the above embodiment.
[0031]
Further, as this storage medium, a semiconductor memory such as ROM and RAM, an optical disk, a magneto-optical disk, a magnetic medium, etc. may be used, and these may be a CD-ROM, floppy disk, magnetic tape, magnetic card, nonvolatile memory card, etc. It may be configured and used.
[0032]
Therefore, the above-described embodiment can also be realized by using this storage medium in another system or apparatus other than the system or apparatus shown in FIG. 1, and reading and executing the program code stored in this storage medium by the system or computer. A function equivalent to that of the embodiment can be realized, an equivalent effect can be obtained, and the object of the present invention can be achieved.
[0033]
Also, when the OS running on the computer performs part or all of the processing, or the program code read from the storage medium is an extension function board inserted in the computer or an extension connected to the computer Even when the CPU or the like provided in the extended function board or the extended function unit performs part or all of the processing based on the instruction of the program code after being written in the memory provided in the functional unit, While equivalent functions can be realized, equivalent effects can be obtained, and the object of the present invention can be achieved.
[0034]
【The invention's effect】
As described above, according to the present invention, the transmission rate of a program to be recorded is obtained, time information such as a PCR value corresponding to the reproduction rate is obtained at the time of reproduction, and this time information and the time information in the reproduction stream signal are obtained. By controlling the reading of the storage means according to the comparison result, it is possible to decode the processing speed and playback time without decoding an unnecessary program without recording an extra time stamp and without increasing the amount of information only for the necessary program. Recording / reproduction can be performed while matching the reading speed.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a recording / reproducing apparatus according to an embodiment of the present invention.
FIG. 2 is a configuration diagram of a transport stream according to the embodiment of the present invention.
FIG. 3 is a block diagram showing a conventional recording / reproducing apparatus.
FIG. 4 is a configuration diagram of a conventional transport stream.
[Explanation of symbols]
105 Stream Separator 107 PCR Separator 109 Counter 111 Rate Calculator 113 Register 115 Memory 119 PCR Calculator 121 Comparator 125 Changeover Switch 123, 137 Controller 135 Recording / Reproducing Unit 129 Decoder

Claims (6)

時刻情報が挿入されたストリーム信号の上記時刻情報に基づいて伝送レートを求める第1の演算手段と、
上記ストリーム信号を記録媒体に記録し所定レートで再生する記録再生手段と、
上記再生されたストリーム信号を記憶する記憶手段と、
上記再生されたストリーム信号の時刻情報と上記第1の演算手段で求められた伝送レートとに基づいて上記所定レートに応じた時刻情報を求める第2の演算手段と、
上記再生されたストリーム信号の時刻情報と上記第2の演算手段で求められた上記所定レートに応じた時刻情報とを比較する比較手段と、
上記比較手段の比較結果に応じて上記記憶手段の読み出しを制御する制御手段とを設けたことを特徴とする記録再生装置。
First computing means for obtaining a transmission rate based on the time information of the stream signal into which the time information is inserted;
Recording and reproducing means for recording the stream signal on a recording medium and reproducing it at a predetermined rate;
Storage means for storing the reproduced stream signal;
Second computing means for obtaining time information corresponding to the predetermined rate based on the time information of the reproduced stream signal and the transmission rate obtained by the first computing means;
Comparing means for comparing time information of the reproduced stream signal with time information corresponding to the predetermined rate obtained by the second calculating means;
A recording / reproducing apparatus comprising: control means for controlling reading of the storage means in accordance with a comparison result of the comparison means.
上記記憶手段から読み出されたストリーム信号の時刻情報の直前にヌル信号を挿入する挿入手段を設けたことを特徴とする請求項1記載の記録再生装置。  2. The recording / reproducing apparatus according to claim 1, further comprising insertion means for inserting a null signal immediately before the time information of the stream signal read from the storage means. 上記ヌル信号が挿入されたストリーム信号を復号する復号手段を設けたことを特徴とする請求項2記載の記録再生装置。  3. A recording / reproducing apparatus according to claim 2, further comprising decoding means for decoding the stream signal into which the null signal is inserted. 上記ストリーム信号には、複数のプログラムが時分割多重され、各プログラム毎に上記時刻情報が挿入されており、上記第1の演算手段は、同じプログラムの時刻情報に基づいてそのプログラムの伝送レートを求めることを特徴とする請求項1記載の記録再生装置。  In the stream signal, a plurality of programs are time-division multiplexed and the time information is inserted for each program. The first calculation means determines the transmission rate of the program based on the time information of the same program. The recording / reproducing apparatus according to claim 1, wherein the recording / reproducing apparatus is obtained. 時刻情報が挿入されたストリーム信号の上記時刻情報に基づいて伝送レートを求める第1の演算処理と、
上記ストリーム信号を記録媒体に記録し所定レートで再生する記録再生処理と、
上記再生されたストリーム信号を記憶手段に記憶する記憶処理と、
上記再生されたストリーム信号の時刻情報と上記第1の演算処理で求められた伝送レートとに基づいて上記所定レートに応じた時刻情報を求める第2の演算処理と、
上記再生されたストリーム信号の時刻情報と上記第2の演算処理で求められた上記所定レートに応じた時刻情報とを比較する比較処理と、
上記比較処理の比較結果に応じて上記記憶手段の読み出しを制御する制御処理とを実行するためのプログラムを記憶したコンピュータ読み取り可能な記憶媒体。
A first calculation process for obtaining a transmission rate based on the time information of the stream signal into which the time information is inserted;
A recording / reproducing process for recording the stream signal on a recording medium and reproducing the stream signal at a predetermined rate;
A storage process for storing the reproduced stream signal in a storage means;
A second calculation process for obtaining time information corresponding to the predetermined rate based on the time information of the reproduced stream signal and the transmission rate obtained in the first calculation process;
A comparison process for comparing the time information of the reproduced stream signal with the time information corresponding to the predetermined rate obtained in the second calculation process;
A computer-readable storage medium storing a program for executing control processing for controlling reading of the storage means in accordance with a comparison result of the comparison processing.
時刻情報が挿入されたストリーム信号の上記時刻情報に基づいて伝送レートを求める第1の演算ステップと、
上記ストリーム信号を記録媒体に記録し所定レートで再生する記録再生ステップと、
上記再生されたストリーム信号を記憶手段に記憶する記憶ステップと、
上記再生されたストリーム信号の時刻情報と上記第1の演算ステップで求められた伝送レートとに基づいて上記所定レートに応じた時刻情報を求める第2の演算ステップと、
上記再生されたストリーム信号の時刻情報と上記第2の演算ステップで求められた上記所定レートに応じた時刻情報とを比較する比較ステップと、
上記比較ステップの比較結果に応じて上記記憶手段の読み出しを制御する制御ステップとを有することを特徴とする記録再生方法。
A first calculation step for obtaining a transmission rate based on the time information of the stream signal into which the time information is inserted;
A recording / reproducing step of recording the stream signal on a recording medium and reproducing it at a predetermined rate;
A storage step of storing the reproduced stream signal in a storage means;
A second calculation step for obtaining time information corresponding to the predetermined rate based on the time information of the reproduced stream signal and the transmission rate obtained in the first calculation step;
A comparison step of comparing time information of the reproduced stream signal with time information corresponding to the predetermined rate obtained in the second calculation step;
And a control step of controlling reading of the storage means in accordance with the comparison result of the comparison step.
JP05799899A 1999-03-05 1999-03-05 Recording / reproducing apparatus, recording / reproducing method, and computer-readable storage medium Expired - Fee Related JP4266427B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP05799899A JP4266427B2 (en) 1999-03-05 1999-03-05 Recording / reproducing apparatus, recording / reproducing method, and computer-readable storage medium
US09/516,115 US6879768B1 (en) 1999-03-05 2000-03-01 Information processing apparatus, method therefor and memory medium storing information processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05799899A JP4266427B2 (en) 1999-03-05 1999-03-05 Recording / reproducing apparatus, recording / reproducing method, and computer-readable storage medium

Publications (3)

Publication Number Publication Date
JP2000261766A JP2000261766A (en) 2000-09-22
JP2000261766A5 JP2000261766A5 (en) 2006-04-20
JP4266427B2 true JP4266427B2 (en) 2009-05-20

Family

ID=13071683

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05799899A Expired - Fee Related JP4266427B2 (en) 1999-03-05 1999-03-05 Recording / reproducing apparatus, recording / reproducing method, and computer-readable storage medium

Country Status (1)

Country Link
JP (1) JP4266427B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4767097B2 (en) * 2006-06-15 2011-09-07 京セラ株式会社 Playback device

Also Published As

Publication number Publication date
JP2000261766A (en) 2000-09-22

Similar Documents

Publication Publication Date Title
CN100505064C (en) Audio reproducing apparatus
US5737479A (en) Apparatus and method for inserting rating code into the digital video signal
CN100388773C (en) Digital signal processing apparatus and method
US20030093800A1 (en) Command packets for personal video recorder
JP5197702B2 (en) Reproduction method and recording medium for reproducing information storage medium
KR960020477A (en) Data playback device
JPH09297965A (en) Magnetic recording/reproducing device
JPH1173737A (en) Recording device and method, reproducing device and method and record medium
KR100405975B1 (en) Method for stream jump
KR20050022556A (en) Reliable decoder and decoding method
JP3558983B2 (en) Digital broadcast recording and playback device
US8498516B2 (en) Personal video recorder and control method thereof for combining first and second video streams
EP1098515A2 (en) Methods of and apparatus for reading multimedia information
KR20010051423A (en) Information processing device, it's method and recording media
KR100842602B1 (en) Reproduction apparatus, reproduction method, recording apparatus, recording method, output apparatus, and input apparatus
JP3491401B2 (en) Data encoding device and method, and data decoding device and method
JP4266427B2 (en) Recording / reproducing apparatus, recording / reproducing method, and computer-readable storage medium
US6892022B1 (en) Storing and retrieving encoded data stream with specified time of delivery on a hard disk
US20090307185A1 (en) Method for seamless playback of multiple multimedia files
JPH10322671A (en) Separating device of packet multiplexed image sound signal
JPH1023370A (en) Digital video recorder
US20080298781A1 (en) Apparatus for recording audio-video data and method of recording audio-video data
US20030091331A1 (en) Method for implementing low-speed playback of a digital broadcast program
JP2001086431A (en) Recording and reproducing device
US7912357B2 (en) Method of and apparatus for storing a program

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060303

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060303

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

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

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120227

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130227

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20140227

Year of fee payment: 5

LAPS Cancellation because of no payment of annual fees