JP4077180B2 - Format conversion apparatus and format conversion method - Google Patents

Format conversion apparatus and format conversion method Download PDF

Info

Publication number
JP4077180B2
JP4077180B2 JP2001293627A JP2001293627A JP4077180B2 JP 4077180 B2 JP4077180 B2 JP 4077180B2 JP 2001293627 A JP2001293627 A JP 2001293627A JP 2001293627 A JP2001293627 A JP 2001293627A JP 4077180 B2 JP4077180 B2 JP 4077180B2
Authority
JP
Japan
Prior art keywords
format
data
pack
video
rtr
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
JP2001293627A
Other languages
Japanese (ja)
Other versions
JP2003101927A (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.)
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 JP2001293627A priority Critical patent/JP4077180B2/en
Publication of JP2003101927A publication Critical patent/JP2003101927A/en
Application granted granted Critical
Publication of JP4077180B2 publication Critical patent/JP4077180B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
この発明は、RTR(Real Time Recording)フォーマットのデータストリームを、DVD(Digital Versatile Disk)ビデオフォーマットのデータ形式にフォーマット変換して記録媒体に記録するフォーマット変換装置及びフォーマット変換方法に関する。
【0002】
【従来の技術】
周知のように、現状のRTRフォーマットに基づく記録方式で、書き込み可能な光ディスクに記録されたデータストリームは、MPEG(Moving Picture Image Coding Experts Group)2方式で書き込み可能な光ディスクに記録されるDVDビデオフォーマットのデータストリームと、必ずしも互換性が無い。
【0003】
特に、RTRフォーマットで記録されたデータストリームを、DVDビデオフォーマットにフォーマット変換して、記録メディアに記録する場合、その管理情報のみをDVDビデオフォーマット用に作成し、データストリームをコピーするだけでは、DVDビデオフォーマットを満たさない場合がある。
【0004】
このため、現状では、RTRフォーマット記録のみを対象としたDVD記録再生装置によって、RTRフォーマットでデータストリームが記録された光ディスクは、DVDビデオフォーマットのデータストリームの再生を専用とするDVDビデオプレーヤでは、再生することができないという問題が生じている。
【0005】
【発明が解決しようとする課題】
そこで、この発明は上記事情を考慮してなされたもので、RTRフォーマットのデータストリームを、DVDビデオフォーマットのデータストリームに容易に変換して記録することを可能として、DVDビデオプレーヤでも再生することができるようにした極めて良好なフォーマット変換装置及びフォーマット変換方法を提供することを目的とする。
【0006】
【課題を解決するための手段】
この発明に係るフォーマット変換装置は、TRフォーマットのデータストリームをDVDビデオフォーマットのデータ形式に変換するものを対象としている。そして、RTRフォーマットのデータストリームに対して、そのビデオオブジェクトの先頭ビデオオブジェクトユニットの先頭パックに存在するRDIパックを、当該RDIパックの情報とその管理情報とに基づいて生成されたPCIパケット情報及びDSIパケット情報に書き替える書き替え手段と、RTRフォーマットのデータストリームを構成するビデオオブジェクトの先頭ビデオオブジェクトユニットの先頭パックに存在するRDIパックのパックヘッダに記述されたSCRの値をオフセット値として設定する設定手段と、RTRフォーマットのデータストリームに対して、そのビデオオブジェクトのビデオオブジェクトユニットを構成するパックのパックへッダからSCRの値を読み出し、その読み出したSCRの値から設定手段で設定されたオフセット値を減算して当該読み出したSCRの位置に書き戻すもので、読み出したSCRの値がオフセット値よりも小さい場合、フォーマット変換処理を制御するMPU部に通知する第1の制御手段と、RTRフォーマットのデータストリームに対して、そのビデオオブジェクトのビデオオブジェクトユニットを構成するパックのパケットヘッダ内のPTS_DTS_ flag が示すPTSデータまたはDTSデータから設定手段で設定されたオフセット値を減算して当該PTSデータまたはDTSデータの位置に書き戻すもので、PTS_DTS_ flag が示すPTSデータまたはDTSデータがオフセット値よりも小さい場合、フォーマット変換処理を制御するMPU部に通知する第2の制御手段とを備えるようにしたものである。
【0007】
また、この発明に係るフォーマット変換方法は、TRフォーマットのデータストリームをDVDビデオフォーマットのデータ形式に変換する方法を対象としている。そして、RTRフォーマットのデータストリームに対して、そのビデオオブジェクトの先頭ビデオオブジェクトユニットの先頭パックに存在するRDIパックを、当該RDIパックの情報とその管理情報とに基づいて生成されたPCIパケット情報及びDSIパケット情報に書き替える書き替え工程と、RTRフォーマットのデータストリームを構成するビデオオブジェクトの先頭ビデオオブジェクトユニットの先頭パックに存在するRDIパックのパックヘッダに記述されたSCRの値をオフセット値として設定する設定工程と、RTRフォーマットのデータストリームに対して、そのビデオオブジェクトのビデオオブジェクトユニットを構成するパックのパックへッダからSCRの値を読み出し、その読み出したSCRの値から設定工程で設定されたオフセット値を減算して当該読み出したSCRの位置に書き戻すもので、読み出したSCRの値がオフセット値よりも小さい場合、フォーマット変換処理を制御するMPU部に通知する第1の制御工程と、RTRフォーマットのデータストリームに対して、そのビデオオブジェクトのビデオオブジェクトユニットを構成するパックのパケットヘッダ内のPTS_DTS_ flag が示すPTSデータまたはDTSデータから設定工程で設定されたオフセット値を減算して当該PTSデータまたはDTSデータの位置に書き戻すもので、PTS_DTS_ flag が示すPTSデータまたはDTSデータがオフセット値よりも小さい場合、フォーマット変換処理を制御するMPU部に通知する第2の制御工程とを備えるようにしたものである。
【0008】
上記のような構成及び方法によれば、TRフォーマットのデータストリームを、DVDビデオフォーマットのデータストリームに容易に変換して記録することを可能とし、DVDビデオプレーヤでも再生することができるようになる。
【0009】
【発明の実施の形態】
以下、この発明の実施の形態について図面を参照して詳細に説明する。まず、RTR−DVDに対応したファイルシステムについて、簡単に説明する。ここでは、リアルタイムで録画中、ディフェクトやジャンプ発生時にも連続再生が可能なように、最低限、AV(Audio Video)データの連続処理が可能な最初の単位を規定しており、これをCDA(Contiguous Data Area)と称している。
【0010】
CDAは、物理的には光ディスク上でCDAの途中に欠陥領域や他のデータの混在は認めているが、これらを飛び越して論理的には連続した単位である。このCDAブロックの制限としては、CDA長は論理的には一定長であり、さらに、その長さはエラー訂正コード(ECC)ブロックの正数倍になっていることである。
【0011】
RTR−DVDでは、このCDAを使用した録画再生処理が規定されている。また、MPEGビデオデータのランダムアクセスを可能とするための最小単位としては、GOP(Group Of Picture)が考えられる。そして、RTR−DVDにおいては、このGOPはクローズドされており、各GOPを独立して処理可能となっている。
【0012】
DVD−ビデオでは、通常のファイル形式でデータを保存している。さらに、タイトルは、例えば映画の1本分に相当し、1枚の光ディスクに、このタイトルが複数収録されている。このタイトルが集まったものをタイトルセットと言い、このタイトルセットは、複数のファイルで構成されている。
【0013】
図1は、この実施の形態で説明する記録再生装置の全体的なブロック構成を示し、図2には、この記録再生装置で情報が記録される光ディスクのディレクトリ構造を示している。
【0014】
図2において、光ディスク1枚に1つの動画用のデータファイルとして設けられる「リアルタイムレコーディングムービービデオ(VR_MOVIE.VRO)」ファイルと、静止画用アフターレコーディング音声用データファイルとして設けられるVR_AUDIO.VROファイルと、静止画用データファイルとして設けられる「リアルタイムレコーディングスチルピクチャービデオ(VR_STILL.VRO)」ファイルとが存在し、このビデオデータファイルを管理するための管理情報ファイル(ビデオマネージャーVMGファイル)である「VR_MANGR.IFO」が設けられる。
【0015】
DVD全体では、各規格毎にディレクトリが存在し、DVD−ビデオではビデオタイトルセット(VIDEO_TS)、DVD−オーディオではオーディオタイトルセット(AUDIO_TS)、録画再生DVDではリアルタイムレコーディングビデオ(DVD_RTAV)としている。各記録データは、このディレクトリの中に存在している。
【0016】
また、DVD−ビデオでは、1枚の光ディスクには、この光ディスクを管理するための情報としてビデオマネージャー(以後、VMGという)と称するファイルが存在する。
【0017】
さらに、ビデオタイトルセット(以後、VTSという)には、このビデオタイトルセットを管理するための情報であるビデオタイトルセット情報(以後、VTSIという)ファイルと、ビデオデータで構成されているビデオファイルと、VTSIのバックアップファイルとが含まれている。
【0018】
また、録画再生の規格(以後、RTR規格という)では、前記ビデオマネージャーを管理するための情報であるビデオマネージャー情報(以後、VMGIという)と、前記VTSIとを一緒にしてVMGを構成し、ビデオデータファイルの管理を行なっている。
【0019】
前記ビデオファイルは、階層構造で管理されており、1つのビデオオブジェクトセット(VOBS)は、複数のVOBで構成されており、RTR規格においては、1つのVOBは1つのセルで構成され、DVDビデオ規格においては、1つのVOBは複数のセルで構成され、双方の規格では、1つのVOBは複数のビデオオブジェクトユニット(以後、VOBUという)で構成されている。
【0020】
また、VOBUは、複数の様々な種類のデータからなっているパックによって構成されている。1パックは、1つ以上のパケットとパックヘッダとで構成され、各ビデオデータ、オーディオデータは、このパケット内に記録されている。
【0021】
DVDビデオ規格においては、このVOBの先頭に配置されるパックの、タイムスタンプSCR(System Clock Reference)は必ず“0”に設定されなければならない。RTR規格においては、この限りではない。
【0022】
静止画データの場合には、1ピクチャ=1VOBU=1VOBとして管理し、ビデオデータパック(Vパック)列の後に、副映像パック(SPパック)列、オーディオパック(Aパック)列と続く。ただし、ここで、静止画データの場合には、SPデータ、オーディオデータはオプションであり、無い場合もあり得る。ここで、パックは、データ転送処理を行なう最小単位である。
【0023】
さらに、論理上の処理を行なう最小単位はセル単位で、論理上の処理はこの単位で行なわれる。そして、データの再生する順番は、PGC(Program Chain)で定義され、このPGCには、複数のPG(Program)が登録され、このPGには、セルが登録されている。
【0024】
このPGCの構造を実際に記録してあるのがプログラムチェーン情報(PGCI)である。再生処理は、このPGCIにしたがって行なわれ、記録時または編集時にPGCIを作成することになる。
【0025】
また、RTR規格では、記録順に再生するための特別なPGCをオリジナルPGCと称し、このオリジナルPGCの情報はオリジナルプログラムチェーン情報(ORG_PGCI)ファイルに記録されている。
【0026】
次に、VOBUを構成しているパックについて説明する。DVDビデオ規格とRTR規格とに共通なパックとして、ビデオパック(V_PCK)、オーディオパック(A_PCK)及び副映像パック(SP_PCK)があり、その他に、DVDビデオ規格においてはナビゲーションパック(NV_PCK)、RTR規格においてはRDI(Real Time Data Information)パック(RDI_PCK)が存在する。
【0027】
パックの種類は、それぞれのパケットヘッダ内に記録されているstream_id及びsub_stream_idにより判別することが可能である。パックの構造は、パックヘッダと1個以上のパケットとで構成される。パック長は2048バイトであり、1ロジカルブロック内に記録される。それぞれのパックには、パックヘッダが存在するが、その構成は、図3に示す通りである。図3に示すように、パックヘッダ内には、SCR情報が記録されている。
【0028】
また、ナビゲーションパック(NV_PCK)は、図4に示すように、パックヘッダ、システムヘッダ、PCIパケット(PCI_PKT)とDSIパケット(DSI_PKT)から構成される。このナビゲーションパック(NV_PCK)は、VOBUの先頭パックとして配置されなければならない。
【0029】
ビデオパック(V_PCK)は、図5及び図6に示すように、パックヘッダとビデオパケット(V_PKT)とからなる。ビデオパック(V_PCK)がVOBU内の先頭のパックである場合には、図5に示すように、パックヘッダの後にシステムヘッダが付加され、それ以外のビデオパック(V_PCK)は、図6に示すように構成されている。
【0030】
オーディオパック(A_PCK)は、図7、図8、図9及び図10(a),(b)に示すように、パックヘッダとオーディオパケット(A_PKT)とから構成される。オーディオパック(A_PCK)は、音声の種類により、パック内のデータ構成が異なるが、それぞれのパケットヘッダには、PTS(Presentation Time Stamp)が記述されている。
【0031】
副映像パック(SP_PCK)は、図11に示すように、パックヘッダとサブピクチャーパケット(SP_PKT)から構成される。サブピクチャーパケット(SP_PKT)内には、PTSが記述されている。
【0032】
RDIパック(RDI_PCK)は、図12に示すように、パックヘッダとRDIパケット(RDI_PKT)から構成される。
【0033】
次に、図1に戻って、記録再生装置の構成を説明する。図1に示すように、メインマイクロプロセッサ(以後、MPUという)部100は、全体のブロックを制御するもので、各部に接続されている。
【0034】
まず、MPU部100には、表示部120及びキー入力部130が接続されている。キー入力部130からは、この記録再生装置の再生、停止、記録等の操作入力を与えることができる。
【0035】
エンコード部200には、TV(Television)チューナ部201、A/V(Audio/Video)入力部202が接続されている。このエンコード部200には、TVチューナ部201及びA/V入力部202からの出力信号が供給されるA/D(Analogue/Digital)変換部211がある。ここで、アナログデジタル変換されたビデオ信号は、ビデオエンコード部212に供給され、オーディオ信号はオーディオエンコード部213に供給される。
【0036】
また、TVチューナ部201からの文字放送、字幕放送等は、副映像(SP)エンコード部214に供給される。このSPエンコード部214には、外部端子(図示せず)からの信号が与えられても良い。
【0037】
さらに、また、エンコード部200には、CC(Closed Caption)変換部217も設けられている。このCC変換部217では、TVチューナ部201から導かれたビデオ信号の垂直ブランキング期間に重畳されているクローズドキャプションデータが抽出される。
【0038】
クローズドキャプションデータが記録されている場合には、そのデータがGOPのユーザエリアに挿入されるべく、ビデオエンコード部212において処理される。ユーザエリアに挿入されるデータは、DVD規格のライン21データとなる。
【0039】
デジタルビデオ信号は、MPEG方式で圧縮され、オーディオデジタル信号はAC3方式の圧縮またはMPEG方式のオーディオ圧縮がなされる。オーディオデジタル信号は、圧縮を行なわないリニアPCM(Pulse Code Modulation)形式で記録される場合もある。
【0040】
ビデオエンコード部212、オーディオエンコード部213、SPエンコード部214の出力は、フォーマッタ部215に入力されて、先に説明した所定のフォーマットにフォーマッティングされる。各データは、2048バイトのパケットになるように整備される。フォーマット化に際しては、バッファメモリ部216がデータの一時保存用として利用される。
【0041】
このとき、例えば、MPEGビデオの1GOP毎に1VOBUとし、このときの切り分け情報をバッファメモリ部216に保存し、切り分け情報がある程度たまったときはMPU部100に転送する。MPU部100は、その情報を基にタイムマップインフォメーション(TMAP)を作成する(GOP先頭割り込み等のときに送る)。
【0042】
ここで、切り分け情報としては、例えばVOBUの大きさ、VOBU先頭から最後までの再生時間、VOBU先頭からIピクチャのエンドアドレス等のいずれかまたはこれらの複数である。
【0043】
また、上記切り分け情報を基に、直接、フォーマッタ部215がタイムマップインフォメーションを作成し、TMAPの形でMPU部100に渡すようにしても良い。フォーマッタ部215でフォーマット化されたデータは、データ処理部(D−PRO部)600に入力される。
【0044】
データ処理部600では、エンコードされた各データパック列の16パック毎にECCブロックを形成し、エラー訂正データを付け、ドライブ部700により光ディスク10もしくは記録媒体11に記録する。どちらの記録媒体にデータを記録するかは、MPU部100により指示される。
【0045】
ここで、ドライブ部700が、シーク中やトラックジャンプ等の場合のため、ビジィー状態になった場合には、データは一時記憶部750に供給され、ドライブ部700の準備ができるまで待つことになる。
【0046】
また、録画再生DVDでは、動画用ビデオファイル、静止画用ビデオファイルは、1ディスクに各1ファイルとしている。
【0047】
デコード部300は、データ処理部600からの信号が導かれる分離部311を有している。分離部311では、各データがその種類毎に分離される。ビデオデータのパックは、ビデオデコード部312に導かれ、副映像データのパックはSPデコード部313に導かれ、オーディオデータのパックはオーディオデコード部314に導かれる。
【0048】
ビデオデコード部312とSPデコード部313で復号されたビデオデータと副映像データは、ビデオ処理部(V−PRO部)315に導かれ合成されて出力される。
【0049】
また、オーディオデコード部314で復号されたオーディオデータは、デジタルの状態で伝送される場合は、インターフェース317を介して出力される。また、アナログ信号に変換されるときは、D/A変換部316に入力されて出力され、例えば図示しないスピーカ等に供給される。
【0050】
上記ビデオ処理部315から出力されたデータは、ビデオミクシング部500に入力され、ここを介してD/A変換部502やインターフェース503に供給される。インターフェース503を介して出力されるデータは、例えば伝送ライン(IEEE1394規格)に送出される。アナログ信号は、図示しない表示器に供給される。
【0051】
MPU部100は、記録再生装置全体の各部を制御するものであり、各ブロックに接続されている。システムタイムカウンタ(STC)部400は、データ記録モード、データ再生モードにおいて、記録や再生の基準となるタイムスタンプのデータを作成している。
【0052】
また、記録媒体11に記録されているデータを光ディスク10にフォーマット変換して記録する場合には、MPU部100により、変換のための設定がタイムスタンプ変換部800に対して行なわれる。
【0053】
データストリームは、スイッチ部801の切り替えにより、ドライブ部700とタイムスタンプ変換部800が直接接続され光ディスク10に記録される。読み出し元と記録先が逆でも同様であるし、同一媒体に対する書き込みにおいても同様である。
【0054】
通常、A/V入力部202から入力されエンコード部200によりエンコードされたデータを記録する場合には、タイムスタンプ変換部800を経由する必要はないため、データ処理部600からドライブ部700にデータを直接供給するようにスイッチ部801が制御される。
【0055】
また、MPU部100がデータストリームを参照したい場合には、一時記憶部750にデータを保存し、そのデータ処理を行なった後、タイムスタンプ変換部800を介して記録することも可能である。
【0056】
図1においては、タイムスタンプ変換部800は、MPU部100と別のブロックとして示しているが、後述するタイムスタンプ変換機能をソフトウエアとして実現させる場合には、MPU部100内にタイムスタンプ変換機能を持ち、メインメモリ部101にデータを保持し、タイムスタンプを変換した後、記録媒体に記録することにより実現することも可能である。
【0057】
次に、上述のようにして、あるフォーマットで記録されたストリーム(この実施の形態ではRTRフォーマットで記録されたものと仮定する)を、別の記録フォーマット(DVDビデオフォーマット)に変換して記録する場合の動作例を、図13に示すフローチャートにしたがって述べる。
【0058】
なお、この実施の形態において、この記録再生装置には記録メディアとしてハードディスクとDVDディスクドライブを搭載し、HDD(Hard Disk Drive)にRTRフォーマットで記録されたものに対し、DVDディスクにDVDビデオフォーマットに変換して記録することを例に述べるが、DVDドライブからHDDへの変換も可能であるし、記録再生装置に記録メディアとして1種類しかない場合においても、同一記録媒体内で、別フォーマットの記録エリアを確保しておき記録することも可能である。
【0059】
また、上書き書き込み可能な記録メディアで、かつ、書き込みを行なうデータを記録再生装置内に備えられているメモリ等の記憶媒体に退避できる場合には、同一メディア間でのフォーマット変換も可能である。
【0060】
RTRフォーマットで記録されているHDD内のデータの中から、DVDビデオフォーマットに変換を行ないDVDディスクに記録を行なうタイトルを選択し、そのタイトルに含まれるVOBの転送を行なう。RTRフォーマットで記録されたデータのうち、複数のVOBがその転送対象となる場合もあれば、1つのVOBの中の一部が転送対象となる場合がある。いずれの場合においても、RTRフォーマットで記録されたVOB単位で処理を行なう。複数のVOBが転送処理対象の場合には、VOB単位の処理をVOB数分繰り返し行なう。
【0061】
MPU部100により、転送対象となるVOBが指定され、対象VOBの先頭VOBUをハードディスクから一時記憶部750に待避させる。MPU部100は、先頭VOBUの先頭パックに存在するRDIパックを、このRDIパックの情報と管理情報とから、RDIパケット情報をPCIパケット情報及びDSIパケット情報に書き替えを行ない、ナビゲーションパックを生成し、一時記憶部750に待避されているRDIパックに上書きする。これにより、RTRフォーマットのRDIパックが、DVDビデオフォーマットのナビゲーションパックに書き替えられることになる。
【0062】
また、MPU部100は、ナビゲーションパックの生成が終了したら一時記憶部750に待避されているVOBUデータのDVDディスクへの転送を開始するが、DVDビデオフォーマットにおいては、各VOBの先頭パックのSCRの値は“0”にしなければならない。
【0063】
この規格を守るため、待避されたデータの中から、RTRフォーマットで記録された各VOBの先頭VOBU内の先頭パックであるRDIパックの、図3に示したパックヘッダに記述されているSCRの値を読み取り、そのSCRの値をタイムスタンプ変換のためのオフセット値として、タイムスタンプ変換部800にMPU部100が設定する。
【0064】
このオフセット値の設定が完了した後、一時記憶部750に待避されているVOBUストリームをタイムスタンプ変換部800に送出させる。次に、後続するVOBUを一時記憶部750に待避し、上述のようにRDIパックをナビゲーションパックに書き替えを行なう。
【0065】
VOB先頭のVOBU以外では、タイムスタンプ変換部800のオフセット値設定は行なわない。前記処理をVOBの最終VOBUまで繰り返し行なうことによりVOBの転送は完了し、DVDビデオ規格を満たすストリームデータを生成させることが可能である。
【0066】
転送されたデータストリームに対する、DVDビデオフォーマットの管理情報は、ハードディスクの中に存在するRTRフォーマットの管理情報を基にMPU部100で作成され、DVDディスクへ適切なファイルシステムで記録される。また、DVDディスクへ書き込みを行なう。
【0067】
タイムスタンプ変換部800では、それぞれの種類のパケットヘッダ内に記載されている、stream_id、sub_stream_idから、パックの種別を判別し、それぞれのパックによりタイムスタンプ情報の変換を行なう。以下に、パックの種類別にその変換方法を記す。
【0068】
(1) ビデオパック
図14は、ビデオパックのパケットヘッダの構成を示している。stream_id=11100000bである場合ビデオパックと判断し、VOBUの先頭のビデオパックであるかどうか判定する。
【0069】
VOBU内先頭のビデオパックは、パック内にシステムヘッダが記載されている。このため、この先頭ビデオパックとそれ以外のビデオパックでは、パケットヘッダが記載されているパック内の位置が、システムヘッダのサイズ分ずれている。
【0070】
タイムスタンプ変換部800は、図3に示したパックヘッダからSCRの値を読み出し、MPU部100により設定されているオフセット値(TM_OFFSET)を読み出したSCRの値から減算し、フォーマットを合わせて、読み出したSCRの位置に書き戻す。
【0071】
また、読み出したSCRの値が、TM_OFFSET値より小さい場合は、タイムスタンプ変換を行なうことにより、規格違反のデータを作成することになるため、その旨をMPU部100に通知する。
【0072】
次に、パケットヘッダ内のPTS_DTS_flagを読み取る。この値が00bの場合、このパケットヘッダ内には、PTS、DTSが存在しない。この場合には、同パケットヘッダ内のPES_extension_flagを読み取る。この値が0であれば、前記PTS_DTS_flagの内容と一致するため問題ないが、0以外の値が記述されている場合、PTS、DTS情報が存在する可能性があるため、その旨をMPU部100に通知する。PTS_DTS_flagが00bの場合、このパケットの処理はこれで終了となり、次のパケットに処理が移行される。
【0073】
PTS_DTS_flagが10bの場合、このパケットヘッダ内には、PTSデータのみが記録されている。タイムスタンプ変換部800は、このPTSデータを読み出し、TM_OFFSET値と比較し、PTSデータがTM_OFFSET値以上であれば、PTSデータからTM_OFFSET値を減算し、フォーマットを合わせて、読み出したPTSの位置に、減算した値を書き戻す。もし、PTSデータがTM_OFFSET値より小さかった場合には、その旨をMPU部100に通知する。
【0074】
PTS_DTS_flagが11bの場合、このパケットヘッダ内には、PTSとDTSデータが記録されている。タイムスタンプ変換部800は、このPTSとDTSデータを読み出し、TM_OFFSET値と比較し、PTSとDTSデータがTM_OFFSET値以上であれば、PTS、DTSデータからそれぞれTM_OFFSET値を減算し、フォーマットを合わせて、読み出したPTS、DTSの位置に、減算した値を書き戻す。もし、PTSもしくはDTSデータがTM_OFFSET値より小さかった場合には、その旨をMPU部100に通知する。
【0075】
(2) オーディオパック(MPEG audio Format2以外)
図15は、リニアPCMオーディオパックのパケットヘッダの構成を示している。図16は、ドルビーAC3オーディオパックのパケットヘッダの構成を示している。図17は、MPEGオーディオパックのパケットヘッダの構成を示している。
【0076】
オーディオパックに対する処理も、上記ビデオパックの処理と同一であるが、オーディオパックの場合は、DTSデータは存在しないため、上記ビデオパック処理のPTS_DTS_flagが11bの場合の処理は起こらない。
【0077】
(3) オーディオパック(MPEG audio Format2)
MPEG audio Format2で記録されたオーディオパックは、それ以外のオーディオパックとは異なり、1パック内に複数のパケットヘッダを持つ。パックヘッダの処理は、上記ビデオパックの処理と同一であり、パケットヘッダ内の処理は上記オーディオパックと同一である。
【0078】
ここでは、パケット内の処理の終了判定が異なるため、この処理について述べる。stream_id、sub_stream_idにより、MPEG audio Format2で記録されたオーディオパックと判定され、パックヘッダと、先頭のパケットヘッダのタイムスタンプ変更処理を行なった後、パケットヘッダ内のPES_packet_lengthを読み出す。
【0079】
このデータはパケット長が記述されており、PES_header_data_lengthの値とにより、パック内の次のパケットヘッダの位置が計算上算出できる。算出した位置にパディングのデータ(000001BEh)が書かれている場合は、このパックの中にはパケットヘッダは存在しないため、パック内の処理は終了する。それ以外の場合は、上記パケットヘッダのタイムスタンプ処理を行ない、次のパケットヘッダ処理に進む。
【0080】
(4) 副映像パック
図18は、副映像パックのパケットヘッダの構成を示している。副映像パックに対する処理は、上記(2)のオーディオパックの処理と同一である。
【0081】
(5) ナビゲーションパック
図19は、RDIパックのパケットヘッダの構成を示している。RDIパックから変更されたナビゲーションパックについては、上記パックヘッダのSCR変換のみを行なう。
【0082】
上記VOBU内の全てのパックに対しタイムスタンプ変換処理が終了した時点で、MPU部100は、次のVOBUに対して同様の処理を行ない、VOB内の全てのVOBUに対して、処理を継続しVOBのタイムスタンプ変換を完了させる。
【0083】
なお、この発明は上記した実施の形態に限定されるものではなく、この外その要旨を逸脱しない範囲で種々変形して実施することができる。
【0084】
【発明の効果】
以上詳述したようにこの発明によれば、RTRフォーマットのデータストリームを、DVDビデオフォーマットのデータストリームに容易に変換して記録することを可能として、DVDビデオプレーヤでも再生することができるようにした極めて良好なフォーマット変換装置及びフォーマット変換方法を提供することができる。
【図面の簡単な説明】
【図1】この発明の実施の形態を示すもので、記録再生装置を説明するために示すブロック構成図。
【図2】同実施の形態における光ディスクに記録された情報のディレクトリ構造を説明するために示す図。
【図3】同実施の形態におけるパック内に設けられたパックヘッダの詳細な構造を説明するために示す図。
【図4】同実施の形態におけるナビゲーションパックの詳細な構造を説明するために示す図。
【図5】同実施の形態におけるVOBU内の先頭のビデオパックの詳細な構造を説明するために示す図。
【図6】同実施の形態におけるVOBU内の先頭以外のビデオパックの詳細な構造を説明するために示す図。
【図7】同実施の形態におけるオーディオパック(リニアPCM)の詳細な構造を説明するために示す図。
【図8】同実施の形態におけるオーディオパック(ドルビーAC3)の詳細な構造を説明するために示す図。
【図9】同実施の形態におけるオーディオパック(MPEGオーディオ)の詳細な構造を説明するために示す図。
【図10】同実施の形態におけるオーディオパック(他のMPEGオーディオ)の詳細な構造を説明するために示す図。
【図11】同実施の形態における副映像パックの詳細な構造を説明するために示す図。
【図12】同実施の形態におけるRDIパックの詳細な構造を説明するために示す図。
【図13】同実施の形態におけるフォーマット変換動作を説明するために示すフローチャート。
【図14】同実施の形態におけるビデオパックのパケットヘッダの詳細な構造を説明するために示す図。
【図15】同実施の形態におけるオーディオパック(リニアPCM)のパケットヘッダの詳細な構造を説明するために示す図。
【図16】同実施の形態におけるオーディオパック(ドルビーAC3)のパケットヘッダの詳細な構造を説明するために示す図。
【図17】同実施の形態におけるオーディオパック(MPEGオーディオ)のパケットヘッダの詳細な構造を説明するために示す図。
【図18】同実施の形態における副映像パックのパケットヘッダの詳細な構造を説明するために示す図。
【図19】同実施の形態におけるRDIパックのパケットヘッダの詳細な構造を説明するために示す図。
【符号の説明】
10…光ディスク、
11…記録媒体、
100…MPU部、
200…エンコード部、
300…デコード部、
400…STC部、
600…データ処理部、
700…ドライブ部、
800…タイムスタンプ変換部。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a format conversion apparatus and a format conversion method for converting a data stream of an RTR (Real Time Recording) format into a data format of a DVD (Digital Versatile Disk) video format and recording the data stream on a recording medium.
[0002]
[Prior art]
As is well known, a data stream recorded on a writable optical disk in a recording system based on the current RTR format is recorded on a DVD video format recorded on an optical disk writable in the MPEG (Moving Picture Image Coding Experts Group) 2 system. Is not necessarily compatible with the data stream.
[0003]
In particular, when a data stream recorded in the RTR format is converted into a DVD video format and recorded on a recording medium, only the management information is created for the DVD video format and only the data stream is copied. The video format may not be met.
[0004]
For this reason, at present, an optical disc on which a data stream is recorded in the RTR format by a DVD recording / playback apparatus for only RTR format recording is played back on a DVD video player dedicated to playback of the data stream in the DVD video format. The problem of not being able to do so has arisen.
[0005]
[Problems to be solved by the invention]
Therefore, the present invention has been made in consideration of the above circumstances, and it is possible to easily convert an RTR format data stream into a DVD video format data stream for recording on a DVD video player. An object of the present invention is to provide a very good format conversion apparatus and format conversion method that can be used.
[0006]
[Means for Solving the Problems]
  The format conversion device according to the present invention provides:RTR format data streamDIt is intended for conversion to a VD video format data format. AndFor an RTR format data stream, PCI packet information and DSI packet information generated based on the information of the RDI pack and the management information of the RDI pack existing in the first pack of the first video object unit of the video object Rewriting means for rewriting the data, and setting means for setting the SCR value described in the pack header of the RDI pack existing in the first pack of the first video object unit of the video object constituting the data stream of the RTR format as an offset value For the RTR format data stream, the SCR value is read from the pack header of the pack constituting the video object unit of the video object, and set by the setting means from the read SCR value. The first control means for notifying the MPU unit that controls the format conversion process when the read SCR value is smaller than the offset value, by subtracting the offset value and writing back to the read SCR position; For a data stream in RTR format, PTS_DTS_ in the packet header of the pack constituting the video object unit of the video object flag Is subtracted from the offset value set by the setting means from the PTS data or DTS data indicated by, and written back to the position of the PTS data or DTS data. flag The second control means for notifying the MPU unit that controls the format conversion process when the PTS data or the DTS data indicated by is smaller than the offset valueAre provided.
