JP2005026854A - Digital recording and reproducing device and reproduction rate control method - Google Patents

Digital recording and reproducing device and reproduction rate control method Download PDF

Info

Publication number
JP2005026854A
JP2005026854A JP2003188312A JP2003188312A JP2005026854A JP 2005026854 A JP2005026854 A JP 2005026854A JP 2003188312 A JP2003188312 A JP 2003188312A JP 2003188312 A JP2003188312 A JP 2003188312A JP 2005026854 A JP2005026854 A JP 2005026854A
Authority
JP
Japan
Prior art keywords
stream
recording
time information
management table
packet
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.)
Granted
Application number
JP2003188312A
Other languages
Japanese (ja)
Other versions
JP4241220B2 (en
Inventor
Shunichi Chiba
俊一 千葉
Noriya Sakamoto
典哉 坂本
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP2003188312A priority Critical patent/JP4241220B2/en
Publication of JP2005026854A publication Critical patent/JP2005026854A/en
Application granted granted Critical
Publication of JP4241220B2 publication Critical patent/JP4241220B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To prevent the buffer of an MPEG (Motion Picture Experts Group) decoder from overflowing and underflowing by allowing reproduction at a reproduction rate coinciding with a recording rate even when a transport stream via a LAN (Local Area Network) is recorded. <P>SOLUTION: The I/F section 102 of a recording device extracts a PCR (Port Control Register) packet in the transport stream, acquires a PCR value, and obtains the number of packets between the PCR packets. The I/F section 102 of the recording device calculates the transfer rate of the transport stream from the number of packets and the PCR value between the PCR packets to prepare a management table describing the values, recording the values and the transport stream of contents to be recorded. In reproduction, controlling the reproduction rate by referring to the management table allows the reproduction at the reproduction rate coinciding with the recording rate. Thus, the buffer in a decoding section 111 is prevented from overflowing or underflowing. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、ローカルエリアネットワーク等を経由して受信したトランスポートストリームを記録するものに好適なディジタル記録再生装置及び再生レート制御方法に関する。
【0002】
【従来の技術】
近年、ディジタル放送が開始されており、ディジタル放送信号をビットストリームのまま記録する装置も商品化されている。なお、ディジタル放送においては、MPEG2方式が採用されるようになっている。MPEG2は、複数の画像、音声及びデータ等の時分割多重を容易にするために、パケット単位で伝送データを伝送するようになっている。1パケットは同一種類のデータによって構成し、各パケットにデータの種類を示す識別信号を付加する。MPEG2規格では、188バイト長のトランスポートパケット(TSパケット)を伝送単位とするトランスポートストリーム(TS)によって信号を伝送する。
【0003】
ディジタル記録装置は、伝送されたトランスポートストリームから所望の番組のストリームを抽出して記録する。このようなディジタル記録装置としては例えば記録媒体としてハードディスク等のディスク媒体を用いたものがある。
【0004】
ところで、MPEG2ストリームは、可変長符号を採用しており、コンテンツの部分毎にその部分の表示に必要なストリームの符号量は異なる。従って、固定レートで伝送したとしても、コンテンツを通常の速度で表示させるために必要な符号量はコンテンツの部分毎に異なり、MPEGデコーダは、ストリームのオーバーフロー又はアンダーフローが生じないように、バッファを備える必要がある。
【0005】
そして、ハードディスク等の記録媒体に記録されたトランスポートストリーム(MPEG2−TS)を再生する場合には、MPEGデコーダのバッファがオーバーフローやアンダーフローを起こさないように、トランスポートストリームの再生レートをコントロールしながら、MPEGデコーダにトランスポートストリームを送出する必要がある。
【0006】
この制御のために、従来、以下の2つの手法のいずれかが採用されている。即ち、第一の方法においては、ディジタル記録再生装置は、トランスポートストリームを記録する際に、入力される各TSパケットに対して、到来時刻情報としてのタイムスタンプを先頭部に付加する。そして、ディジタル記録再生装置は、再生してMPEGデコーダに転送する場合には、付加したタイムスタンプを参照して、各TSパケットの送出タイミングを制御するのである。
【0007】
一方、第二の方法においては、ディジタル記録再生装置は、トランスポートストリームを記録する際に、一定時間毎に、あるいは特定のパケット毎に、記録したパケット数と記録時間を管理情報として記録する。そして、ディジタル記録再生装置は、記録したパケット数と記録時間との関係によってストリームのレート値を算出して、再生時のレートを制御するのである。
【0008】
例えば、特許文献1においては、ピクチャ毎に記録量および時間を保持しておき、これらのデータからピクチャ毎のビットレートを算出する手法が開示されている。
【0009】
しかしながら、これらの方法は、コンテンツを通常速度で表示させるために必要なストリームを、コンテンツ全体としてはコンテンツの表示に合わせて伝送(以下、実時間伝送という)することが前提である。即ち、ディジタル記録再生装置は、上述したように再生時に実時間伝送するだけでなく、記録時においても実時間伝送されたストリームを記録することが、第1,第2の方法を採用する前提条件となる。
【0010】
例えば、放送局から送信されたストリームを直接受信して記録する場合のように、記録時のレートとストリームの再生レートとが同一であることが必要となる。
【0011】
ところが、近年、ディジタル記録再生装置にLAN(ローカルエリアネットワーク)のインターフェースを設けて、ディジタル記録再生装置がLAN経由で転送されたストリームを記録することが考えられている。このようなLAN経由のストリームの転送は、実時間伝送でないこともあり、この場合には、上述した第1又は第2の方法で再生レートの制御を行うことはできない。
【0012】
【特許文献1】
特開2002−185920号公報
【0013】
【発明が解決しようとする課題】
このように、上述した従来のディジタル記録再生装置においては、実時間伝送されたストリームを記録した場合にのみ、MPEGデコーダのバッファをオーバーフロー又はアンダーフローさせない再生レートの制御が可能であり、LAN経由のストリーム等のように、実時間伝送されないストリームを記録した場合には、再生レートの制御ができないという問題点があった。
【0014】
本発明はかかる問題点に鑑みてなされたものであって、実時間伝送されないストリームを記録する場合でも、確実に再生のレートの制御を行うことができるディジタル記録再生装置及び再生レート制御方法を提供することを目的とする。
【0015】
【課題を解決するための手段】
本発明に係るディジタル記録再生装置は、複数のコンテンツが多重された符号化ストリームであって所定パケット間隔でストリームの時間情報を含むパケットが挿入された符号化ストリームが入力され、入力された前記符号化ストリームから所定のコンテンツの符号化ストリームを分離抽出する抽出手段と、前記抽出手段が抽出した符号化ストリームのうち前記時間情報を含むパケットを抽出して前記時間情報を検出する時間情報検出手段と、前記抽出手段が抽出した符号化ストリームのうち前記時間情報を含むパケット相互間のストリームの符号量を検出する符号量検出手段と、前記時間情報検出手段が検出した時間情報及び前記符号量検出手段が検出した符号量の情報を含む管理テーブルを作成する管理テーブル作成手段と、前記管理テーブルを前記抽出手段が抽出した符号化ストリームと共に記録する記録手段とを具備したものである。
【0016】
本発明において、符号化ストリームには複数のコンテンツが多重されており、抽出手段は、所定のコンテンツの符号化ストリームのみを分離抽出する。抽出された符号化ストリームのうち時間情報を含むパケットが時間情報検出手段によって検出される。また、符号量検出手段は、時間情報を含むパケット相互間のストリームの符号量を検出する。時間情報を含むパケット相互間のストリームの符号量と、時間情報を含むパケットから検出した時間情報とによって、時間情報を含むパケット間隔でのストリームの転送レートが分かる。管理テーブル作成手段は、時間情報検出手段が検出した時間情報及び符号量検出手段が検出した符号量の情報を含む管理テーブルを作成し、記録手段は、この管理テーブルを抽出手段が抽出した符号化ストリームと共に記録する。これにより、再生時において、記録時の転送レート、即ち記録レートに応じた再生レートでの再生を可能にする。
【0017】
【発明の実施の形態】
以下、図面を参照して本発明の実施の形態について詳細に説明する。図1は本発明の一実施の形態に係るディジタル記録再生装置を示すブロック図である。
【0018】
本実施の形態はPCRパケット毎に記録量とPCR(Program Clock Reference)値を保持しておき、これらのデータからPCRパケット毎のビットレートを算出することにより、再生レートの制御を可能にするようにしたものである。
【0019】
図1において、入力端子100にはMPEG2規格のトランスポートストリームが入力される。トランスポートストリームはマルチプログラムに対応しており、復号化時において、時分割で伝送される複数のプログラムの中から所望のプログラムのパケットを選択することができる。この選択のために、トランスポートパケット(TSパケット)は、情報を伝送するペイロード(Payload )の前にリンクレベルヘッダ(Link Level Header )を付加して伝送される。トランスポートパケット188バイトのうち4バイトがリンクレベルヘッダである。
【0020】
リンクレベルヘッダは、先頭に同期バイト(sync_byte )を配列し、以後、ビットエラーの有無を示すエラーインジケータ(transport packed error indicator)、PESパケットの開始を示すユニット開始表示(PES packet start indicator)、パケットの重要度を示すトランスポートパケットプライオリティ(transport priority)、パケットの識別情報であるPID(Packet identification )、スクランブルの有無を示すスクランブル制御(stransport scrambling control )、ペイロードの有無等を示すアダプテーションフィールド制御(adaptation field control)、同一PIDの連続性を示す巡回カウンタ(continuity counter)を順次配列して構成される。
【0021】
入力端子100からのトランスポートストリームは、記録再生部110の記録装置I/F部102に入力される。記録再生部110は、STCカウンタ101、記録装置I/F部102および記録媒体103によって構成されている。抽出手段としての記録装置I/F部102は、トランスポートストリームをデマルチプレクスして、ユーザーが指定したPIDに応じたパケットのみを各種別毎に抽出して出力する。記録装置I/F部102の出力は、部分的なトランスポートストリーム(パーシャルトランスポートストリーム)であり、この出力は記録媒体103に供給されるようになっている。記録装置I/F部102は、入力されたトランスポートストリームをそのままデコーダ部111に出力するか、又は、記録媒体103からの再生ストリームをデコーダ部111に出力する。
【0022】
記録媒体103は、記録装置I/F部102によってデマルチプレクスされたパーシャルトランスポートストリームによって構成されるファイルを記録する。記録媒体103には、ユーザーが指定したPIDの所望のプログラムのみが記録される。
【0023】
デコード部111は、TSデコーダ104、STCカウンタ105、映像デコーダ106および音声デコーダ107によって構成されている。TSデコード部104は、記録装置I/F部102から入力されたストリームをセクションデータ、映像、音声データ等にデパケット処理する。
【0024】
MPEG2規格では、映像データ及び音声データ等の各ストリームは、エレメンタリストリーム(ES)によって伝送される。ESにヘッダを付加してPES(Pecketized Elementary Stream Packet )パケットが構成される。PESパケットは比較的大きいので、複数個のトランスポートパケットのペイロード(Payload )によって伝送される。TSデコーダ104は、ユーザーが指定したPIDに対応する映像及び音声パケットが入力され、トランスポートパケットのペイロードデータより映像及び音声PESデータを生成して、映像PESデータを映像デコーダ106に与え、音声PESデータを音声デコーダ107に与える。なお、TSデコーダ104は、ストリームを一時蓄積するバッファを備えている。
【0025】
また、TSデコーダ104は、記録装置I/F部102から入力されたトランスポートストリームに記述されたPCR値をSTCカウンタ105に出力する。STCカウンタ105は、PCRを基準として送出側の時刻クロックを再生する。STCカウンタ105は、そのカウント値であるSTCを映像及び音声デコーダ106,107に出力する。
【0026】
映像デコーダ106および音声デコーダ107は、入力された映像パケットおよび音声パケットをそれぞれデコードし、このデコードした映像および音声信号を外部へ出力する。この場合には、映像及び音声デコーダ106,107は、STCとストリーム中の時間情報とを比較して、デコードの時間制御を行い、映像および音声の同期をとりながら再生動作を実現している。
【0027】
本実施の形態においては、記録装置I/F部102は、記録モード時には、ユーザー操作に基づいて記録が指定されたPIDのパケットを抽出して、ビットストリームを記録媒体103に出力すると共に、PCRパケットを抽出してPCR値を取得する。即ち、時間情報検出手段、符号量検出手段及び管理テーブル作成手段としての記録装置I/F部102は、取得したPCR値を元に管理テーブルのデータを作成するようになっている。更に、記録手段としての記録装置I/F部102は、PCRパケットの抽出毎に、記録媒体に転送したトランスポートストリームのパケット数を管理テーブルに記録するようになっている。そして、記録装置I/F部102は、PCRパケット間のPCRの差分値と、PCRパケット間の転送パケット数とから、PCRパケット間のストリームのレート値を算出して、管理テーブルに記録するようになっている。
【0028】
図2は管理テーブルの一例を示す説明図である。
【0029】
図2は記録パケット数、PCR値及び算出したビットレートを示している。上述したように、PCRパケットは所定のパケット間隔で挿入されており、その値は送出側の時間基準を与えるものである。図2の例では、最初のパケットの記録から4パケット目にPCRパケットが抽出され、そのPCR値が0x3EBEC062であることを示している。そして、最初の記録から476パケット目に次のPCRパケットが抽出され、そのPCR値が0x3EBECAECであることを示している。
【0030】
記録装置I/F部102は、下記(1)式によって、記録ストリームの転送ビットレート(記録レート)RATEnを算出する。
【0031】
RATEn=(m−n)×188×8/{(PCRm−PCRn)/90k}…(1)
(1)式は、転送パケット(記録パケット)数nから(m−1)までのストリームのレート値を示し、PCRm,PCRnは夫々転送数m,nのパケットのPCR値である。
【0032】
記録装置I/F部102は、算出した記録ストリームのレート値を、PCRパケット抽出毎に、転送パケット数及びPCR値と組にして記述する。そして、記録装置I/F部102は、作成した管理テーブルデータを、記録媒体103に与えて記録させるようになっている。
【0033】
更に、本実施の形態においては、記録装置I/F部102は、再生時には、管理テーブルを読み出して、管理テーブルの記述に基づく転送レートで、再生ストリームをデコード部111に出力するようになっている。この場合には、記録装置I/F部102は、再生ストリーム中のPCRパケットをSTCカウンタ101に与える。STCカウンタ101は、PCRを基準として送出側の時刻クロックを再生して、そのカウント値であるSTCを記録装置I/F部102に与えて、再生速度の制御を可能にするようになっている。
【0034】
次に、このように構成された実施の形態の動作について図3及び図4のフローチャートを参照して説明する。
【0035】
先ず、記録時の動作について説明する。図3は記録装置I/F部102の記録時の動作フローを示している。
【0036】
図3のステップ201において、記録装置I/F部102は、先ず入力端子100から入力された入力パケットが記録すべき所望の映像PIDに一致するか否かを判断する。記録すべきパケットとしては、ユーザが所望した映像及び音声パケットの他に、PCRパケット及び各種制御用のパケット等がある。
【0037】
ステップ201は、記録すべきパケットが入力されるまで繰返し実行される。ステップ201において、入力パケットのPIDが記録すべきパケットのPIDに一致すると、次にこの記録すべきパケットにPCR値が存在しているか否か、即ちPCRパケットであるか否かを判定する(ステップ202)。記録すべきパケットがPCRパケットでない場合には、処理をステップ204に移行して、記録すべきパケットを記録媒体103に転送して記録させる。
【0038】
ステップ202において、記録すべきパケットがPCRパケットであるものと判定した場合には、ステップ203において、管理テーブルを作成・更新する。即ち、記録装置I/F部102は、先ず、PCR値を管理テーブルデータに記録する。次に、このときまでに、記録媒体103に転送したトランスポートストリームパケット数を管理テーブルデータに記録する。そして、PCRパケット間のPCRの差分値と、PCRパケット間の転送パケット数から、PCRパケット間のストリームのレート値を算出し、管理テーブルデータに記録する。
【0039】
次に、記録装置I/F部102は、ステップ204において、PCRパケットを記録媒体103に転送して記録させる。
【0040】
このように、本実施の形態においては、記録時において、記録すべきコンテンツ毎に、記録するトランスポートストリームのビットレート(記録レート)をPCRパケット転送毎に正確に求めることができる。
【0041】
次に、再生時の動作について説明する。図4は再生時の記録装置I/F部102の動作フローを示している。
【0042】
記録装置I/F部102は、再生時には、管理テーブルに記述されたストリームのレート値を再生の基準となる再生レート値RATEplayとし、この再生レート値RATEplayの最大値よりも大きな固定レート(RATEout)で、記録媒体103からの再生ストリームをデコード部111に出力する。そして、記録装置I/F部102は、再生パケットの固定レートRATEoutによる転送とヌルパケットの転送とを制御して、実際の転送レートが記録レート(再生レート値RATEplay)に一致するように、PCRパケット毎に制御する。
【0043】
図4のステップ401において、記録装置I/F部102は、記録媒体103から再生されたパケット(TSパケット)を取り込む。次に、ステップ402において、取り込んだTSパケットがPCRパケットであるか否かを判定する(ステップ402)。ステップ402において、再生パケットがPCRパケットであると判定した場合には、記録装置I/F部102は、このPCRパケットから次のPCRパケットまでのストリームのレート値RATEplayを管理テーブルから取得する(ステップ403)。これにより、次のPCRパケットが入力されるまでの間は、読み出したレート値RATEplayを用いた再生・転送を行う。即ち、記録装置I/F部102は、ステップ404において、後述するレート制御に使用する内部変数γを0に初期化し、ステップ402でPCRパケットと判定したパケットが再生開始後最初のPCRパケットであるか否かを判定する(ステップ405)。
【0044】
いま、PCRパケットと判定したパケットが再生開始後の最初のPCRパケットであるものとする。この場合には、記録装置I/F部102は、STCカウンタ101のSTCカウンタ値とこのPCRパケットのPCR値との差分値を内部変数βに保持し(ステップ406)、このPCRパケットをデコード部111へ転送し(ステップ407)、ステップ401に処理を戻す。STCカウンタ101は、カウント値STCを記録装置I/F部102に出力する。これにより、以後のPCRパケットの再生時において、PCRパケットの転送タイミングが適切か否かを判定することができる。
【0045】
即ち、記録装置I/F部102は、ステップ405において、2度目以降のPCRパケットであるものと判定した場合には、STCカウンタ101のSTCカウンタ値と内部変数β(以下、差分値βともいう)とを足算した値が、このPCRパケットのPCR値より大きいか否かを判定する(ステップ408)。カウント値STCと内部変数βとの和が、再生されたPCRパケットのPCR値より小さい場合には、再生されたPCRパケットにより与えられる時間の方がカウント値STCにより与えられる時間よりも遅いことになり、このPCRパケットは転送する時間に到達していないものと判定することができる。
【0046】
即ち、記録装置I/F部102は、ステップ408において、STCカウンタ101のカウント値(STC101)+差分値βがPCRパケットのPCR値よりも小さい場合には、まだこのPCRパケットを転送する時間になっていないものと判断し、ヌルパケットをデコード部111に転送して(ステップ409)、処理をステップ408に戻す。
【0047】
一方、ステップ408において、STC101+差分値βが判定対象のPCRパケットのPCR値よりも大きいものと判定した場合には、このPCRパケットについては転送すべき時間を過ぎていることになるので、記録装置I/F部102は、PCR値のジッタを低減するためPCR値をSTCカウンタ101のSTCカウンタ値と差分値βとを足算した値で書き換えた後、このPCRパケットをデコード部111に転送して(ステップ410)、処理をステップ401に戻す。
【0048】
記録媒体103から再生したTSパケットがPCRパケット以外のパケットである場合には、ステップ402から処理をステップ411に移行して、管理テーブルに記録されている現区間のストリームの再生レートRATEplayと出力レートRATEoutとを用いてパケットの転送制御を行う。
【0049】
即ち、先ず、初期値0の内部変数γとストリームのレートRATEplayとを足算した値を内部変数γに保持し(ステップ411)、内部変数γが出力レートRATEoutより大きいか否を判定する(ステップ412)。
【0050】
記録装置I/F部102は、ステップ412において、内部変数γが出力レートRATEoutよりも小さいと判定した場合には、ストリームのレートをRATEplayに保つために、ヌルパケットをデコード部111に転送し(ステップ413)て、処理をステップ411に戻す。
【0051】
一方、記録装置I/F部102は、ステップ412において、内部変数γが出力レートRATEoutよりも大きいと判定した場合には、内部変数γと出力レートRATEoutの差分値を内部変数γに保持し(ステップ414)、ステップ401で取得したパケットをTSデコード部104に転送して(ステップ415)、処理をステップ401に戻す。
【0052】
以上の動作を繰り返すことにより、記録したストリームの再生レートに応じたレートで、再生ストリームをデコード部111に出力することができる。
【0053】
デコード部111については、入力端子100を介して入力されたトランスポートストリームをそのままデコードしてコンテンツの視聴を行う場合と、記録媒体103から再生されたストリームをデコードしてコンテンツの視聴を行う場合とのいずれも同様の動作を行う。
【0054】
TSデコーダ104は、入力された再生パケットから複数のトランスポートパケットのペイロードデータによる映像及び音声PESデータを生成する。映像PESデータは映像デコーダ106に供給され、音声PESデータは音声デコーダ107に供給される。一方、STCカウンタ105は、TSデコーダ104によって分離抽出されたPCRが与えられている。入力パケットがPCRのPIDに最初に一致すると、その値をSTCカウンタ105にロードしてカウンタ値をセットする。STCカウンタ105は、時刻クロックとなるSTCを得、このSTCを映像デコーダ106及び音声デコーダ107に出力する。
【0055】
映像デコーダ106及び音声デコーダ107は、入力されたストリーム中の時間情報とSTCとによってデコード時間を制御して、入力された映像及び音声PESデータをデコードする。音声デコーダ107からの音声信号は図示しないスピーカに供給され、映像デコーダ106からの音声信号は図示しないモニタに供給される。こうして、記録媒体103から再生されたコンテンツの視聴が可能となる。
【0056】
デコード部111には、記録時と同一レートで再生ストリームを伝送する実時間伝送によって再生パケットが入力されており、TSデコーダ104内のバッファがオーバーフロー又はアンダーフローすることはない。
【0057】
このように本実施の形態においては、ストリームの記録時にPCRを参照し、PCRパケット間のレート値をPCRの差分値と記録パケット数から算出し、ストリームのレート値を記録した管理データを作成することにより、ストリームの再生時に管理データのレート値を参照してストリームのレート制御を行うことができる。
【0058】
ストリームのレート値を得るために必要な情報は、PCR値と記録パケット数のみであるため、放送信号をリアルタイムに記録する場合のみならず、LAN経由によって放送信号を非リアルタイムに記録する場合においても、ストリームのレート値を記録した管理データを作成して、再生時に実時間伝送を行うことができる。
【0059】
また、ストリームのレート値を記録した管理データの作成は、必ずしもストリームの記録時に行う必要はない。例えば、既に記録したストリームに対して、PCRパケット間のパケット数とPCRの差分値を解析して、ストリームのレート値を記録した管理データを作成してもよい。
【0060】
【発明の効果】
以上説明したように本発明によれば、実時間伝送されないストリームを記録する場合でも、確実に再生のレートの制御を行うことができるという効果を有する。
【図面の簡単な説明】
【図1】本発明の一実施の形態に係るディジタル記録再生装置を示すブロック図。
【図2】管理テーブルの例を示す説明図。
【図3】実施例の動作を説明するためのフローチャート。
【図4】実施例の動作を説明するためのフローチャート。
【符号の説明】
101…STCカウンタ、102…記録装置I/F部、103…記録媒体、110…記録再生部、111…デコード部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a digital recording / reproducing apparatus and a reproduction rate control method suitable for recording a transport stream received via a local area network or the like.
[0002]
[Prior art]
In recent years, digital broadcasting has been started, and apparatuses for recording digital broadcasting signals as bit streams have been commercialized. In digital broadcasting, the MPEG2 system is adopted. MPEG2 is designed to transmit transmission data in units of packets in order to facilitate time division multiplexing of a plurality of images, sounds, data, and the like. One packet is composed of the same type of data, and an identification signal indicating the type of data is added to each packet. In the MPEG2 standard, a signal is transmitted by a transport stream (TS) having a transport packet (TS packet) having a length of 188 bytes as a transmission unit.
[0003]
The digital recording device extracts and records a stream of a desired program from the transmitted transport stream. As such a digital recording apparatus, for example, there is an apparatus using a disk medium such as a hard disk as a recording medium.
[0004]
By the way, the MPEG2 stream employs a variable length code, and the code amount of the stream necessary for displaying the part differs for each part of the content. Therefore, even if it is transmitted at a fixed rate, the amount of code required to display the content at normal speed differs for each part of the content, and the MPEG decoder does not provide a buffer so that a stream overflow or underflow does not occur. It is necessary to prepare.
[0005]
When playing back a transport stream (MPEG2-TS) recorded on a recording medium such as a hard disk, the playback rate of the transport stream is controlled so that the MPEG decoder buffer does not overflow or underflow. However, it is necessary to send a transport stream to the MPEG decoder.
[0006]
For this control, conventionally, one of the following two methods has been adopted. That is, in the first method, when recording a transport stream, the digital recording / reproducing apparatus adds a time stamp as arrival time information to the head of each input TS packet. The digital recording / reproducing apparatus controls the transmission timing of each TS packet with reference to the added time stamp when reproducing and transferring to the MPEG decoder.
[0007]
On the other hand, in the second method, the digital recording / reproducing apparatus records the number of recorded packets and the recording time as management information at regular time intervals or at specific packet intervals when the transport stream is recorded. The digital recording / reproducing apparatus calculates the stream rate value based on the relationship between the number of recorded packets and the recording time, and controls the rate during reproduction.
[0008]
For example, Patent Document 1 discloses a method of storing a recording amount and time for each picture and calculating a bit rate for each picture from these data.
[0009]
However, these methods are based on the premise that a stream necessary for displaying content at a normal speed is transmitted (hereinafter referred to as real-time transmission) in accordance with the display of the content as a whole. That is, the digital recording / reproducing apparatus not only transmits in real time at the time of reproduction as described above, but also records the stream transmitted in real time at the time of recording. It becomes.
[0010]
For example, as in the case of directly receiving and recording a stream transmitted from a broadcasting station, the recording rate and the stream reproduction rate need to be the same.
[0011]
However, in recent years, it has been considered that a digital recording / reproducing apparatus is provided with a LAN (local area network) interface and the digital recording / reproducing apparatus records a stream transferred via the LAN. Such transfer of the stream via the LAN may not be real-time transmission. In this case, the playback rate cannot be controlled by the first or second method described above.
[0012]
[Patent Document 1]
JP 2002-185920 A
[0013]
[Problems to be solved by the invention]
As described above, in the conventional digital recording / reproducing apparatus described above, it is possible to control the reproduction rate without overflowing or underflowing the buffer of the MPEG decoder only when a stream transmitted in real time is recorded. When a stream that is not transmitted in real time, such as a stream, is recorded, the reproduction rate cannot be controlled.
[0014]
The present invention has been made in view of such problems, and provides a digital recording / reproducing apparatus and a reproduction rate control method capable of reliably controlling a reproduction rate even when a stream that is not transmitted in real time is recorded. The purpose is to do.
[0015]
[Means for Solving the Problems]
The digital recording / reproducing apparatus according to the present invention receives an encoded stream into which an encoded stream in which a plurality of contents are multiplexed and into which a packet including time information of the stream is inserted at a predetermined packet interval is input. Extracting means for separating and extracting an encoded stream of a predetermined content from the encoded stream; and time information detecting means for extracting the packet including the time information from the encoded stream extracted by the extracting means and detecting the time information A code amount detection unit for detecting a code amount of a stream between packets including the time information among the encoded streams extracted by the extraction unit; and the time information detected by the time information detection unit and the code amount detection unit Management table creation means for creating a management table including information on the code amount detected by the The extraction means Bull is obtained by including a recording means for recording with the extracted coded stream.
[0016]
In the present invention, a plurality of contents are multiplexed in the encoded stream, and the extraction means separates and extracts only the encoded stream of the predetermined content. A packet including time information in the extracted encoded stream is detected by the time information detection means. The code amount detection means detects the code amount of the stream between packets including time information. The stream transfer rate at the packet interval including the time information can be determined from the code amount of the stream between the packets including the time information and the time information detected from the packet including the time information. The management table creation means creates a management table including time information detected by the time information detection means and information on the code amount detected by the code amount detection means, and the recording means encodes the management table extracted by the extraction means. Record with stream. Thereby, at the time of reproduction, reproduction at a reproduction rate corresponding to the transfer rate at the time of recording, that is, the recording rate is enabled.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing a digital recording / reproducing apparatus according to an embodiment of the present invention.
[0018]
In this embodiment, a recording amount and a PCR (Program Clock Reference) value are held for each PCR packet, and the bit rate for each PCR packet is calculated from these data, thereby enabling control of the reproduction rate. It is a thing.
[0019]
In FIG. 1, an MPEG2 standard transport stream is input to an input terminal 100. The transport stream corresponds to a multi-program, and a packet of a desired program can be selected from a plurality of programs transmitted in a time division manner at the time of decoding. For this selection, a transport packet (TS packet) is transmitted with a link level header (Link Level Header) added before a payload (Payload) for transmitting information. Of the 188 bytes of the transport packet, 4 bytes are a link level header.
[0020]
In the link level header, a synchronization byte (sync_byte) is arranged at the head, and thereafter, an error indicator (transport packed error indicator) indicating the presence or absence of a bit error, a unit start indication (PES packet start indicator) indicating the start of a PES packet, and a packet Transport packet priority indicating transport importance, packet identification information PID (packet identification), scrambling control indicating scramble (sport scrambling control), adaptation field control indicating payload, etc. field control) It constituted a cyclic counter that indicates the continuity of the PID (continuity counter) are sequentially arranged.
[0021]
The transport stream from the input terminal 100 is input to the recording device I / F unit 102 of the recording / reproducing unit 110. The recording / reproducing unit 110 includes an STC counter 101, a recording device I / F unit 102, and a recording medium 103. The recording device I / F unit 102 serving as an extraction unit demultiplexes the transport stream, extracts only the packets corresponding to the PID designated by the user, and outputs the packets. The output of the recording apparatus I / F unit 102 is a partial transport stream (partial transport stream), and this output is supplied to the recording medium 103. The recording device I / F unit 102 outputs the input transport stream as it is to the decoder unit 111 or outputs the reproduction stream from the recording medium 103 to the decoder unit 111.
[0022]
The recording medium 103 records a file composed of a partial transport stream demultiplexed by the recording device I / F unit 102. Only the desired program of the PID designated by the user is recorded on the recording medium 103.
[0023]
The decoding unit 111 includes a TS decoder 104, an STC counter 105, a video decoder 106, and an audio decoder 107. The TS decoding unit 104 depackets the stream input from the recording apparatus I / F unit 102 into section data, video, audio data, and the like.
[0024]
In the MPEG2 standard, each stream such as video data and audio data is transmitted by an elementary stream (ES). A header is added to the ES to form a PES (Peketized Elementary Stream Packet) packet. Since the PES packet is relatively large, it is transmitted by a plurality of transport packet payloads. The TS decoder 104 receives video and audio packets corresponding to the PID designated by the user, generates video and audio PES data from the payload data of the transport packet, gives the video PES data to the video decoder 106, and outputs the audio PES. Data is supplied to the audio decoder 107. The TS decoder 104 includes a buffer for temporarily storing the stream.
[0025]
Also, the TS decoder 104 outputs the PCR value described in the transport stream input from the recording device I / F unit 102 to the STC counter 105. The STC counter 105 reproduces the time clock on the transmission side based on the PCR. The STC counter 105 outputs the count value STC to the video and audio decoders 106 and 107.
[0026]
The video decoder 106 and the audio decoder 107 decode the input video packet and audio packet, respectively, and output the decoded video and audio signals to the outside. In this case, the video and audio decoders 106 and 107 compare the STC and time information in the stream, perform decoding time control, and realize a reproduction operation while synchronizing the video and audio.
[0027]
In the present embodiment, in the recording mode, the recording apparatus I / F unit 102 extracts a packet of a PID designated for recording based on a user operation, outputs a bit stream to the recording medium 103, and performs PCR. A packet is extracted to obtain a PCR value. In other words, the recording device I / F unit 102 serving as a time information detection unit, a code amount detection unit, and a management table creation unit creates management table data based on the acquired PCR values. Further, the recording device I / F unit 102 as a recording unit records the number of transport stream packets transferred to the recording medium in the management table every time the PCR packet is extracted. Then, the recording device I / F unit 102 calculates the rate value of the stream between the PCR packets from the difference value of the PCR between the PCR packets and the number of transfer packets between the PCR packets, and records it in the management table. It has become.
[0028]
FIG. 2 is an explanatory diagram showing an example of the management table.
[0029]
FIG. 2 shows the number of recorded packets, the PCR value, and the calculated bit rate. As described above, PCR packets are inserted at predetermined packet intervals, and their values provide a time reference on the transmission side. In the example of FIG. 2, the PCR packet is extracted at the fourth packet from the first packet record, and the PCR value is 0x3EBEC062. Then, the next PCR packet is extracted at the 476th packet from the first record, indicating that the PCR value is 0x3EBECAEC.
[0030]
The recording device I / F unit 102 calculates the transfer bit rate (recording rate) RATEn of the recording stream by the following equation (1).
[0031]
RATEn = (mn) × 188 × 8 / {(PCRm−PCRn) / 90k} (1)
Equation (1) indicates the stream rate value from the number n of transfer packets (record packets) to (m−1), and PCRm and PCRn are the PCR values of the packets with transfer numbers m and n, respectively.
[0032]
The recording apparatus I / F unit 102 describes the calculated recording stream rate value in pairs with the number of transfer packets and the PCR value for each PCR packet extraction. Then, the recording device I / F unit 102 is configured to record the created management table data on the recording medium 103.
[0033]
Furthermore, in the present embodiment, the recording device I / F unit 102 reads the management table at the time of reproduction, and outputs the reproduction stream to the decoding unit 111 at a transfer rate based on the description of the management table. Yes. In this case, the recording apparatus I / F unit 102 gives the PCR packet in the reproduction stream to the STC counter 101. The STC counter 101 reproduces the time clock on the transmission side with reference to the PCR, and gives the STC as the count value to the recording device I / F unit 102 so that the reproduction speed can be controlled. .
[0034]
Next, the operation of the embodiment configured as described above will be described with reference to the flowcharts of FIGS.
[0035]
First, the operation during recording will be described. FIG. 3 shows an operation flow during recording of the recording apparatus I / F unit 102.
[0036]
In step 201 of FIG. 3, the recording apparatus I / F unit 102 first determines whether or not the input packet input from the input terminal 100 matches a desired video PID to be recorded. Packets to be recorded include PCR packets and various control packets in addition to video and audio packets desired by the user.
[0037]
Step 201 is repeatedly executed until a packet to be recorded is input. In step 201, when the PID of the input packet matches the PID of the packet to be recorded, it is determined whether or not the next packet to be recorded has a PCR value, that is, whether it is a PCR packet (step). 202). If the packet to be recorded is not a PCR packet, the process proceeds to step 204 to transfer the packet to be recorded to the recording medium 103 for recording.
[0038]
If it is determined in step 202 that the packet to be recorded is a PCR packet, a management table is created / updated in step 203. That is, the recording device I / F unit 102 first records the PCR value in the management table data. Next, by this time, the number of transport stream packets transferred to the recording medium 103 is recorded in the management table data. Then, the rate value of the stream between PCR packets is calculated from the difference value of PCR between PCR packets and the number of transfer packets between PCR packets, and is recorded in the management table data.
[0039]
Next, in step 204, the recording apparatus I / F unit 102 transfers the PCR packet to the recording medium 103 for recording.
[0040]
Thus, in the present embodiment, at the time of recording, the bit rate (recording rate) of the transport stream to be recorded can be accurately obtained for each PCR packet transfer for each content to be recorded.
[0041]
Next, the operation during reproduction will be described. FIG. 4 shows an operation flow of the recording apparatus I / F unit 102 during reproduction.
[0042]
At the time of reproduction, the recording apparatus I / F unit 102 sets the stream rate value described in the management table as a reproduction rate value RATEplay that serves as a reference for reproduction, and a fixed rate (RATEout) that is larger than the maximum value of the reproduction rate value RATEplay. Then, the playback stream from the recording medium 103 is output to the decoding unit 111. Then, the recording apparatus I / F unit 102 controls the transfer of the reproduction packet at the fixed rate RATEout and the transfer of the null packet, and performs PCR so that the actual transfer rate matches the recording rate (reproduction rate value RATEplay). Control every packet.
[0043]
In step 401 in FIG. 4, the recording apparatus I / F unit 102 captures a packet (TS packet) reproduced from the recording medium 103. Next, in step 402, it is determined whether or not the fetched TS packet is a PCR packet (step 402). If it is determined in step 402 that the playback packet is a PCR packet, the recording device I / F unit 102 acquires the rate value RATEplay of the stream from this PCR packet to the next PCR packet from the management table (step 403). Thus, until the next PCR packet is input, reproduction / transfer using the read rate value RATEplay is performed. That is, in step 404, the recording apparatus I / F unit 102 initializes an internal variable γ used for rate control, which will be described later, to 0, and the packet determined to be a PCR packet in step 402 is the first PCR packet after starting reproduction. Whether or not (step 405).
[0044]
Assume that the packet determined to be a PCR packet is the first PCR packet after the start of reproduction. In this case, the recording apparatus I / F unit 102 holds the difference value between the STC counter value of the STC counter 101 and the PCR value of the PCR packet in the internal variable β (step 406), and decodes the PCR packet. 111 (step 407), and the process returns to step 401. The STC counter 101 outputs the count value STC to the recording apparatus I / F unit 102. Thereby, it is possible to determine whether or not the transfer timing of the PCR packet is appropriate at the time of subsequent reproduction of the PCR packet.
[0045]
That is, if the recording apparatus I / F unit 102 determines in step 405 that the packet is the second or subsequent PCR packet, the STC counter value of the STC counter 101 and the internal variable β (hereinafter also referred to as a difference value β). It is determined whether or not the value obtained by adding) is larger than the PCR value of this PCR packet (step 408). When the sum of the count value STC and the internal variable β is smaller than the PCR value of the regenerated PCR packet, the time given by the regenerated PCR packet is later than the time given by the count value STC. Thus, it can be determined that this PCR packet has not reached the transfer time.
[0046]
That is, if the count value (STC101) + difference value β of the STC counter 101 is smaller than the PCR value of the PCR packet in step 408, the recording apparatus I / F unit 102 still has time to transfer this PCR packet. It is determined that it is not, the null packet is transferred to the decoding unit 111 (step 409), and the process returns to step 408.
[0047]
On the other hand, if it is determined in step 408 that the STC101 + difference value β is larger than the PCR value of the PCR packet to be determined, the time to be transferred for this PCR packet has passed. The I / F unit 102 rewrites the PCR value with the sum of the STC counter value of the STC counter 101 and the difference value β in order to reduce the jitter of the PCR value, and then transfers the PCR packet to the decoding unit 111. (Step 410), the process returns to Step 401.
[0048]
If the TS packet reproduced from the recording medium 103 is a packet other than the PCR packet, the process proceeds from step 402 to step 411, and the reproduction rate RATEplay and output rate of the stream in the current section recorded in the management table. Packet transfer control is performed using RATEout.
[0049]
That is, first, a value obtained by adding the internal variable γ of the initial value 0 and the stream rate RATEplay is held in the internal variable γ (step 411), and it is determined whether the internal variable γ is larger than the output rate RATEout (step 411). 412).
[0050]
If the recording apparatus I / F unit 102 determines in step 412 that the internal variable γ is smaller than the output rate RATEout, the recording device I / F unit 102 transfers a null packet to the decoding unit 111 in order to keep the stream rate at RATEplay ( In step 413), the process returns to step 411.
[0051]
On the other hand, when it is determined in step 412 that the internal variable γ is larger than the output rate RATEout, the recording apparatus I / F unit 102 holds the difference value between the internal variable γ and the output rate RATEout in the internal variable γ ( Step 414), the packet acquired in Step 401 is transferred to the TS decoding unit 104 (Step 415), and the process returns to Step 401.
[0052]
By repeating the above operation, the playback stream can be output to the decoding unit 111 at a rate corresponding to the playback rate of the recorded stream.
[0053]
With respect to the decoding unit 111, a case where the transport stream input via the input terminal 100 is decoded as it is to view the content, and a case where the stream reproduced from the recording medium 103 is decoded and the content is viewed Both perform the same operation.
[0054]
The TS decoder 104 generates video and audio PES data based on payload data of a plurality of transport packets from the input reproduction packet. Video PES data is supplied to the video decoder 106, and audio PES data is supplied to the audio decoder 107. On the other hand, the STC counter 105 is provided with the PCR separated and extracted by the TS decoder 104. When the input packet first matches the PID of the PCR, the value is loaded into the STC counter 105 and the counter value is set. The STC counter 105 obtains an STC serving as a time clock, and outputs this STC to the video decoder 106 and the audio decoder 107.
[0055]
The video decoder 106 and the audio decoder 107 decode the input video and audio PES data by controlling the decoding time based on the time information in the input stream and the STC. The audio signal from the audio decoder 107 is supplied to a speaker (not shown), and the audio signal from the video decoder 106 is supplied to a monitor (not shown). In this way, the content reproduced from the recording medium 103 can be viewed.
[0056]
A decoding packet is input to the decoding unit 111 by real-time transmission in which a reproduction stream is transmitted at the same rate as when recording, and the buffer in the TS decoder 104 does not overflow or underflow.
[0057]
As described above, in this embodiment, PCR is referred to when a stream is recorded, the rate value between PCR packets is calculated from the PCR difference value and the number of recorded packets, and management data in which the stream rate value is recorded is created. As a result, it is possible to control the stream rate with reference to the rate value of the management data when the stream is played back.
[0058]
The information necessary to obtain the stream rate value is only the PCR value and the number of recorded packets. Therefore, not only when the broadcast signal is recorded in real time, but also when the broadcast signal is recorded in non-real time via the LAN. It is possible to create management data in which stream rate values are recorded, and perform real-time transmission during playback.
[0059]
Also, the management data recording the stream rate value does not necessarily have to be performed when the stream is recorded. For example, with respect to a stream that has already been recorded, the number of PCR packets and the difference value between the PCRs may be analyzed to create management data that records the stream rate value.
[0060]
【The invention's effect】
As described above, according to the present invention, even when a stream that is not transmitted in real time is recorded, the reproduction rate can be reliably controlled.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a digital recording / reproducing apparatus according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram showing an example of a management table.
FIG. 3 is a flowchart for explaining the operation of the embodiment;
FIG. 4 is a flowchart for explaining the operation of the embodiment.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 101 ... STC counter, 102 ... Recording apparatus I / F part, 103 ... Recording medium, 110 ... Recording / reproducing part, 111 ... Decoding part

