JP4284844B2 - Information processing apparatus, information processing method, and recording medium - Google Patents
Information processing apparatus, information processing method, and recording medium Download PDFInfo
- Publication number
- JP4284844B2 JP4284844B2 JP2000261667A JP2000261667A JP4284844B2 JP 4284844 B2 JP4284844 B2 JP 4284844B2 JP 2000261667 A JP2000261667 A JP 2000261667A JP 2000261667 A JP2000261667 A JP 2000261667A JP 4284844 B2 JP4284844 B2 JP 4284844B2
- Authority
- JP
- Japan
- Prior art keywords
- bit rate
- data
- frame
- information processing
- reproduced
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Indexing, Searching, Synchronizing, And The Amount Of Synchronization Travel Of Record Carriers (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、情報処理装置、情報処理方法及び記録媒体に係り、より詳しくは、ビットレートがフレーム毎に設定可能な圧縮方式で圧縮されたデータを伸張して再生する際に、上記データの再生時間を表示する情報処理装置、情報処理方法及び記録媒体に関する。
【0002】
【従来の技術】
近年、音声データの圧縮方式(符号化方式)として、MP3(Moving Picture Expert Group Audio レイヤIII)が広く用いられており、MP3によって圧縮された音声データ(以下、「MP3フォーマットデータ」という)に対応した音楽プレーヤ(以下、「MP3プレーヤ」という)もメーカ各社から多数提供されている。
【0003】
ところで、MP3プレーヤでは一般に、MP3で圧縮された音声データを伸張して再生すると共に、再生時間を液晶ディスプレイ等の表示装置によって表示する機能を有しているが、この際の再生時間Tは次の(1)式によって導出していた。
【0004】
再生時間T=BN÷(FBR÷8) (1)
ここで、BNは、CD−ROM(Compact Disc Read Only Memory)フォーマットでMP3を用いて圧縮された音声データが記録されたCD(Compact Disc)のデコーダであるCD−ROMデコーダから、MP3フォーマットデータの復号を行うMP3デコーダに転送したデータの総バイト数であり、FBRは最初に時間表示を行う際のビットレート(転送レート)である。
【0005】
すなわち、従来は、最初に時間表示を行う際のビットレートを固定的に適用して再生時間Tを導出していた。
【0006】
【発明が解決しようとする課題】
しかしながら、上述した最初に時間表示を行う際のビットレートを固定的に適用して再生時間を導出する技術では、ビットレートを可変にして符号化されているMP3フォーマットデータの再生中において、ビットレートが最初に時間表示を行う際のビットレートから変化した場合には、導出される再生時間を正確なものとすることができない、という問題点があった。
【0007】
すなわち、MP3には、効率的にデータを格納できるようにすることを目的として、ビットレートをフレーム毎に変更できるようにしたもの(所謂VBR(Variable Bit Rate)方式)があり、この方式のMP3フォーマットデータを再生する場合には、上述した最初に時間表示を行う際のビットレートを固定的に適用して再生時間を導出する技術では、再生時間を正確なものとすることはできない。
【0008】
ここで、事前に全てのフレームのビットレートを読み出しておき、これらのビットレートに基いて正確な再生時間を導出することも可能であるが、この場合には該導出を行うCPU(Central Processing Unit)、マイクロ・コントローラ等に高い処理能力が要求されるため、装置が高コストとなってしまう、という問題点がある。
【0009】
また、この方法は、MP3フォーマットデータを再生途中で早送りしたり、早戻しする場合には容易に適用できない、という問題点もある。
【0010】
本発明は上記問題点を解消するために成されたものであり、再生時間の表示を簡易かつ比較的正確に行うことができる情報処理装置、情報処理方法及び記録媒体を提供することを目的とする。
【0011】
【課題を解決するための手段】
上記目的を達成するために、請求項1記載の情報処理装置は、1フレームの先頭にヘッダ情報が構成され、ビットレートがフレーム毎に設定可能でかつビットレートがフレーム毎に記録される圧縮方式によって圧縮されたデータを伸張して再生する際に、データの再生時間を表示する情報処理装置であって、再生中のデータからヘッダ情報の中のビットレートを所定時間毎に抽出して取得するビットレート取得手段と、先頭フレームから再生中のフレームまでのデータ量を取得するデータ量取得手段と、ビットレート取得手段によって取得したビットレートの平均値とデータ量取得手段によって取得したデータ量に基いて再生時間を導出する導出手段と、導出手段によって導出した再生時間を表示する表示手段と、を備えている。
【0012】
請求項1記載の情報処理装置によれば、ビットレートがフレーム毎に設定可能でかつビットレートがフレーム毎に記録される圧縮方式によって圧縮されたデータを伸張して再生する際に、上記データの再生時間が表示される。ここで、上記データには、音声データ、映像データ等の再生処理が実行される全てのデータが含まれる。また、上記圧縮方式には、MPEG−2 AAC(Moving Picture Expert Group-2 Advanced Audio Coding)、MPEG−4等が含まれる。
【0013】
また、請求項1記載の発明では、ビットレート取得手段によって再生中のデータからヘッダ情報の中のビットレートが所定時間毎に抽出して取得され、データ量取得手段によって先頭フレームから再生中のフレームまでのデータ量が取得される。
【0014】
更に、請求項1記載の情報処理装置では、導出手段により、ビットレート取得手段によって取得されたビットレートの平均値とデータ量取得手段によって取得されたデータ量に基いて再生時間が導出され、該導出された再生時間が表示手段によって表示される。なお、上記表示手段によって再生時間が表示される表示装置としては、液晶ディスプレイ、ブラウン管ディスプレイ、プラズマディスプレイ、ELディスプレイ等の全てのディスプレイ装置を適用することができる。また、上記ビットレートの平均値には、それまでに取得されているビットレートの相加平均値や、相乗平均値等の全ての平均値が含まれる。
【0015】
このように、請求項1に記載の情報処理装置によれば、再生中のデータからヘッダ情報の中のビットレートを所定時間毎に抽出して取得すると共に、先頭フレームから再生中のフレームまでのデータ量を取得し、所定時間毎に取得したビットレートの平均値と上記データ量に基いて再生時間を導出し、導出した再生時間を表示しているので、単一のビットレートを固定的に適用して再生時間を導出する場合に比較して、再生時間を正確に導出することができると共に、全てのフレームにおけるビットレートを用いて再生時間を導出する場合に比較して、再生時間を簡易に導出することができ、この結果として、再生時間の表示を簡易かつ比較的正確に行うことができる。
【0016】
なお、請求項2記載の発明のように、請求項1記載の発明における圧縮方式として、MP3を適用する形態とすることができる。ここで、MP3には、MPEG−1 Audio レイヤIII、MPEG−2 Audio レイヤIII、及びMPEG−2.5 Audioが含まれる。
【0017】
請求項2記載の発明によれば、MP3によって圧縮されたデータの再生時間の表示を簡易かつ比較的正確に行うことができる。
【0018】
また、請求項3記載の発明のように、請求項1又は請求項2記載の発明におけるビットレートの平均値として、ビットレートの移動平均値を適用することができる。
【0019】
請求項3記載の情報処理装置によれば、請求項1又は請求項2記載の発明における導出手段により、ビットレート取得手段によって取得されたビットレートの移動平均値とデータ量取得手段によって取得されたデータ量に基いて再生時間が導出される。
【0020】
このように、請求項3に記載の情報処理装置によれば、本発明のビットレートの平均値としてビットレートの移動平均値を適用しているので、データの再生と並行してビットレートの平均値を簡易に導出することができる。
【0021】
一方、上記目的を達成するために、請求項4記載の情報処理方法は、1フレームの先頭にヘッダ情報が構成され、ビットレートがフレーム毎に設定可能でかつビットレートがフレーム毎に記録される圧縮方式によって圧縮されたデータを伸張して再生する際に、データの再生時間を表示する情報処理方法であって、再生中のデータからヘッダ情報の中のビットレートを所定時間毎に抽出して取得するビットレート取得ステップと、先頭フレームから再生中のフレームまでのデータ量を取得するデータ量取得ステップと、ビットレート取得ステップによって取得したビットレートの平均値とデータ量取得ステップによって取得したデータ量に基いて再生時間を導出する導出ステップと、導出ステップによって導出した再生時間を表示する表示ステップと、を含むものである。
【0022】
従って、請求項4記載の情報処理方法によれば、請求項1記載の発明と同様に作用するので、単一のビットレートを固定的に適用して再生時間を導出する場合に比較して、再生時間を正確に導出することができると共に、全てのフレームにおけるビットレートを用いて再生時間を導出する場合に比較して、再生時間を簡易に導出することができ、この結果として、再生時間の表示を簡易かつ比較的正確に行うことができる。
【0023】
なお、請求項5記載のコンピュータ読み込み可能な記録媒体は、コンピュータに対して請求項1記載の発明と同様に作用させるプログラムを記録した記録媒体であり、該記録媒体には、EEPROM(Electrically Erasable and Programmable Read Only Memory)、フラッシュ・メモリ(Flash Memory)等の記憶素子、フロッピィディスク、CD−ROM、光磁気ディスク、磁気テープ等の可搬記録媒体やハードディスク等の固定記録媒体、或いはネットワークに接続されたサーバーコンピュータ等に設けられた外部記憶装置等を適用することができる。
【0024】
【発明の実施の形態】
以下、図面を参照して、本発明をCD(Compact Disc)プレーヤに適用した場合の実施の形態について詳細に説明する。まず、図1を参照して、本実施の形態に係るCDプレーヤ10の構成について説明する。なお、このCDプレーヤ10は、CD−DA(Compact Disc-Digital Audio)フォーマットで音声データが記録されたCDと、CD−ROMフォーマットでMP3を用いて圧縮された音声データが記録されたCDに記録されているデジタル情報を読み出して再生することができるものである。なお、上記MP3には、MPEG−1 Audio レイヤIII、MPEG−2 Audio レイヤIII、及びMPEG−2.5 Audioが含まれる。
【0025】
図1に示すように、本実施の形態に係るCDプレーヤ10は、CD80の回転軸であるスピンドル12と、スピンドル12を回転させるスピンドルモータ14と、CD80に記録されたデータを読み取るためのピックアップ16と、ピックアップ16をスライド移動させるスライドモータ18と、サーボ回路20と、を含んで構成されている。ここで、スピンドルモータ14及びスライドモータ18はサーボ回路20に接続されており、サーボ回路20はスピンドルモータ14及びスライドモータ18の作動を制御する。
【0026】
また、CDプレーヤ10は、RFアンプ22と、CD−DSP(Digital Signal Processor)24と、RAM(Random Access Memory)28が接続されたCD−ROMデコーダ26と、MP3デコーダ30と、デジタル/アナログコンバータ(以下、「DAC」という)32及び34と、2入力1出力の切替スイッチ36と、ヘッドフォンアンプ38と、CDプレーヤ10全体の動作を司る制御用マイクロ・コントローラ(以下、「制御マイコン」という)60と、を備えている。
【0027】
RFアンプ22はピックアップ16及びCD−DSP24に接続されており、ピックアップ16から出力された信号を増幅してCD−DSP24に出力する。また、CD−DSP24はサーボ回路20、CD−ROMデコーダ26及びDAC34に接続されており、RFアンプ22から入力された信号に対してCIRC(Cross Interleave Reed-Solomon Code)復号、EFM(Eight to Fourteen Modulation)復調等の処理を行ってCD−ROMデコーダ26及びDAC34に出力すると共に、サーボ回路20に対してCLV(Constant Linear Velocity)制御を行う。
【0028】
また、CD−ROMデコーダ26はMP3デコーダ30に接続されており、CD−DSP24から入力された信号が示すCD−ROM形式のデータを復号してMP3デコーダ30に出力する。なお、RAM28は、上記復号の際のワークエリア等として用いられる。
【0029】
また、MP3デコーダ30はDAC32に接続されており、CD−ROMデコーダ26から入力された信号が示すMP3フォーマットデータを復号してDAC32に出力する。更に、DAC32及びDAC34は各々切替スイッチ36の一方の入力端及び他方の入力端に接続されており、切替スイッチ36の出力端はヘッドフォンアンプ38に接続されている。従って、切替スイッチ36による切り換えにより、ヘッドフォンアンプ38には、MP3デコーダ30によって復号され、かつDAC32によってアナログ信号に変換されたMP3フォーマットデータと、CD−DSP24から出力されてDAC34によってアナログ信号に変換された信号と、の何れか一方のアナログ信号が選択的に入力されることになる。そして、ヘッドフォンアンプ38にヘッドフォン70を接続することによって、ヘッドフォンアンプ38により増幅されたアナログ信号がヘッドフォン70により再生されることになる。
【0030】
また、サーボ回路20、RFアンプ22、CD−DSP24、CD−ROMデコーダ26、MP3デコーダ30、DAC32、DAC34、及び切替スイッチ36の各々の制御入力端には制御マイコン60が接続されており、制御マイコン60によって各部の作動が制御される。
【0031】
更に、制御マイコン60は、CD−ROMデコーダ26の割込み信号INTを出力する出力端と、MP3デコーダ30のヘッダ情報を出力する出力端にも接続されており、制御マイコン60はCD−ROMデコーダ26からMP3デコーダ30に対して1セクタ分のMP3フォーマットデータが転送される毎にCD−ROMデコーダ26から出力される割込み信号INTを入力することができると共に、MP3デコーダ30からMP3フォーマットデータにおける各フレームのヘッダ情報を入力することができる。上記MP3フォーマットデータのセクタ、及び各フレームのヘッダ情報については後述する。
【0032】
なお、DAC32を介してヘッドフォンアンプ38に入力される信号がMP3フォーマットデータに対応する信号で、DAC34を介してヘッドフォンアンプ38に入力される信号がCD−DAフォーマットのデータに対応する信号であり、制御マイコン60による切替スイッチ36の切り換え制御によって、MP3フォーマットデータ及びCD−DAフォーマットのデータの何れかを選択的に再生する構成とされている。具体的には、CDプレーヤ10は、当該CDプレーヤ10にセットされたCDがCD−DAフォーマットでデータが記録されたCDであるのか、CD−ROMフォーマットでデータが記録されたCDであるのかを検出して、該検出結果に応じて切替スイッチ36を切り替えた後に当該CDの再生処理を行う。
【0033】
一方、制御マイコン60には、不図示の電源キー、再生キー、早送りキー、早戻しキー、ストップキー、数字を入力するためのジョグダイヤル、エンターキー等を備えた操作部40と、操作部40等による操作に応じた表示内容が表示される液晶ディスプレイで構成された表示部42が接続されている。更に、制御マイコン60には各種制御プログラムやパラメータ等を予め記憶したROM44が接続されている。
【0034】
ここで、図2を参照して、CD80に記録されている音声データの構造について説明する。なお、ここでは、当該データがMP3フォーマットデータである場合について説明する。
【0035】
図2(A)に示すように、CD80に記録されているデータは複数のファイルから構成されており、各ファイルは各々2048バイトで構成された複数のセクタの集合として構成されており、各セクタは複数のフレームから構成されている。なお、1セクタに含まれるフレームの数は各フレームのサイズに応じて変化する。
【0036】
また、各フレームは、図2(B)に示すように、ヘッダ、サイド情報、メインデータ、及び付加データから構成されている。
【0037】
サイド情報はウィンドウ情報、領域指定等、メインデータのデコードに必要な各種情報を含み、メインデータはスケールファクタ及びハフマン符号化された周波数コンポーネントを含む。付加データはユーザデータに対応する部分であり、MPEGの規格外である。
【0038】
表1には、上記ヘッダの構成が示されている。
【0039】
【表1】
【0040】
本実施の形態に係るCDプレーヤ10では、表1に示すヘッダ内の各種情報がMP3デコーダ30から制御マイコン60に入力されることになる。なお、表1に示すヘッダ構成は、MP3のフレームヘッダの構成として広く知られているものであるので、ここでの詳細な説明は省略する。
【0041】
次に、図3を参照して、本実施の形態に係るCDプレーヤ10の作用を説明する。なお、ここでは、CD80に記録されているデータがMP3フォーマットデータである場合について説明する。すなわち、切替スイッチ36はDAC32の出力端がヘッドフォンアンプ38の入力端に接続されるように制御マイコン60によって切り替えられている。また、ここでは、本発明に特に関係する、CD80に記録されたMP3フォーマットデータの再生時間を表示する処理(以下、「再生時間表示処理」という)に関する作用のみについて説明するが、該再生時間表示処理と並行してMP3フォーマットデータの再生処理が行われていることを前提に説明する。すなわち、図3は、CD80に記録されているMP3フォーマットデータの再生を行っている際にCDプレーヤ10の制御マイコン60で実行される再生時間表示処理プログラムの流れを示すフローチャートであり、本プログラムはROM44の所定領域に予め記憶されている。従って、本実施の形態においてROM44が本発明の記録媒体に相当する。
【0042】
図3のステップ100では、CD−ROMデコーダ26から入力されている割込み信号INTに基いて、当該ファイルの先頭位置を示す情報として先頭セクタの絶対アドレスを変数startPosに代入する。
【0043】
これに引き続いて実行されるステップ102、104、106及び108では、初期設定として、ビットレートの合計値の格納に用いられる変数bitrate、再生時間を表示する際の表示回数のカウンタとして用いられる変数count、CD−ROMデコーダ26からMP3デコーダ30に対して転送されたデータの総バイト数の格納に用いられる変数totalPos、及びビットレートの平均値の格納に用いられる変数averageの各変数に対して0(零)を代入する。
【0044】
次のステップ110では、制御マイコン60に内蔵された不図示のタイマを参照して、所定時間(本実施の形態では100mS)が経過したか否かを判定し、経過していない場合はステップ126へ移行し、経過した場合にはステップ112へ移行する。
【0045】
ステップ112では、CD−ROMデコーダ26から入力されている割込み信号INTに基いて、現在のファイル位置を示す情報として現在転送中のセクタの絶対アドレスを変数nowPosに代入する。
【0046】
次のステップ114では、この時点にMP3デコーダ30から入力されているヘッダ情報の中のビットレートを抽出して変数bitrateの値に加算した後に変数bitrateに格納し、次のステップ116では、変数countを1だけインクリメントし、更に次のステップ118では、変数totalPosに変数nowPosの値から変数startPosの値を減算して得られた値を代入する。本ステップ118の演算処理によって、CD−ROMデコーダ26からMP3デコーダ30に転送したデータの総バイト数が導出される。
【0047】
次のステップ120では、変数averageに変数bitrateの値を変数countの値で除算して得られた値を代入する。本ステップ120の処理によって、この時点までにCD−ROMデコーダ26からMP3デコーダ30に転送されたデータの各フレームにおける上記所定時間(本実施の形態では100mS)毎のビットレートの移動平均値が導出される。
【0048】
次のステップ122では、次の(2)式によって再生時間TXを導出する。
【0049】
TX=totalPos÷(average÷8) (2)
次のステップ124では、上記ステップ122で導出した再生時間TXを表示部42によって表示し、次のステップ126では、当該ファイルの再生が終了したか否かを判定し、終了していない場合は上記ステップ110へ戻り、終了した時点で本再生時間表示処理プログラムを終了する。
【0050】
ステップ114の処理が本発明のビットレート取得手段及びビットレート取得ステップに、ステップ118の処理が本発明のデータ量取得手段及びデータ量取得ステップに、ステップ122の処理が本発明の導出手段及び導出ステップに、ステップ124の処理が本発明の表示手段及び表示ステップに、各々相当する。
【0051】
以上詳細に説明したように、本実施の形態に係るCDプレーヤ10では、再生中のデータのビットレートを所定時間毎に取得すると共に、先頭フレームから再生中のフレームまでのデータ量を取得し、所定時間毎に取得したビットレートの平均値と上記データ量に基いて再生時間を導出し、導出した再生時間を表示しているので、単一のビットレートを固定的に適用して再生時間を導出する場合に比較して、再生時間を正確に導出することができると共に、全てのフレームにおけるビットレートを用いて再生時間を導出する場合に比較して、再生時間を簡易に導出することができ、この結果として、再生時間の表示を簡易かつ比較的正確に行うことができる。
【0052】
また、本実施の形態に係るCDプレーヤ10では、再生時間を導出する際に用いるビットレートとして、所定時間毎に取得したビットレートの平均値を適用しているので、データの再生中に早送りや早戻しを行った場合でも、比較的正確に再生時間を導出することができる。
【0053】
なお、本実施の形態では、本発明におけるビットレートの平均値として相加平均値を適用した場合について説明したが、本発明はこれに限定されるものではなく、例えば、相乗平均値を適用する形態とすることもできる。この場合も、本実施の形態と同様の効果を奏することができる。
【0054】
また、本実施の形態では、本発明における圧縮方式としてMP3を適用した場合について説明したが、本発明はこれに限定されるものではなく、例えば、MPEG−2 AAC、MPEG−4等の、ビットレートがフレーム毎に記録されるあらゆる圧縮方式を適用することができる。この場合も、本実施の形態と同様の効果を奏することができる。
【0055】
また、本実施の形態では、本発明が処理対象とする情報を記録する記録媒体としてCD80を適用した場合について説明したが、本発明はこれに限定されるものではなく、上記記録媒体には、例えば、CDV(CD−Video)、LD(Laser Disc)、DVD(Digital Video Disc、又はDigital Versatile Disc)等の、情報を記録することができる全ての記録媒体が含まれる。
【0056】
更に、本実施の形態では、本発明の記録媒体としてROM44(半導体記憶素子)を適用した場合について説明したが、本発明はこれに限定されるものではなく、例えば、フロッピィディスク、CD−ROM、光磁気ディスク、磁気テープ等の可搬記録媒体やハードディスク等の固定記録媒体、或いはネットワークに接続されたサーバーコンピュータ等に設けられた外部記憶装置等を適用する形態とすることもできる。
【0057】
【発明の効果】
以上詳細に説明したように、本発明によれば、再生中のデータからヘッダ情報の中のビットレートを所定時間毎に抽出して取得すると共に、先頭フレームから再生中のフレームまでのデータ量を取得し、所定時間毎に取得したビットレートの平均値と上記データ量に基いて再生時間を導出し、導出した再生時間を表示しているので、単一のビットレートを固定的に適用して再生時間を導出する場合に比較して、再生時間を正確に導出することができると共に、全てのフレームにおけるビットレートを用いて再生時間を導出する場合に比較して、再生時間を簡易に導出することができ、この結果として、再生時間の表示を簡易かつ比較的正確に行うことができる、という効果が得られる。
【図面の簡単な説明】
【図1】実施の形態に係るCDプレーヤ10の全体構成を示すブロック図である。
【図2】実施の形態に係るCDプレーヤ10の再生対象とするCD80に記録されているデータの構造例を示す概略図である。
【図3】実施の形態に係るCDプレーヤ10の制御マイコン60において実行される再生時間表示処理プログラムの流れを示すフローチャートである。
【符号の説明】
10 CDプレーヤ
30 MP3デコーダ
42 表示部
44 ROM(記録媒体)
60 制御マイコン[0001]
BACKGROUND OF THE INVENTION
The present invention relates to an information processing apparatus, an information processing method, and a recording medium. More specifically, the present invention reproduces the data when decompressing and reproducing the data compressed by a compression method in which the bit rate can be set for each frame. The present invention relates to an information processing apparatus that displays time, an information processing method, and a recording medium.
[0002]
[Prior art]
In recent years, MP3 (Moving Picture Expert Group Audio Layer III) has been widely used as a compression method (encoding method) of audio data and corresponds to audio data compressed by MP3 (hereinafter referred to as “MP3 format data”). Many music players (hereinafter referred to as “MP3 players”) are also provided by manufacturers.
[0003]
Incidentally, the MP3 player generally has a function of expanding and reproducing the audio data compressed by MP3 and displaying the reproduction time on a display device such as a liquid crystal display. The reproduction time T at this time is as follows. (1).
[0004]
Playback time T = BN ÷ (FBR ÷ 8) (1)
Here, the BN receives MP3 format data from a CD-ROM decoder which is a CD (Compact Disc) decoder in which audio data compressed using MP3 in a CD-ROM (Compact Disc Read Only Memory) format is recorded. This is the total number of bytes of data transferred to the MP3 decoder that performs decoding, and FBR is the bit rate (transfer rate) for the first time display.
[0005]
That is, conventionally, the reproduction time T is derived by fixedly applying the bit rate at the time of first performing time display.
[0006]
[Problems to be solved by the invention]
However, in the technique for deriving the reproduction time by fixedly applying the bit rate at the time of the first time display described above, during reproduction of MP3 format data encoded with a variable bit rate, the bit rate However, there is a problem in that the derived reproduction time cannot be made accurate when the bit rate is changed from the bit rate at the time of the first time display.
[0007]
In other words, MP3 has a bit rate that can be changed for each frame (so-called VBR (Variable Bit Rate) method) for the purpose of efficiently storing data. When the format data is reproduced, the technique for deriving the reproduction time by fixedly applying the bit rate for the first time display described above cannot make the reproduction time accurate.
[0008]
Here, it is possible to read out the bit rates of all the frames in advance and derive an accurate reproduction time based on these bit rates. In this case, however, a CPU (Central Processing Unit) that performs the derivation However, since a high processing capacity is required for a micro controller or the like, there is a problem that the apparatus becomes expensive.
[0009]
In addition, this method has a problem that it cannot be easily applied when MP3 format data is fast-forwarded or rewinded during reproduction.
[0010]
The present invention has been made to solve the above problems, and an object of the present invention is to provide an information processing apparatus, an information processing method, and a recording medium capable of simply and relatively accurately displaying the reproduction time. To do.
[0011]
[Means for Solving the Problems]
To achieve the above object, an information processing apparatus according to
[0012]
According to the information processing apparatus of
[0013]
According to the first aspect of the present invention, the bit rate in the header information is extracted from the data being reproduced by the bit rate acquisition means every predetermined time and acquired, and the frame being reproduced from the first frame by the data amount acquisition means. The amount of data up to is acquired.
[0014]
Further, in the information processing apparatus according to
[0015]
As described above, according to the information processing apparatus of the first aspect, the bit rate in the header information is extracted and acquired from the data being reproduced every predetermined time, and from the first frame to the frame being reproduced. Since the amount of data is acquired, the playback time is derived based on the average value of the bit rate acquired every predetermined time and the above data amount, and the derived playback time is displayed, so a single bit rate can be fixed Compared to the case where the playback time is derived by applying it, the playback time can be accurately derived, and the playback time is simplified compared to the case where the playback time is derived using the bit rate in all frames. As a result, the reproduction time can be displayed easily and relatively accurately.
[0016]
As in the invention described in
[0017]
According to the second aspect of the present invention, it is possible to display the reproduction time of the data compressed by the MP3 easily and relatively accurately.
[0018]
Further, as in the third aspect of the present invention, the moving average value of the bit rate can be applied as the average value of the bit rate in the first or second aspect of the present invention.
[0019]
According to the information processing apparatus of
[0020]
As described above, according to the information processing apparatus of the third aspect, since the moving average value of the bit rate is applied as the average value of the bit rate according to the present invention, the average of the bit rate is performed in parallel with the data reproduction. The value can be easily derived.
[0021]
Meanwhile, in order to achieve the above object, an information processing method according to
[0022]
Therefore, according to the information processing method according to
[0023]
The computer-readable recording medium according to claim 5 is a recording medium in which a program for causing a computer to operate in the same manner as in the invention according to
[0024]
DETAILED DESCRIPTION OF THE INVENTION
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiments in the case where the present invention is applied to a CD (Compact Disc) player will be described below in detail with reference to the drawings. First, the configuration of the
[0025]
As shown in FIG. 1, a
[0026]
Further, the
[0027]
The
[0028]
The CD-
[0029]
The
[0030]
A
[0031]
Further, the
[0032]
The signal input to the
[0033]
On the other hand, the
[0034]
Here, the structure of audio data recorded on the
[0035]
As shown in FIG. 2A, data recorded on the
[0036]
Each frame is composed of a header, side information, main data, and additional data, as shown in FIG.
[0037]
The side information includes various information necessary for decoding main data such as window information and area designation, and the main data includes a scale factor and a Huffman encoded frequency component. The additional data is a part corresponding to user data and is outside the MPEG standard.
[0038]
Table 1 shows the configuration of the header.
[0039]
[Table 1]
[0040]
In the
[0041]
Next, the operation of the
[0042]
In
[0043]
In the
[0044]
In the
[0045]
In step 112, based on the interrupt signal INT input from the CD-
[0046]
In the
[0047]
In the
[0048]
In the next step 122, the reproduction time TX is derived by the following equation (2).
[0049]
TX = totalPos ÷ (average ÷ 8) (2)
In the
[0050]
The process of
[0051]
As described above in detail, in the
[0052]
Further, in the
[0053]
In the present embodiment, the case where the arithmetic average value is applied as the average value of the bit rate in the present invention has been described. However, the present invention is not limited to this, and for example, a geometric average value is applied. It can also be in the form. Also in this case, the same effects as in the present embodiment can be obtained.
[0054]
In the present embodiment, the case where MP3 is applied as the compression method in the present invention has been described. However, the present invention is not limited to this, and for example, bits such as MPEG-2 AAC, MPEG-4, etc. Any compression scheme in which the rate is recorded per frame can be applied. Also in this case, the same effects as in the present embodiment can be obtained.
[0055]
In the present embodiment, the case where the
[0056]
Further, in the present embodiment, the case where the ROM 44 (semiconductor storage element) is applied as the recording medium of the present invention has been described. However, the present invention is not limited to this, and for example, a floppy disk, a CD-ROM, A portable recording medium such as a magneto-optical disk or magnetic tape, a fixed recording medium such as a hard disk, or an external storage device provided in a server computer connected to a network may be applied.
[0057]
【The invention's effect】
As described above in detail, according to the present invention, the bit rate in the header information is extracted from the data being reproduced at predetermined intervals, and the data amount from the first frame to the frame being reproduced is determined. Since the playback time is derived based on the average value of the bit rate acquired every predetermined time and the above data amount, and the derived playback time is displayed, a single bit rate is fixedly applied. Compared to the case of deriving the playback time, the playback time can be accurately derived, and the playback time is easily derived compared to the case of deriving the playback time using the bit rate in all frames. As a result, it is possible to display the reproduction time easily and relatively accurately.
[Brief description of the drawings]
FIG. 1 is a block diagram showing an overall configuration of a
FIG. 2 is a schematic diagram showing an example of the structure of data recorded on a
FIG. 3 is a flowchart showing the flow of a reproduction time display processing program executed in the
[Explanation of symbols]
10
60 Control microcomputer
Claims (5)
再生中のデータから前記ヘッダ情報の中のビットレートを所定時間毎に抽出して取得するビットレート取得手段と、
先頭フレームから再生中のフレームまでのデータ量を取得するデータ量取得手段と、
前記ビットレート取得手段によって取得したビットレートの平均値と前記データ量取得手段によって取得したデータ量に基いて前記再生時間を導出する導出手段と、
前記導出手段によって導出した再生時間を表示する表示手段と、
を備えた情報処理装置。 When header information is configured at the head of one frame, the bit rate can be set for each frame, and the data compressed by the compression method in which the bit rate is recorded for each frame is decompressed and reproduced, the data An information processing apparatus for displaying a playback time,
Bit rate acquisition means for extracting and acquiring the bit rate in the header information from the data being reproduced every predetermined time;
Data amount acquisition means for acquiring the amount of data from the first frame to the frame being played;
Derivation means for deriving the reproduction time based on the average value of the bit rate acquired by the bit rate acquisition means and the data amount acquired by the data amount acquisition means;
Display means for displaying the playback time derived by the derivation means;
An information processing apparatus comprising:
再生中のデータから前記ヘッダ情報の中のビットレートを所定時間毎に抽出して取得するビットレート取得ステップと、
先頭フレームから再生中のフレームまでのデータ量を取得するデータ量取得ステップと、
前記ビットレート取得ステップによって取得したビットレートの平均値と前記データ量取得ステップによって取得したデータ量に基いて前記再生時間を導出する導出ステップと、
前記導出ステップによって導出した再生時間を表示する表示ステップと、
を含む情報処理方法。 When header information is configured at the head of one frame, the bit rate can be set for each frame, and the data compressed by the compression method in which the bit rate is recorded for each frame is decompressed and reproduced, the data An information processing method for displaying a playback time,
A bit rate acquisition step of extracting and acquiring the bit rate in the header information from the data being reproduced at predetermined time intervals ;
A data amount acquisition step for acquiring the amount of data from the first frame to the frame being played;
A derivation step for deriving the reproduction time based on an average value of the bit rate acquired by the bit rate acquisition step and a data amount acquired by the data amount acquisition step;
A display step for displaying the playback time derived by the derivation step;
An information processing method including:
再生中のデータから前記ヘッダ情報の中のビットレートを所定時間毎に抽出して取得するビットレート取得ステップと、
先頭フレームから再生中のフレームまでのデータ量を取得するデータ量取得ステップと、
前記ビットレート取得ステップによって取得したビットレートの平均値と前記データ量取得ステップによって取得したデータ量に基いて前記再生時間を導出する導出ステップと、
前記導出ステップによって導出した再生時間を表示する表示ステップと、
を含むプログラムを記録したコンピュータ読み込み可能な記録媒体。 When header information is configured at the head of one frame, the bit rate can be set for each frame, and the data compressed by the compression method in which the bit rate is recorded for each frame is decompressed and reproduced, the data A computer-readable recording medium storing a program for displaying a playback time,
A bit rate acquisition step of extracting and acquiring the bit rate in the header information from the data being reproduced at predetermined time intervals ;
A data amount acquisition step for acquiring the amount of data from the first frame to the frame being played;
A derivation step for deriving the reproduction time based on an average value of the bit rate acquired by the bit rate acquisition step and a data amount acquired by the data amount acquisition step;
A display step for displaying the playback time derived by the derivation step;
A computer-readable recording medium on which a program including the program is recorded.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000261667A JP4284844B2 (en) | 2000-08-30 | 2000-08-30 | Information processing apparatus, information processing method, and recording medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2000261667A JP4284844B2 (en) | 2000-08-30 | 2000-08-30 | Information processing apparatus, information processing method, and recording medium |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2002074920A JP2002074920A (en) | 2002-03-15 |
JP4284844B2 true JP4284844B2 (en) | 2009-06-24 |
Family
ID=18749473
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2000261667A Expired - Fee Related JP4284844B2 (en) | 2000-08-30 | 2000-08-30 | Information processing apparatus, information processing method, and recording medium |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4284844B2 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1414273A1 (en) * | 2002-10-22 | 2004-04-28 | Koninklijke Philips Electronics N.V. | Embedded data signaling |
WO2004055815A1 (en) * | 2002-12-13 | 2004-07-01 | Matsushita Electric Industrial Co., Ltd. | Optical disc device |
DE102005036286B4 (en) * | 2005-08-02 | 2010-01-21 | Continental Automotive Gmbh | Method for determining the playback time of compressed audio data |
JP4739898B2 (en) * | 2005-10-11 | 2011-08-03 | Okiセミコンダクタ株式会社 | Reproduction time display method of encoded data and reproduction apparatus using the same |
TWI312962B (en) | 2006-08-11 | 2009-08-01 | Quanta Comp Inc | Method and apparatus for estimating audio length of audio file |
JP5912496B2 (en) * | 2011-12-16 | 2016-04-27 | 東芝アルパイン・オートモティブテクノロジー株式会社 | Digital playback device |
-
2000
- 2000-08-30 JP JP2000261667A patent/JP4284844B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2002074920A (en) | 2002-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100913843B1 (en) | Method and apparatus for elapsed playback timekeeping of variable bit-rate digitally encoded audio data files | |
US7248787B2 (en) | Encoding apparatus of audio signal, audio disc and disc reproducing apparatus | |
KR100254610B1 (en) | Apparatus and method for calculating reproducing time of optical disc | |
JP2004158186A (en) | Method for recording/managing audio data of re-recordable recording medium | |
JP3925306B2 (en) | Digital audio signal reproduction device | |
WO2006022148A1 (en) | Information reproducing device | |
JP4284844B2 (en) | Information processing apparatus, information processing method, and recording medium | |
US6661753B2 (en) | Recording medium reproducing device having tempo control function, key control function and key display function reflecting key change according to tempo change | |
JP3796802B2 (en) | Recording method on optical disc and optical disc apparatus | |
JP3570296B2 (en) | Optical disc playback device | |
JPH1186446A (en) | Device and method for data reproduction | |
JP2002109824A (en) | Method for recording digital audio signal and its device | |
JP4348391B2 (en) | Audio signal playback device | |
JP4377614B2 (en) | Audio playback apparatus, method and program | |
JP2004112176A (en) | Information processor, its method, its program, recording medium with the program recorded, and reproducer | |
JP3244071B2 (en) | Digital signal recording / reproducing apparatus and digital signal double-speed reproducing method using the same | |
JP2004145929A (en) | Optical disk player and optical disk playback method | |
JP3546431B2 (en) | Disc playback device | |
KR20040085714A (en) | Method for recording and play-back data | |
JP3998459B2 (en) | Information recording apparatus and information recording method | |
JP4436012B2 (en) | Recording / reproducing apparatus and program | |
JP3724741B2 (en) | Optical disc apparatus and recording method on optical disc | |
JP2002319277A (en) | Reproducer | |
JP2003173613A (en) | Disk player and communication information reproducing device and audio information reproducing method | |
WO2006137229A1 (en) | Fast-forward reproducing method, fast-rewind reproducing method, and reproducing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20070111 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20070111 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20080717 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20080902 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20081007 |
|
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: 20090303 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20090316 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120403 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120403 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20120403 Year of fee payment: 3 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130403 Year of fee payment: 4 |
|
LAPS | Cancellation because of no payment of annual fees |