[0007]
  The format conversion method according to the present invention is as follows:RTR format data streamDThe present invention is directed to a method of converting to a VD video format data format. AndFor an RTR format data stream, PCI packet information and DSI packet information generated based on the information of the RDI pack and the management information of the RDI pack existing in the first pack of the first video object unit of the video object A rewriting step of rewriting to the RTR format data stream, and a setting step of setting the SCR value described in the pack header of the RDI pack existing in the first pack of the first video object unit of the video object constituting the data stream of the RTR format as an offset value For an RTR format data stream, the SCR value is read from the pack header of the pack constituting the video object unit of the video object, and set in the setting step from the read SCR value. A first control step of notifying the MPU unit that controls the format conversion processing when the read SCR value is smaller than the offset value, by subtracting the offset value and writing back to the read SCR position; For a data stream in RTR format, PTS_DTS_ in the packet header of the pack constituting the video object unit of the video object flag Is subtracted from the offset value set in the setting step from the PTS data or DTS data indicated by, and is written back to the position of the PTS data or DTS data. flag The second control step of notifying the MPU unit that controls the format conversion process when the PTS data or the DTS data indicated by is smaller than the offset valueAre provided.
[0008]
  According to the above configuration and method,RThe TR format data stream can be easily converted into a DVD video format data stream and recorded, and can be reproduced by a DVD video player.