Claims (6)

複数のコンテンツが多重された符号化ストリームであって所定パケット間隔でストリームの時間情報を含むパケットが挿入された符号化ストリームが入力され、入力された前記符号化ストリームから所定のコンテンツの符号化ストリームを分離抽出する抽出手段と、
前記抽出手段が抽出した符号化ストリームのうち前記時間情報を含むパケットを抽出して前記時間情報を検出する時間情報検出手段と、
前記抽出手段が抽出した符号化ストリームのうち前記時間情報を含むパケット相互間のストリームの符号量を検出する符号量検出手段と、
前記時間情報検出手段が検出した時間情報及び前記符号量検出手段が検出した符号量の情報を含む管理テーブルを作成する管理テーブル作成手段と、
前記管理テーブルを前記抽出手段が抽出した符号化ストリームと共に記録する記録手段とを具備したことを特徴とするディジタル記録再生装置。
An encoded stream in which a plurality of contents are multiplexed and into which a packet including time information of the stream is inserted at a predetermined packet interval is input, and the encoded stream of the predetermined content is input from the input encoded stream Extraction means for separating and extracting
Time information detecting means for extracting the packet including the time information from the encoded stream extracted by the extracting means and detecting the time information;
A code amount detection unit for detecting a code amount of a stream between packets including the time information among the encoded streams extracted by the extraction unit;
A management table creating means for creating a management table including the time information detected by the time information detecting means and the information of the code amount detected by the code amount detecting means;
A digital recording / reproducing apparatus comprising: recording means for recording the management table together with the encoded stream extracted by the extracting means.
複数のコンテンツが多重されたトランスポートストリームから所定のコンテンツのトランスポートストリームを分離抽出する抽出手段と、
前記抽出手段が抽出したトランスポートストリームのうちPCRパケットを抽出してPCR値を検出する時間情報検出手段と、
前記抽出手段が抽出したトランスポートストリームのうちPCRパケット相互間のストリームの符号量を検出する符号量検出手段と、
前記時間情報検出手段が検出したPCR値及び前記符号量検出手段が検出した符号量の情報を含む管理テーブルを作成する管理テーブル作成手段と、
前記管理テーブルを前記抽出手段が抽出したトランスポートストリームと共に記録する記録手段とを具備したことを特徴とするディジタル記録再生装置。
Extraction means for separating and extracting a transport stream of predetermined content from a transport stream in which a plurality of contents are multiplexed;
Time information detection means for extracting a PCR packet from the transport stream extracted by the extraction means and detecting a PCR value;
Code amount detection means for detecting the code amount of a stream between PCR packets in the transport stream extracted by the extraction means;
A management table creating means for creating a management table including information on the PCR value detected by the time information detecting means and the code amount detected by the code amount detecting means;
A digital recording / reproducing apparatus comprising: recording means for recording the management table together with the transport stream extracted by the extracting means.
前記符号量検出手段は、ストリームのパケット数を符号量とすることを特徴とする請求項1又は2のいずれか一方に記載のディジタル記録再生装置。3. The digital recording / reproducing apparatus according to claim 1, wherein the code amount detection means uses the number of packets in the stream as the code amount. 前記時間情報検出手段が検出した時間情報及び前記符号量検出手段が検出した符号量の情報に基づいて、前記抽出手段が抽出したストリームの転送レートを算出する転送レート算出手段を更に具備し、
前記管理テーブル作成手段は、前記転送レート算出手段が算出した転送レートの情報を含む管理テーブルを作成することを特徴とする請求項1又は2のいずれか一方に記載のディジタル記録再生装置。
Further comprising transfer rate calculation means for calculating the transfer rate of the stream extracted by the extraction means based on the time information detected by the time information detection means and the code amount information detected by the code amount detection means;
3. The digital recording / reproducing apparatus according to claim 1, wherein the management table creating unit creates a management table including information on the transfer rate calculated by the transfer rate calculating unit.
前記記録手段によって記録されたストリームの再生時に、前記管理テーブル作成手段が作成した管理テーブルの情報に基づく再生レートで再生制御する再生手段を更に具備したことを特徴とする請求項1、2又は4のいずれか1つに記載のディジタル記録再生装置。5. The reproduction apparatus according to claim 1, further comprising reproduction means for performing reproduction control at a reproduction rate based on information in the management table created by the management table creation means when playing back the stream recorded by the recording means. A digital recording / reproducing apparatus according to any one of the above. 複数のコンテンツが多重された符号化ストリームであって所定パケット間隔でストリームの時間情報を含むパケットが挿入された符号化ストリームが入力され、入力された前記符号化ストリームから所定のコンテンツの符号化ストリームを分離抽出する抽出手順と、
前記抽出手順によって抽出された符号化ストリームのうち前記時間情報を含むパケットを抽出して前記時間情報を検出する時間情報検出手順と、
前記抽出手順によって抽出された符号化ストリームのうち前記時間情報を含むパケット相互間のストリームの符号量を検出する符号量検出手順と、
前記時間情報検出手順によって検出された時間情報及び前記符号量検出手順によって検出された符号量の情報を含む管理テーブルを作成する管理テーブル作成手順と、
前記管理テーブルを前記抽出手順によって抽出された符号化ストリームと共に記録する記録手順と、
前記記録手順において記録されたストリームを、前記管理テーブル作成手順において作成された管理テーブルの情報に基づく再生レートで再生制御する再生手順とを具備したことを特徴とする再生レート制御方法。
An encoded stream in which a plurality of contents are multiplexed and into which a packet including time information of the stream is inserted at a predetermined packet interval is input, and the encoded stream of the predetermined content is input from the input encoded stream Extraction procedure to separate and extract,
A time information detection procedure for detecting the time information by extracting a packet including the time information from the encoded stream extracted by the extraction procedure;
A code amount detection procedure for detecting a code amount of a stream between packets including the time information among the encoded streams extracted by the extraction procedure;
A management table creation procedure for creating a management table including information on the time information detected by the time information detection procedure and the code amount detected by the code amount detection procedure;
A recording procedure for recording the management table together with the encoded stream extracted by the extraction procedure;
A playback rate control method comprising: a playback procedure for controlling playback of a stream recorded in the recording procedure at a playback rate based on information in the management table created in the management table creation procedure.
JP2003188312A 2003-06-30 2003-06-30 Digital recording / reproducing apparatus and reproducing rate control method Expired - Fee Related JP4241220B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003188312A JP4241220B2 (en) 2003-06-30 2003-06-30 Digital recording / reproducing apparatus and reproducing rate control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003188312A JP4241220B2 (en) 2003-06-30 2003-06-30 Digital recording / reproducing apparatus and reproducing rate control method

