JP2007087471A - Recording and reproducing apparatus - Google Patents
Recording and reproducing apparatus Download PDFInfo
- Publication number
- JP2007087471A JP2007087471A JP2005273302A JP2005273302A JP2007087471A JP 2007087471 A JP2007087471 A JP 2007087471A JP 2005273302 A JP2005273302 A JP 2005273302A JP 2005273302 A JP2005273302 A JP 2005273302A JP 2007087471 A JP2007087471 A JP 2007087471A
- Authority
- JP
- Japan
- Prior art keywords
- pointer
- data
- recording
- digital data
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Images
Abstract
Description
本発明は、デジタルビデオ又はオーディオ信号をコピーする記録再生装置に関し、特に、同時にデジタルビデオ又はオーディオ信号をリアルタイムでデコード又はエンコードする技術に関するものである。 The present invention relates to a recording / reproducing apparatus for copying a digital video or audio signal, and more particularly to a technique for simultaneously decoding or encoding a digital video or audio signal in real time.
近年、DVDプレーヤの普及により、デジタル圧縮されたビデオ及びオーディオ信号を伸張する再生装置の市場が成熟しつつある。また、DVDレコーダをはじめとした、デジタルオーディオ及びビデオを圧縮して外部記憶装置に記録する記録再生装置が普及しつつある。 In recent years, with the widespread use of DVD players, the market for playback devices that expand digitally compressed video and audio signals is maturing. In addition, recording / reproducing apparatuses such as DVD recorders that compress digital audio and video and record them on an external storage device are becoming widespread.
一方、ハードディスクやメモリーカード等の記憶装置が普及するにつれ、再生装置にコピーやエンコード機能を付与し、ディスクの情報をコピー(リッピングとも称される)することによって、ディスク入れ替えの手間を省く試みがなされている。このような記録再生装置は、特に車載オーディオで普及しつつある。 On the other hand, as storage devices such as hard disks and memory cards have become widespread, attempts have been made to save time and effort for disk replacement by adding copy and encoding functions to playback devices and copying (also called ripping) information on the disk. Has been made. Such a recording / reproducing apparatus is becoming widespread especially for in-vehicle audio.
図1は、従来の再生装置の代表的な構成を示すブロック図である。図1に示すように、フロントエンド101は、ディスク等の外部記憶装置からデータ111を読み出してストリーム112を取得するものであり、取得されたストリーム112はAVデコーダ102に入力される。
FIG. 1 is a block diagram showing a typical configuration of a conventional reproducing apparatus. As shown in FIG. 1, the
ここで、前記フロントエンド101と前記AVデコーダ102との間にはバッファ121が設けられている。前記バッファ121は、各装置間でデジタルビデオ又はオーディオデータをやり取りする場合、一般的にリアルタイム性を保持するために設けられるものである。
Here, a
具体的には、ディスク等から読み出したデータ111が不安定になり、その結果ストリーム112の供給速度が不安定になるというような、一過性の要因による不安定要因を取り除くことができるようになっている。これにより、リアルタイム性を保証でき、画像又は音声の乱れを抑制してノイズの発生を抑えることができる。
Specifically, the instability factor due to a transient factor such as the
前記AVデコーダ102は、入力されたストリーム112をビデオ又はオーディオを含むデジタル信号113にデコードするものであり、デコードされたデジタル信号113はDAコンバータ103に入力される。
The
前記DAコンバータ103は、入力されたデジタル信号113を最終出力としてのアナログ信号に変換するものであり、このアナログ信号はアナログアンプ等から画像又は音声として出力される。
The
図2は、従来の記録再生装置の代表的な構成を示すブロック図である。図2に示すように、フロントエンド201は、ディスク等の外部記憶装置205からデータ221を読み出してストリーム212を取得するものであり、取得されたストリーム212はバッファ232を介してストリーム制御プロセッサ202に出力される。
FIG. 2 is a block diagram showing a typical configuration of a conventional recording / reproducing apparatus. As shown in FIG. 2, the
前記ストリーム制御プロセッサ202は、ストリーム転送を制御するものであり、入力されたストリーム212は、データ再生を行う場合にはストリーム214としてバッファ234を介してAVデコーダ203に出力される一方、圧縮記録を行う場合にはデジタルデータ216としてバッファ236を介してAVエンコーダ204に出力される。
The
前記AVデコーダ203は、入力されたストリーム214をデジタル信号223にデコードするものであり、デコードされたデジタル信号223はDAコンバータ206に入力される。
The
前記DAコンバータ206は、入力されたデジタル信号223を最終出力としてのアナログ信号に変換するものであり、このアナログ信号はアナログアンプ等から画像又は音声として出力される。
The
前記AVエンコーダ204は、入力されたデジタルデータ216をエンコードしてストリーム215を生成するものであり、生成されたストリーム215はバッファ235を介して前記ストリーム制御プロセッサ202に入力される。
The
前記ストリーム制御プロセッサ202に入力された前記ストリーム215は、記録用データとしてのストリーム211としてバッファ231を介して前記フロントエンド201に出力される。
The
前記フロントエンド201では、入力された前記ストリーム211から前記外部記憶装置205に書き込むためのデータ222を取得し、取得されたデータ222は外部記憶装置205に出力される。
The
また、前記外部記憶装置205から読み出したデータを圧縮せずに記録する場合には、まず、外部記憶装置205のデータ221をフロントエンド201で読み出してストリーム212を取得し、取得したストリーム212を前記ストリーム制御プロセッサ202に出力する。
When recording the data read from the
そして、前記ストリーム212を受け取った前記ストリーム制御プロセッサ202は、記録用データとしてストリーム211を前記フロントエンド201に出力する。
Upon receiving the
前記フロントエンド201は、入力された前記ストリーム211から前記外部記憶装置205に書き込むためのデータ222を取得し、外部記憶装置205に出力する。
The
なお、前記バッファ231、232、233、234、235、236は、送信又は受信するストリームが一定レートを保つために設置されており、保持するデータの量がバッファサイズを超えてしまうオーバーフロー状態や、保持するデータがなくなるアンダーフロー状態にならないようにしている。
しかしながら、従来の記録再生装置のように、AVエンコーダ及びAVデコーダを合計2個以上搭載した場合には、フロントエンドプロセッサ、AVエンコーダ、AVデコーダの三者間におけるストリーム転送を制御するためのストリーム制御プロセッサが必要になり、コスト増大の要因となっていた。 However, when a total of two or more AV encoders and AV decoders are mounted as in the conventional recording / reproducing apparatus, the stream control for controlling the stream transfer between the front end processor, the AV encoder, and the AV decoder. A processor is required, which increases the cost.
さらに、ストリーム制御プロセッサには、各入出力に緩衝用のバッファが必要であり、回路規模が大きくなるという欠点があった。 Furthermore, the stream control processor has a drawback that a buffer buffer is required for each input / output, which increases the circuit scale.
本発明は、かかる点に鑑みてなされたものであり、その目的とするところは、回路規模の増大を抑えつつ、装置全体のリアルタイム性を保証することにある。 The present invention has been made in view of such a point, and an object of the present invention is to guarantee real-time performance of the entire apparatus while suppressing an increase in circuit scale.
すなわち、本発明は、 第1の外部記憶装置から読み出したデジタルデータを再生する一方、該読み出したデジタルデータを第2の外部記憶装置に書き込む記録再生装置であって、
前記第1の外部記憶装置からデジタルデータを読み出す信号読み出し部と、
前記読み出したデジタルデータを前記第2の外部記憶装置に書き込む信号保存部と、
前記読み出したデジタルデータを再生する再生部と、
前記読み出したデジタルデータを保存可能なリングバッファ構造に形成され、該データの転送先を選択的に切り替え可能な一時記憶部とを備え、
前記一時記憶部は、
前記リングバッファ上における前記デジタルデータが書き込まれるべき記録領域の先頭位置を示す記録ポインタと、既に書き込み終えたデジタルデータの終端を示す記録終端ポインタと、前記再生部に転送すべきデータの先頭位置を示す再生ポインタと、前記再生部に転送し終えたデータの終端を示す再生完了ポインタと、前記信号保存部に転送すべきデータの先頭位置を示す保存ポインタと、前記信号保存部に転送し終えたデータの終端を示す保存完了ポインタとを管理して、該再生ポインタ及び該保存ポインタが該記録ポインタを超えないように制御し、
前記保存完了ポインタが前記再生完了ポインタを超えているときにのみ、前記記録終端ポインタの値を前記再生完了ポインタと同じ値に更新するように構成されていることを特徴とするものである。
That is, the present invention is a recording / reproducing apparatus that reproduces digital data read from a first external storage device, and writes the read digital data to a second external storage device,
A signal reading unit for reading digital data from the first external storage device;
A signal storage unit for writing the read digital data to the second external storage device;
A playback unit for playing back the read digital data;
A temporary storage unit formed in a ring buffer structure capable of storing the read digital data and capable of selectively switching the transfer destination of the data;
The temporary storage unit
A recording pointer indicating the start position of the recording area in which the digital data is to be written on the ring buffer, a recording end pointer indicating the end of the already written digital data, and the start position of the data to be transferred to the reproduction unit A playback pointer indicating the end of the data transferred to the playback unit, a storage pointer indicating the start position of the data to be transferred to the signal storage unit, and the transfer to the signal storage unit Managing a save completion pointer indicating the end of data, and controlling the playback pointer and the save pointer so as not to exceed the recording pointer;
Only when the storage completion pointer exceeds the reproduction completion pointer, the value of the recording end pointer is updated to the same value as the reproduction completion pointer.
本発明によれば、第1の外部記憶装置から読み出したデジタルデータを第2の外部記憶装置にコピーするとともに、該デジタルデータを再生する場合であっても、1つのバッファのビットレート制御を行うだけで、再生のリアルタイム性を保証した上で欠損無くビデオ又はオーディオ信号をリッピングすることが可能となる。 According to the present invention, the digital data read from the first external storage device is copied to the second external storage device, and the bit rate of one buffer is controlled even when the digital data is reproduced. As a result, it is possible to rip video or audio signals without loss while guaranteeing real-time reproduction.
また、本発明は、前記第1の外部記憶装置から読み出したデジタルデータをデジタル圧縮する圧縮部をさらに備え、
前記一次記憶部は、
前記リングバッファ上における前記圧縮部に転送すべきデータの先頭位置を示す圧縮ポインタと、前記圧縮部に転送し終えたデータの終端を示す圧縮完了ポインタとをさらに管理して、該圧縮ポインタが前記記録ポインタを超えないように制御し、
前記保存完了ポインタ及び前記圧縮完了ポインタが前記再生完了ポインタを超えているときにのみ、前記記録終端ポインタの値を前記再生完了ポインタと同じ値に更新するように構成されていることを特徴とするものであってもよい。
The present invention further includes a compression unit that digitally compresses the digital data read from the first external storage device,
The primary storage unit
Further managing a compression pointer indicating the start position of the data to be transferred to the compression unit on the ring buffer and a compression completion pointer indicating the end of the data transferred to the compression unit, the compression pointer Control not to exceed the recording pointer,
Only when the storage completion pointer and the compression completion pointer exceed the reproduction completion pointer, the value of the recording end pointer is updated to the same value as the reproduction completion pointer. It may be a thing.
本発明によれば、第1の外部記憶装置から読み出したデジタルデータを第2の外部記憶装置にコピーするとともに該デジタルデータを再生し、さらに同時に前記デジタルデータをエンコードしてS/PDIFやHDMIのようなリアルタイムにストリームを伝搬する系に出力する場合であっても、1つのバッファのビットレート制御を行うだけで、再生のリアルタイム性を保証するとともに、欠損無くビデオ又はオーディオ信号をリッピングすることができ、さらにエンコードストリーム出力のリアルタイム性を保証することができる。 According to the present invention, digital data read from the first external storage device is copied to the second external storage device, the digital data is reproduced, and at the same time, the digital data is encoded to perform S / PDIF or HDMI Even in the case of outputting to a system that propagates a stream in real time, it is possible to rip video or audio signals without loss while ensuring the real-time performance of reproduction only by controlling the bit rate of one buffer. In addition, the real-time property of the encoded stream output can be guaranteed.
また、本発明は、第1の外部記憶装置から読み出したデジタルデータを再生する一方、該読み出したデジタルデータを第2の外部記憶装置に書き込む記録再生装置であって、
前記第1の外部記憶装置からデジタルデータを読み出す信号読み出し部と、
前記読み出したデジタルデータをデジタル圧縮する圧縮部と、
前記圧縮部でデジタル圧縮されたデジタルデータを前記第2の外部記憶装置に書き込む信号保存部と、
前記読み出したデジタルデータを再生する再生部と、
前記読み出したデジタルデータを保存可能なリングバッファ構造に形成され、該データの転送先を選択的に切り替え可能な一時記憶部とを備え、
前記一時記憶部は、
前記リングバッファ上における前記デジタルデータが書き込まれるべき記録領域の先頭位置を示す記録ポインタと、既に書き込み終えたデジタルデータの終端を示す記録終端ポインタと、前記再生部に転送すべきデータの先頭位置を示す再生ポインタと、前記再生部に転送し終えたデータの終端を示す再生完了ポインタと、前記圧縮部に転送すべきデータの先頭位置を示す圧縮ポインタと、前記圧縮部に転送し終えたデータの終端を表す圧縮完了ポインタとを管理して、該再生ポインタ及び該圧縮ポインタが該記録ポインタを超えないように制御し、
前記圧縮完了ポインタが前記再生完了ポインタを超えているときにのみ、前記記録終端ポインタの値を前記再生完了ポインタと同じ値に更新するように構成されていることを特徴とするものであってもよい。
The present invention also provides a recording / reproducing apparatus that reproduces the digital data read from the first external storage device and writes the read digital data to the second external storage device.
A signal reading unit for reading digital data from the first external storage device;
A compression unit for digitally compressing the read digital data;
A signal storage unit for writing the digital data digitally compressed by the compression unit into the second external storage device;
A playback unit for playing back the read digital data;
A temporary storage unit formed in a ring buffer structure capable of storing the read digital data and capable of selectively switching the transfer destination of the data;
The temporary storage unit
A recording pointer indicating the start position of the recording area in which the digital data is to be written on the ring buffer, a recording end pointer indicating the end of the already written digital data, and the start position of the data to be transferred to the reproduction unit A playback pointer indicating the end of the data that has been transferred to the playback unit, a compression pointer that indicates the start position of the data to be transferred to the compression unit, and the data that has been transferred to the compression unit Managing a compression completion pointer representing the end, and controlling the playback pointer and the compression pointer so as not to exceed the recording pointer;
Only when the compression completion pointer exceeds the reproduction completion pointer, the value of the recording end pointer is updated to the same value as the reproduction completion pointer. Good.
本発明によれば、第1の外部記憶装置から読み出したデジタルデータを再生するとともに該デジタルデータをエンコードして第2の外部記憶装置に保存する場合であっても、1つのバッファのビットレート制御を行うだけで、再生のリアルタイム性を保証するとともに、エンコードストリームを欠損無く保存することができる。 According to the present invention, even when digital data read from the first external storage device is reproduced and the digital data is encoded and stored in the second external storage device, the bit rate control of one buffer is performed. By simply performing the process, it is possible to guarantee the real-time reproduction and to save the encoded stream without any loss.
また、本発明は、第1の外部記憶装置から読み出したデジタルデータに隠蔽された情報を解析する一方、該読み出したデジタルデータを第2の外部記憶装置に書き込む記録再生装置であって、
前記第1の外部記憶装置からデジタルデータを読み出す信号読み出し部と、
前記読み出したデジタルデータを前記第2の外部記憶装置に書き込む信号保存部と、
前記読み出したデジタルデータに隠蔽された情報を取得する解析部と、
前記読み出したデジタルデータを保存可能なリングバッファ構造に形成され、該データの転送先を選択的に切り替え可能な一時記憶部とを備え、
前記一時記憶部は、
前記リングバッファ上における前記デジタルデータが書き込まれるべき記録領域の先頭位置を示す記録ポインタと、既に書き込み終えたデジタルデータの終端を示す記録終端ポインタと、前記解析部に転送すべきデータの先頭位置を示す解析ポインタと、前記解析部に転送し終えたデータの終端を示す解析完了ポインタと、前記信号保存部に転送すべきデータの先頭位置を示す保存ポインタと、前記信号保存部に転送し終えたデータの終端を示す保存完了ポインタとを管理して、該解析ポインタ及び前記保存ポインタが前記記録ポインタを超えないように制御し、
前記保存完了ポインタが前記解析完了ポインタを超えているときにのみ、前記記録終端ポインタの値を前記解析完了ポインタと同じ値に更新するように構成されていることを特徴とするものであってもよい。
Further, the present invention is a recording / reproducing apparatus that analyzes information concealed in digital data read from a first external storage device, and writes the read digital data to a second external storage device,
A signal reading unit for reading digital data from the first external storage device;
A signal storage unit for writing the read digital data to the second external storage device;
An analysis unit for acquiring information concealed in the read digital data;
A temporary storage unit formed in a ring buffer structure capable of storing the read digital data and capable of selectively switching the transfer destination of the data;
The temporary storage unit
A recording pointer indicating the start position of the recording area where the digital data is to be written on the ring buffer, a recording end pointer indicating the end of the already written digital data, and the start position of the data to be transferred to the analysis unit An analysis pointer indicating, an analysis completion pointer indicating the end of data transferred to the analysis unit, a storage pointer indicating a head position of data to be transferred to the signal storage unit, and transfer to the signal storage unit Managing a save completion pointer indicating the end of data, and controlling the analysis pointer and the save pointer so as not to exceed the recording pointer;
Even when the storage completion pointer exceeds the analysis completion pointer, the value of the recording end pointer is updated to the same value as the analysis completion pointer. Good.
本発明によれば、第1の外部記憶装置から読み出したデジタルデータに隠蔽された情報を解析生するとともに該デジタルデータを第2の外部記憶装置にコピーする場合であっても、1つのバッファのビットレート制御を行うだけで、該デジタルデータに隠蔽されている情報を正しく検出するとともに、欠損無くビデオ又はオーディオ信号をリッピングすることが可能となる。 According to the present invention, even when the information concealed in the digital data read from the first external storage device is analyzed and the digital data is copied to the second external storage device, By only performing bit rate control, it is possible to correctly detect information concealed in the digital data and to rip video or audio signals without loss.
以上のように、本発明によれば、回路規模の大幅な変更を伴わずに、再生のリアルタイム性を保証しながら、再生ストリームのコピー、エンコード、又は隠蔽情報の取得を行うことが可能となる。 As described above, according to the present invention, it is possible to perform reproduction stream copy, encoding, or acquisition of concealment information while ensuring real-time reproduction without significantly changing the circuit scale. .
以下、本発明の実施形態を図面に基づいて詳細に説明する。以下の好ましい実施形態の説明は、本質的に例示に過ぎず、本発明、その適用物或いはその用途を制限することを意図するものでは全くない。 Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. The following description of the preferred embodiments is merely exemplary in nature and is in no way intended to limit the invention, its application, or its application.
<実施形態1>
図3は、本発明の実施形態1に係る記録再生装置の構成を示すブロック図である。図3に示すように、第1のフロントエンド301(信号読み出し部)は、ディスク等の第1の外部記憶装置311からデータを読み出してデジタルデータに変換するものであり、変換されたデータはバッファ302(一次記憶部)に入力される。
<Embodiment 1>
FIG. 3 is a block diagram showing the configuration of the recording / reproducing apparatus according to Embodiment 1 of the present invention. As shown in FIG. 3, the first front end 301 (signal reading unit) reads data from a first
前記バッファ302は、リングバッファ構造をしており、入力されたデジタルデータを保持するとともにデータ転送を制御するものである。入力されたデータは、データ再生を行う場合にはAVデコーダ303に出力される一方、データ保存を行う場合には第2のフロントエンド305(信号保存部)に出力される。
The
前記AVデコーダ303(再生部)は、入力されたデータをデジタル信号にデコードするものであり、デコードされたデジタル信号はDAコンバータ304に入力される。
The AV decoder 303 (reproducing unit) decodes input data into a digital signal, and the decoded digital signal is input to the
前記DAコンバータ304は、入力されたデジタル信号を最終出力としてのアナログ信号に変換するものであり、このアナログ信号はビデオ又はオーディオとして出力される。
The
前記第2のフロントエンド305に入力されたデータは、第2の外部記憶装置312に出力されて保存される。
The data input to the second
以下、本実施形態1に係る記録再生装置におけるバッファの制御について説明する。前記第1の外部記憶装置311から読み出されたデータは、第1のフロントエンド301でデジタルデータに変換されてバッファ302に供給される。このとき、バッファ302における書き込みポインタは「記録ポインタ」として管理される。
Hereinafter, buffer control in the recording / reproducing apparatus according to the first embodiment will be described. Data read from the first
次に、前記AVデコーダ303には、バッファ302から「再生ポインタ」を先頭としたデータが供給される。AVデコーダ303においてデータの取り込みが完了すると、「再生完了ポインタ」が現在の再生ポインタと同じ値に設定される。
Next, the
また、前記第2のフロントエンド305には、バッファ302から「保存ポインタ」を先頭としたデータが供給される。第2のフロントエンド305においてデータの取り込みが完了すると、「保存完了ポインタ」が現在の保存ポインタと同じ値に設定される。
The second
ここで、データの再生ポインタ及び保存ポインタは、記録ポインタを超えることができないように制御されており、読み出されたデータが正しく再生及び保存されるようになっている。 Here, the playback pointer and the storage pointer of the data are controlled so as not to exceed the recording pointer, so that the read data is correctly played back and stored.
また、記録完了ポインタの更新は、保存ポインタではなく再生完了ポインタまで進めて行うように制御されており、再生のリアルタイム性を保証することができるようになっている。 Further, the recording completion pointer is updated so as to advance to the reproduction completion pointer instead of the save pointer, so that real-time reproduction can be ensured.
以上のように、本実施形態1に係る記録再生装置によれば、第1の外部記憶装置から読み出したデジタルデータを第2の外部記憶装置にコピーするとともに、該デジタルデータを再生する場合であっても、1つのバッファのビットレート制御を行うだけで、再生のリアルタイム性を保証した上で欠損無くビデオ又はオーディオ信号をリッピングすることが可能となる。 As described above, according to the recording / reproducing apparatus of the first embodiment, the digital data read from the first external storage device is copied to the second external storage device and the digital data is reproduced. Even if only the bit rate control of one buffer is performed, it is possible to rip video or audio signals without loss while guaranteeing real-time reproduction.
<実施形態2>
図4は、本発明の実施形態2に係る記録再生装置の構成を示すブロック図である。図4に示すように、第1のフロントエンド401は、ディスク等の第1の外部記憶装置411からデータを読み出してデジタルデータに変換するものであり、変換されたデータはバッファ402に入力される。
<Embodiment 2>
FIG. 4 is a block diagram showing a configuration of a recording / reproducing apparatus according to Embodiment 2 of the present invention. As shown in FIG. 4, the first
前記バッファ402は、リングバッファ構造をしており、入力されたデジタルデータを保持するとともにデータ転送を制御するものである。入力されたデータは、データ再生を行う場合にはAVデコーダ403に出力され、データを圧縮する場合にはAVエンコーダ404(圧縮部)に出力され、データ保存を行う場合には第2のフロントエンド407に出力される。
The
前記AVデコーダ403は、入力されたデータをデジタル信号にデコードするものであり、デコードされたデジタル信号はDAコンバータ405に入力される。
The
前記DAコンバータ405は、入力されたデジタル信号を最終出力としてのアナログ信号に変換するものであり、このアナログ信号はビデオ又はオーディオとして出力される。
The
前記AVエンコーダ404は、入力されたデジタルデータをエンコードしてストリームを生成するものであり、生成されたストリームはS/PDIF(Sony/Philips Digital Interface)トランスミッタ406を介して出力端から出力される。
The
なお、本実施形態2では、前記S/PDIFトランスミッタ406を用いた場合について説明したが、この形態に限定するものではなく、例えば、HDMI(High-Definition Multimedia Interface)トランスミッタであっても構わない。
In the second embodiment, the case where the S /
前記第2のフロントエンド407に入力されたデータは、第2の外部記憶装置412に出力されて保存される。
The data input to the second
以下、本実施形態2に係る記録再生装置におけるバッファの制御について説明する。前記第1の外部記憶装置411から読み出されたデータは、第1のフロントエンド401でデジタルデータに変換されてバッファ402に供給される。このとき、バッファ402における書き込みポインタは「記録ポインタ」として管理される。
Hereinafter, buffer control in the recording / reproducing apparatus according to the second embodiment will be described. Data read from the first
次に、前記AVデコーダ403には、バッファ402から「再生ポインタ」を先頭としたデータが供給される。AVデコーダ403においてデータの取り込みが完了すると、「再生完了ポインタ」が現在の再生ポインタと同じ値に設定される。
Next, the
また、前記AVエンコーダ404には、バッファ402から「圧縮ポインタ」を先頭としたデータが供給される。AVエンコーダ404においてデータの取り込みが完了すると、「圧縮完了ポインタ」が現在の圧縮ポインタと同じ値に設定される。
The
また、前記第2のフロントエンド407には、バッファ402から「保存ポインタ」を先頭としたデータが供給される。第2のフロントエンド407においてデータの取り込みが完了すると、「保存完了ポインタ」が現在の保存ポインタと同じ値に設定される。
The second
ここで、データの再生ポインタ、圧縮ポインタ、及び保存ポインタは、記録ポインタを超えることができないように制御されており、読み出されたデータが正しく再生、圧縮及び保存されるようになっている。 Here, the data reproduction pointer, compression pointer, and storage pointer are controlled so as not to exceed the recording pointer, so that the read data is correctly reproduced, compressed, and stored.
また、記録完了ポインタの更新は、保存ポインタ又は圧縮ポインタではなく再生完了ポインタまで進めるように制御されており、再生や圧縮のリアルタイム性を保証することができるようになっている。 Further, the update of the recording completion pointer is controlled so as to advance to the reproduction completion pointer instead of the save pointer or the compression pointer, so that real-time performance of reproduction and compression can be guaranteed.
以上のように、本実施形態2に係る記録再生装置によれば、第1の外部記憶装置から読み出したデジタルデータを第2の外部記憶装置にコピーするとともに該デジタルデータを再生し、さらに同時に前記デジタルデータをエンコードしてS/PDIFやHDMIのようなリアルタイムにストリームを伝搬する系に出力する場合であっても、1つのバッファのビットレート制御を行うだけで、再生のリアルタイム性を保証するとともに、欠損無くビデオ又はオーディオ信号をリッピングすることができ、さらにエンコードストリーム出力のリアルタイム性を保証することができる。 As described above, according to the recording / reproducing apparatus according to the second embodiment, the digital data read from the first external storage device is copied to the second external storage device, the digital data is reproduced, and at the same time, Even when digital data is encoded and output to a system that propagates the stream in real time, such as S / PDIF or HDMI, real-time reproduction is ensured only by controlling the bit rate of one buffer. The video or audio signal can be ripped without loss, and the real time property of the encoded stream output can be guaranteed.
<実施形態3>
図5は、本発明の実施形態3に係る記録再生装置の構成を示すブロック図である。図5に示すように、第1のフロントエンド501は、ディスク等の第1の外部記憶装置511からデータを読み出してデジタルデータに変換するものであり、変換されたデータはバッファ502に入力される。
<Embodiment 3>
FIG. 5 is a block diagram showing a configuration of a recording / reproducing apparatus according to Embodiment 3 of the present invention. As shown in FIG. 5, the first
前記バッファ502は、リングバッファ構造をしており、入力されたデジタルデータを保持するとともにデータ転送を制御するものである。入力されたデータは、データ再生を行う場合にはAVデコーダ503に出力される一方、データを圧縮する場合にはAVエンコーダ504に出力される。
The
前記AVデコーダ503は、入力されたデータをデジタル信号にデコードするものであり、デコードされたデジタル信号はDAコンバータ505に入力される。
The
前記DAコンバータ505は、入力されたデジタル信号を最終出力としてのアナログ信号に変換するものであり、このアナログ信号はビデオ又はオーディオとして出力される。
The
前記AVエンコーダ504は、入力されたデジタルデータをエンコードしてストリームを生成するものであり、生成されたストリームは第2のフロントエンド506に出力される。
The
前記第2のフロントエンド506に入力されたデータは、第2の外部記憶装置512に出力されて保存される。
The data input to the second
以下、本実施形態3に係る記録再生装置におけるバッファの制御について説明する。前記第1の外部記憶装置511から読み出されたデータは、第1のフロントエンド501でデジタルデータに変換されてバッファ502に供給される。このとき、バッファ502における書き込みポインタは「記録ポインタ」として管理される。
Hereinafter, buffer control in the recording / reproducing apparatus according to the third embodiment will be described. Data read from the first
次に、前記AVデコーダ503には、バッファ502から「再生ポインタ」を先頭としたデータが供給される。AVデコーダ503においてデータの取り込みが完了すると、「再生完了ポインタ」が現在の再生ポインタと同じ値に設定される。
Next, the
また、前記AVエンコーダ504には、バッファ502から「圧縮ポインタ」を先頭としたデータが供給される。AVエンコーダ504においてデータの取り込みが完了すると、「圧縮完了ポインタ」が現在の圧縮ポインタと同じ値に設定される。
The
ここで、データの再生ポインタ及び圧縮ポインタは、記録ポインタを超えることができないように制御されており、読み出しされたデータが正しく再生及び保存されるようになっている。 Here, the data reproduction pointer and the compression pointer are controlled so as not to exceed the recording pointer, so that the read data is correctly reproduced and stored.
また、記録完了ポインタの更新は、圧縮ポインタではなく再生完了ポインタまで進めるように制御されており、再生のリアルタイム性を保証することができるようになっている。 Further, the update of the recording completion pointer is controlled so as to advance to the reproduction completion pointer instead of the compression pointer, so that real-time reproduction can be ensured.
以上のように、本実施形態3に係る記録再生装置によれば、第1の外部記憶装置から読み出したデジタルデータを再生するとともに該デジタルデータをエンコードして第2の外部記憶装置に保存する場合であっても、1つのバッファのビットレート制御を行うだけで、再生のリアルタイム性を保証するとともに、エンコードストリームを欠損無く保存することができる。 As described above, according to the recording / reproducing apparatus according to the third embodiment, the digital data read from the first external storage device is reproduced and the digital data is encoded and stored in the second external storage device. Even so, by only controlling the bit rate of one buffer, it is possible to guarantee real-time reproduction and to save the encoded stream without any loss.
<実施形態4>
図6は、本発明の実施形態4に係る記録再生装置の構成を示すブロック図である。図6に示すように、第1のフロントエンド601は、ディスク等の第1の外部記憶装置611からデータを読み出してデジタルデータに変換するものであり、変換されたデータはバッファ602に入力される。
<Embodiment 4>
FIG. 6 is a block diagram showing a configuration of a recording / reproducing apparatus according to Embodiment 4 of the present invention. As shown in FIG. 6, the first
前記バッファ602は、リングバッファ構造をしており、入力されたデジタルデータを保持するとともにデータ転送を制御するものである。入力されたデータは、データ再生を行う場合には隠蔽情報検出器603(解析部)に出力される一方、データ保存を行う場合には第2のフロントエンド605に出力される。
The
前記隠蔽情報検出器603は、映像又は音声デジタルデータを解析して隠蔽されている情報を取得するものであり、取得された隠蔽情報は外部制御IC604に出力される。
The
前記第2のフロントエンド605に入力されたデータは、第2の外部記憶装置612に出力されて保存される。
The data input to the second
以下、本実施形態4に係る記録再生装置におけるバッファの制御について説明する。前記第1の外部記憶装置611から読み出されたデータは、第1のフロントエンド601でデジタルデータに変換されてバッファ602に供給される。このとき、バッファ602における書き込みポインタは「記録ポインタ」として管理される。
Hereinafter, buffer control in the recording / reproducing apparatus according to the fourth embodiment will be described. Data read from the first
次に、前記隠蔽情報検出器603には、バッファ602から「解析ポインタ」を先頭としたデータが供給される。隠蔽情報検出器603においてデータの取り込みが完了すると、「解析完了ポインタ」が現在の解析ポインタと同じ値に設定される。
Next, the
また、前記第2のフロントエンド605には、バッファ602から「保存ポインタ」を先頭としたデータが供給される。第2のフロントエンド605においてデータの取り込みが完了すると、「保存完了ポインタ」が現在の保存ポインタと同じ値に設定される。
The second
ここで、データの解析ポインタ及び保存ポインタは、記録ポインタを超えることができないように制御されており、読み出しされたデータが正しく解析されるようになっている。 Here, the data analysis pointer and the storage pointer are controlled so as not to exceed the recording pointer, and the read data is correctly analyzed.
また、記録完了ポインタの更新は、保存ポインタではなく解析ポインタまで進めるように制御されており、解析動作を保証することができるようになっている。 The update of the recording completion pointer is controlled so as to advance to the analysis pointer instead of the save pointer, so that the analysis operation can be guaranteed.
以上のように、本実施形態4に係る記録再生装置によれば、第1の外部記憶装置から読み出したデジタルデータに隠蔽された情報を解析生するとともに該デジタルデータを第2の外部記憶装置にコピーする場合であっても、1つのバッファのビットレート制御を行うだけで、該デジタルデータに隠蔽されている情報を正しく検出するとともに、欠損無くビデオ又はオーディオ信号をリッピングすることが可能となる。 As described above, according to the recording / reproducing apparatus in the fourth embodiment, the information concealed in the digital data read from the first external storage device is analyzed and generated, and the digital data is stored in the second external storage device. Even in the case of copying, it is possible to correctly detect the information concealed in the digital data and to rip the video or audio signal without loss only by controlling the bit rate of one buffer.
以上説明したように、本発明は、再生装置にリッピング機能を追加する際に、回路規模の増大を抑えつつ装置全体のリアルタイム性を保証できるという実用性の高い効果が得られることから、きわめて有用で産業上の利用可能性は高い。 As described above, when adding a ripping function to a playback device, the present invention is extremely useful because it provides a highly practical effect of ensuring real-time performance of the entire device while suppressing an increase in circuit scale. And industrial applicability is high.
301 第1のフロントエンド
302 バッファ
303 AVデコーダ
304 DAコンバータ
305 第2のフロントエンド
311 第1の外部記憶装置
312 第2の外部記憶装置
401 第1のフロントエンド
402 バッファ
403 AVデコーダ
404 AVエンコーダ
405 DAコンバータ
406 S/PDIFトランスミッタ
407 第2のフロントエンド
411 第1の外部記憶装置
412 第2の外部記憶装置
501 第1のフロントエンド
502 バッファ
503 AVデコーダ
504 AVエンコーダ
505 DAコンバータ
506 第2のフロントエンド
511 第1の外部記憶装置
512 第2の外部記憶装置
601 第1のフロントエンド
602 バッファ
603 隠蔽情報検出器(解析部)
604 外部制御IC
605 第2のフロントエンド
611 第1の外部記憶装置
612 第2の外部記憶装置
301 first
604 External control IC
605 Second
Claims (4)
前記第1の外部記憶装置からデジタルデータを読み出す信号読み出し部と、
前記読み出したデジタルデータを前記第2の外部記憶装置に書き込む信号保存部と、
前記読み出したデジタルデータを再生する再生部と、
前記読み出したデジタルデータを保存可能なリングバッファ構造に形成され、該データの転送先を選択的に切り替え可能な一時記憶部とを備え、
前記一時記憶部は、
前記リングバッファ上における前記デジタルデータが書き込まれるべき記録領域の先頭位置を示す記録ポインタと、既に書き込み終えたデジタルデータの終端を示す記録終端ポインタと、前記再生部に転送すべきデータの先頭位置を示す再生ポインタと、前記再生部に転送し終えたデータの終端を示す再生完了ポインタと、前記信号保存部に転送すべきデータの先頭位置を示す保存ポインタと、前記信号保存部に転送し終えたデータの終端を示す保存完了ポインタとを管理して、該再生ポインタ及び該保存ポインタが該記録ポインタを超えないように制御し、
前記保存完了ポインタが前記再生完了ポインタを超えているときにのみ、前記記録終端ポインタの値を前記再生完了ポインタと同じ値に更新するように構成されていることを特徴とする記録再生装置。 A recording / reproducing apparatus that reproduces digital data read from a first external storage device, and writes the read digital data to a second external storage device,
A signal reading unit for reading digital data from the first external storage device;
A signal storage unit for writing the read digital data to the second external storage device;
A playback unit for playing back the read digital data;
A temporary storage unit formed in a ring buffer structure capable of storing the read digital data and capable of selectively switching the transfer destination of the data;
The temporary storage unit
A recording pointer indicating the start position of the recording area in which the digital data is to be written on the ring buffer, a recording end pointer indicating the end of the already written digital data, and the start position of the data to be transferred to the reproduction unit A playback pointer indicating the end of the data transferred to the playback unit, a storage pointer indicating the start position of the data to be transferred to the signal storage unit, and the transfer to the signal storage unit Managing a save completion pointer indicating the end of data, and controlling the playback pointer and the save pointer so as not to exceed the recording pointer;
A recording / reproducing apparatus configured to update the value of the recording end pointer to the same value as the reproduction completion pointer only when the storage completion pointer exceeds the reproduction completion pointer.
前記第1の外部記憶装置から読み出したデジタルデータをデジタル圧縮する圧縮部をさらに備え、
前記一次記憶部は、
前記リングバッファ上における前記圧縮部に転送すべきデータの先頭位置を示す圧縮ポインタと、前記圧縮部に転送し終えたデータの終端を示す圧縮完了ポインタとをさらに管理して、該圧縮ポインタが前記記録ポインタを超えないように制御し、
前記保存完了ポインタ及び前記圧縮完了ポインタが前記再生完了ポインタを超えているときにのみ、前記記録終端ポインタの値を前記再生完了ポインタと同じ値に更新するように構成されていることを特徴とする記録再生装置。 The recording / reproducing apparatus according to claim 1,
A compression unit that digitally compresses the digital data read from the first external storage device;
The primary storage unit
Further managing a compression pointer indicating the start position of the data to be transferred to the compression unit on the ring buffer and a compression completion pointer indicating the end of the data transferred to the compression unit, the compression pointer Control not to exceed the recording pointer,
Only when the storage completion pointer and the compression completion pointer exceed the reproduction completion pointer, the value of the recording end pointer is updated to the same value as the reproduction completion pointer. Recording / playback device.
前記第1の外部記憶装置からデジタルデータを読み出す信号読み出し部と、
前記読み出したデジタルデータをデジタル圧縮する圧縮部と、
前記圧縮部でデジタル圧縮されたデジタルデータを前記第2の外部記憶装置に書き込む信号保存部と、
前記読み出したデジタルデータを再生する再生部と、
前記読み出したデジタルデータを保存可能なリングバッファ構造に形成され、該データの転送先を選択的に切り替え可能な一時記憶部とを備え、
前記一時記憶部は、
前記リングバッファ上における前記デジタルデータが書き込まれるべき記録領域の先頭位置を示す記録ポインタと、既に書き込み終えたデジタルデータの終端を示す記録終端ポインタと、前記再生部に転送すべきデータの先頭位置を示す再生ポインタと、前記再生部に転送し終えたデータの終端を示す再生完了ポインタと、前記圧縮部に転送すべきデータの先頭位置を示す圧縮ポインタと、前記圧縮部に転送し終えたデータの終端を表す圧縮完了ポインタとを管理して、該再生ポインタ及び該圧縮ポインタが該記録ポインタを超えないように制御し、
前記圧縮完了ポインタが前記再生完了ポインタを超えているときにのみ、前記記録終端ポインタの値を前記再生完了ポインタと同じ値に更新するように構成されていることを特徴とする記録再生装置。 A recording / reproducing apparatus that reproduces digital data read from a first external storage device, and writes the read digital data to a second external storage device,
A signal reading unit for reading digital data from the first external storage device;
A compression unit for digitally compressing the read digital data;
A signal storage unit for writing the digital data digitally compressed by the compression unit into the second external storage device;
A playback unit for playing back the read digital data;
A temporary storage unit formed in a ring buffer structure capable of storing the read digital data and capable of selectively switching the transfer destination of the data;
The temporary storage unit
A recording pointer indicating the start position of the recording area in which the digital data is to be written on the ring buffer, a recording end pointer indicating the end of the already written digital data, and the start position of the data to be transferred to the reproduction unit A playback pointer indicating the end of the data that has been transferred to the playback unit, a compression pointer that indicates the start position of the data to be transferred to the compression unit, and the data that has been transferred to the compression unit Managing a compression completion pointer representing the end, and controlling the playback pointer and the compression pointer so as not to exceed the recording pointer;
A recording / reproducing apparatus configured to update the value of the recording end pointer to the same value as the reproduction completion pointer only when the compression completion pointer exceeds the reproduction completion pointer.
前記第1の外部記憶装置からデジタルデータを読み出す信号読み出し部と、
前記読み出したデジタルデータを前記第2の外部記憶装置に書き込む信号保存部と、
前記読み出したデジタルデータに隠蔽された情報を取得する解析部と、
前記読み出したデジタルデータを保存可能なリングバッファ構造に形成され、該データの転送先を選択的に切り替え可能な一時記憶部とを備え、
前記一時記憶部は、
前記リングバッファ上における前記デジタルデータが書き込まれるべき記録領域の先頭位置を示す記録ポインタと、既に書き込み終えたデジタルデータの終端を示す記録終端ポインタと、前記解析部に転送すべきデータの先頭位置を示す解析ポインタと、前記解析部に転送し終えたデータの終端を示す解析完了ポインタと、前記信号保存部に転送すべきデータの先頭位置を示す保存ポインタと、前記信号保存部に転送し終えたデータの終端を示す保存完了ポインタとを管理して、該解析ポインタ及び前記保存ポインタが前記記録ポインタを超えないように制御し、
前記保存完了ポインタが前記解析完了ポインタを超えているときにのみ、前記記録終端ポインタの値を前記解析完了ポインタと同じ値に更新するように構成されていることを特徴とする記録再生装置。
A recording / reproducing apparatus that analyzes information concealed in digital data read from a first external storage device, and writes the read digital data to a second external storage device;
A signal reading unit for reading digital data from the first external storage device;
A signal storage unit for writing the read digital data to the second external storage device;
An analysis unit for acquiring information concealed in the read digital data;
A temporary storage unit formed in a ring buffer structure capable of storing the read digital data and capable of selectively switching the transfer destination of the data;
The temporary storage unit
A recording pointer indicating the start position of the recording area where the digital data is to be written on the ring buffer, a recording end pointer indicating the end of the already written digital data, and the start position of the data to be transferred to the analysis unit An analysis pointer indicating, an analysis completion pointer indicating the end of data transferred to the analysis unit, a storage pointer indicating a head position of data to be transferred to the signal storage unit, and transfer to the signal storage unit Managing a save completion pointer indicating the end of data, and controlling the analysis pointer and the save pointer so as not to exceed the recording pointer;
A recording / reproducing apparatus configured to update the value of the recording end pointer to the same value as the analysis completion pointer only when the storage completion pointer exceeds the analysis completion pointer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005273302A JP2007087471A (en) | 2005-09-21 | 2005-09-21 | Recording and reproducing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005273302A JP2007087471A (en) | 2005-09-21 | 2005-09-21 | Recording and reproducing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2007087471A true JP2007087471A (en) | 2007-04-05 |
Family
ID=37974318
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005273302A Withdrawn JP2007087471A (en) | 2005-09-21 | 2005-09-21 | Recording and reproducing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2007087471A (en) |
-
2005
- 2005-09-21 JP JP2005273302A patent/JP2007087471A/en not_active Withdrawn
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2003032617A (en) | Data record reproducing device and method therefor | |
CN100420294C (en) | Gated silence removal during video trick modes | |
EP1288949A3 (en) | Digital audio recording and playback apparatus | |
US8442376B2 (en) | Image data recording/playback device, system, and method | |
JP2007087471A (en) | Recording and reproducing apparatus | |
JP2009180972A (en) | Audio resume reproduction device and audio resume reproduction method | |
JP2005072799A (en) | Recording apparatus and recording method | |
JP2004312743A (en) | Digital data copying apparatus and method therefor | |
JP2010123225A (en) | Record reproducing apparatus and record reproducing method | |
JP4665550B2 (en) | Playback apparatus and playback method | |
KR200262168Y1 (en) | DVD player had a HDD device | |
JP4428463B2 (en) | Video / audio data playback method | |
JP4284601B2 (en) | Audio signal processing apparatus and method, recording medium, and program | |
JP4391450B2 (en) | REPRODUCTION DEVICE, CONTENT RECORDING MEDIUM, REPRODUCTION DEVICE CONTROL METHOD, CONTROL PROGRAM, AND RECORDING MEDIUM | |
KR20090098683A (en) | Digital data reproduction device and computer readable recording medium | |
JP4912632B2 (en) | In-vehicle device | |
JP2004303409A (en) | Digital voice signal reproduction system | |
KR100785206B1 (en) | Device and method for displaying caption language on the divx playing system | |
JP5648363B2 (en) | Audio storage medium, audio device, and program update method for audio device | |
KR100839695B1 (en) | Apparatus and method for ripping in digital recorder | |
KR19980021419A (en) | Personal computer MPEG and DVD player | |
JP4636203B2 (en) | Video / audio data playback and decoding method | |
JP2005057721A (en) | Method for processing av signals | |
JP4333811B2 (en) | Video / audio data playback device | |
KR20050064146A (en) | Personal video recorder system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080911 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20091005 |