[0009]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. First, a file system corresponding to RTR-DVD will be briefly described. Here, at least the first unit capable of continuous processing of AV (Audio Video) data is defined so that continuous playback is possible even when a defect or jump occurs during real-time recording. Contiguous Data Area).
[0010]
The CDA is physically a unit that is logically contiguous over the CDA, although a defect area and other data are recognized in the middle of the CDA on the optical disk. The limitation on the CDA block is that the CDA length is logically a fixed length, and the length is a positive multiple of an error correction code (ECC) block.
[0011]
In RTR-DVD, recording / playback processing using this CDA is defined. Further, GOP (Group Of Picture) can be considered as a minimum unit for enabling random access of MPEG video data. In the RTR-DVD, this GOP is closed, and each GOP can be processed independently.
[0012]
In DVD-video, data is stored in a normal file format. Further, the title corresponds to, for example, one movie, and a plurality of titles are recorded on one optical disk. A collection of the titles is called a title set, and the title set is composed of a plurality of files.
[0013]
FIG. 1 shows an overall block configuration of a recording / reproducing apparatus described in this embodiment, and FIG. 2 shows a directory structure of an optical disc on which information is recorded by this recording / reproducing apparatus.
[0014]
In FIG. 2, a “real-time recording movie video (VR_MOVIE.VRO)” file provided as one moving image data file on one optical disk and a VR_AUDIO.VD file provided as a still image after-recording audio data file. There is a VRO file and a “real-time recording still picture video (VR_STILL.VRO)” file provided as a still image data file, and a management information file (video manager VMG file) for managing this video data file. “VR_MANGR.IFO” is provided.
[0015]
In the entire DVD, there is a directory for each standard. The DVD-video has a video title set (VIDEO_TS), the DVD-audio has an audio title set (AUDIO_TS), and the recording / playback DVD has a real-time recording video (DVD_RTAV). Each recording data exists in this directory.
[0016]
In DVD-video, a file called a video manager (hereinafter referred to as VMG) exists as information for managing this optical disk in one optical disk.
[0017]
Further, the video title set (hereinafter referred to as VTS) includes a video title set information (hereinafter referred to as VTSI) file which is information for managing the video title set, a video file composed of video data, VTSI backup files are included.
[0018]
Further, in the recording / playback standard (hereinafter referred to as RTR standard), a VMG is configured by combining video manager information (hereinafter referred to as VMGI), which is information for managing the video manager, and the VTSI. Manage data files.
[0019]
The video files are managed in a hierarchical structure, and one video object set (VOBS) is composed of a plurality of VOBs. In the RTR standard, one VOB is composed of one cell, and DVD video In the standard, one VOB is composed of a plurality of cells, and in both standards, one VOB is composed of a plurality of video object units (hereinafter referred to as VOBU).
[0020]
A VOBU is composed of a pack composed of a plurality of various types of data. One pack is composed of one or more packets and a pack header, and each video data and audio data is recorded in this packet.
[0021]
In the DVD video standard, the time stamp SCR (System Clock Reference) of the pack arranged at the head of this VOB must be set to “0”. This is not the case in the RTR standard.
[0022]
In the case of still image data, 1 picture = 1 VOBU = 1 VOB is managed, and the video data pack (V pack) column is followed by the sub-picture pack (SP pack) column and the audio pack (A pack) column. However, in the case of still image data, SP data and audio data are optional and may be absent. Here, a pack is a minimum unit for performing data transfer processing.
[0023]
Further, the minimum unit for logical processing is a cell unit, and logical processing is performed in this unit. The order in which data is reproduced is defined by PGC (Program Chain). A plurality of PGs (Programs) are registered in this PGC, and cells are registered in this PG.
[0024]
The program chain information (PGCI) actually records the structure of the PGC. The reproduction process is performed according to this PGCI, and the PGCI is created at the time of recording or editing.
[0025]
In the RTR standard, a special PGC for reproduction in the recording order is referred to as an original PGC, and information on the original PGC is recorded in an original program chain information (ORG_PGCI) file.
[0026]
Next, packs constituting the VOBU will be described. As packs common to the DVD video standard and the RTR standard, there are a video pack (V_PCK), an audio pack (A_PCK), and a sub-picture pack (SP_PCK). In addition, in the DVD video standard, a navigation pack (NV_PCK) and an RTR standard are included. There is an RDI (Real Time Data Information) pack (RDI_PCK).
[0027]
The type of pack can be determined by the stream_id and sub_stream_id recorded in each packet header. The pack structure is composed of a pack header and one or more packets. The pack length is 2048 bytes, and is recorded in one logical block. Each pack has a pack header, and its configuration is as shown in FIG. As shown in FIG. 3, SCR information is recorded in the pack header.
[0028]
As shown in FIG. 4, the navigation pack (NV_PCK) includes a pack header, a system header, a PCI packet (PCI_PKT), and a DSI packet (DSI_PKT). This navigation pack (NV_PCK) must be arranged as the first pack of VOBU.
[0029]
As shown in FIGS. 5 and 6, the video pack (V_PCK) includes a pack header and a video packet (V_PKT). When the video pack (V_PCK) is the first pack in the VOBU, as shown in FIG. 5, a system header is added after the pack header, and other video packs (V_PCK) are shown in FIG. It is configured.
[0030]
The audio pack (A_PCK) is composed of a pack header and an audio packet (A_PKT), as shown in FIGS. 7, 8, 9 and 10A, 10B. The audio pack (A_PCK) has a different data structure in the pack depending on the type of sound, but PTS (Presentation Time Stamp) is described in each packet header.
[0031]
As shown in FIG. 11, the sub-picture pack (SP_PCK) includes a pack header and a sub-picture packet (SP_PKT). PTS is described in the sub-picture packet (SP_PKT).
[0032]
As shown in FIG. 12, the RDI pack (RDI_PCK) includes a pack header and an RDI packet (RDI_PKT).
[0033]
Next, returning to FIG. 1, the configuration of the recording / reproducing apparatus will be described. As shown in FIG. 1, a main microprocessor (hereinafter referred to as MPU) unit 100 controls the entire block and is connected to each unit.
[0034]
First, the display unit 120 and the key input unit 130 are connected to the MPU unit 100. The key input unit 130 can give operation inputs such as playback, stop, and recording of the recording / playback apparatus.
[0035]
A TV (Television) tuner unit 201 and an A / V (Audio / Video) input unit 202 are connected to the encoding unit 200. The encoding unit 200 includes an A / D (Analogue / Digital) conversion unit 211 to which output signals from the TV tuner unit 201 and the A / V input unit 202 are supplied. Here, the analog-digital converted video signal is supplied to the video encoding unit 212, and the audio signal is supplied to the audio encoding unit 213.
[0036]
In addition, text broadcast, subtitle broadcast, and the like from the TV tuner unit 201 are supplied to the sub-picture (SP) encoding unit 214. The SP encoder 214 may be given a signal from an external terminal (not shown).
[0037]
Furthermore, the encoding unit 200 is also provided with a CC (Closed Caption) conversion unit 217. In the CC conversion unit 217, closed caption data superimposed on the vertical blanking period of the video signal guided from the TV tuner unit 201 is extracted.
[0038]
When the closed caption data is recorded, the data is processed in the video encoding unit 212 so as to be inserted into the user area of the GOP. The data inserted into the user area is the DVD standard line 21 data.
[0039]
The digital video signal is compressed by the MPEG method, and the audio digital signal is compressed by the AC3 method or the audio compression by the MPEG method. The audio digital signal may be recorded in a linear PCM (Pulse Code Modulation) format without compression.
[0040]
The outputs of the video encoding unit 212, the audio encoding unit 213, and the SP encoding unit 214 are input to the formatter unit 215 and formatted into the predetermined format described above. Each data is arranged to be a 2048 byte packet. In formatting, the buffer memory unit 216 is used for temporarily storing data.
[0041]
At this time, for example, 1 VOBU is set for each GOP of the MPEG video, and the segmentation information at this time is stored in the buffer memory unit 216, and when the segmentation information is accumulated to some extent, it is transferred to the MPU unit 100. The MPU unit 100 creates time map information (TMAP) based on the information (sent when a GOP head interrupt occurs).
[0042]
Here, as the segmentation information, for example, the size of the VOBU, the playback time from the beginning to the end of the VOBU, the end address of the I picture from the beginning of the VOBU, or a plurality of these are included.
[0043]
Alternatively, the formatter unit 215 may create time map information directly based on the segmentation information and pass it to the MPU unit 100 in the form of TMAP. The data formatted by the formatter unit 215 is input to the data processing unit (D-PRO unit) 600.
[0044]
The data processing unit 600 forms an ECC block for every 16 packs of each encoded data pack sequence, attaches error correction data, and records the data on the optical disc 10 or the recording medium 11 by the drive unit 700. The MPU unit 100 instructs which recording medium to record data on.
[0045]
Here, when the drive unit 700 is in a busy state because of seeking or track jumping, the data is supplied to the temporary storage unit 750 and waits until the drive unit 700 is ready. .
[0046]
In the recording / playback DVD, one video file for moving images and one video file for still images are stored on one disc.
[0047]
The decoding unit 300 includes a separation unit 311 to which a signal from the data processing unit 600 is guided. In the separation unit 311, each data is separated for each type. The video data pack is guided to the video decoding unit 312, the sub-picture data pack is guided to the SP decoding unit 313, and the audio data pack is guided to the audio decoding unit 314.
[0048]
The video data and sub-picture data decoded by the video decoding unit 312 and the SP decoding unit 313 are guided to the video processing unit (V-PRO unit) 315, and are combined and output.
[0049]
The audio data decoded by the audio decoding unit 314 is output via the interface 317 when transmitted in a digital state. Further, when converted into an analog signal, the signal is input to the D / A converter 316 and output, and supplied to, for example, a speaker (not shown).
[0050]
The data output from the video processing unit 315 is input to the video mixing unit 500, and is supplied to the D / A conversion unit 502 and the interface 503 via the data. Data output via the interface 503 is transmitted to, for example, a transmission line (IEEE1394 standard). The analog signal is supplied to a display (not shown).
[0051]
The MPU unit 100 controls each part of the entire recording / reproducing apparatus, and is connected to each block. The system time counter (STC) unit 400 creates time stamp data that serves as a reference for recording and reproduction in the data recording mode and the data reproduction mode.
[0052]
In addition, when the data recorded on the recording medium 11 is converted into a format on the optical disk 10 and recorded, the MPU unit 100 performs setting for conversion on the time stamp conversion unit 800.
[0053]
The data stream is recorded on the optical disc 10 by directly connecting the drive unit 700 and the time stamp conversion unit 800 by switching the switch unit 801. The same applies when the reading source and the recording destination are reversed, and the same applies to writing on the same medium.
[0054]
Normally, when recording data input from the A / V input unit 202 and encoded by the encoding unit 200, there is no need to pass through the time stamp conversion unit 800, so the data is transferred from the data processing unit 600 to the drive unit 700. The switch unit 801 is controlled to supply directly.
[0055]
Further, when the MPU unit 100 wants to refer to the data stream, it is also possible to store the data in the temporary storage unit 750, perform the data processing, and then record the data stream via the time stamp conversion unit 800.
[0056]
In FIG. 1, the time stamp conversion unit 800 is shown as a separate block from the MPU unit 100. However, when the time stamp conversion function described later is realized as software, the time stamp conversion function is included in the MPU unit 100. It can also be realized by storing the data in the main memory unit 101, converting the time stamp, and then recording the data on a recording medium.
[0057]
Next, as described above, a stream recorded in a certain format (assumed to be recorded in the RTR format in this embodiment) is converted into another recording format (DVD video format) and recorded. An example of the operation will be described with reference to the flowchart shown in FIG.
[0058]
In this embodiment, the recording / reproducing apparatus is equipped with a hard disk and a DVD disk drive as recording media, and recorded on the HDD (Hard Disk Drive) in the RTR format, but on the DVD disk in the DVD video format. The conversion and recording will be described as an example, but conversion from a DVD drive to an HDD is also possible, and even when the recording / reproducing apparatus has only one type of recording medium, recording in a different format within the same recording medium It is also possible to reserve and record the area.
[0059]
Further, if the recording medium is an overwritable recording medium and the data to be written can be saved in a storage medium such as a memory provided in the recording / reproducing apparatus, format conversion between the same media is possible.
[0060]
From the data in the HDD recorded in the RTR format, a title to be converted to the DVD video format is selected to be recorded on the DVD disc, and the VOB included in the title is transferred. Of the data recorded in the RTR format, a plurality of VOBs may be subject to transfer, and a part of one VOB may be subject to transfer. In either case, processing is performed in units of VOBs recorded in the RTR format. When a plurality of VOBs are to be transferred, processing in units of VOB is repeated for the number of VOBs.
[0061]
The MPU unit 100 designates a VOB to be transferred, and saves the head VOBU of the target VOB from the hard disk to the temporary storage unit 750. The MPU unit 100 rewrites the RDI pack existing in the top pack of the top VOBU from the RDI pack information and management information to the PCI packet information and the DSI packet information to generate a navigation pack. The RDI pack saved in the temporary storage unit 750 is overwritten. Thereby, the RDI pack in the RTR format is rewritten to the navigation pack in the DVD video format.
[0062]
The MPU unit 100 starts to transfer the VOBU data saved in the temporary storage unit 750 to the DVD disk when the generation of the navigation pack is completed. In the DVD video format, the MPU unit 100 starts to transfer the SCR of the first pack of each VOB. The value must be “0”.
[0063]
In order to comply with this standard, from the saved data, the value of the SCR described in the pack header shown in FIG. 3 of the RDI pack that is the first pack in the first VOBU of each VOB recorded in the RTR format. The MPU unit 100 sets the SCR value as an offset value for time stamp conversion in the time stamp conversion unit 800.
[0064]
After the setting of the offset value is completed, the VOBU stream saved in the temporary storage unit 750 is sent to the time stamp conversion unit 800. Next, the subsequent VOBU is saved in the temporary storage unit 750, and the RDI pack is rewritten to the navigation pack as described above.
[0065]
Except for the VOBU at the head of the VOB, the time stamp conversion unit 800 does not set the offset value. By repeating the above processing up to the final VOBU of the VOB, the transfer of the VOB is completed, and stream data that meets the DVD video standard can be generated.
[0066]
The management information of the DVD video format for the transferred data stream is created by the MPU unit 100 based on the management information of the RTR format existing in the hard disk, and recorded on the DVD disk with an appropriate file system. Also, writing to the DVD disk is performed.
[0067]
The time stamp conversion unit 800 determines the pack type from the stream_id and sub_stream_id described in each type of packet header, and converts the time stamp information by each pack. The conversion method is described below for each type of pack.
[0068]
(1) Video pack
FIG. 14 shows the structure of the packet header of the video pack. When stream_id = 111100000b, it is determined as a video pack, and it is determined whether it is the first video pack of VOBU.
[0069]
The first video pack in the VOBU has a system header written in the pack. For this reason, in the first video pack and other video packs, the positions in the pack where the packet header is described are shifted by the size of the system header.
[0070]
The time stamp conversion unit 800 reads the SCR value from the pack header shown in FIG. 3, subtracts the offset value (TM_OFFSET) set by the MPU unit 100 from the read SCR value, and reads it with the same format. Write back to the SCR position.
[0071]
If the read SCR value is smaller than the TM_OFFSET value, data that violates the standard is created by performing time stamp conversion, and this is notified to the MPU unit 100.
[0072]
Next, PTS_DTS_flag in the packet header is read. When this value is 00b, PTS and DTS do not exist in this packet header. In this case, PES_extension_flag in the packet header is read. If this value is 0, there is no problem because it matches the contents of the PTS_DTS_flag. However, if a value other than 0 is described, there is a possibility that PTS and DTS information exists. Notify When PTS_DTS_flag is 00b, the processing of this packet is finished, and the processing is shifted to the next packet.
[0073]
When PTS_DTS_flag is 10b, only PTS data is recorded in this packet header. The time stamp conversion unit 800 reads this PTS data, compares it with the TM_OFFSET value, and if the PTS data is equal to or greater than the TM_OFFSET value, subtracts the TM_OFFSET value from the PTS data, matches the format, and places it at the position of the read PTS. Write back the subtracted value. If the PTS data is smaller than the TM_OFFSET value, the MPU unit 100 is notified accordingly.
[0074]
When PTS_DTS_flag is 11b, PTS and DTS data are recorded in this packet header. The time stamp conversion unit 800 reads this PTS and DTS data, compares it with the TM_OFFSET value, and if the PTS and DTS data are equal to or greater than the TM_OFFSET value, subtracts the TM_OFFSET value from the PTS and DTS data, respectively, The subtracted value is written back to the read PTS and DTS positions. If the PTS or DTS data is smaller than the TM_OFFSET value, the MPU unit 100 is notified accordingly.
[0075]
(2) Audio pack (other than MPEG audio Format2)
FIG. 15 shows the structure of the packet header of the linear PCM audio pack. FIG. 16 shows the structure of the packet header of the Dolby AC3 audio pack. FIG. 17 shows the structure of the packet header of the MPEG audio pack.
[0076]
The processing for the audio pack is the same as the processing for the video pack. However, in the case of the audio pack, since there is no DTS data, the processing when the PTS_DTS_flag of the video pack processing is 11b does not occur.
[0077]
(3) Audio pack (MPEG audio Format2)
Unlike other audio packs, an audio pack recorded in MPEG audio Format 2 has a plurality of packet headers in one pack. The pack header process is the same as the video pack process, and the packet header process is the same as the audio pack.
[0078]
Here, the processing end determination in the packet is different, so this processing will be described. Based on stream_id and sub_stream_id, it is determined that the audio pack is recorded in MPEG audio Format 2, and after performing a time stamp change process for the pack header and the first packet header, PES_packet_length in the packet header is read.
[0079]
This data describes the packet length, and the position of the next packet header in the pack can be calculated based on the value of PES_header_data_length. If padding data (000001BEh) is written at the calculated position, the packet header does not exist in this pack, and the processing in the pack ends. In other cases, the time stamp process of the packet header is performed, and the process proceeds to the next packet header process.
[0080]
(4) Sub-picture pack
FIG. 18 shows the structure of the packet header of the sub-picture pack. The processing for the sub-picture pack is the same as the processing for the audio pack (2).
[0081]
(5) Navigation pack
FIG. 19 shows the structure of the packet header of the RDI pack. For the navigation pack changed from the RDI pack, only the SCR conversion of the pack header is performed.
[0082]
When the time stamp conversion process is completed for all packs in the VOBU, the MPU unit 100 performs the same process for the next VOBU and continues the process for all VOBUs in the VOB. VOB time stamp conversion is completed.
[0083]
The present invention is not limited to the above-described embodiment, and can be variously modified and implemented without departing from the scope of the invention.
[0084]
【The invention's effect】
As described above in detail, according to the present invention, an RTR format data stream can be easily converted into a DVD video format data stream for recording on a DVD video player. A very good format conversion apparatus and format conversion method can be provided.
[Brief description of the drawings]
FIG. 1 is a block diagram illustrating a recording / reproducing apparatus according to an embodiment of the present invention.
FIG. 2 is a view for explaining a directory structure of information recorded on the optical disc in the embodiment;
FIG. 3 is a view for explaining a detailed structure of a pack header provided in the pack according to the embodiment;
FIG. 4 is a view for explaining a detailed structure of a navigation pack according to the embodiment.
FIG. 5 is a view for explaining the detailed structure of the top video pack in the VOBU in the embodiment;
FIG. 6 is a view for explaining a detailed structure of a video pack other than the head in the VOBU in the same embodiment;
FIG. 7 is a view for explaining the detailed structure of the audio pack (linear PCM) in the embodiment;
FIG. 8 is a view for explaining a detailed structure of an audio pack (Dolby AC3) in the embodiment;
FIG. 9 is a view for explaining a detailed structure of an audio pack (MPEG audio) in the embodiment;
FIG. 10 is a view for explaining a detailed structure of an audio pack (another MPEG audio) in the embodiment;
FIG. 11 is a view for explaining a detailed structure of a sub-picture pack in the embodiment.
FIG. 12 is a view for explaining the detailed structure of the RDI pack in the embodiment;
FIG. 13 is a flowchart shown for explaining the format conversion operation in the embodiment;
FIG. 14 is a view for explaining the detailed structure of the packet header of the video pack in the embodiment;
FIG. 15 is a view for explaining the detailed structure of the packet header of the audio pack (linear PCM) in the embodiment;
FIG. 16 is a view for explaining the detailed structure of the packet header of the audio pack (Dolby AC3) in the embodiment;
FIG. 17 is a view for explaining the detailed structure of the packet header of the audio pack (MPEG audio) in the embodiment;
FIG. 18 is a view for explaining the detailed structure of the packet header of the sub-picture pack in the embodiment.
FIG. 19 is a view for explaining the detailed structure of the packet header of the RDI pack in the embodiment;
[Explanation of symbols]
10 ... Optical disc,
11 ... Recording medium,
100 ... MPU section,
200 ... encoding part,
300 ... decoding unit,
400 ... STC section,
600: Data processing unit,
700 ... drive section,
800: Time stamp conversion unit.