Publications (2)

Publication Number Publication Date
JP2005026854A true JP2005026854A (en) 2005-01-27
JP4241220B2 JP4241220B2 (en) 2009-03-18

Family

ID=34186894

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003188312A Expired - Fee Related JP4241220B2 (en) 2003-06-30 2003-06-30 Digital recording / reproducing apparatus and reproducing rate control method

Country Status (1)

Country Link
JP (1) JP4241220B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007336292A (en) * 2006-06-15 2007-12-27 Sanyo Electric Co Ltd Reproduction device
JP2009118086A (en) * 2007-11-05 2009-05-28 Hitachi Ltd Storage device and clock management method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007336292A (en) * 2006-06-15 2007-12-27 Sanyo Electric Co Ltd Reproduction device
JP2009118086A (en) * 2007-11-05 2009-05-28 Hitachi Ltd Storage device and clock management method

Also Published As

Publication number Publication date
JP4241220B2 (en) 2009-03-18

Similar Documents

Publication Publication Date Title
KR100694164B1 (en) A reproducing method and recording medium thereof
JP3666625B2 (en) Data recording method and data recording apparatus
JPH08138316A (en) Recorder/player
US7865064B2 (en) Recording/output apparatus and recording/output method
JP4294660B2 (en) REPRODUCTION DEVICE, REPRODUCTION METHOD, AND RECORDING MEDIUM THEREOF
CA2655493A1 (en) Systems and methods of generating encapsulated mpeg program streams
JP4715306B2 (en) STREAM CONTROL DEVICE, STREAM REPRODUCTION METHOD, VIDEO RECORDING / REPRODUCTION SYSTEM
JP3558983B2 (en) Digital broadcast recording and playback device
US8254764B2 (en) Recording apparatus, image reproducing apparatus, and special reproduction method therefor
JP4241220B2 (en) Digital recording / reproducing apparatus and reproducing rate control method
JP2004040579A (en) Digital broadcast reception device and synchronous reproduction method for digital broadcast
JP3529679B2 (en) Recording / playback device
JP2008176918A (en) Reproducing apparatus and method, and recording medium
JP3944845B2 (en) Information processing apparatus and method, recording medium, and program
JP2001111610A (en) Receiver for information data transmission system
JP2002033712A (en) Packet processor and packet output method therefor
JP2001339688A (en) Playback equipment of transport stream
US7248780B2 (en) Reproducing device, medium, information aggregate, transmitting medium, and recording medium
EP1152612A2 (en) Multiplex data recording and reproducing apparatus and method for the same
JP2000187940A (en) Recording/reproducing device and recorder
JP4287992B2 (en) Digital data recording / reproducing apparatus and method
JP3892759B2 (en) Recording / reproducing apparatus, recording apparatus, reproducing apparatus, and recording / reproducing method
EP1148723B1 (en) Special reproduction data generating device, medium, and information aggregate
JP4334562B2 (en) DIGITAL VIDEO SIGNAL RECORDING / REPRODUCING DEVICE, RECORDING DEVICE AND REPRODUCING DEVICE, DIGITAL VIDEO SIGNAL RECORDING / REPRODUCING METHOD, RECORDING METHOD, AND REPRODUCING METHOD
JP2007066511A (en) Recording and reproducing apparatus, recording apparatus, reproducing apparatus, and recording and reproducing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060522

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081205

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

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

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120109

Year of fee payment: 3

LAPS Cancellation because of no payment of annual fees