Claims (6)

TRフォーマットのデータストリームをDVDビデオフォーマットのデータ形式に変換するフォーマット変換装置において、
前記RTRフォーマットのデータストリームに対して、そのビデオオブジェクトの先頭ビデオオブジェクトユニットの先頭パックに存在するRDIパックを、当該RDIパックの情報とその管理情報とに基づいて生成されたPCIパケット情報及びDSIパケット情報に書き替える書き替え手段と、
前記RTRフォーマットのデータストリームを構成するビデオオブジェクトの先頭ビデオオブジェクトユニットの先頭パックに存在するRDIパックのパックヘッダに記述されたSCRの値をオフセット値として設定する設定手段と、
前記RTRフォーマットのデータストリームに対して、そのビデオオブジェクトのビデオオブジェクトユニットを構成するパックのパックへッダからSCRの値を読み出し、その読み出したSCRの値から前記設定手段で設定されたオフセット値を減算して当該読み出したSCRの位置に書き戻すもので、読み出したSCRの値が前記オフセット値よりも小さい場合、フォーマット変換処理を制御するMPU部に通知する第1の制御手段と、
前記RTRフォーマットのデータストリームに対して、そのビデオオブジェクトのビデオオブジェクトユニットを構成するパックのパケットヘッダ内のPTS_DTS_ flag が示すPTSデータまたはDTSデータから前記設定手段で設定されたオフセット値を減算して当該PTSデータまたはDTSデータの位置に書き戻すもので、前記PTS_DTS_ flag が示すPTSデータまたはDTSデータが前記オフセット値よりも小さい場合、フォーマット変換処理を制御する前記MPU部に通知する第2の制御手段とを具備してなることを特徴とするフォーマット変換装置。
In a format conversion device for converting a data stream in RTR format into a data format in DVD video format,
For the RTR format data stream, the PCI packet information and the DSI packet generated based on the RDI pack information and the management information, the RDI pack existing in the first pack of the first video object unit of the video object. Rewriting means for rewriting information,
Setting means for setting, as an offset value, the value of the SCR described in the pack header of the RDI pack existing in the first pack of the first video object unit of the video object constituting the RTR format data stream;
For the data stream in the RTR format, the SCR value is read from the pack header of the pack constituting the video object unit of the video object, and the offset value set by the setting means is read from the read SCR value. Subtracting and writing back to the position of the read SCR, and when the read SCR value is smaller than the offset value, a first control means for notifying the MPU unit that controls the format conversion process;
For data stream of the RTR format, by subtracting the offset value set by the setting means from the PTS data or DTS data indicated PTS_DTS_ flag in the packet header of the pack constituting the video object unit of the video object corresponding but written back to the position of the PTS data or DTS data, if PTS data or DTS data the PTS_DTS_ flag indicates it is less than the offset value, and second control means for notifying the MPU unit that controls the format conversion process A format conversion apparatus comprising:
記DVDビデオフォーマットのデータ形式に変換されたデータストリーム、前記RTRフォーマットのデータストリームが記録されている記録媒体の異なる記録エリアに記録されることを特徴とする請求項1記載のフォーマット変換装置。 Before SL DVD video format converted data stream into a data format of the RTR format format conversion apparatus according to claim 1, wherein the data streams are recorded in different recording areas of a recording medium that has been recorded, characterized in Rukoto of . 記DVDビデオフォーマットのデータ形式に変換されたデータストリーム、前記RTRフォーマットのデータストリームが記録されている記録媒体とは異なる記録媒体に記録されることを特徴とする請求項1記載のフォーマット変換装置。 Before SL DVD data is converted into the data format of the video format stream, the format conversion according to claim 1, wherein Rukoto recorded on a different recording medium from the recording medium RTR format of the data stream is recorded apparatus. TRフォーマットのデータストリームをDVDビデオフォーマットのデータ形式に変換するフォーマット変換方法において、
前記RTRフォーマットのデータストリームに対して、そのビデオオブジェクトの先頭ビデオオブジェクトユニットの先頭パックに存在するRDIパックを、当該RDIパックの情報とその管理情報とに基づいて生成されたPCIパケット情報及びDSIパケット情報に書き替える書き替え工程と、
前記RTRフォーマットのデータストリームを構成するビデオオブジェクトの先頭ビデオオブジェクトユニットの先頭パックに存在するRDIパックのパックヘッダに記述されたSCRの値をオフセット値として設定する設定工程と、
前記RTRフォーマットのデータストリームに対して、そのビデオオブジェクトのビデオオブジェクトユニットを構成するパックのパックへッダからSCRの値を読み出し、その読み出したSCRの値から前記設定工程で設定されたオフセット値を減算して当該読み出したSCRの位置に書き戻すもので、読み出したSCRの値が前記オフセット値よりも小さい場合、フォーマット変換処理を制御するMPU部に通知する第1の制御工程と、
前記RTRフォーマットのデータストリームに対して、そのビデオオブジェクトのビデオオブジェクトユニットを構成するパックのパケットヘッダ内のPTS_DTS_ flag が示すPTSデータまたはDTSデータから前記設定工程で設定されたオフセット値を減算して当該PTSデータまたはDTSデータの位置に書き戻すもので、前記PTS_DTS _ flag が示すPTSデータまたはDTSデータが前記オフセット値よりも小さい場合、フォーマット変換処理を制御する前記MPU部に通知する第2の制御工程とを具備してなることを特徴とするフォーマット変換方法。
In a format conversion method for converting an RTR format data stream into a DVD video format data format,
For the RTR format data stream, the PCI packet information and the DSI packet generated based on the RDI pack information and the management information, the RDI pack existing in the first pack of the first video object unit of the video object. Rewriting process to rewrite information,
A setting step of setting, as an offset value, the SCR value described in the pack header of the RDI pack existing in the first pack of the first video object unit of the video object constituting the RTR format data stream;
For the data stream in the RTR format, the SCR value is read from the pack header of the pack constituting the video object unit of the video object, and the offset value set in the setting step is calculated from the read SCR value. Subtracting and writing back to the position of the read SCR, and when the read SCR value is smaller than the offset value, a first control step of notifying the MPU unit that controls the format conversion process;
For data stream of the RTR format, by subtracting the offset value set in the setting step from PTS data or DTS data indicated PTS_DTS_ flag in the packet header of the pack constituting the video object unit of the video object corresponding but written back to the position of the PTS data or DTS data, if PTS data or DTS data indicated by the PTS_DTS _ flag is smaller than the offset value, a second control step of notifying the MPU unit that controls the format conversion process A format conversion method comprising:
記DVDビデオフォーマットのデータ形式に変換されたデータストリーム、前記RTRフォーマットのデータストリームが記録されている記録媒体の異なる記録エリアに記録されることを特徴とする請求項記載のフォーマット変換方法。 Before SL DVD video format converted data stream into a data format of the format conversion method according to claim 4, wherein the RTR format of the data stream is characterized Rukoto recorded in different recording areas of the recording medium being recorded . 記DVDビデオフォーマットのデータ形式に変換されたデータストリーム、前記RTRフォーマットのデータストリームが記録されている記録媒体とは異なる記録媒体に記録されることを特徴とする請求項記載のフォーマット変換方法。 Before SL DVD data is converted into the data format of the video format streams, according to claim 4 format conversion, wherein Rukoto recorded on a different recording medium is a recording medium in which the RTR format of the data stream is recorded Method.
JP2001293627A 2001-09-26 2001-09-26 Format conversion apparatus and format conversion method Expired - Fee Related JP4077180B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001293627A JP4077180B2 (en) 2001-09-26 2001-09-26 Format conversion apparatus and format conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001293627A JP4077180B2 (en) 2001-09-26 2001-09-26 Format conversion apparatus and format conversion method

Publications (2)

Publication Number Publication Date
JP2003101927A JP2003101927A (en) 2003-04-04
JP4077180B2 true JP4077180B2 (en) 2008-04-16

Family

ID=19115378

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001293627A Expired - Fee Related JP4077180B2 (en) 2001-09-26 2001-09-26 Format conversion apparatus and format conversion method

Country Status (1)

Country Link
JP (1) JP4077180B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1580998A4 (en) * 2002-12-20 2010-09-15 Panasonic Corp Data stream format conversion method and recording method for the same
US7751689B2 (en) 2004-02-20 2010-07-06 Panasonic Corporation Stream converter
JP4370323B2 (en) 2004-03-29 2009-11-25 パナソニック株式会社 High speed dubbing device
KR100644623B1 (en) * 2004-08-20 2006-11-10 삼성전자주식회사 Method and apparatus for streaming
JP4302599B2 (en) 2004-09-09 2009-07-29 パナソニック株式会社 Information recording method, format changing method and information reproducing method
JP4672779B2 (en) * 2009-03-12 2011-04-20 パナソニック株式会社 Format change method and information reproduction method
JP6488221B2 (en) * 2015-03-30 2019-03-20 パナソニック インテレクチュアル プロパティ コーポレーション オブ アメリカPanasonic Intellectual Property Corporation of America Reproduction method and reproduction apparatus

Also Published As

Publication number Publication date
JP2003101927A (en) 2003-04-04

Similar Documents

Publication Publication Date Title
JP4500480B2 (en) Multimedia photo album
JP3119655B1 (en) Information recording medium, information recording device and information recording method
JP4489248B2 (en) Optical disk, apparatus and method for recording / reproducing data on / from optical disk
JP2002152657A (en) Device and method for performing video recording by automatically setting video recording rate
US7099563B1 (en) Multichannel recording device and method
JP4369604B2 (en) Optical disc recording apparatus, reproducing apparatus and recording method suitable for seamless reproduction
JP2002150683A (en) Information recorder adaptive to a plurality of recording faces and information recording method adaptive to a plurality of recording faces
JP2006147061A (en) Information storage medium, device and method for play back, and recording device
RU2267822C2 (en) Method for data positioning during recording of digital video-disk
JP2004118986A (en) Information recording device and method
US20030223140A1 (en) Recording device and recording method
JP4370323B2 (en) High speed dubbing device
JP3612274B2 (en) Recording / playback device with playlist creation guide function
JP4077180B2 (en) Format conversion apparatus and format conversion method
JP2002152658A (en) Device and method for real time recording information
JP5064628B2 (en) Deletion and undo deletion for recordable DVD editing
US20030175011A1 (en) Reproduction apparatus
JP3137624B2 (en) Information recording medium, information recording device and information recording method
JP3793145B2 (en) Video data conversion apparatus and video data conversion method
JP3607630B2 (en) Video recording / reproducing method and apparatus for a plurality of recording media
JP2003109300A (en) Method and apparatus for video recording and reproduction
JP3631454B2 (en) Video recording / reproducing method and apparatus
JP4151465B2 (en) Recording / reproducing apparatus and method
US8059938B2 (en) Picture recording apparatus
JP3540717B2 (en) Information recording / reproducing apparatus and information recording / reproducing method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041019

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070731

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070807

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071005

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20071030

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20071228

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080131

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

Free format text: PAYMENT UNTIL: 20110208

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120208

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130208

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140208

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees