JP3994472B2 - Video playback device - Google Patents

Video playback device Download PDF

Info

Publication number
JP3994472B2
JP3994472B2 JP15001697A JP15001697A JP3994472B2 JP 3994472 B2 JP3994472 B2 JP 3994472B2 JP 15001697 A JP15001697 A JP 15001697A JP 15001697 A JP15001697 A JP 15001697A JP 3994472 B2 JP3994472 B2 JP 3994472B2
Authority
JP
Japan
Prior art keywords
data
file
video
playback
reproduction
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
JP15001697A
Other languages
Japanese (ja)
Other versions
JPH10319981A (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.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP15001697A priority Critical patent/JP3994472B2/en
Publication of JPH10319981A publication Critical patent/JPH10319981A/en
Application granted granted Critical
Publication of JP3994472B2 publication Critical patent/JP3994472B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Television Signal Processing For Recording (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、映像を再生する映像再生装置であって、歌詞を示す歌詞テロップと、この歌詞テロップの背景に表示する背景映像とをモニタテレビに表示してカラオケを行うカラオケ装置において上記背景映像を再生する装置として好適なものに関する。
【0002】
【従来の技術】
従来、上記カラオケ装置としては、たとえば、曲データを保有するサーバーから通信回線を介して曲データを受信し、この受信した曲データを再生する、いわゆる通信カラオケ装置が知られている。
この通信カラオケ装置には、選曲、曲データの受信および再生などを行う曲データ再生装置、曲の演奏およびマイクミキシングなどを行うアンプ、このアンプから出力される信号を音として再生するスピーカ、背景映像を再生する動画プレーヤ、歌詞テロップおよび背景映像を表示するモニタテレビ、マイクロフォンなどが備えられている。
【0003】
動画プレーヤには、複数の背景映像が記憶されたCD−ROMが複数枚(たとえば、4枚)内蔵されており、1つの背景映像の再生時間は、背景映像によって異なるが、たとえば、30秒である。また、各背景映像は、それぞれ演歌、ポップスなど、曲のジャンルと対応付けて記憶されており、各背景映像には、ジャンルを示すジャンルデータが付されている。
たとえば、港に停泊する船を映した映像の中に和服の女性が登場する背景映像や、同じく港に停泊する船を映した映像中に男女が登場する背景映像などには、それぞれ「演歌一般」というジャンルを示すジャンルデータが付されている。
また、曲データは、曲の演奏部分を示す演奏データ、歌詞テロップを示す歌詞テロップデータ、曲のジャンルを示すジャンルデータなどから構成されており、演奏データは、MIDI(Musical Instrument Digital Interface)データで構成されている。
【0004】
そして、上記構成のカラオケ装置では、動画プレーヤは、曲データに含まれるジャンルデータに対応するジャンルデータが付された複数の背景映像の中から1つの背景映像を乱数によりランダムに選択して再生する。この動画プレーヤにより再生された背景映像は、モニタテレビに表示される。動画プレーヤは、背景映像の選択および再生を曲の演奏が終了するまで繰り返し実行する。
たとえば、演奏する曲の再生時間が4分であり、1つの背景映像の再生時間が30秒であるとすると、上記選択および再生を同一ジャンルにおいて8回繰り返し、計8個の背景映像が順次モニタテレビに表示される。
【0005】
また、曲データ再生装置は、選曲された曲を示す曲データをサーバーから受信し、この受信した曲データに含まれる演奏データをMIDI音源に書込み、MIDI音源から発生する信号は、アンプおよびスピーカにより再生される。さらに、曲データ再生装置は、曲データに含まれる歌詞テロップデータを映像信号に変換し、この変換された映像信号は、モニタテレビに歌詞テロップとして表示される。
【0006】
ところで、上記従来の動画プレーヤは、再生できる背景映像の数が少ないため、同じジャンルの曲を繰り返し歌ううちに、同じ背景映像が再生され、カラオケをする者が飽きるという問題があった。また、選択された背景映像は、CD−ROMに記憶されている時間分再生されるため、曲の変化に対応して背景映像を切り替えることができなかった。
そこで、DVD(Digital Video Disk)などの大容量記憶媒体を用いて従来より多くの背景映像を記憶させることが考えられている。そして、ジャンルを細分化し、そのジャンルに属する背景映像を再生する順序および再生時間を曲データごとに指定するスケジューリングを行うことが考えられている。
【0007】
【発明が解決しようとする課題】
DVDに記憶された背景映像を再生するためのスケジューリングの一例を図26に示す。同図は、AからHの8個の背景映像をそれぞれt1からt8の再生時間(単位:秒)を指定して再生する場合の再生スケジュールを時系列で示す。同図に示すように、3番目に再生されるCの背景映像に対して指示された再生時間(以下、再生指示時間と称する)が14秒(t3)であり、4番目に再生されるDの背景映像の再生指示時間が30秒(t4)であるとする。
【0008】
ところで、DVDでは、動画をGOP単位で記憶することがMPEG2の規格により定められている。ここに、MPEGとはMoving Picture Experts Groupの略であり、動画像およびこれに関連するオーディオなどの情報圧縮の国際標準規格を指す。また、GOPとは、Group Of Pictureの略であり、MPEG2規格で圧縮された映像の1単位を指し、1つのGOPは、動画像の基本となる画像を示す1つの基本フレームと、この基本フレームがどう変化したかを示すデータの集合とから構成される。たとえば、1GOPが有するフレーム数は18である。
つまり、DVDに記憶された映像は、GOP単位で記憶されているため、GOP単位で読出して再生する。
したがって、GOPの途中で再生を終了すると、そのGOPを正常に再生することができないため、映像が乱れる。
【0009】
たとえば、1GOPの再生時間は0.6秒であり、背景映像Cの再生時間が15秒であるとすると、背景映像Cは、No.1からNo.25までの計25個(15/0.6=25)のGOPから構成されていることになる。
つまり、背景映像Cは、0.6秒間隔でDVDから読出される。
しかし、背景映像Cの再生指示時間の14秒が終了するタイミングは、No.24のGOPの途中となってしまうため、そのタイミングで再生を終了すると、No.24のGOPにより示される背景映像を正常に再生できず、背景映像が乱れるという問題がある。
【0010】
また、背景映像Cの再生を図26に示すように、13.8秒で終了させた場合は、次の背景映像Dの再生を開始するタイミングが0.2秒早くなり、逆に、背景映像Cの再生を14.4秒で終了させた場合は、背景映像Dの再生を開始するタイミングが0.4秒遅くなる。
つまり、背景映像Cから背景映像Dへ切り替わるタイミングがずれるという問題がある。特に、そのずれが多くの背景映像間に存在する場合は、再生時間が経過するに従ってそのずれが累積して大きくなるという問題がある。
【0011】
そこで、本発明は、MPEG規格のGOPからなる複数の映像情報を編集して構成された編集映像情報を再生する場合において、実際の再生時間が上記GOPの途中で終了する場合は、その終了するタイミングを上記GOPの再生終了タイミングと一致させることにより、映像情報を正常に再生できる映像再生装置を実現することを目的とする。
【0012】
【課題を解決するための手段】
本発明は、上記目的を達成するため、請求項1に記載の発明では、MPEG規格のGOPからなる複数の映像情報を編集して構成された編集映像情報が複数記憶された映像情報記憶手段から所定の編集映像情報をGOP単位で読出して再生する映像再生装置であって、前記映像情報記憶手段に記憶された複数の編集映像情報のうち、所定の複数の編集映像情報を読出し、それぞれ再生時間を指定して再生する際に、所定の編集映像情報について指定された再生時間が終了する指定終了タイミングと、前記所定の編集映像情報をその編集映像情報を構成する複数の映像情報を前記GOP単位で読出して実際に再生した場合の再生が終了する実終了タイミングとが一致するか否かを判定し、その判定結果が、前記指定終了タイミングと実終了タイミングとが一致しないというものである場合に、前記実終了タイミングを、前記指定終了タイミングよりも時間的に前または後におけるGOPの再生終了タイミングに一致させるタイミング制御手段が備えられたという技術的手段を採用する。
【0013】
【0014】
【0015】
【0016】
【0017】
【0018】
請求項に記載の発明では、請求項1に記載の映像再生装置と、その映像再生装置により前記編集映像情報が再生される際に所定の楽曲情報を再生する楽曲情報再生手段とが備えられた楽音再生装置という技術的手段を採用する。
【0019】
【作用】
請求項1に記載の発明では、上記タイミング制御手段は、映像情報記憶手段に記憶されたMPEG規格のGOPからなる複数の編集映像情報のうち、所定の複数の編集映像情報を読出し、それぞれ再生時間を指定して再生する際に、所定の編集映像情報について指定された再生時間が終了する指定終了タイミングと、上記所定の編集映像情報をその編集映像情報を構成する複数の映像情報を上記GOP単位で読出して実際に再生した場合の再生が終了する実終了タイミングとが一致するか否かを判定する。そして、タイミング制御手段は、その判定結果が、指定終了タイミングと実終了タイミングとが一致しないというものである場合に、実終了タイミングを、前記指定終了タイミングよりも時間的に前または後におけるGOPの再生終了タイミングに一致させる。
【0020】
つまり、指定終了タイミングと実終了タイミングとが一致しない場合に、実終了タイミングを、前記指定終了タイミングよりも時間的に前または後におけるGOPの再生終了タイミングに一致させることにより、正常に再生されないGOPが発生し、映像情報が乱れる事態をなくすことができる。
【0021】
【0022】
【0023】
【0024】
【0025】
【0026】
さらに、請求項1に記載の映像再生装置は、請求項に記載の発明のように、上記編集映像情報が再生される際に所定の楽曲情報を再生する楽曲情報再生手段が備えられた楽音再生装置に好適に用いられる。
つまり、たとえば、後述する発明の実施の形態に記載するように、楽音再生装置たるカラオケ装置では、楽曲情報たる曲データを再生する際に、背景映像をモニタ画面に表示するが、その背景映像を再生する映像再生装置たるDVDプレーヤに上記各技術的手段を採用することにより、カラオケをしている最中にモニタ画面に表示された背景映像が乱れてしまい、カラオケをする者が興ざめするという事態を回避できるからである。
【0027】
【発明の実施の形態】
以下、本発明の映像再生装置の一実施形態について図を参照して説明する。
なお、以下の実施形態では、映像再生装置として、曲データを保有するサーバーと通信回線で接続され、そのサーバーから通信回線を介して曲データを受信して再生する、いわゆる通信カラオケ装置に用いられる背景映像再生装置を代表に説明する。また、その背景映像再生装置として、DVDを再生するDVDプレーヤを代表に説明する。
【0028】
まず、本実施形態のDVDプレーヤが備えられたカラオケ装置の主要構成について、それを示す図1を参照して説明する。
図1に示すように、カラオケ装置10には、歌詞を示す歌詞テロップ、歌詞テロップの背景に表示する背景映像、選曲番号を示す映像などを表示するモニタテレビ(以下、モニタと略称する)12と、歌唱者用のモニタ14とが備えられている。また、カラオケ装置10には、本発明の映像情報たる背景映像データが記憶されたDVDを再生するDVDプレーヤ6が備えられている。
【0029】
さらに、カラオケ装置10には、楽曲たるカラオケ用の曲(以下、曲と略称する)の選曲と、選曲された曲の歌詞テロップおよび曲の演奏部分を示す演奏データなどから構成される、本発明の楽曲情報たる曲データの通信ケーブル15を介しての受信、曲の再生の予約、ならびに、モニタ12,14に表示される映像の切替え、合成などを行う装置(以下、コマンダと称する)20と、マイクロフォン17,18とが備えられている。
【0030】
また、カラオケ装置10には、マイクロフォン17,18から入力される音声と曲とのミキシング、音声と曲との音量バランス、エコー調整、ディレイ調整、ミキシング信号の増幅、演奏される曲の音程制御(キーコントロール)、高音、低音の制御(トーンコントロール)などを行うアンプ16と、このアンプ16から出力される増幅信号を音として再生する1組のスピーカ13,13と、コマンダ20を遠隔操作する送信器70とが備えられている。
【0031】
次に、コマンダ20の構成および機能について図2を参照して説明する。
図2(A)は、コマンダ20の前面パネルの説明図であり、同図(B)は、コマンダ20の背面パネルの説明図である。
図2(A)に示すように、コマンダ20の前面パネルには、選曲する曲の選曲番号の入力などを行うための0〜9のボタンからなるテンキー21と、選曲を確定するための選曲ボタン22とが設けられており、テンキー21の上方には、選曲された曲の選曲番号を6桁の数字でLED表示する選曲番号表示体23が設けられている。
【0032】
また、選曲番号表示体23の左方には、演奏が予約されている曲の数をLED表示する予約曲数表示体24が設けられており、その下方には、予約の取消を行うための取消しボタン25と、演奏を停止させる演奏停止ボタン26と、歌っている途中で最初から歌い直すための歌い直しボタン27と、予約曲の間に割り込んで予約するための割り込みボタン28とが設けられている。さらに、前面パネルの左上には、送信器70から送信される光信号を受信する受信部38が設けられており、左下には、コマンダ20の電源を立ち上げる電源ボタン39が設けられている。
【0033】
また、テンキー21の右方には、演奏のキーを低くするフラットキー29と、キーを標準にする標準キー30と、キーを高くするシャープキー31とが設けられており、それらキーの下方には、ボーカルのメロディーラインの音量を設定するボーカルボタン32と、2コーラス目までを再生する2コーラスカットボタン33と、曲の後奏部分をカットする後奏カットボタン34とが設けられている。さらに、それらボタンの下方には、カラオケを行うモードとカラオケを行わないモードとに切り替えるカラオケ切替ボタン35と、通信ケーブル15を介して入力されるデータを曲データからBGM、有線放送、テレビ放送などに切り替える入力切替ボタン36と、モニタ12,14の表示をサーバーなどが提供しているサービス情報の表示に切り替えるサービスボタン37とが設けられている。
【0034】
また、図2(B)に示すように、コマンダ20の背面パネルには、各地域に設置されたサーバー2(図3参照)と通信を行うための通信ケーブル15を接続する通信端子40が設けられており、この通信端子40の右側には、DVDプレーヤ6の制御回路63(図4参照)に接続されたプラグ68を接続するためのコネクタ69が設けられている。このコネクタ69の右側には、DVDプレーヤ6の映像出力端子67(図4参照)を接続するための映像入力端子58が設けられている。この映像入力端子58の右側には、モニタ12の映像入力端子(図示省略)と接続される映像出力端子42と、モニタ14の映像入力端子(図示省略)と接続される映像出力端子43とが設けられており、この映像出力端子43の右側には、アンプ16の音声入力端子と接続するための音声出力端子41が設けられている。
【0035】
次に、上記コマンダ20の制御系の構成について図3および図6(A)を参照して説明する。
図3は、コマンダ20の制御系の主要構成をブロックで示す説明図であり、図6(A)は、曲データの主要構成をブロックで示す説明図である。
最初に、曲データの主要構成について図6(A)を参照して説明する。
曲データ130は、再生する背景映像の種類や再生順序などの再生スケジュールを指示する再生方法指示コマンド160、歌詞テロップ(字幕)を示す歌詞テロップデータ132、曲の演奏部分を示す演奏データ133などから構成される。演奏データ133は、MIDIデータで構成される。
【0036】
次に、コマンダ20の制御系の主要構成について図3を参照して説明する。
コマンダ20には、選曲、サーバー2に対する曲データ130の送信要求、曲データ130の受信、DVDプレーヤ6に対する各種コマンドの送信、曲の演奏順序の予約、音声制御、映像制御などをプログラムにしたがって行うCPU45が備えられている。また、CPU45には、CPU45により実行されるプログラムなどが記憶されたROM46と、受信した曲データ130、送信器70から送信されたデータ、選曲された曲の選曲番号を示す選曲番号データ、予約された曲の選曲番号データなどを一時保存するためのRAM47とが接続されている。
【0037】
また、CPU45には、歌詞テロップを構成する文字、選曲番号、カラオケ装置10の動作状態などを示す文字をモニタ12,14に表示するためのフォントデータが記憶されたフォントROM44と、このフォントROM44から読出され、ビットマップデータに展開されたデータを一時記憶するビデオRAM48と、サーバー2から通信ケーブル15および通信端子40を介して曲データ130を受信するための通信用モデム49とが接続されている。さらに、CPU45には、タイマ53のカウントにしたがって曲データ130に含まれる演奏データ133を構成するMIDIデータをMIDI音源52へ書き込む制御を行うシーケンサ51と、MIDI音源52から出力される音源信号を入力してアンプ16により増幅可能な信号に変換する音声制御回路50が接続されている。
【0038】
また、CPU45には、DVDプレーヤ6との間でコマンドなどの入出力を行うためのインターフェース59が接続されている。さらに、CPU45には、DVDプレーヤ6からインターフェース59を介して入力された背景映像信号をモニタ12,14により表示するための表示信号に変換したり、ビデオRAM48から出力されるビットマップデータを歌詞テロップに変換したりする映像制御回路54が接続されている。映像制御回路54は、モニタ12の表示画面を説明する図31に示すように、背景映像300の中に歌詞テロップ302がスーパーインポーズされるように制御を行う。また、映像制御回路54は、曲の進行にしたがって歌詞テロップの色を変える制御も行う。
【0039】
また、CPU45には、受信部38により受信された光信号をデジタル信号に変換する変換回路55と、制御装置20の前面パネルに設けられた各種ボタンを押したときに点灯するLED、選曲番号表示体23および予約曲数表示体24へ表示信号を出力する表示回路56と、上記各種ボタンを押したときに発生するスイッチング信号を入力する入力回路57とが接続されている。
【0040】
次に、DVDプレーヤ6の構成および機能について、それをブロックで示す図4を参照して説明する。
DVDプレーヤ6には、背景映像を示す背景映像データが記憶されたDVD61Aから背景映像データを読出すDVDドライブ61と、同じく背景映像データが記憶されたDVD62Aから背景映像データを読出すDVDドライブ62とが内蔵されている。両DVDドライブ61、62には、図示しないディスク回転用のモータ、モータ駆動回路、ディスク面に光線を照射してディスクに記憶された背景映像データを読取る読取ヘッドなどがそれぞれ設けられている。
なお、DVD61AおよびDVD62Aが、本発明の映像情報記憶手段に相当する。
【0041】
また、DVDプレーヤ6には、DVD61A、62Aから読出された背景映像データ(MPEGデジタルデータ)を一時記憶するバッファメモリ65と、バッファメモリ65から出力される背景映像データを入力してアナログの背景映像信号に変換するMPEGデコーダ回路66とが内蔵されている。
さらに、DVDプレーヤ6には、DVD61A、DVD62Aから背景映像データを読出す制御などを行うCPU64を備えた制御回路63と、映像管理テーブル用メモリ60とが内蔵されている。また、制御回路63には、DVD61A、DVD62Aから読出された背景映像データの実際の再生時間を計測するための基準となる実再生時間監視用基準クロック(以下、基準クロックと略称する)T1が接続されている。
【0042】
映像管理テーブル用メモリ60には、DVD61AおよびDVD62Aに記憶されている背景映像データのファイル名をジャンルおよびキーワードなどと対応付けてテーブル形式で記憶して管理する背景映像ファイルテーブル100(図13参照)などが記憶される。背景映像ファイルテーブル100などは、DVD61A、または、DVD62Aに記憶されており、DVDプレーヤ6の電源が立ち上げられた際に読出され、映像管理テーブル用メモリ60に記憶される。
【0043】
DVD61AおよびDVD62Aには、それぞれ多く(たとえば、32,000個)の背景映像がMPEG2ビデオ方式で圧縮されて記憶されている。また、各背景映像は、演歌、ポップスなど、曲のジャンル別に記憶されており、再生時間は、15秒、30秒など、各背景映像により異なる。
なお、本実施形態では、映像管理テーブル用メモリ60には、RAMなどの書換可能な記憶媒体が用いられる。
【0044】
ここで、映像管理テーブル用メモリ60の記憶内容について図9ないし図15を参照して説明する。
映像管理テーブル用メモリ60には、図10に示す背景映像ファイルテーブル100が記憶されている。背景映像ファイルテーブル100には、背景映像のジャンル、および背景映像の内容を特定するキーワードを示すジャンルキーワード数値101と、背景映像のファイル名を示すファイル名データ102と、背景映像の設定された再生時間を秒単位で示す設定再生時間データTとが対応付けてテーブル形式で複数組設定されている。
【0045】
ジャンルキーワード数値101は、16進数で登録されており、そのビット構成を説明する図12(A)に示すように、0ビットから3ビットまでが第2キーワードを示し、4ビットから7ビットまでが第1キーワードを示し、8ビットから11ビットまでがジャンルを示す。
たとえば、ジャンルキーワード数値101が「020H」の背景映像は、ジャンルが「0」であり、第1キーワードが「2」であり、第2キーワードが「0」である背景映像である。
【0046】
ジャンルの「0」は、ジャンル名、数値および分類との対応関係を説明する図12(B)に示すように、ジャンル名が「A」で「演歌一般」という分類に属することを示し、第1キーワードの「2」は、ジャンルAと第1キーワードとの対応関係を説明する図13(A)に示すように、「港/船」というキーワードであることを示す。
つまり、ジャンルキーワード数値101が「020H」である背景映像の中には、港に停泊する船が登場するシーンが存在することを示す。
また、第2キーワードの「0」は、第1キーワード「港/船」に対する第2キーワードの割り当てを説明する図14(A)に示すように、「和服」というキーワードであることを示す。
【0047】
つまり、ジャンルキーワード数値101が「020H」である背景映像の中には、港に停泊する船が登場するシーンに加えて、和服の女性が登場するシーンが存在することを示す。
なお、図13(B)は、ジャンルDと第1キーワードとの対応関係を示す説明図であるが、その他のジャンルについても図示しないが同様に第1キーワードとの対応関係が定められている。また、図14(B)は、第1キーワード「田舎」に対する第2キーワードの割り当てを示す説明図であり、同図(C)は、第1キーワード「雑踏」に対する第2キーワードの割り当てを示す説明図であるが、その他の第1キーワードについても図示しないが同様に第2キーワードとの対応関係が定められている。
【0048】
以上のように、背景映像ファイルテーブル100には、1つのファイル名に対して1つのジャンルおよび2つのキーワードが対応付けて登録されている。このため、ジャンルという大きな概念で背景映像を指定することもできる他、ジャンルにキーワードを加えることにより、同じジャンルの中の特定の背景映像を指定することもできる。
【0049】
また、映像管理テーブル用メモリ60には、図11(A)に示す番組情報ファイルテーブル110が記憶されている。ここに、番組情報とは、アニメーションや映画など、アニメーションや映画の主題歌を歌う場合にのみ再生される背景映像を意味する。番組情報ファイルテーブル110には、番組番号データ111と、ファイル名データ112と、再生時間データ113とが対応付けてテーブル形式で複数組設定されている。番組番号データ111は、上記ジャンルキーワード数値101と同様に16進数で設定されている。
【0050】
たとえば、番組番号データ111が「236H」で特定される背景映像は、番組情報の割り当てを説明する図15に示すように、「加山雄二映画」という映画の背景映像である。また、番組番号データ111が「28AH」で特定される背景映像は、「鉄人アトム」というアニメーションの背景映像である。さらに、番組番号データ111が「FFEH」で特定される背景映像は、「札幌時計台」を映した背景映像である。
【0051】
さらに、映像管理テーブル用メモリ60には、図11(B)に示す親ジャンルテーブル120が記憶されている。ここに、親ジャンルとは、図12(B)に示したAからPまでの各ジャンルが属する大きなジャンルを意味する。親ジャンルテーブル120には、ジャンル分類およびその数値を示すジャンル分類データ121と、親ジャンルおよびその数値を示す親ジャンルデータ122とが対応付けてテーブル形式で設定されている。
たとえば、ジャンル分類データ121が「A(0)」で示されるジャンルは、「B(1)」という親ジャンルに属する。
つまり、「A(0)」なる演歌一般というジャンルは、「B(1)」なる演歌冬という親ジャンルに属する(図12(B))。
【0052】
そしてさらに、映像管理テーブル用メモリ60には、図9に示す再生指示テーブル90が記憶されている。ここに、再生指示テーブルとは、ある曲が選曲された場合に選択される背景映像、再生順序および再生時間を登録するテーブルを意味する。つまり背景映像の再生スケジュールを登録するテーブルを意味する。
再生指示テーブル90には、再生順序を示す順序データ91と、再生指示内容を示す再生指示データ92と、再生時間を指定する再生指定時間データtとが対応付けられて設定されている。再生指示テーブル90に登録される再生指示データ92および再生指定時間データtは、サーバー2からコマンダ20へ送信される曲データ130を構成する再生方法指示コマンド160に含まれており、コマンダ20からDVDプレーヤ6へ送信される。そのコマンドの構成を図7(D)から(F)に示す。
【0053】
図7(D)は、ジャンルおよびキーワードにより背景映像の再生方法を指示する再生方法指示コマンドの構成を示し、同図(E)は、番組番号により番組情報を示す背景映像を指示する再生方法指示コマンドの構成を示し、同図(F)は、ジャンルおよびキーワードと、番組番号とにより、ジャンルおよびキーワードにより特定される背景映像、および番組番号により特定される背景映像を混在させて指示する再生方法指示コマンドの構成を示す。各再生方法指示コマンドは、ASCIIコードで表され、アルファベット26文字、数字、幾つかの記号文字で構成される。「PROG」は、「PROG」以下の再生指示データを再生指示テーブル90へ登録指示することを意味し、[CR]は、コマンドの終わりを意味する。
【0054】
図7(D)に示す再生方法指示コマンド160は、「PROG:G020,30:G02A,30:G054,14:G024,30:G050,25:G029,25:G022,20:G023,30[CR]」という再生指示方法を示している。ここで、1文字目の「G」は、G以下に付されている3桁の数字および記号が、ジャンルおよびキーワードを指定するものであることを示し、その3桁の数字および記号は、ジャンルおよびキーワードを示す。また、その3桁の数字および記号の次に「,」で区切られた2桁の数字は、再生指示時間(単位:秒)を示す。
再生方法指示コマンド160は、コマンダ20からDVDプレーヤ6へ送信され、再生方法指示コマンド160に示される各データは、図9(A)に示すように先頭のデータ「G020」から順番に再生指示テーブル90に登録される。
【0055】
ここに、1番目の「020,30」は、ジャンルが「演歌一般」であり(図15(B)参照)、第1キーワードが「港/船」であり(図13(A)参照)、第2キーワードが「和服」(図14(A)参照)で特定される背景映像の30秒間の再生を指示することを示す。2番目の「02A,30」は、ジャンルが「演歌一般」であり、第1キーワードが「港/船」であり、第2キーワードが「建物」で特定される背景映像の30秒間の再生を指示することを示す。3番目の「054,14」は、ジャンルが「演歌一般」であり、第1キーワードが「田舎」であり、第2キーワードが「子ども」で特定される背景映像の14秒間の再生を指示することを示す。4番目の「024,30」は、ジャンルが「演歌一般」であり、第1キーワードが「港/船」であり、第2キーワードが「男女」で特定される背景映像の30秒間の再生を指示することを示す。
【0056】
5番目の「050,25」は、ジャンルが「演歌一般」であり、第1キーワードが「田舎」であり、第2キーワードが「雪」で特定される背景映像の25秒間の再生を指示することを示す。6番目の「029,25」は、ジャンルが「演歌一般」であり、第1キーワードが「港/船」であり、第2キーワードが「光」で特定される背景映像の25秒間の再生を指示することを示す。7番目の「022,20」は、ジャンルが「演歌一般」であり、第1キーワードが「港/船」であり、第2キーワードが「昼」で特定される背景映像の45秒間の再生を指示することを示す。8番目の「023,30」は、ジャンルが「演歌一般」であり、第1キーワードが「港/船」であり、第2キーワードが「自然」で特定される背景映像の30秒間の再生を指示することを示す。
【0057】
つまり、図9(A)に示す再生指示テーブル90に登録された再生スケジュールを時系列で説明する図8に示すように、最初に「G020」(演歌一般・港/船・和服)で特定される背景映像を30秒間(t1)再生し、2番目に「G02A」(演歌一般・港/船・建物)で特定される背景映像を30秒間(t2)再生し、3番目に「G054」(演歌一般・田舎・子ども)で特定される背景映像を14秒間(t3)再生し、4番目に「G024」(演歌一般・港/船・男女)で特定される背景映像を30秒間(t4)再生し、5番目に「G050」(演歌一般・田舎・雪)で特定される背景映像を25秒間(t5)再生し、6番目に「G029」(演歌一般・港/船・光)で特定される背景映像を25秒間(t6)再生し、7番目に「G022」(演歌一般・港/船・昼)で特定される背景映像を20秒間(t7)再生し、最後に「G023」(演歌一般・港/船・自然)で特定される背景映像を30秒間(t8)再生することを指定する。
【0058】
また、図7(E)に示す再生方法指示コマンド170は、「PROG:P236,120[CR]」という再生指示方法を示している。ここで、1文字目の「P」は、Pに付されているデータが、番組番号を指定するものであることを示す。再生方法指示コマンド170も、コマンダ20からDVDプレーヤ6へ送信され、コマンド170に示されるデータは、図9(B)に示すように再生指示テーブル90に登録される。ここに、「236」は、「加山雄二映画」という映画の背景映像を指定することを示す(図15参照)。
【0059】
つまり、図9(B)に示す再生指示テーブル90に登録された再生指示方法により、「加山雄二映画」という映画の背景映像を120秒再生することを指定する。
さらに、図7(F)に示す再生方法指示コマンド180は、「PROG:G020,30:P236,30:G313,45:PFFE,12[CR]」という再生指示方法を示している。コマンド180も、コマンダ20からDVDプレーヤ6へ送信され、コマンド180に示される各データは図9(C)に示すように先頭のデータ「G020」から順番に再生指示テーブル90に登録される。
【0060】
ここに、「020,30」は、「演歌一般・港/船・和服」で特定される背景映像を30秒再生することを指定することを示し、「236,30」は、「加山雄二映画」という映画の背景映像を30秒再生することを指定することを示し、「313,45」は、「ミドルテンポポップス・雑踏・男女」で特定される背景映像を45秒再生することを指定することを示し、「FFE,12]は、「札幌時計台」を映した背景映像を12秒再生することを指定することを示す。
つまり、最初に「G020」(演歌一般・港/船・和服)で特定される背景映像を30秒再生し、2番目に「P236」(加山雄二映画)という映画の背景映像を30秒再生し、3番目に「G313」(ミドルテンポポップス・雑踏・男女)で特定される背景映像を45秒再生し、4番目に札幌時計台を映した背景映像を12秒再生することを指定する。
【0061】
次に、送信器70の構成についてその外観を示す図5を参照して説明する。
図5に示すように、送信器70の上面上方には、選曲番号をバックライト付きの液晶で表示する選曲番号表示部71が設けられており、その下方には、コマンダ20のカラオケ切替ボタン35と同じ作用をするカラオケ切替ボタン72と、コマンダ20の入力切替ボタン36と同じ作用をする外部映像ボタン73と、サーバー2が用意しているテレビゲームを行う状態に切替えるゲームボタン74とが設けられている。
【0062】
また、それらボタンの下方には、曲間や曲の再生終了後に拍手や歓声の音を再生するように設定するための拍手ボタン75と、コマンダ20に設けられたキーと同じ作用をするフラットキー76と、シャープキー77とが設けられており、それらの下方には、コマンダ20に設けられたものと同じ作用をするテンキー78と、選曲ボタン79と、演奏停止ボタン80と、歌い直しボタン81と、取り消しボタン82と、割り込みボタン83とが設けられている。さらに、割り込みボタン83の右には、ボーカルメロディーの音量を小さくするマイナスボタン84と、音量を大きくするプラスボタン85とが設けられている。
なお、上記各ボタン、または、キーを押すと、その押されたボタン、または、キーの種類を示す光信号が、送信器70の先端に形成された送信窓86から送信される。
【0063】
次に、カラオケ装置10の一連の動作について図16ないし図23を参照して説明する。
図16は、選曲から曲が演奏されるまでのCPU45の処理内容を示すフローチャートであり、図17は、コマンダ20から送信されたコマンドの解析処理を行うためにDVDプレーヤ6のCPU64により実行されるタスクA(コマンド解析タスク)のフローチャートである。図18は、CPU64により実行されるDVDを再生するためのタスクB(DVD再生タスク)のフローチャートであり、図19は、図18のステップ300において実行される再生ファイル選択の処理内容を示すフローチャートである。
【0064】
図20は、図19のステップ310において実行されるファイル検索アルゴリズムの内容を示すフローチャートであり、図21は、図19のステップ330において実行されるファイル検索アルゴリズムの内容を示すフローチャートであり、図22は、図19のステップ350、または、ステップ370において実行されるファイル検索アルゴリズムの内容を示すフローチャートである。
【0065】
まず、カラオケ装置10の利用者が、送信器70の発信窓86をコマンダ20に向けて歌いたい曲の選曲番号に対応するテンキー78を押すと、その押す毎にテンキー78に対応する数字が選曲番号表示部71,23およびモニタ12,13に順次表示される。
続いて、最後の数字のテンキー78を押してから選曲ボタン79を押すと、選曲が終了したと判定され(ステップ100)、その選曲された曲の曲データ130の送信を要求するリクエスト信号が通信ケーブル15を介してサーバー2へ送信される(ステップ120)。
【0066】
そして、サーバー2は、複数の曲データが記憶されたハードディスクドライブ(HDD)11から上記リクエスト信号に示される選曲番号に対応する曲データ130を検索して読出し、その読出された曲データ130は、通信ケーブル15を介してコマンダ20の通信端子40を経て通信用モデム49により受信される(ステップ140)。続いて、その受信された曲データ130は、通信用モデム49から出力され、RAM47に一時保存される(ステップ160)。続いて、RAM47から曲データ130が読出され(ステップ180)、この読出された曲データ130に含まれる再生方法指示コマンド160は、インターフェース59を介してDVDプレーヤ6へ送信される(ステップ200)。
【0067】
ここで、コマンダ20から送信されるコマンドを解析するためにCPU64が実行するコマンド解析タスクの内容を図17を参照して説明する。
CPU64は、DVDプレーヤ6の電源が立ち上げられたとき、DVD61A、62Aから、背景映像ファイルテーブル100、番組情報ファイルテーブル110、親ジャンルテーブル120および再生指示テーブル90などを読出し、それらの読出された各テーブルを映像管理テーブル用メモリ60に記憶させる(ステップ10)。
【0068】
続いて、検索対象の位置を示す指示ポインタを背景映像ファイルテーブル100の先頭に設定し(ステップ20)、図18に示すタスクB(DVD再生タスク)を起動させる(ステップ30)。続いて、コマンダ20から送信されたコマンドを受信し(ステップ202)、その受信したコマンドの種類が、再生方法指示コマンド160、背景映像の再生開始を指示する再生開始コマンド140(図6(B))、背景映像の再生停止を指示する再生停止コマンド150(図6(C))およびその他のコマンドのうち、いずれのコマンドであるかを判定する(ステップ204)。ここでは、受信したコマンドは、再生方法指示コマンド160であるため、ステップ206へ進む。
【0069】
ステップ206では、受信した再生方法指示コマンド160により示される再生指示内容「G020,30:G02A,30:G054,14:G024,30:G050,25:G029,25:G022,20:G023,30」を映像管理テーブル用メモリ60の再生指示テーブル90に登録する(図9(A)参照)。続いて、登録された再生指示データの数+1の位置に「NULL」を設定する(ステップ208)。ここでは、図9(A)に示すように計8個の再生指示データが登録されるため、9番目(8+1=9)の位置に「NULL」を設定する。続いて、指示ポインタを再生指示テーブル90の先頭に設定し(ステップ210)、次のコマンドの受信を待つ(ステップ202)。
【0070】
そして、CPU45により、再生開始コマンド140がDVDプレーヤ6へ送信されると(図16のステップ216)、CPU64は、その送信された再生開始コマンド140を受信し(図17のステップ202)、その受信したコマンドの種類を判定する(ステップ204)。ここでは、受信したコマンドは、再生開始コマンド140であるためステップ212へ進み、再生開始メッセージがタスクBに送られる。
【0071】
次に、CPU64により実行されるタスクB(DVD再生タスク)について図18を参照して説明する。
まず、CPU64は、再生することが決定されたファイルを登録するための再生中ファイル192(図23(B))を「無効」に設定し、バッファメモリ65の記憶内容を消去する(ステップ218)。続いて、タスクAから送られたメッセージの種類を判定する(ステップ220)。ここでは、再生開始メッセージを受信しているため、ステップ222へ進み、再生中ファイルが「無効」に設定されているかを判定する。ここでは、ステップ218において再生中ファイルは「無効」に設定されているため、ステップ224へ進む(ステップ222:Yes)。
【0072】
ステップ224では、基準クロックT1をリセットするとともに、基準クロックT1をスタートさせ、ステップ226で累積再生指示時間T2に0を設定する。ここに、累積再生指示時間T2とは、すでに再生されたファイルに指定された再生指示時間tを累積した時間を示す。
そして、CPU64は、再生中ファイル192に登録するファイル名を選択する処理、つまり再生すべきファイルを背景映像ファイルテーブル100の中から選択するための再生ファイル選択アルゴリズムを実行する(ステップ300)。
【0073】
次に、CPU64により実行される再生ファイル選択アルゴリズムについて図19のフローチャートを参照して説明する。
CPU64は、図23(A)に示すテンポラリファイルリスト190の登録データを消去して空にする(ステップ302)。ここに、テンポラリファイルリスト190とは、この再生ファイル選択アルゴリズムを実行することにより、背景映像ファイルテーブル100の中から選択されたファイル名データ102を登録するためのリストである。そして、CPU64は、再生指示テーブル90(図9(A))の指示ポインタ位置の再生指示データ92を読出す(ステップ304)。
【0074】
ここでは、最初のファイル選択であるから、再生指示テーブル90の1番目に登録されている再生指示データ「G020」を読出す(ステップ304)。続いて、読出した再生指示データ92が「NULL」であるかを判定するが(ステップ306)、「NULL」ではないため、ステップ308へ進み、読出した再生指示データ92の1文字目が「P」であるか「G」であるかを判定する。そして、「P」である場合はステップ382へ進み、「G」である場合はステップ310へ進む。ここでは、読出した再生指示データ「G020」の1文字目は「G」であるためステップ310へ進む。
【0075】
ステップ310では、再生指示データ92の2文字目から4文字目の3桁と一致する数字および記号をジャンルキーワード数値101の先頭に有するファイル名が背景映像ファイルテーブル100に登録されていないかを検索するファイル検索アルゴリズム(3桁比較)を実行する。ここでは、2文字目から4文字目の3桁は「024」であるため、「024」をジャンルキーワード数値101の先頭に有するファイル名が背景映像ファイルテーブル100に登録されていないか検索する(ステップ310)。
【0076】
ここで、上記ステップ310において実行されるファイル検索アルゴリズム(3桁比較)について図20のフローチャートを参照して説明する。
なお、ここでは、上記ステップ304において再生指示テーブル90から読出された再生指示データ92の2文字目から4文字目の3桁は「024」であるとする。
CPU64は、背景映像ファイルテーブル100の1番目に登録されているファイルのジャンルキーワード数値101の先頭の3桁が「024」と一致するかを判定するが(ステップ312)、図10に示すように、背景映像ファイルテーブル100の1番目に登録されているファイルのジャンルキーワード数値101の先頭の3桁は「005」であり、「024」と一致しないため、ステップ322へ進み(ステップ312:No)、次のファイル、つまり2番目に登録されているファイルへ指示ポインタを移動させる。
【0077】
続いて、指示ポインタが背景映像ファイルテーブル100の最後に登録されているファイルを超えているか、つまり、全ファイルの検索が終了したかを判定するが(ステップ320)、ここでは、1番目のファイルの検索が終了しただけであるため、ステップ312へ戻り(ステップ320:No)、2番目のファイルのジャンルキーワード数値101の先頭の3桁が「024」と一致するかを判定する。
このようにして、ジャンルキーワード数値101の先頭の3桁が「024」と一致するファイルが見つかるまで、つまりステップ312で肯定判定されるまでステップ312、ステップ322およびステップ320を繰り返す。
【0078】
そして、ジャンルキーワード数値101の先頭の3桁が「024」と一致するファイルが見つかった場合は(ステップ312:Yes)、そのファイルに登録されている設定再生時間データTをテンポラリ設定再生時間データTAとして図23(C)に示すテンポラリ設定再生時間データ登録用ファイル194に登録する(ステップ314)。続いて、その登録されたテンポラリ設定再生時間データTAが、再生指示テーブル90の1番目に登録されている再生指示時間データt以上であるかを比較する(ステップ316)。
つまり、発見されたファイルの再生可能時間が、指定された再生時間を満たすことができるかを判定する。
【0079】
ここでは、図10に示すように、ジャンルキーワード数値101の先頭の3桁が「024」と一致するファイルとしては、ファイル名が「E789.VOB」のファイルが最初に見付けられるため、その設定再生時間データ「35」がテンポラリ設定再生時間データTAとしてテンポラリ設定再生時間データ登録用ファイル194に登録される(ステップ314)。
そして、再生指示テーブル90の1番目に登録されている再生指示時間データtは「30」であるから、TA(35)≧t(30)となり、ステップ318へ進み(ステップ316:Yes)、ファイル名「E789.VOB」をテンポラリファイルリスト190に登録する。
【0080】
以降、同様にして、ジャンルキーワード数値101の先頭の3桁が「024」と一致するファイル名「0A89.VOB」および「FD01.VOB」の2個のファイルについても、それぞれ設定再生時間データTが再生指示時間データt以上であるかを判定するが(ステップ314、316)、図10に示すように、両ファイルの設定再生時間データTは、「20」、「18」であり、再生指示時間データtの「30」より小さいため、両ファイルのファイル名は、テンポラリファイルリスト190には登録されない(ステップ316:No)。
【0081】
そして、CPU64は、テンポラリファイルリスト190に登録されているファイル名の登録数が0であるかを判定し(図19のステップ324)、登録数が0でない場合は、テンポラリファイルリスト190に登録されているファイル名の中から1つのファイル名を乱数に基づいてランダムに選択し、この選択したファイル名を再生中ファイル192に登録する(ステップ386)。ここでは、テンポラリファイルリスト190に登録されているファイル名は「E789.VOB」だけであるため、ファイル名「E789.VOB」が再生中ファイル192に登録される(ステップ386)。
【0082】
続いて、CPU64は、再生指示テーブル90の指示ポインタを1つ前に前進させて、再生ファイル選択アルゴリズムを終了する。ここでは、指示ポインタを再生指示テーブル90の2番目の再生指示データ92に進めて、再生ファイル選択アルゴリズムを終了する。
一方、ステップ310において、再生指示データ92の2文字目から4文字目の3桁と一致する数字および記号をジャンルキーワード数値101の先頭に有するファイルを検索できなかった場合は(ステップ324:登録数=0)、再生指示データ92の2文字目および3文字目の2桁と一致する数字および記号をジャンルキーワード数値101の先頭に有するファイルを検索する(ステップ330)。ここでは、「02」をジャンルキーワード数値101の先頭に有するファイルを検索する。
【0083】
ステップ330において実行されるファイル検索アルゴリズム(2桁比較)の内容を図21に示す。ステップ332からステップ342における処理内容は、ステップ332において、再生指示データ92の2文字目および3文字目の2桁と一致する数字および記号をジャンルキーワード数値101の先頭に有するファイルを検索する以外は、図20に示したステップ314からステップ322と同じであるため説明を省略する。
背景映像ファイルテーブル100には、「020」を先頭に有するファイルが登録されていないとすると、「02」を先頭に有するジャンルキーワード数値101としては、図10に示すように、「022H」、「023H」、「024H」、「029H」および「02AH]が登録されており、それら各ジャンルキーワード数値101に対応付けられるファイルとして、「1236.VOB」、「E589.VOB」、「E789.VOB」、「0A89.VOB」、「FD01.VOB」、「FF45.VOB」、「8959.VOB」、「F565.VOB」および「6789.VOB」のファイル名を有する計9個が登録されている。
【0084】
したがって、それら9個の各ファイルに登録されている各設定再生時間データTと再生指示時間データtとがそれぞれ比較される(ステップ336)。その結果、再生指示時間データ「30」以上の設定再生時間データを有する「E589.VOB」、「E789.VOB」、「FF45.VOB」、「8959.VOB」、「F565.VOB」および「6789.VOB」の計6個のファイル名がテンポラリファイルリスト190に登録され(ステップ338)、その中から1つのファイル名がランダムに選択され、再生中ファイル192に登録される(図19のステップ386)。
このように、「020」(演歌一般・港/船・和服)で特定されるファイルが記憶されていない場合であっても、それと類似する「02」(演歌一般・港/船)で特定される背景映像のファイル名データ102を再生中ファイル192に登録することができる。
【0085】
また、ステップ330において、再生指示データ92の2文字目および3文字目の2桁と一致する数字および記号をジャンルキーワード数値101の先頭に有するファイルを検索できなかった場合は(ステップ344:登録数=0)、再生指示データ92の1文字目の1桁と一致する数値および記号をジャンルキーワード数値101の先頭に有するファイルを検索する(ステップ350)。ここでは、「0」をジャンルキーワード数値101の先頭に有するファイルを検索する。
ステップ350において実行されるファイル検索アルゴリズム(1桁比較)の内容を図22に示す。ステップ352からステップ362における処理内容は、ステップ352において、再生指示データ92の1文字目の1桁と一致する数字および記号をジャンルキーワード数値101の先頭に有するファイルを検索する以外は、図20に示したステップ314からステップ322と同じであるため説明を省略する。
【0086】
背景映像ファイルテーブル100には、「02」を先頭に有するファイルが登録されていないとすると、「0」を先頭に有するジャンルキーワード数値101としては、図10に示すように、「005H」、「050H」および「054H」が登録されており、それら各ジャンルキーワード数値101に対応付けられているファイルとして、「7895.VOB」、「8959.VOB」、「7896.VOB」および「E458.VOB」のファイル名の計4個が登録されている。
したがって、それら4個の各ファイルに登録されている各設定再生時間データTと再生指示時間データtとがそれぞれ比較される(ステップ356)。その結果、再生指示時間データ「30」以上の設定再生時間データを有する「8959.VOB」のファイル名1個がテンポラリファイルリスト190に登録され(ステップ358)、そのファイル名が選択され、再生中ファイル192に登録される(図19のステップ386)。
このように、「02」(演歌一般・港/船)で特定されるファイルが記憶されていない場合であっても、それと類似する「0」(演歌一般)で特定される背景映像のファイル名データ102を再生中ファイル192に登録することができる。
【0087】
さらに、ステップ350において、再生指示データ92の1文字目の1桁と一致する数字および記号をジャンルキーワード数値101の先頭に有するファイルを検索できなかった場合は(ステップ364:登録数=0)、再生指示データ92の1文字目の1桁により示されるジャンルの親ジャンルに登録されたファイルを検索する(ステップ370)。ここでは、「0」で示されるジャンル「A」に対応する親ジャンルは、「B(演歌冬)」であるから(図11(B)、図12(B)参照)、親ジャンル「B(1)」に属するファイル名、つまりジャンルキーワード数値101の先頭に「1」を有するファイル名を検索する。
【0088】
この検索は、上記ステップ350において実行されたファイル検索アルゴリズム(1桁比較)により実行され(ステップ370)、テンポラリファイルリスト190に登録されたファイル名がある場合は(ステップ372:登録数>0)、その登録されたファイル名の中から1つのファイル名をランダムに選択し、再生中ファイル192に登録する(ステップ386)。
このように、「0」(演歌一般)で特定されるファイルが記憶されていない場合であっても、それと類似する「1」(演歌冬)で特定される背景映像のファイル名データ102を再生中ファイル192に登録することができる。
【0089】
また、上記ステップ304において読出した再生指示データ92の1文字目が「P」である場合は(ステップ308:P)、その「P」以下に付された数字および記号により示される番組番号と一致するファイル名を番組情報ファイルテーブル110(図11(A))の中から検索し、その検索されたファイル名をテンポラリファイルリスト190に登録する(ステップ382)。そして、テンポラリファイルリスト190にファイル名が登録されている場合は(ステップ384:登録数>0)、その登録されているファイル名の中から1つのファイル名をランダムに選択し、再生中ファイル192に登録する(ステップ386)。
【0090】
たとえば、再生指示データ92が「P236」である場合は、ファイル名「5666.VOB」および「5667.VOB」の2個のファイル名がテンポラリファイルリスト190に登録され(図11(A))、両ファイル名のいずれか一方が再生中ファイル192に登録される。
なお、上記ステップ302からステップ370を実行した結果、テンポラリファイルリスト190にファイル名が登録されなかった場合は(ステップ372:登録数=0)、エラー表示を行って再生を停止させる(ステップ374)。たとえば、DVDプレーヤ6、または、コマンダ20の前面パネルに設けられたエラー表示用のLED(図示省略)を点灯させたり、エラーメッセージを液晶表示する。または、モニタ12,14に「指定された背景映像が記憶されていませんので、そのままお待ちください。」などのメッセージ映像を表示する。
【0091】
次に、図18に示すタスクBに戻り、本発明の映像再生装置の特徴であるステップ500以降を説明する。
CPU64は、再生中ファイル192に登録されたファイル名に対応するファイルを開き(ステップ500)、累積再生指示時間T2に再生指示時間tを加算し、その加算された時間を累積再生指示時間T2に設定する(ステップ502)。ここでは、最初のファイルの再生であり、前回に再生されたファイルが存在しないため、累積再生指示時間T2=0であることから、再生指示時間tを累積再生指示時間T2に設定する(ステップ502)。たとえば、再生指示テーブル90の1番目に登録された再生指示時間tは「30」であるため、累積再生指示時間T2には「30」が設定される。
【0092】
続いて、再生中ファイル192に登録されているファイル名に対応するファイルが記憶されているDVD61A、または、DVD62Aから1GOP分の背景映像データを読出す(ステップ510)。続いて、基準クロックT1による計測を開始し(ステップ512)、読出した1GOP分の背景映像データをバッファメモリ65に転送する(ステップ514)。続いて、バッファメモリ65に蓄積された背景映像データによる再生時間を演算し、その演算された再生時間をテンポラリバッファ再生時間T3として設定する(ステップ516)。
【0093】
バッファメモリ65には、GOP単位で背景映像データが蓄積されるため、GOP1個分の背景映像データによる再生時間が分かっていれば、バッファメモリ65に蓄積されたGOP数に単位再生時間を乗算することにより、テンポラリバッファ再生時間T3を求めることができる。
たとえば、GOP1個分の背景映像データによる再生時間が、0.6秒であり、バッファメモリ65に10個分のGOPが蓄積されているとすると、テンポラリバッファ再生時間T3=0.6秒×10=6.0秒である。
【0094】
続いて、バッファメモリ65に蓄積されている背景映像データによる再生時間を除いて、実再生時間(今まで実際に再生された時間)T1が累積再生指示時間T2に達するまでに残っている時間(以下、残り再生時間と称する)T4を算出する演算を行う(ステップ518)。その残り再生時間T4を算出するためには、まず、累積再生指示時間T2から基準クロックT1により計測された実再生時間T1を減算する演算を行う。
つまり、現時点において、累積再生指示時間T2に達するまでに、あとどのくらいの時間が残っているかを演算する。ここでは、最初のファイルの再生を開始したばかりであるため、基準クロックT1による計測時間を0とすると、T2−T1=35秒−0=35秒となる。
【0095】
そして、上記演算された時間(T2−T1)から、さらにテンポラリバッファ再生時間T3を減算する演算を行う(ステップ518)。
つまり、次に再生される予定の背景映像データが、すでにバッファメモリ65に蓄積されているため、その蓄積されている背景映像データにより再生可能な時間(T3)を上記演算された時間(T2−T1)から減算し、累積再生指示時間T2に達するまでに実質的に残っている時間(残り再生時間T4)を演算する(ステップ518)。
たとえば、テンポラリバッファ再生時間T3=6.0秒とすると、残り再生時間T4=35秒−6秒=29秒となる。
【0096】
次に、残り再生時間T4が0より大きいか否か(正か負か)、つまり、指定された再生時間が終了するタイミング(本発明の指定終了タイミング)と、実際の再生が終了するタイミング(本発明の実終了タイミング)とが一致するか否かを判定する(ステップ520)。そして、残り再生時間T4が0より大きい場合、つまり、現時点において、バッファメモリ65に蓄積されている背景映像データを再生しても、実再生時間T1が累積再生指示時間T2に不足している場合(指定終了タイミングと実終了タイミングとが一致しない場合)は、DVD61A、または、DVD62Aのファイルに設定されている読出ポインタを1GOP分進める(ステップ522)。
つまり、次の1GOP分の背景映像データを読出す準備をする。
【0097】
続いて、ステップ220へ進むが、ここではタスクAからメッセージは送られていないため、ステップ504へ進み、再生中ファイルが「無効」に設定されているかを判定する。ここでは、ステップ218において再生中ファイルは「無効」に設定されていないためステップ506へ進み(ステップ504:No)、バッファメモリ65の空きサイズを検出し、空きサイズが1GOP以上ある場合は(ステップ508:Yes)、1GOP分の背景映像データを読出し(ステップ510)、バッファメモリ65に転送する(ステップ514)。
【0098】
続いて、上述したように、残り再生時間T4を演算し(ステップ516、518)、残り再生時間T4が0より大きい場合は(ステップ520:Yes)、次の1GOP分の背景映像データを読出し(ステップ522、510)、上記ステップ514からステップ520を実行する。
このようにして、背景映像データをファイルから1GOP単位で順次読出し、その読出したタイミングで残り再生時間T4を演算する。そして、ステップ520において残り再生時間T4が0以下と判定されるまで(ステップ520:No)、つまり、バッファメモリ65に蓄積されている背景映像データを再生することにより、実再生時間T1が累積再生指示時間T2に達するため、新たに背景映像データを読出す必要がないと判定されるまで、上記各ステップを繰り返し実行する。
【0099】
そして、残り再生時間T4が0以下であると判定されると(ステップ520:No)、再生しているファイルを閉じる(ステップ524)。これにより、バッファメモリ65に蓄積されている背景映像データの再生が終了した時点でファイルの再生が終了することになる(指定終了タイミングと実終了タイミングとが一致する)。続いて、再生指示テーブル90の2番目に登録されている再生指示データ92に対する再生ファイル選択アルゴリズムを実行し(ステップ300)、その実行により再生中ファイル192に登録された2番目のファイルについて、上記最初のファイルと同様にステップ500からステップ524を実行する。
【0100】
ここで、2番目のファイルの再生が終了し、3番目のファイルを再生する場合について図8を参照して説明する。
なお、3番目の再生指示データ「G054」に対して再生ファイル選択アルゴリズムを実行した結果、再生中ファイル192にはファイル名「E458.VOB」が登録されているものとする。また、ファイル名「E458.VOB」のファイルの再生指示時間tは14秒であり、1番目および2番目に再生された両ファイルの合計の実再生指示時間T1は、60秒であるとする。さらに、1番目および2番目のファイルの再生では、再生指示時間tと実再生時間T1とが一致しており、再生指示時間tについての過不足は発生しなかったものとする。
【0101】
ファイル名「E458.VOB」のファイルから1GOP分の背景映像データが読出されるごとに上記最初のファイルの場合と同様に残り再生時間T4を演算し(ステップ518)、残り再生時間T4が0より大きいか否かを判定する(ステップ520)。
ここでは、No.1からNo.9までのGOP9個分の背景映像データの再生が終了しており、現時点において、バッファメモリ65には、No.10からNo.24までのGOP15個分の背景映像データが蓄積されているとする。
【0102】
累積再生指示時間T2は、最初のファイルおよび2番目のファイルの合成の累積再生指示時間T2が60秒であり、3番目の再生指示時間tが14秒であるから、新たな累積再生指示時間T2は、T2+t=60秒+14秒=74秒となる(ステップ502)。また、9個のGOPの再生が終了しているため、最初のファイルの再生開始時点から計測している実再生時間T1は、60秒+0.6秒×9=65.4秒となる。さらに、バッファメモリ65にはGOP15個分の背景映像データが蓄積されているため、テンポラリバッファ再生時間T3は、0.6秒×15=9.0秒となる(ステップ516)。
したがって、残り再生時間T4は、T2−T1−T3=74秒−65.4秒−9.0秒=−0.4秒(T4<0)となる。
【0103】
したがって、現時点において、バッファメモリ65に蓄積されている背景映像データを全て再生すれば、実再生時間T1が累積再生指示時間T2を0.4秒超過することが推定される。
つまり、バッファメモリ65に蓄積されている背景映像データを全て再生することにより、目標の累積再生指示時間T2を満足することができる。
したがって、次の1GOP分の背景映像データを読出す必要がないため、再生中ファイル「E458.VOB」を閉じ(ステップ520:No、ステップ524)、次の4番目に再生すべきファイルの選択を行い(ステップ300)、その選択されたファイルの背景映像データの読出を実行する(ステップ500〜ステップ524)。
【0104】
ところで、バッファメモリ65に一時保存された背景映像データは、MPEGデコーダ回路66(図4)へ出力され、このMPEGデコーダ回路66によって背景映像信号に変換される。そして、MPEGデコーダ回路66から出力された背景映像信号は、映像出力端子67を介してコマンダ20の映像入力端子58を経て映像制御回路54に入力される。この入力された映像信号は、映像制御回路54により、モニタ12,14に表示するための映像信号に変換され、映像出力端子42,43を介してモニタ12,14へ出力され、図25に示すように、背景映像300が表示される。
【0105】
たとえば、3番目に再生されたファイルのファイル名が「E458.VOB」であるとすると、ファイル名「E458.VOB」に対応付けられたジャンルキーワード数値101は、「054」であるから、「演歌一般・田舎・子ども」で特定される背景映像がモニタ12,14に14.4秒間表示される。
以降、5番目から8番目の背景映像についても、上記と同様の各ステップを実行することにより、モニタ12,14に順次表示される。そして、コマンダ20から再生停止コマンド150がDVDプレーヤ6に送信されると(図16のステップ660)、CPU64は、ステップ204において、受信したコマンドの種類は、再生停止コマンダ150であると判定し、ステップ214へ進み、再生停止メッセージをタスクBに送り、タスクBのステップ218へ進み、再生中ファイルを「無効」に設定し、バッファメモリ65の記憶内容を消去し、タスクAから送られるメッセージを受けるまで待機する(ステップ220)。
【0106】
以上のように、本第1実施形態のDVDプレーヤ6によれば、バッファメモリ65に蓄積されている背景映像データを再生すると、実再生時間T1が累積再生指示時間T2を超過するか否かを判定することができ、超過すると判定された場合に次の新たな背景映像データの読出を禁止し、バッファメモリ65に蓄積された背景映像データの再生を終了した時点で背景映像の再生を終了させることができる。
つまり、実再生時間T1の終了タイミング(指定終了タイミング)を時間的に実再生時間T1の指定終了タイミングの後に位置する読出タイミングと一致させることができる。
したがって、背景映像が背景映像の読出タイミング間で終了することにより、背景映像データの正常な再生を行うことができず、モニタ12,14に表示される背景映像が乱れるという事態をなくすことができる。
【0107】
また、上述のように、3番目のファイルの実再生時間は、14.4秒であり、再生指示時間の14秒に対して0.4秒超過しているが、その超過分の0.4秒は、実再生時間T1として計測されている。
そして、その超過分を含んだ実再生時間T1は、ステップ518において、残り再生時間T4を演算する際に減算されるため、4番目のファイルの実質的な実再生時間が0.4秒少なくなったことになる。
【0108】
つまり、3番目のファイルの実再生時間の超過分は、次の4番目のファイルの実再生時間から減算されるため、3番目のファイルの実再生時間の超過分が、5番目以降のファイルの残り再生時間の演算まで持ち越されない。
したがって、前に再生されたファイルの実再生時間と再生指示時間との誤差が後の再生までずれ込むことがないため、背景映像間の切替わりタイミングが、背景映像の再生が進行するにつれて次第に大きくなることがない。
【0109】
ところで、これまでは、背景映像を再生する過程を説明したが、実際には、最初の背景映像が再生されるタイミングで曲が演奏され、歌詞テロップがモニタ12,14に表示される。
以下、曲データ130を構成する歌詞テロップデータ132および演奏データ133(図6(A))の再生などについて図16を参照して説明する。
コマンダ20のRAM47から読出された曲データ130に含まれる演奏データ133を構成するMIDIデータは、シーケンサ51に取り込まれ、タイマ53のカウントにしたがってMIDI音源52に書き込まれる。そして、MIDI音源52から出力される音源信号は、音声制御回路50へ出力され、アンプ16により増幅可能な音楽信号に変換され、この変換された音楽信号は、アンプ16へ出力される。そして、その出力された音楽信号は、アンプ16で設定された音量に増幅された後にスピーカ13,13へ出力され、スピーカ13,13によって演奏音として再生される(ステップ600)。
【0110】
また、曲データ130に含まれる歌詞テロップデータ132に対応するフォントデータが、フォントROM44から読み出され、この読出されたフォントデータはビットマップデータに展開され、ビデオRAM48に保存される。続いて、そのビットマップデータは、映像制御回路54へ出力されるとともに、その映像制御回路54により、モニタ12,14に表示可能な表示信号に変換され、図251に示すように、モニタ12,14に歌詞テロップ302が表示される。(ステップ620)
【0111】
また、マイクロフォン17,18から入力された音声信号は、アンプ16において上記音楽信号とミキシングされ、このミキシングされたミキシング信号は、音声出力端子41からアンプ16へ出力される。そして、その出力されたミキシング信号は、アンプ16で設定された音量に増幅された後にスピーカ13,13へ出力され、スピーカ13,13によってミキシング音として再生される。
つまり、利用者は、自分の選んだ曲をモニタ12,14の画面に映し出された背景映像300および歌詞テロップ302を見ながらマイクロフォン17、または、マイクロフォン18を通して歌う(カラオケする)ことができる。
【0112】
そして、CPU45は、RAM47に予約された選曲番号データが記憶されているかを判定し(ステップ680)、記憶されている場合は(ステップ680:Yes)、その記憶されている選曲番号データをRAM47から読出し(ステップ700)、ステップ100ないしステップ680を実行して予約曲を再生する。
【0113】
次に、上記第1実施形態において図18に示したタスクBの変更例について図24に示すフローチャートを参照して説明する。
図24は、タスクBの一部を示し、ステップ521以外の各ステップは、図18に示すタスクBと同一であるため、ステップ521、ステップ522およびステップ524以外のステップの図示を省略している。
ステップ521では、残り再生時間T4がTG以上でかつ2TGより短いか否かを判定する。ここに、TGは、GOP1個分の背景映像データによる再生時間を示す。
つまり、ステップ521では、残り再生時間T4が、GOP1個分の再生時間以上でかつGOP2個分の再生時間より短い範囲にあるかを判定する。
【0114】
たとえば、図8に示した再生スケジュールにしたがって3番目の背景映像を再生する場合において、現時点でNo.1からNo.7までのGOP7個分の背景映像データの再生が終了しており、バッファメモリ65には、No.8からNo.22までのGOP15個分の背景映像データが蓄積されているとする。また、累積再生指示時間T2は、最初のファイルおよび2番目のファイルの合成の累積再生指示時間T2が60秒であり、3番目の再生指示時間tが14秒であるとする。
【0115】
すると、新たな累積再生指示時間T2は、T2+t=60秒+14秒=74秒となる(ステップ502)。また、GOP7個分の背景映像データの再生が終了しているため、最初のファイルの再生開始時点から計測している実再生時間T1は、60秒+0.6秒×7=64.2秒となる。さらに、バッファメモリ65にはGOP15個分の背景映像データが蓄積されているため、テンポラリバッファ再生時間T3は、0.6秒×15=9.0秒となる(ステップ516)。
したがって、残り再生時間T4は、T2−T1−T3=74秒−64.2秒−9.0秒=0.8秒となる。
つまり、TG(0.6)≦T4(0.8)<2TG(1.2)となる。
【0116】
したがって、ステップ522へ進み(ステップ521:Yes)、再生しているファイルの読出ポインタを1GOP分進める(ステップ524)。
これにより、No.23の1GOP分の背景映像データが読出され(ステップ510)、バッファメモリ65に蓄積されるため(ステップ514)、その蓄積された1GOP分の再生時間がテンポラリバッファ再生時間T3として加算され、さらにその間にも背景映像データの再生が行われ、実再生時間T1も増加しているため、残り再生時間T4は、1GOP分の背景映像データを読出す前に演算された残り再生時間T4よりも少なくとも1GOP分(0.6秒)以上少なくなる(ステップ518)。
【0117】
つまり、前回のステップ518において演算されたT4は、0.8秒であるから、今回のステップ518において演算されるT4は、少なくとも0.2秒(0.8秒−0.6秒)以下になるため、ステップ521では否定判定され(ステップ521:No)、ファイルを閉じる(ステップ524)。
これにより、上記3番目の背景映像は、GOP23個分の背景映像データを再生したところで再生を終了することができる。
したがって、GOPの途中で再生が終了して背景映像が乱れることがない。
【0118】
また、図8に示すように、3番目の背景映像の実再生時間は、13.8秒となるため、再生指示時間の14.0秒に対して0.2秒不足するが、その不足分は、次の4番目の背景映像の実再生時間T1に加算されるため、4番目のファイルの実質的な実再生時間が0.2秒長くなったことになる。
つまり、3番目のファイルの実再生時間の不足分は、次の4番目のファイルの実再生時間に加算されるため、3番目のファイルの実再生時間の不足分が、5番目以降のファイルの残り再生時間の演算まで持ち越されない。
したがって、前に再生されたファイルの実再生時間と再生指示時間との誤差が後の再生までずれ込むことがないため、背景映像間の切替わりタイミングが、背景映像の再生が進行するにつれて次第に大きくなることがない。
【0119】
ところで、上記各実施形態では、図7(D)に示す再生方法指示コマンダ160に示されるスケジューリングにしたがって背景映像を再生する場合を説明したが、図7(E)に示す再生方法指示コマンダ170、または、同図(F)に示す再生方法指示コマンダ180により、背景映像の再生方法が指示される場合も、再生方法指示コマンダ160の場合と同様に、CPU45およびCPU64により、上記各ステップが実行されるため、GOPの途中で再生が終了してしまい、背景映像が乱れるのを回避できる。
【0120】
また、複数の再生指示データを有する再生方法指示コマンダ180により、複数の背景映像を再生する場合は、実再生時間と累積再生時間との誤差が大きくなって背景映像の切替わりタイミングが大きくずれることを回避できる。
なお、上記各実施形態では、本発明の映像再生装置としてカラオケ装置に備えられたDVDプレーヤを代表に説明したが、カラオケ装置に備えられるCD−ROMプレーヤ、または、カラオケ装置以外に用いられるDVDプレーヤ、CD−ROMプレーヤなどにも適用することができる。
【0121】
ところで、CPU64により実行されるタスクB(図18および図24)が、本発明のタイミング制御手段として機能する
さらに、コマンダ20、アンプ16およびスピーカ13,13が、請求項に記載の楽曲情報再生手段に相当する。
【0122】
【発明の効果】
以上のように本発明によれば、MPEG規格のGOPからなる複数の映像情報を編集して構成された編集映像情報が複数記憶された映像情報記憶手段から所定の編集映像情報をGOP単位で読出して再生する映像再生装置において、指定された再生時間が終了するタイミングと、実際の再生が終了するタイミングとが一致しない場合に、実際の再生が終了するタイミングを、指定された再生時間が終了するタイミングよりも時間的に前または後におけるGOPの再生終了タイミングに一致させることができる。
したがって、正常に再生されないGOPが発生し、映像情報が乱れる事態をなくすことができる。
【図面の簡単な説明】
【図1】 本発明実施形態のカラオケ装置の外観説明図である。
【図2】 (A)は、カラオケ装置に備えられたコマンダの前面パネルの説明図であり、(B)は、コマンダの背面パネルの説明図である。
【図3】 コマンダの制御系の構成をブロックで示す説明図である。
【図4】 DVDプレーヤの構成および機能をブロックで示す説明図である。
【図5】 カラオケ装置に備えられた送信器の説明図である。
【図6】 (A)は曲データの主要構成をブロックで示す説明図であり、(B)は再生開始コマンドの構成を表す説明図であり、(C)は再生停止コマンドの構成を表す説明図である。
【図7】 (D)はジャンルおよびキーワードにより背景映像の再生方法を指示する再生方法指示コマンドの構成を示す説明図であり、(E)は番組番号により番組情報を示す背景映像を指示する再生方法指示コマンドの構成を示す説明図であり、(F)はジャンルおよびキーワードと、番組番号とにより、ジャンルおよびキーワードにより特定される背景映像、および番組番号により特定される背景映像を混在させて指示する再生方法指示コマンドの構成を示す説明図である。
【図8】 図7(D)に示す再生方法指示コマンドにより示される再生スケジュールを時系列で示す説明図である。
【図9】 (A)は再生方法指示コマンド160により示される再生指示データおよび再生指示時間データが登録された再生指示テーブルの構成を示す説明図であり、(B)は再生方法指示コマンド170により示される再生指示データおよび再生指示時間データが登録された再生指示テーブルの構成を示す説明図であり、(C)は再生方法指示コマンド180により示される再生指示データおよび再生指示時間データが登録された再生指示テーブルの構成を示す説明図である。
【図10】 背景映像ファイルテーブルの構成を示す説明図である。
【図11】 (A)は番組情報ファイルテーブルの構成を示す説明図であり、(B)は親ジャンルテーブルの構成を示す説明図である。
【図12】 (A)はジャンルキーワード数値のビット構成を示す説明図であり、(B)はジャンル名、数値および分類との対応関係を示す説明図である。
【図13】 (A)はジャンルAと第1キーワードとの対応関係を示す説明図であり、(B)はジャンルAと第1キーワードとの対応関係を示す説明図である。
【図14】 (A)は第1キーワード「港/船」に対する第2キーワードの割り当てを示す説明図であり、(B)は第1キーワード「田舎」に対する第2キーワードの割り当てを示す説明図であり、(C)は第1キーワード「雑踏」に対する第2キーワードの割り当てを示す説明図である。
【図15】 番組情報の割り当てを示す説明図である。
【図16】 本発明第1実施形態のCPU45により実行される選曲から予約曲の再生までの制御内容を示すフローチャートである。
【図17】 本発明第1実施形態のCPU64により実行されるコマンド解析タスクを示すフローチャートである。
【図18】 本発明第1実施形態のCPU64により実行されるDVD再生タスクを示すフローチャートである。
【図19】 本発明第1実施形態のCPU64により実行される再生ファイル選択の処理内容を示すフローチャートである。
【図20】 図19に示すステップ310で実行される3桁比較の処理内容を示すフローチャートである。
【図21】 図19に示すステップ330で実行される2桁比較の処理内容を示すフローチャートである。
【図22】 図19に示すステップ350で実行される1桁比較の処理内容を示すフローチャートである。
【図23】 (A)は、テンポラリファイルリストの構成を示す説明図であり、(B)は、再生中ファイルの構成を示す説明図であり、(C)は、テンポラリ設定再生時間データ登録用ファイルの構成を示す説明図である。
【図24】 図18のDVD再生タスクの変更例を示すフローチャートである。
【図25】 モニタ12の表示画面を説明する説明図である。
【図26】 AからHの8個の背景映像の再生スケジュールを時系列で示す説明図である。
【符号の説明】
6 DVDプレーヤ
10 カラオケ装置
15 通信ケーブル
16 アンプ
20 コマンダ
45,64 CPU
60 映像管理テーブル用メモリ
61A,62A DVD
90 再生指示テーブル
100 背景映像ファイルテーブル
130 曲データ
140 再生開始コマンド
150 再生停止コマンド
160 再生方法指示コマンド
t 再生指示時間
T 設定再生時間
T1 実再生時間
T2 累積再生指示時間
T3 テンポラリバッファ再生時間
T4 残り再生時間
[0001]
BACKGROUND OF THE INVENTION
  The present invention is a video playback device for playing back video, wherein the background video is displayed in a karaoke device for performing karaoke by displaying a lyrics telop indicating lyrics and a background video displayed on the background of the lyrics telop on a monitor television. The present invention relates to a device suitable for reproduction.
[0002]
[Prior art]
  2. Description of the Related Art Conventionally, as the karaoke apparatus, for example, a so-called communication karaoke apparatus is known that receives song data from a server that holds song data via a communication line and reproduces the received song data.
  This online karaoke device includes a song data playback device that performs music selection, reception and playback of song data, an amplifier that performs song performance and microphone mixing, a speaker that plays back signals output from the amplifier, and background video. Video monitor, lyrics telop, monitor TV for displaying background video, microphone, and the like.
[0003]
  The video player has a plurality of (for example, four) CD-ROMs that store a plurality of background videos, and the playback time of one background video varies depending on the background video, but is, for example, 30 seconds. is there. Each background video is stored in association with a genre of music such as enka and pop, and genre data indicating the genre is attached to each background video.
  For example, a background image of a woman in kimono appearing in a video showing a ship anchored at a port, and a background image of a man and woman appearing in a video showing a ship anchored in a port, The genre data indicating the genre is attached.
  The music data is composed of performance data indicating the performance part of the music, lyrics telop data indicating the lyrics telop, genre data indicating the genre of the music, and the performance data is MIDI (Musical Instrument Digital Interface) data. It is configured.
[0004]
  In the karaoke apparatus having the above-described configuration, the moving image player randomly selects one background video from a plurality of background videos to which genre data corresponding to the genre data included in the song data is attached and reproduces it. . The background video reproduced by the video player is displayed on the monitor television. The moving image player repeatedly selects and reproduces the background image until the music performance is finished.
  For example, assuming that the playback time of a song to be played is 4 minutes and the playback time of one background video is 30 seconds, the above selection and playback are repeated 8 times in the same genre, and a total of 8 background videos are sequentially monitored. Displayed on TV.
[0005]
  The song data reproducing apparatus receives song data indicating the selected song from the server, writes performance data included in the received song data to the MIDI sound source, and a signal generated from the MIDI sound source is transmitted by an amplifier and a speaker. Played. Further, the song data reproducing apparatus converts the lyrics telop data included in the song data into a video signal, and the converted video signal is displayed as a lyrics telop on the monitor television.
[0006]
  By the way, since the above-mentioned conventional video player has a small number of background images that can be reproduced, there is a problem that the same background image is reproduced and the karaoke person gets bored while repeatedly singing songs of the same genre. In addition, since the selected background video is reproduced for the time stored in the CD-ROM, the background video cannot be switched in accordance with the change of the music.
  Therefore, it has been considered to store a larger amount of background video than before by using a mass storage medium such as a DVD (Digital Video Disk). Then, it is considered that the genre is subdivided and scheduling for designating the order and the reproduction time of the background video belonging to the genre for each piece of music data is performed.
[0007]
[Problems to be solved by the invention]
  FIG. 26 shows an example of scheduling for playing back the background video stored on the DVD. The figure shows a playback schedule in a time series when 8 background videos from A to H are played by designating playback times (unit: seconds) from t1 to t8, respectively. As shown in the figure, the playback time instructed for the C background video to be played back (hereinafter referred to as the playback command time) is 14 seconds (t3), and D is played back fourth. It is assumed that the background video playback instruction time is 30 seconds (t4).
[0008]
  By the way, in the DVD, the MPEG2 standard defines that moving images are stored in GOP units. Here, MPEG is an abbreviation for Moving Picture Experts Group, and refers to an international standard for information compression such as moving pictures and audio related thereto. GOP is an abbreviation of Group Of Picture, and refers to one unit of video compressed by the MPEG2 standard. One GOP includes one basic frame indicating a basic image of a moving image and the basic frame. And a set of data indicating how the changes have occurred. For example, one GOP has 18 frames.
  That is, since the video stored on the DVD is stored in GOP units, it is read out and reproduced in GOP units.
  Therefore, if playback is ended in the middle of a GOP, the GOP cannot be played back normally, and the video is distorted.
[0009]
  For example, if the playback time of 1 GOP is 0.6 seconds and the playback time of the background video C is 15 seconds, the background video C is No. 1 to No. It is composed of a total of 25 GOPs (15 / 0.6 = 25) up to 25.
  That is, the background video C is read from the DVD at intervals of 0.6 seconds.
  However, the timing at which 14 seconds of the playback instruction time for the background video C ends is No. No. 24 GOP will be in the middle. There is a problem that the background video indicated by the 24 GOPs cannot be reproduced normally and the background video is disturbed.
[0010]
  In addition, as shown in FIG. 26, when the playback of the background video C is completed in 13.8 seconds, the timing for starting the playback of the next background video D is 0.2 seconds earlier. When the reproduction of C is finished in 14.4 seconds, the timing for starting the reproduction of the background video D is delayed by 0.4 seconds.
  That is, there is a problem that the timing for switching from the background video C to the background video D is shifted. In particular, when the deviation exists between many background images, there is a problem that the deviation accumulates and becomes larger as the playback time elapses.
[0011]
  Therefore, the present invention providesEdited video information configured by editing multiple video information composed of MPEG standard GOPsThe actual playback time aboveIn the middle of GOPIf you want to end withEnd of GOP playbackAn object of the present invention is to realize a video playback device that can normally playback video information by matching the timing.
[0012]
[Means for Solving the Problems]
  In order to achieve the above-mentioned object, the present invention providesConsists of MPEG standard GOPPredetermined edited video information is obtained from video information storage means storing a plurality of edited video information configured by editing a plurality of video information.In GOP unitsA video playback device that reads and plays back, when a plurality of pieces of edited video information stored in the video information storage means are read out and each of them is designated by a playback time and played back. A designated end timing at which a reproduction time designated for predetermined edited video information ends, and a plurality of pieces of video information constituting the edited video information as the predetermined edited video informationIn GOP unitsIt is determined whether or not the actual end timing at which playback ends when read and actually played back matches, and if the determination result is that the specified end timing does not match the actual end timing, The actual end timing, GOP playback end timing before or after the specified end timingThe technical means that a timing control means for matching the above is provided is adopted.
[0013]
[0014]
[0015]
[0016]
[0017]
[0018]
  Claim2In the invention described in claim1The musical sound reproducing apparatus including the described video reproducing apparatus and music information reproducing means for reproducing predetermined music information when the edited video information is reproduced by the video reproducing apparatus is employed.
[0019]
[Action]
  Claim1In the described invention, the timing control means is stored in the video information storage means.Consists of MPEG standard GOPA specified end timing at which the playback time specified for the predetermined edited video information ends when the plurality of edited video information is read out from the plurality of edited video information and each playback time is specified and played back, A plurality of pieces of video information constituting the edited video informationIn GOP unitsIt is determined whether or not the actual end timing at which playback ends when read and actually played back coincides. Then, the timing control means determines the actual end timing if the determination result is that the designated end timing does not match the actual end timing., GOP playback end timing before or after the specified end timingTo match.
[0020]
  That isWhen the designated end timing does not coincide with the actual end timing, the real end timing is set to the GOP playback end timing before or after the designated end timing.Will cause a GOP that cannot be played back correctly,Video informationYou can eliminate the situation.
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
  And claims1The video playback apparatus described in claim2As described above, the present invention is suitably used for a musical sound reproducing apparatus provided with music information reproducing means for reproducing predetermined music information when the edited video information is reproduced.
  That is, for example, as described in an embodiment of the invention described later, in a karaoke device that is a musical sound reproducing device, when music data that is music information is reproduced, a background video is displayed on the monitor screen. A situation in which the background video displayed on the monitor screen is disturbed during the karaoke, and the karaoke person is awakened by adopting the above technical means in the DVD player as the video playback device to be played back. This is because it can be avoided.
[0027]
DETAILED DESCRIPTION OF THE INVENTION
  Hereinafter, an embodiment of a video reproduction apparatus of the present invention will be described with reference to the drawings.
  In the following embodiments, the video playback device is used for a so-called communication karaoke device that is connected to a server that holds song data via a communication line, and receives and plays the song data from the server via the communication line. The background video playback device will be described as a representative. As a background video playback apparatus, a DVD player that plays a DVD will be described as a representative.
[0028]
  First, the main configuration of the karaoke apparatus provided with the DVD player of this embodiment will be described with reference to FIG.
  As shown in FIG. 1, a karaoke apparatus 10 includes a monitor television (hereinafter abbreviated as a monitor) 12 that displays lyrics telop indicating lyrics, background video displayed on the background of the lyrics telop, video indicating music selection number, and the like. And a monitor 14 for the singer. Further, the karaoke apparatus 10 is provided with a DVD player 6 for reproducing a DVD in which background video data as video information of the present invention is stored.
[0029]
  Further, the karaoke apparatus 10 includes music selection for a karaoke song (hereinafter abbreviated as a song) as a song, lyrics telop of the selected song, performance data indicating a performance part of the song, and the like. A device (hereinafter referred to as a commander) 20 for receiving music data as music information via the communication cable 15, reserving music playback, and switching and synthesizing images displayed on the monitors 12 and 14. , Microphones 17 and 18 are provided.
[0030]
  Also, the karaoke apparatus 10 has mixing of sound and music input from the microphones 17 and 18, volume balance of sound and music, echo adjustment, delay adjustment, amplification of mixing signal, pitch control of the music to be played ( Key control), an amplifier 16 for controlling high and low sounds (tone control), a pair of speakers 13 and 13 for reproducing amplified signals output from the amplifier 16 as sound, and transmission for remotely operating the commander 20 A container 70 is provided.
[0031]
  Next, the configuration and function of the commander 20 will be described with reference to FIG.
  FIG. 2A is an explanatory diagram of the front panel of the commander 20, and FIG. 2B is an explanatory diagram of the rear panel of the commander 20.
  As shown in FIG. 2A, on the front panel of the commander 20, a numeric keypad 21 consisting of buttons 0 to 9 for inputting the music selection number of the music to be selected and a music selection button for confirming the music selection are displayed. 22, and a music selection number display 23 for displaying the music selection number of the selected music in LED with a 6-digit number is provided above the numeric keypad 21.
[0032]
  Also, on the left side of the music selection number display body 23, there is provided a reserved music number display body 24 for displaying the number of music reserved for performance by LED, and below that is for canceling the reservation. There are provided a cancel button 25, a performance stop button 26 for stopping performance, a re-singing button 27 for re-singing from the beginning while singing, and an interrupt button 28 for interrupting and reserving between reserved music. ing. Furthermore, a receiving unit 38 that receives an optical signal transmitted from the transmitter 70 is provided at the upper left of the front panel, and a power button 39 for turning on the power of the commander 20 is provided at the lower left.
[0033]
  On the right side of the numeric keypad 21, there are provided a flat key 29 for lowering the performance key, a standard key 30 for standardizing the key, and a sharp key 31 for increasing the key. Are provided with a vocal button 32 for setting the volume of the melody line of the vocal, a 2 chorus cut button 33 for reproducing up to the second chorus, and a post performance cut button 34 for cutting the posterior portion of the song. Furthermore, below these buttons are a karaoke switching button 35 for switching between a mode for performing karaoke and a mode for not performing karaoke, and data input via the communication cable 15 from music data to BGM, cable broadcasting, television broadcasting, etc. An input switching button 36 for switching to display and a service button 37 for switching the display of the monitors 12 and 14 to display of service information provided by a server or the like are provided.
[0034]
  As shown in FIG. 2B, the rear panel of the commander 20 is provided with a communication terminal 40 for connecting a communication cable 15 for communicating with the server 2 (see FIG. 3) installed in each region. On the right side of the communication terminal 40, a connector 69 for connecting a plug 68 connected to the control circuit 63 (see FIG. 4) of the DVD player 6 is provided. A video input terminal 58 for connecting a video output terminal 67 (see FIG. 4) of the DVD player 6 is provided on the right side of the connector 69. On the right side of the video input terminal 58, there are a video output terminal 42 connected to a video input terminal (not shown) of the monitor 12, and a video output terminal 43 connected to a video input terminal (not shown) of the monitor 14. An audio output terminal 41 for connecting to the audio input terminal of the amplifier 16 is provided on the right side of the video output terminal 43.
[0035]
  Next, the configuration of the control system of the commander 20 will be described with reference to FIG. 3 and FIG.
  FIG. 3 is an explanatory diagram showing the main configuration of the control system of the commander 20 in blocks, and FIG. 6A is an explanatory diagram showing the main configuration of song data in blocks.
  Initially, the main structure of music data is demonstrated with reference to FIG. 6 (A).
  The song data 130 includes a playback method instruction command 160 for instructing a playback schedule such as the type and playback order of background video to be played back, lyrics telop data 132 indicating lyrics telop (caption), performance data 133 indicating the performance part of the song, and the like. Composed. The performance data 133 is composed of MIDI data.
[0036]
  Next, the main configuration of the control system of the commander 20 will be described with reference to FIG.
  The commander 20 performs music selection, a request for transmission of music data 130 to the server 2, reception of music data 130, transmission of various commands to the DVD player 6, reservation of the performance order of music, audio control, video control, and the like according to the program. A CPU 45 is provided. Further, the CPU 45 stores a ROM 46 storing a program executed by the CPU 45, received music data 130, data transmitted from the transmitter 70, music selection number data indicating the music selection number of the selected music, and reservation. A RAM 47 for temporarily storing the music selection number data of the selected music is connected.
[0037]
  Further, the CPU 45 stores a font ROM 44 in which font data for displaying on the monitors 12 and 14 characters indicating the words constituting the lyrics telop, the music selection number, the operating state of the karaoke apparatus 10, and the like. A video RAM 48 that temporarily stores data read and expanded into bitmap data is connected to a communication modem 49 for receiving music data 130 from the server 2 via the communication cable 15 and the communication terminal 40. . Further, the CPU 45 receives a sequencer 51 that controls writing MIDI data constituting the performance data 133 included in the music data 130 into the MIDI sound source 52 according to the count of the timer 53, and a sound source signal output from the MIDI sound source 52. An audio control circuit 50 that converts the signal into a signal that can be amplified by the amplifier 16 is connected.
[0038]
  Further, an interface 59 for inputting / outputting commands and the like to / from the DVD player 6 is connected to the CPU 45. Further, the CPU 45 converts the background video signal input from the DVD player 6 through the interface 59 into a display signal for display on the monitors 12 and 14, and converts the bitmap data output from the video RAM 48 to the lyrics telop. A video control circuit 54 for converting the video data to the video signal is connected. The video control circuit 54 performs control so that the lyrics telop 302 is superimposed on the background video 300 as shown in FIG. 31 for explaining the display screen of the monitor 12. The video control circuit 54 also controls to change the color of the lyrics telop as the music progresses.
[0039]
  The CPU 45 also has a conversion circuit 55 that converts the optical signal received by the receiving unit 38 into a digital signal, an LED that lights when various buttons provided on the front panel of the control device 20 are pressed, and a song selection number display. A display circuit 56 for outputting a display signal to the body 23 and the reserved music number display body 24 and an input circuit 57 for inputting a switching signal generated when the various buttons are pressed are connected.
[0040]
  Next, the configuration and functions of the DVD player 6 will be described with reference to FIG.
  The DVD player 6 includes a DVD drive 61 that reads background video data from a DVD 61A that stores background video data indicating a background video, and a DVD drive 62 that reads background video data from a DVD 62A that also stores background video data. Is built-in. Both DVD drives 61 and 62 are provided with a disk rotation motor (not shown), a motor drive circuit, a read head that irradiates the disk surface with light and reads the background image data stored on the disk.
  Note that the DVD 61A and the DVD 62A correspond to the video information storage means of the present invention.
[0041]
  Further, the DVD player 6 receives the background video data (MPEG digital data) read from the DVDs 61A and 62A, and the background video data output from the buffer memory 65 to input an analog background video. An MPEG decoder circuit 66 for converting into a signal is incorporated.
  Further, the DVD player 6 includes a control circuit 63 having a CPU 64 for performing control for reading background video data from the DVD 61A and DVD 62A, and a video management table memory 60. Also connected to the control circuit 63 is an actual reproduction time monitoring reference clock (hereinafter abbreviated as a reference clock) T1, which serves as a reference for measuring the actual reproduction time of the background video data read from the DVD 61A and DVD 62A. Has been.
[0042]
  The video management table memory 60 stores the background video data file names stored in the DVD 61A and the DVD 62A in association with genres and keywords in a table format and manages them (see FIG. 13). Etc. are memorized. The background video file table 100 and the like are stored in the DVD 61A or the DVD 62A, read when the DVD player 6 is powered on, and stored in the video management table memory 60.
[0043]
  DVD 61A and DVD 62A each store a large number (for example, 32,000) of background images compressed by the MPEG2 video system. Each background video is stored for each genre of music such as enka and pop, and the playback time varies depending on the background video such as 15 seconds and 30 seconds.
  In the present embodiment, a rewritable storage medium such as a RAM is used for the video management table memory 60.
[0044]
  Here, the contents stored in the video management table memory 60 will be described with reference to FIGS.
  The video management table memory 60 stores a background video file table 100 shown in FIG. In the background video file table 100, a genre keyword numerical value 101 indicating a genre of the background video and a keyword specifying the content of the background video, file name data 102 indicating the file name of the background video, and playback in which the background video is set. A plurality of sets are set in a table format in association with set reproduction time data T indicating time in seconds.
[0045]
  The genre keyword numerical value 101 is registered in a hexadecimal number. As shown in FIG. 12A for explaining the bit configuration, the 0 to 3 bits indicate the second keyword, and the 4 to 7 bits. This indicates the first keyword, and the genre is from 8 bits to 11 bits.
  For example, a background video whose genre keyword value 101 is “020H” is a background video whose genre is “0”, the first keyword is “2”, and the second keyword is “0”.
[0046]
  The genre “0” indicates that the genre name is “A” and belongs to the class “Enka Enka” as shown in FIG. As shown in FIG. 13A for explaining the correspondence between the genre A and the first keyword, “1” of one keyword indicates that the keyword is “port / ship”.
  That is, it is indicated that there is a scene in which a ship anchored at the port appears in the background video whose genre keyword numerical value 101 is “020H”.
  Further, “0” of the second keyword indicates that the keyword is “Japanese clothes” as shown in FIG. 14A for explaining the assignment of the second keyword to the first keyword “port / ship”.
[0047]
  That is, in the background video whose genre keyword numerical value 101 is “020H”, in addition to the scene in which a ship anchored at the port appears, there is a scene in which a woman in Japanese clothes appears.
  FIG. 13B is an explanatory diagram showing the correspondence relationship between the genre D and the first keyword, but the correspondence relationship with the first keyword is similarly defined for other genres, though not shown. FIG. 14B is an explanatory diagram showing assignment of the second keyword to the first keyword “countryside”, and FIG. 14C is an explanation showing assignment of the second keyword to the first keyword “busy”. Although not shown in the figure, the correspondence relationship with the second keyword is similarly defined for the other first keywords.
[0048]
  As described above, in the background video file table 100, one genre and two keywords are associated with one file name and registered. For this reason, the background video can be designated by a large concept of genre, and a specific background video in the same genre can be designated by adding a keyword to the genre.
[0049]
  The video management table memory 60 stores a program information file table 110 shown in FIG. Here, the program information means a background video that is reproduced only when a theme song of an animation or a movie, such as an animation or a movie, is sung. In the program information file table 110, a plurality of sets of program number data 111, file name data 112, and reproduction time data 113 are set in association with each other in a table format. The program number data 111 is set in hexadecimal as with the genre keyword numerical value 101.
[0050]
  For example, the background video identified by the program number data 111 of “236H” is the background video of the movie “Yuji Kayama movie” as shown in FIG. The background video identified by the program number data 111 of “28AH” is an animated background video “Tetsujin Atom”. Further, the background video in which the program number data 111 is specified as “FFEH” is a background video showing “Sapporo Clock Tower”.
[0051]
  Further, the parent genre table 120 shown in FIG. 11B is stored in the video management table memory 60. Here, the parent genre means a large genre to which each genre from A to P shown in FIG. In the parent genre table 120, genre classification data 121 indicating the genre classification and the numerical value thereof, and parent genre data 122 indicating the parent genre and the numerical value thereof are set in a table format in association with each other.
  For example, the genre whose genre classification data 121 is indicated by “A (0)” belongs to the parent genre “B (1)”.
  That is, the general genre called “A (0)” belongs to the parent genre called “B (1)” (FIG. 12 (B)).
[0052]
  Further, the video management table memory 60 stores a reproduction instruction table 90 shown in FIG. Here, the reproduction instruction table means a table for registering a background video, reproduction order and reproduction time selected when a certain music piece is selected. That is, it means a table for registering a background video playback schedule.
  In the reproduction instruction table 90, order data 91 indicating the reproduction order, reproduction instruction data 92 indicating the contents of the reproduction instruction, and reproduction designation time data t for designating the reproduction time are set in association with each other. The reproduction instruction data 92 and the reproduction designation time data t registered in the reproduction instruction table 90 are included in the reproduction method instruction command 160 constituting the music data 130 transmitted from the server 2 to the commander 20, and are sent from the commander 20 to the DVD. It is transmitted to the player 6. The structure of the command is shown in FIGS.
[0053]
  FIG. 7D shows the structure of a playback method instruction command for instructing a background video playback method by genre and keyword. FIG. 7E shows a playback method instruction for instructing a background video showing program information by a program number. FIG. 8F shows the structure of commands, and FIG. 8F shows a reproduction method in which a background video specified by a genre and a keyword and a background video specified by a program number are mixed and indicated by a genre and keyword and a program number. The structure of an instruction command is shown. Each playback method instruction command is represented by an ASCII code, and is composed of 26 alphabetic characters, numerals, and some symbol characters. “PROG” means that the reproduction instruction data below “PROG” is instructed to be registered in the reproduction instruction table 90, and [CR] means the end of the command.
[0054]
  The playback method instruction command 160 shown in FIG. 7D is “PROG: G020, 30: G02A, 30: G054, 14: G024, 30: G050, 25: G029, 25: G022, 20: G023, 30 [CR. ] "Is shown. Here, the first letter “G” indicates that a three-digit number and symbol attached to G or less designate a genre and a keyword, and the three-digit number and symbol indicate a genre. And keywords. In addition, the two-digit number delimited by “,” next to the three-digit number and symbol indicates a reproduction instruction time (unit: second).
  The reproduction method instruction command 160 is transmitted from the commander 20 to the DVD player 6, and each piece of data shown in the reproduction method instruction command 160 is reproduced in order from the first data “G020” as shown in FIG. 9A. 90 is registered.
[0055]
  Here, in the first “020, 30”, the genre is “enka general” (see FIG. 15B), the first keyword is “port / ship” (see FIG. 13A), The second keyword indicates that the background video specified by “Japanese clothes” (see FIG. 14A) is instructed to be reproduced for 30 seconds. The second “02A, 30” is a 30-second playback of a background video in which the genre is “enka general”, the first keyword is “port / ship”, and the second keyword is “building”. Indicates to direct. The third “054, 14” indicates a 14-second playback of a background video identified by the genre “general enka”, the first keyword “countryside”, and the second keyword “child”. It shows that. The fourth “0244,30” is a 30-second playback of a background video identified by the genre “Enka general”, the first keyword “Port / Ship”, and the second keyword “Men”. Indicates to direct.
[0056]
  The fifth “050, 25” is an instruction for 25-second playback of a background video in which the genre is “enka in general”, the first keyword is “countryside”, and the second keyword is “snow”. It shows that. The sixth “029, 25” is a 25-second playback of a background video in which the genre is “enka general”, the first keyword is “port / ship”, and the second keyword is “light”. Indicates to direct. The seventh “022,20” is a 45-second playback of the background video identified by the genre “Enka general”, the first keyword “Port / Ship”, and the second keyword “Day”. Indicates to direct. The eighth “023, 30” is a 30-second playback of the background video identified by the genre “Enka general”, the first keyword “Port / Ship”, and the second keyword “Nature”. Indicates to direct.
[0057]
  That is, the reproduction schedule registered in the reproduction instruction table 90 shown in FIG. 9A is first identified by “G020” (enka, general / port / ship, kimono) as shown in FIG. For 30 seconds (t1), secondly the background image specified by “G02A” (enka general / port / ship / building) for 30 seconds (t2), and thirdly “G054” ( The background video specified by Enka (general / country / children) is played for 14 seconds (t3), and the fourth background video specified by “G024” (genka general / port / ship / man and woman) is displayed for 30 seconds (t4). Play back and play the background video specified by 5th “G050” (enka / general / snow) for 25 seconds (t5), and 6th by “G029” (enka / general / ship / light) The background image to be played is played for 25 seconds (t6), and the seventh “G0 2 "(Enka general / port / ship / daytime) specified background image is played for 20 seconds (t7), and finally“ G023 ”(Enka general / port / ship / nature) is specified as 30 background images. It is designated to reproduce for second (t8).
[0058]
  Also, the reproduction method instruction command 170 shown in FIG. 7E indicates a reproduction instruction method “PROG: P236, 120 [CR]”. Here, the first character “P” indicates that the data attached to P designates a program number. The playback method instruction command 170 is also transmitted from the commander 20 to the DVD player 6, and the data indicated in the command 170 is registered in the playback instruction table 90 as shown in FIG. 9B. Here, “236” indicates that a background image of the movie “Yuji Kayama Movie” is designated (see FIG. 15).
[0059]
  That is, it is designated by the reproduction instruction method registered in the reproduction instruction table 90 shown in FIG. 9B that the background video of the movie “Kayama Yuji Movie” is reproduced for 120 seconds.
  Furthermore, the reproduction method instruction command 180 shown in FIG. 7F indicates a reproduction instruction method of “PROG: G020, 30: P236, 30: G313, 45: PFFE, 12 [CR]”. The command 180 is also transmitted from the commander 20 to the DVD player 6, and each data indicated in the command 180 is registered in the reproduction instruction table 90 in order from the top data “G020” as shown in FIG. 9C.
[0060]
  Here, “020, 30” indicates that the background video specified by “Enka general / port / ship / Japanese clothes” is to be played back for 30 seconds, and “236, 30” indicates “Yuji Kayama movie. ”Indicates that the background video of the movie is to be played back for 30 seconds, and“ 313, 45 ”specifies that the background video specified by“ middle tempo pop / busy / sex ”is to be played for 45 seconds. “FFE, 12” indicates that a background image showing “Sapporo clock tower” is designated to be reproduced for 12 seconds.
  In other words, the background image specified by “G020” (enka general / port / ship / Japanese clothes) is played for 30 seconds, and the second movie “P236” (Yuji Kayama movie) is played for 30 seconds. The third specifies that the background video specified by “G313” (middle tempo pop / busy / man and woman) is played for 45 seconds, and the background video showing the Sapporo clock tower is played for 12 seconds.
[0061]
  Next, the configuration of the transmitter 70 will be described with reference to FIG.
  As shown in FIG. 5, a music selection number display unit 71 for displaying a music selection number with a liquid crystal with a backlight is provided above the upper surface of the transmitter 70, and below that is a karaoke switching button 35 of the commander 20. Is provided with a karaoke switching button 72 having the same action as the above, an external video button 73 having the same action as the input switching button 36 of the commander 20, and a game button 74 for switching to a state in which the server 2 prepares a video game. ing.
[0062]
  Below these buttons are a clap button 75 for setting to play applause or cheering sound between songs or after the song has finished playing, and a flat key that has the same function as the keys provided on the commander 20. 76 and a sharp key 77 are provided below, a numeric keypad 78, a music selection button 79, a performance stop button 80, and a re-singing button 81 that operate in the same manner as those provided on the commander 20. A cancel button 82 and an interrupt button 83 are provided. Further, on the right side of the interrupt button 83, a minus button 84 for decreasing the volume of the vocal melody and a plus button 85 for increasing the volume are provided.
  When each button or key is pressed, an optical signal indicating the type of the pressed button or key is transmitted from a transmission window 86 formed at the tip of the transmitter 70.
[0063]
  Next, a series of operations of the karaoke apparatus 10 will be described with reference to FIGS.
  FIG. 16 is a flowchart showing the processing contents of the CPU 45 from music selection to music performance. FIG. 17 is executed by the CPU 64 of the DVD player 6 in order to analyze the command transmitted from the commander 20. It is a flowchart of task A (command analysis task). FIG. 18 is a flowchart of task B (DVD playback task) for playing back a DVD executed by the CPU 64, and FIG. 19 is a flowchart showing the contents of playback file selection processing executed in step 300 of FIG. is there.
[0064]
  20 is a flowchart showing the contents of the file search algorithm executed in step 310 of FIG. 19, and FIG. 21 is a flowchart showing the contents of the file search algorithm executed in step 330 of FIG. FIG. 20 is a flowchart showing the contents of a file search algorithm executed in step 350 or step 370 of FIG.
[0065]
  First, when the user of the karaoke apparatus 10 presses the numeric keypad 78 corresponding to the music selection number of the song to be sung with the transmission window 86 of the transmitter 70 facing the commander 20, the number corresponding to the numeric keypad 78 is selected every time the user presses it. The numbers are sequentially displayed on the number display units 71 and 23 and the monitors 12 and 13.
  Subsequently, when the music selection button 79 is pressed after pressing the numeric keypad 78 of the last number, it is determined that the music selection is completed (step 100), and a request signal for requesting transmission of the music data 130 of the selected music is sent to the communication cable. 15 is transmitted to the server 2 via 15 (step 120).
[0066]
  Then, the server 2 retrieves and reads the music data 130 corresponding to the music selection number indicated in the request signal from the hard disk drive (HDD) 11 in which a plurality of music data is stored. The signal is received by the communication modem 49 via the communication cable 15 via the communication terminal 40 of the commander 20 (step 140). Subsequently, the received music data 130 is output from the communication modem 49 and temporarily stored in the RAM 47 (step 160). Subsequently, the music data 130 is read from the RAM 47 (step 180), and the reproduction method instruction command 160 included in the read music data 130 is transmitted to the DVD player 6 via the interface 59 (step 200).
[0067]
  Here, the contents of the command analysis task executed by the CPU 64 in order to analyze the command transmitted from the commander 20 will be described with reference to FIG.
  When the power of the DVD player 6 is turned on, the CPU 64 reads the background video file table 100, the program information file table 110, the parent genre table 120, the reproduction instruction table 90, and the like from the DVDs 61A and 62A. Each table is stored in the video management table memory 60 (step 10).
[0068]
  Subsequently, an instruction pointer indicating the position to be searched is set at the head of the background video file table 100 (step 20), and task B (DVD playback task) shown in FIG. 18 is activated (step 30). Subsequently, the command transmitted from the commander 20 is received (step 202), and the type of the received command is a playback method instruction command 160 and a playback start command 140 for instructing start of playback of the background video (FIG. 6B). ), It is determined which one of the playback stop command 150 (FIG. 6C) for instructing to stop playback of the background video and other commands (step 204). Here, since the received command is the reproduction method instruction command 160, the process proceeds to step 206.
[0069]
  In step 206, the reproduction instruction content “G020, 30: G02A, 30: G054, 14: G024, 30: G050, 25: G029, 25: G022, 20: G023, 30” indicated by the received reproduction method instruction command 160. Is registered in the reproduction instruction table 90 of the video management table memory 60 (see FIG. 9A). Subsequently, “NULL” is set at the position of the number of registered reproduction instruction data + 1 (step 208). Here, as shown in FIG. 9A, since a total of eight pieces of reproduction instruction data are registered, “NULL” is set at the ninth (8 + 1 = 9) position. Subsequently, the instruction pointer is set at the head of the reproduction instruction table 90 (step 210), and the reception of the next command is awaited (step 202).
[0070]
  When the playback start command 140 is transmitted to the DVD player 6 by the CPU 45 (step 216 in FIG. 16), the CPU 64 receives the transmitted playback start command 140 (step 202 in FIG. 17) and receives it. The type of the executed command is determined (step 204). Here, since the received command is the reproduction start command 140, the process proceeds to step 212, and a reproduction start message is sent to task B.
[0071]
  Next, task B (DVD playback task) executed by the CPU 64 will be described with reference to FIG.
  First, the CPU 64 sets the file being played 192 (FIG. 23B) for registering a file decided to be played to “invalid” and erases the stored contents of the buffer memory 65 (step 218). . Subsequently, the type of message sent from task A is determined (step 220). Here, since the reproduction start message has been received, the process proceeds to step 222 to determine whether the file being reproduced is set to “invalid”. Here, since the file being reproduced is set to “invalid” in step 218, the process proceeds to step 224 (step 222: Yes).
[0072]
  In step 224, the reference clock T1 is reset and the reference clock T1 is started. In step 226, 0 is set to the cumulative reproduction instruction time T2. Here, the cumulative reproduction instruction time T2 indicates a time obtained by accumulating the reproduction instruction time t specified for a file that has already been reproduced.
  Then, the CPU 64 executes a process for selecting a file name to be registered in the file 192 being reproduced, that is, a reproduction file selection algorithm for selecting a file to be reproduced from the background video file table 100 (step 300).
[0073]
  Next, the reproduction file selection algorithm executed by the CPU 64 will be described with reference to the flowchart of FIG.
  The CPU 64 deletes the registration data in the temporary file list 190 shown in FIG. 23A and makes it empty (step 302). Here, the temporary file list 190 is a list for registering the file name data 102 selected from the background video file table 100 by executing this reproduction file selection algorithm. Then, the CPU 64 reads the reproduction instruction data 92 at the instruction pointer position in the reproduction instruction table 90 (FIG. 9A) (step 304).
[0074]
  Here, since it is the first file selection, the reproduction instruction data “G020” registered first in the reproduction instruction table 90 is read (step 304). Subsequently, it is determined whether or not the read reproduction instruction data 92 is “NULL” (step 306). However, since it is not “NULL”, the process proceeds to step 308, and the first character of the read reproduction instruction data 92 is “P”. ”Or“ G ”. If “P”, the process proceeds to step 382, and if “G”, the process proceeds to step 310. Here, since the first character of the read reproduction instruction data “G020” is “G”, the process proceeds to step 310.
[0075]
  In step 310, a search is made as to whether or not a file name having a number and a symbol that coincide with the third digit of the second to fourth characters of the reproduction instruction data 92 at the head of the genre keyword numeric value 101 is registered in the background video file table 100. The file search algorithm (three-digit comparison) is executed. Here, since the third digit from the second character to the fourth character is “024”, it is searched whether or not a file name having “024” at the head of the genre keyword numerical value 101 is registered in the background video file table 100 ( Step 310).
[0076]
  Here, the file search algorithm (three-digit comparison) executed in step 310 will be described with reference to the flowchart of FIG.
  Here, it is assumed that the third digit of the second to fourth characters of the reproduction instruction data 92 read from the reproduction instruction table 90 in step 304 is “024”.
  The CPU 64 determines whether or not the first three digits of the genre keyword numerical value 101 of the first registered file in the background video file table 100 matches “024” (step 312), as shown in FIG. Since the first three digits of the genre keyword numerical value 101 of the first registered file in the background video file table 100 are “005” and do not match “024”, the process proceeds to step 322 (step 312: No). The pointer is moved to the next file, that is, the second registered file.
[0077]
  Subsequently, it is determined whether the instruction pointer exceeds the file registered at the end of the background video file table 100, that is, whether all the files have been searched (step 320). Here, the first file is determined. Since the search is only completed, the process returns to step 312 (step 320: No), and it is determined whether the first three digits of the genre keyword value 101 of the second file match “024”.
  In this way, steps 312, 322, and 320 are repeated until a file is found in which the first three digits of the genre keyword numerical value 101 match “024”, that is, until an affirmative determination is made in step 312.
[0078]
  If a file is found in which the first three digits of the genre keyword numerical value 101 match “024” (step 312: Yes), the set playback time data T registered in the file is used as the temporary set playback time data TA. Is registered in the temporary setting reproduction time data registration file 194 shown in FIG. 23C (step 314). Subsequently, it is compared whether the registered temporary setting reproduction time data TA is equal to or more than the first reproduction instruction time data t registered in the reproduction instruction table 90 (step 316).
  That is, it is determined whether the reproducible time of the found file can satisfy the designated playback time.
[0079]
  Here, as shown in FIG. 10, since the file whose file name is “E789.VOB” is found first as the file whose first three digits of the genre keyword numerical value 101 match “024”, its setting reproduction The time data “35” is registered in the temporary setting reproduction time data registration file 194 as temporary setting reproduction time data TA (step 314).
  Since the reproduction instruction time data t registered first in the reproduction instruction table 90 is “30”, TA (35) ≧ t (30), and the process proceeds to step 318 (step 316: Yes), and the file The name “E789.VOB” is registered in the temporary file list 190.
[0080]
  Thereafter, similarly, the set reproduction time data T for the two files with the file names “0A89.VOB” and “FD01.VOB” in which the first three digits of the genre keyword numerical value 101 match “024” respectively. It is determined whether or not the reproduction instruction time data t is equal to or longer than the reproduction instruction time data t (steps 314 and 316). As shown in FIG. 10, the set reproduction time data T of both files is “20” and “18”, Since the data t is smaller than “30”, the file names of both files are not registered in the temporary file list 190 (step 316: No).
[0081]
  Then, the CPU 64 determines whether the registered number of file names registered in the temporary file list 190 is 0 (step 324 in FIG. 19). If the registered number is not 0, it is registered in the temporary file list 190. One file name is selected at random based on a random number from among the file names being registered, and the selected file name is registered in the file 192 being reproduced (step 386). Here, since the file name registered in the temporary file list 190 is only “E789.VOB”, the file name “E789.VOB” is registered in the playing file 192 (step 386).
[0082]
  Subsequently, the CPU 64 moves the instruction pointer of the reproduction instruction table 90 forward by one and ends the reproduction file selection algorithm. Here, the instruction pointer is advanced to the second reproduction instruction data 92 in the reproduction instruction table 90, and the reproduction file selection algorithm is terminated.
  On the other hand, in step 310, if a file having a number and symbol matching the 3rd digit of the 2nd to 4th characters of the reproduction instruction data 92 at the head of the genre keyword numerical value 101 cannot be searched (step 324: number of registrations). = 0), a file having a number and a symbol that coincide with the second digit of the second character and the third character of the reproduction instruction data 92 at the head of the genre keyword numerical value 101 is searched (step 330). Here, a file having “02” at the head of the genre keyword numerical value 101 is searched.
[0083]
  The contents of the file search algorithm (two-digit comparison) executed in step 330 are shown in FIG. The processing contents from step 332 to step 342 are the same as in step 332 except that a file having numbers and symbols matching the second digit of the second character and the third character of the reproduction instruction data 92 at the head of the genre keyword numerical value 101 is searched. Since this is the same as step 314 to step 322 shown in FIG.
  Assuming that no file having “020” at the head is registered in the background video file table 100, the genre keyword numerical value 101 having “02” at the head is “022H”, “ “023H”, “024H”, “029H”, and “02AH” are registered, and “1236.VOB”, “E589.VOB”, and “E789.VOB” are associated with the respective genre keyword numerical values 101. , “0A89.VOB”, “FD01.VOB”, “FF45.VOB”, “8959.VOB”, “F565.VOB”, and “6789.VOB” are registered in total.
[0084]
  Therefore, the set reproduction time data T registered in each of the nine files is compared with the reproduction instruction time data t (step 336). As a result, “E589.VOB”, “E789.VOB”, “FF45.VOB”, “8959.VOB”, “F565.VOB”, and “6789” having set playback time data of playback instruction time data “30” or more. .VOB ”is registered in the temporary file list 190 (step 338), and one file name is randomly selected from the list and registered in the playing file 192 (step 386 in FIG. 19). ).
  Thus, even if the file specified by “020” (Enka general / port / ship / Japanese clothes) is not stored, it is specified by “02” (Enka general / port / ship) similar to that. The background video file name data 102 can be registered in the playing file 192.
[0085]
  In step 330, if a file having a number and a symbol that coincide with the second digit of the second and third characters of the reproduction instruction data 92 at the head of the genre keyword numeric value 101 cannot be searched (step 344: number of registrations). = 0), a file having a numerical value and a symbol matching the first digit of the first character of the reproduction instruction data 92 at the head of the genre keyword numerical value 101 is searched (step 350). Here, a file having “0” at the head of the genre keyword numerical value 101 is searched.
  The contents of the file search algorithm (one digit comparison) executed in step 350 are shown in FIG. The processing contents from step 352 to step 362 are the same as those shown in FIG. Since it is the same as step 314 to step 322 shown, the description is omitted.
[0086]
  Assuming that no file having “02” at the head is registered in the background video file table 100, the genre keyword numerical value 101 having “0” at the head is “005H”, “ “050H” and “054H” are registered, and “7895.VOB”, “8959.VOB”, “7896.VOB”, and “E458.VOB” are associated with the respective genre keyword numerical values 101. A total of four file names are registered.
  Accordingly, the set reproduction time data T registered in each of the four files and the reproduction instruction time data t are respectively compared (step 356). As a result, one file name “8959.VOB” having set reproduction time data equal to or greater than the reproduction instruction time data “30” is registered in the temporary file list 190 (step 358), and the file name is selected and being reproduced. It is registered in the file 192 (step 386 in FIG. 19).
  Thus, even if the file specified by “02” (enka / general / ship) is not stored, the file name of the background image specified by “0” (enka) is similar to that. The data 102 can be registered in the file 192 being reproduced.
[0087]
  Furthermore, in step 350, when a file having a number and a symbol matching the first digit of the first character of the reproduction instruction data 92 cannot be searched (step 364: registration number = 0), The file registered in the parent genre of the genre indicated by the first digit of the reproduction instruction data 92 is searched (step 370). Here, since the parent genre corresponding to the genre “A” indicated by “0” is “B (enka winter)” (see FIGS. 11B and 12B), the parent genre “B ( 1) ”, that is, a file name having“ 1 ”at the head of the genre keyword numerical value 101 is searched.
[0088]
  This search is executed by the file search algorithm (one-digit comparison) executed in step 350 (step 370). If there is a file name registered in the temporary file list 190 (step 372: registration number> 0). Then, one file name is randomly selected from the registered file names and registered in the file 192 being reproduced (step 386).
  As described above, even when the file specified by “0” (general enka) is not stored, the file name data 102 of the background video specified by “1” (enka winter) is reproduced. It can be registered in the middle file 192.
[0089]
  If the first character of the reproduction instruction data 92 read in step 304 is “P” (step 308: P), it matches the program number indicated by the numbers and symbols attached below “P”. The file name to be searched is searched from the program information file table 110 (FIG. 11A), and the searched file name is registered in the temporary file list 190 (step 382). If a file name is registered in the temporary file list 190 (step 384: registered number> 0), one file name is randomly selected from the registered file names, and the file 192 being played back is selected. (Step 386).
[0090]
  For example, when the reproduction instruction data 92 is “P236”, two file names “5666.VOB” and “5667.VOB” are registered in the temporary file list 190 (FIG. 11A). Either one of the two file names is registered in the playing file 192.
  If no file name is registered in the temporary file list 190 as a result of executing Step 302 to Step 370 (Step 372: Number of registrations = 0), an error is displayed and playback is stopped (Step 374). . For example, an error display LED (not shown) provided on the front panel of the DVD player 6 or the commander 20 is turned on, or an error message is displayed on a liquid crystal display. Alternatively, a message image such as “Please wait as the designated background image is not stored” is displayed on the monitors 12 and 14.
[0091]
  Next, returning to the task B shown in FIG. 18, the steps after step 500, which is a feature of the video reproduction apparatus of the present invention, will be described.
  The CPU 64 opens the file corresponding to the file name registered in the file 192 being reproduced (step 500), adds the reproduction instruction time t to the cumulative reproduction instruction time T2, and adds the added time to the cumulative reproduction instruction time T2. Set (step 502). Here, since the file is played back for the first time and there is no file played back last time, the cumulative playback instruction time T2 = 0, so the playback instruction time t is set to the cumulative playback instruction time T2 (step 502). ). For example, since the reproduction instruction time t registered first in the reproduction instruction table 90 is “30”, “30” is set as the cumulative reproduction instruction time T2.
[0092]
  Subsequently, background video data of 1 GOP is read from the DVD 61A or the DVD 62A in which a file corresponding to the file name registered in the file 192 being reproduced is stored (step 510). Subsequently, measurement using the reference clock T1 is started (step 512), and the read background video data for 1 GOP is transferred to the buffer memory 65 (step 514). Subsequently, the playback time based on the background video data stored in the buffer memory 65 is calculated, and the calculated playback time is set as a temporary buffer playback time T3 (step 516).
[0093]
  Since the background video data is stored in the buffer memory 65 in units of GOP, if the playback time of one GOP background video data is known, the number of GOPs stored in the buffer memory 65 is multiplied by the unit playback time. Thus, the temporary buffer playback time T3 can be obtained.
  For example, assuming that the reproduction time by the background video data for one GOP is 0.6 seconds and ten GOPs are stored in the buffer memory 65, the temporary buffer reproduction time T3 = 0.6 seconds × 10. = 6.0 seconds.
[0094]
  Subsequently, at the time of reproduction by the background video data stored in the buffer memory 65BetweenExcept for this, an operation is performed to calculate the actual reproduction time (the actual reproduction time so far) T1 remaining until the cumulative reproduction instruction time T2 (hereinafter referred to as the remaining reproduction time) T4 is reached (step 518). ). In order to calculate the remaining reproduction time T4, first, an operation of subtracting the actual reproduction time T1 measured by the reference clock T1 from the cumulative reproduction instruction time T2 is performed.
  That is, it is calculated how much time remains until the cumulative reproduction instruction time T2 is reached at the present time. Here, since the reproduction of the first file has just started, assuming that the measurement time by the reference clock T1 is 0, T2−T1 = 35 seconds−0 = 35 seconds.
[0095]
  Then, a calculation for further subtracting the temporary buffer reproduction time T3 from the calculated time (T2-T1) is performed (step 518).
  That is, since the background video data to be reproduced next is already accumulated in the buffer memory 65, the time (T3) that can be reproduced by the accumulated background video data is set to the calculated time (T2- Subtract from T1), and calculate the remaining time (remaining reproduction time T4) until the cumulative reproduction instruction time T2 is reached (step 518).
  For example, if the temporary buffer playback time T3 = 6.0 seconds, the remaining playback time T4 = 35 seconds−6 seconds = 29 seconds.
[0096]
  Next, whether or not the remaining playback time T4 is greater than 0 (positive or negative), that is, the timing at which the designated playback time ends (designation end timing of the present invention) and the timing at which actual playback ends ( It is determined whether or not (actual end timing of the present invention) matches (step 520). When the remaining playback time T4 is greater than 0, that is, when the background video data stored in the buffer memory 65 is currently played back, the actual playback time T1 is insufficient for the cumulative playback instruction time T2. If the designated end timing does not match the actual end timing, the read pointer set in the DVD 61A or DVD 62A file is advanced by 1 GOP (step 522).
  That is, it prepares to read background video data for the next 1 GOP.
[0097]
  Then, the process proceeds to step 220. Since no message is sent from task A here, the process proceeds to step 504, and it is determined whether the file being reproduced is set to “invalid”. Here, since the file being played back is not set to “invalid” in step 218, the process proceeds to step 506 (step 504: No), the free size of the buffer memory 65 is detected, and if the free size is 1 GOP or more (step (508: Yes) The background video data for 1 GOP is read (step 510) and transferred to the buffer memory 65 (step 514).
[0098]
  Subsequently, as described above, the remaining playback time T4 is calculated (steps 516 and 518), and if the remaining playback time T4 is greater than 0 (step 520: Yes), the background video data for the next 1 GOP is read ( Steps 522 and 510) and steps 514 to 520 are executed.
  In this way, background video data is sequentially read from the file in units of 1 GOP, and the remaining reproduction time T4 is calculated at the read timing. Then, until it is determined in step 520 that the remaining reproduction time T4 is 0 or less (step 520: No), that is, by reproducing the background video data stored in the buffer memory 65, the actual reproduction time T1 is cumulatively reproduced. Since the instruction time T2 is reached, the above steps are repeatedly executed until it is determined that it is not necessary to newly read background video data.
[0099]
  If it is determined that the remaining reproduction time T4 is 0 or less (step 520: No), the file being reproduced is closed (step 524). As a result, the reproduction of the file ends when the reproduction of the background video data stored in the buffer memory 65 is completed (the designated end timing and the actual end timing coincide). Subsequently, a reproduction file selection algorithm is executed on the reproduction instruction data 92 registered second in the reproduction instruction table 90 (step 300), and the second file registered in the file 192 being reproduced by the execution is described above. Steps 500 to 524 are executed in the same manner as the first file.
[0100]
  Here, the case where the reproduction of the second file is completed and the third file is reproduced will be described with reference to FIG.
  As a result of executing the reproduction file selection algorithm for the third reproduction instruction data “G054”, it is assumed that the file name “E458.VOB” is registered in the file 192 during reproduction. Further, it is assumed that the reproduction instruction time t of the file with the file name “E458.VOB” is 14 seconds, and the total actual reproduction instruction time T1 of both the first and second files reproduced is 60 seconds. Furthermore, in the reproduction of the first and second files, it is assumed that the reproduction instruction time t and the actual reproduction time T1 coincide with each other, and there is no excess or deficiency in the reproduction instruction time t.
[0101]
  Each time background video data of 1 GOP is read from the file with the file name “E458.VOB”, the remaining playback time T4 is calculated in the same manner as in the case of the first file (step 518), and the remaining playback time T4 starts from 0. It is determined whether it is larger (step 520).
  Here, no. 1 to No. The playback of the background video data for 9 GOPs up to 9 has been completed. 10 to No. It is assumed that background video data for 15 GOPs up to 24 are accumulated.
[0102]
  The cumulative reproduction instruction time T2 is a new cumulative reproduction instruction time T2 because the cumulative reproduction instruction time T2 of the synthesis of the first file and the second file is 60 seconds and the third reproduction instruction time t is 14 seconds. T2 + t = 60 seconds + 14 seconds = 74 seconds (step 502). Further, since the reproduction of nine GOPs has been completed, the actual reproduction time T1 measured from the reproduction start time of the first file is 60 seconds + 0.6 seconds × 9 = 65.4 seconds. Further, since the background video data for 15 GOPs are stored in the buffer memory 65, the temporary buffer playback time T3 is 0.6 seconds × 15 = 9.0 seconds (step 516).
  Therefore, the remaining reproduction time T4 is T2−T1−T3 = 74 seconds−65.4 seconds−9.0 seconds = −0.4 seconds (T4 <0).
[0103]
  Therefore, at this time, if all the background video data stored in the buffer memory 65 is reproduced, it is estimated that the actual reproduction time T1 exceeds the cumulative reproduction instruction time T2 by 0.4 seconds.
  That is, by reproducing all the background video data stored in the buffer memory 65, the target cumulative reproduction instruction time T2 can be satisfied.
  Therefore, since it is not necessary to read the background video data for the next 1 GOP, the currently playing file “E458.VOB” is closed (step 520: No, step 524), and the next file to be played back is selected. Perform (step 300), and read the background video data of the selected file (step 500 to step 524).
[0104]
  Incidentally, the background video data temporarily stored in the buffer memory 65 is output to the MPEG decoder circuit 66 (FIG. 4) and converted into a background video signal by the MPEG decoder circuit 66. The background video signal output from the MPEG decoder circuit 66 is input to the video control circuit 54 via the video output terminal 67 and the video input terminal 58 of the commander 20. The input video signal is converted into a video signal for display on the monitors 12 and 14 by the video control circuit 54, and is output to the monitors 12 and 14 through the video output terminals 42 and 43, as shown in FIG. As described above, the background image 300 is displayed.
[0105]
  For example, if the file name of the third played file is “E458.VOB”, the genre keyword value 101 associated with the file name “E458.VOB” is “054”. A background image specified by “general / country / child” is displayed on the monitors 12 and 14 for 14.4 seconds.
  Thereafter, the fifth to eighth background images are sequentially displayed on the monitors 12 and 14 by executing the same steps as described above. When the playback stop command 150 is transmitted from the commander 20 to the DVD player 6 (step 660 in FIG. 16), the CPU 64 determines in step 204 that the received command type is the playback stop commander 150, and Proceeding to step 214, a reproduction stop message is sent to task B, and the process proceeds to task B step 218. The file being reproduced is set to "invalid", the stored contents of buffer memory 65 are erased, and the message sent from task A is sent. Wait until it is received (step 220).
[0106]
  As described above, according to the DVD player 6 of the first embodiment, when the background video data stored in the buffer memory 65 is reproduced, it is determined whether or not the actual reproduction time T1 exceeds the cumulative reproduction instruction time T2. When it is determined that it exceeds, the reading of the next new background video data is prohibited, and the playback of the background video is terminated when the playback of the background video data stored in the buffer memory 65 is finished. be able to.
  In other words, the end timing (designated end timing) of the actual playback time T1 can be temporally matched with the read timing positioned after the specified end timing of the actual playback time T1.
  Therefore, since the background video ends between the read timings of the background video, the background video data cannot be normally reproduced, and the situation where the background video displayed on the monitors 12 and 14 is disturbed can be eliminated. .
[0107]
  As described above, the actual reproduction time of the third file is 14.4 seconds, which is 0.4 seconds exceeding the reproduction instruction time of 14 seconds. Second is measured as the actual reproduction time T1.
  Since the actual playback time T1 including the excess is subtracted when calculating the remaining playback time T4 in step 518, the actual actual playback time of the fourth file is reduced by 0.4 seconds. That's right.
[0108]
  In other words, the excess of the actual playback time of the third file is subtracted from the actual playback time of the next fourth file, so the excess of the actual playback time of the third file is It is not carried over until the remaining playback time is calculated.
  Therefore, since the error between the actual playback time of the file played before and the playback instruction time does not shift until later playback, the switching timing between the background video gradually increases as the playback of the background video progresses. There is nothing.
[0109]
By the way, although the process of reproducing the background video has been described so far, actually, the song is played at the timing when the first background video is reproduced, and the lyrics telop is displayed on the monitors 12 and 14.
  Hereinafter, the reproduction of the lyrics telop data 132 and the performance data 133 (FIG. 6A) constituting the music data 130 will be described with reference to FIG.
  MIDI data constituting the performance data 133 included in the song data 130 read from the RAM 47 of the commander 20 is taken into the sequencer 51 and written into the MIDI sound source 52 according to the count of the timer 53. The sound source signal output from the MIDI sound source 52 is output to the audio control circuit 50 and converted into a music signal that can be amplified by the amplifier 16, and the converted music signal is output to the amplifier 16. Then, the output music signal is amplified to the volume set by the amplifier 16 and then output to the speakers 13 and 13 and reproduced as a performance sound by the speakers 13 and 13 (step 600).
[0110]
  Also, font data corresponding to the lyrics telop data 132 included in the song data 130 is read from the font ROM 44, and the read font data is expanded into bitmap data and stored in the video RAM 48. Subsequently, the bitmap data is output to the video control circuit 54 and converted into a display signal that can be displayed on the monitors 12 and 14 by the video control circuit 54. As shown in FIG. 14 displays a lyrics telop 302. (Step 620)
[0111]
  The audio signals input from the microphones 17 and 18 are mixed with the music signal in the amplifier 16, and the mixed signals are output from the audio output terminal 41 to the amplifier 16. Then, the output mixing signal is amplified to a volume set by the amplifier 16 and then output to the speakers 13 and 13, and is reproduced as a mixing sound by the speakers 13 and 13.
  That is, the user can sing (karaoke) the selected song through the microphone 17 or the microphone 18 while watching the background image 300 and the lyrics telop 302 displayed on the screens of the monitors 12 and 14.
[0112]
  Then, the CPU 45 determines whether or not the music selection number data reserved in the RAM 47 is stored (step 680). If it is stored (step 680: Yes), the stored music selection number data is read from the RAM 47. Reading (step 700) and executing steps 100 to 680, the reserved music is reproduced.
[0113]
  Next, a modification example of the task B shown in FIG. 18 in the first embodiment will be described with reference to the flowchart shown in FIG.
  FIG. 24 shows a part of task B, and steps other than step 521 are the same as task B shown in FIG. 18, and thus steps other than step 521, step 522, and step 524 are not shown. .
  Step521Then, it is determined whether or not the remaining reproduction time T4 is longer than TG and shorter than 2TG. Here, TG indicates a reproduction time based on background video data for one GOP.
  That is, step521Then, it is determined whether or not the remaining playback time T4 is in a range that is longer than the playback time for one GOP and shorter than the playback time for two GOPs.
[0114]
  For example, when the third background video is played according to the playback schedule shown in FIG. 1 to No. The reproduction of the background video data for 7 GOPs up to 7 has been completed. No. 8 to no. It is assumed that background video data for 15 GOPs up to 22 are accumulated. Also, regarding the cumulative reproduction instruction time T2, the cumulative reproduction instruction time T2 of the synthesis of the first file and the second file is 60 seconds, and the third reproduction instruction time t is 14 seconds.
[0115]
  Then, the new cumulative reproduction instruction time T2 becomes T2 + t = 60 seconds + 14 seconds = 74 seconds (step 502). Further, since the reproduction of the background video data for seven GOPs has been completed, the actual reproduction time T1 measured from the reproduction start time of the first file is 60 seconds + 0.6 seconds × 7 = 64.2 seconds. Become. Further, since the background video data for 15 GOPs are stored in the buffer memory 65, the temporary buffer playback time T3 is 0.6 seconds × 15 = 9.0 seconds (step 516).
  Therefore, the remaining reproduction time T4 is T2-T1-T3 = 74 seconds−64.2 seconds−9.0 seconds = 0.8 seconds.
  That is, TG (0.6) ≦ T4 (0.8) <2TG (1.2).
[0116]
  Accordingly, the process proceeds to step 522 (step 521: Yes), and the read pointer of the file being reproduced is advanced by 1 GOP (step 524).
  As a result, no. Since 23 background video data for 1 GOP is read (step 510) and stored in the buffer memory 65 (step 514), the stored playback time for 1 GOP is added as a temporary buffer playback time T3, Since the background video data is reproduced and the actual reproduction time T1 is also increased, the remaining reproduction time T4 is at least 1 GOP than the remaining reproduction time T4 calculated before reading the background video data for 1 GOP. Minute (0.6 seconds) or less (step 518).
[0117]
  That is, since T4 calculated in the previous step 518 is 0.8 seconds, T4 calculated in this step 518 is at least 0.2 seconds (0.8 seconds-0.6 seconds) or less. Therefore, a negative determination is made in step 521 (step 521: No), and the file is closed (step 524).
  Thus, the playback of the third background video can be finished when the background video data for 23 GOPs is played back.
  Therefore, the reproduction is not completed in the middle of the GOP and the background video is not disturbed.
[0118]
  Also, as shown in FIG. 8, the actual playback time of the third background video is 13.8 seconds, which is 0.2 seconds short of the playback instruction time of 14.0 seconds. Is added to the actual playback time T1 of the next fourth background video, so that the actual actual playback time of the fourth file is increased by 0.2 seconds.
  That is, the shortage of the actual playback time of the third file is added to the actual playback time of the next fourth file, so the shortage of the actual playback time of the third file It is not carried over until the remaining playback time is calculated.
  Therefore, since the error between the actual playback time of the file played before and the playback instruction time does not shift until later playback, the switching timing between the background video gradually increases as the playback of the background video progresses. There is nothing.
[0119]
  By the way, in each of the above embodiments, the case where the background video is played according to the scheduling shown in the playback method instruction commander 160 shown in FIG. 7D has been described, but the playback method instruction commander 170 shown in FIG. Alternatively, when the playback method instruction commander 180 shown in FIG. 5F instructs the background video playback method, the CPU 45 and the CPU 64 execute the above steps as in the case of the playback method instruction commander 160. Therefore, it is possible to avoid that the playback ends in the middle of the GOP and the background video is disturbed.
[0120]
  In addition, when a plurality of background videos are played by the playback method instruction commander 180 having a plurality of playback instruction data, an error between the actual playback time and the cumulative playback time becomes large and the switching timing of the background video greatly deviates. Can be avoided.
  In each of the above embodiments, the DVD player provided in the karaoke apparatus is described as a representative example of the video reproducing apparatus of the present invention. However, the CD-ROM player provided in the karaoke apparatus or the DVD player used other than the karaoke apparatus is used. The present invention can also be applied to a CD-ROM player.
[0121]
  By the way, the task B (18 and 24) Functions as the timing control means of the present invention.
  Furthermore, the commander 20, the amplifier 16, and the speakers 13 and 13 are claimed.2It corresponds to the music information reproducing means described in 1.
[0122]
【The invention's effect】
  As described above, according to the present invention,Designated in a video playback apparatus that reads and plays back predetermined edited video information in units of GOPs from video information storage means that stores a plurality of edited video information configured by editing a plurality of video information composed of MPEG standard GOPs. If the timing at which the playback time ends does not match the timing at which actual playback ends, the timing at which actual playback ends will be before or after the timing at which the specified playback time ends. It can be made to coincide with the GOP playback end timing.
  Therefore, GOP that cannot be played back normally is generated, and the situation where video information is disturbed is eliminated.be able to.
[Brief description of the drawings]
FIG. 1 is an explanatory view of the appearance of a karaoke apparatus according to an embodiment of the present invention.
FIG. 2A is an explanatory diagram of a front panel of a commander provided in the karaoke apparatus, and FIG. 2B is an explanatory diagram of a rear panel of the commander.
FIG. 3 is an explanatory diagram showing in block form the configuration of a commander control system;
FIG. 4 is an explanatory diagram showing the configuration and functions of a DVD player in blocks.
FIG. 5 is an explanatory diagram of a transmitter provided in the karaoke apparatus.
6A is an explanatory diagram showing the main configuration of music data in blocks, FIG. 6B is an explanatory diagram showing the configuration of a playback start command, and FIG. 6C is an explanatory diagram showing the configuration of a playback stop command. FIG.
FIG. 7D is an explanatory diagram showing the structure of a playback method instruction command for instructing a background video playback method by genre and keyword, and FIG. 7E is a playback for instructing a background video showing program information by a program number. It is explanatory drawing which shows the structure of a method instruction | indication command, (F) is mixed and instruct | indicated the background image | video specified by a genre and a keyword, and the background image | video specified by a program number by a genre and a keyword, and a program number. It is explanatory drawing which shows the structure of the reproduction | regeneration method instruction | indication command to perform.
8 is an explanatory diagram showing, in time series, a reproduction schedule indicated by a reproduction method instruction command shown in FIG. 7D.
9A is an explanatory diagram showing the structure of a reproduction instruction table in which reproduction instruction data and reproduction instruction time data indicated by a reproduction method instruction command 160 are registered, and FIG. 9B is a reproduction method instruction command 170; FIG. 7 is an explanatory diagram showing a configuration of a reproduction instruction table in which reproduction instruction data and reproduction instruction time data shown are registered, and (C) shows reproduction instruction data and reproduction instruction time data indicated by a reproduction method instruction command 180; It is explanatory drawing which shows the structure of a reproduction | regeneration instruction | indication table.
FIG. 10 is an explanatory diagram showing a configuration of a background video file table.
11A is an explanatory diagram showing a configuration of a program information file table, and FIG. 11B is an explanatory diagram showing a configuration of a parent genre table.
12A is an explanatory diagram showing a bit structure of a genre keyword numerical value, and FIG. 12B is an explanatory diagram showing a correspondence relationship between a genre name, a numerical value, and a classification.
FIG. 13A is an explanatory diagram showing the correspondence between genre A and the first keyword, and FIG. 13B is an explanatory diagram showing the correspondence between genre A and the first keyword.
14A is an explanatory diagram showing assignment of the second keyword to the first keyword “port / ship”, and FIG. 14B is an explanatory diagram showing assignment of the second keyword to the first keyword “country”. FIG. 6C is an explanatory diagram showing the assignment of the second keyword to the first keyword “busy”.
FIG. 15 is an explanatory diagram showing allocation of program information.
FIG. 16 is a flowchart showing control contents from music selection to reserved music reproduction executed by the CPU 45 according to the first embodiment of the present invention;
FIG. 17 is a flowchart showing a command analysis task executed by the CPU 64 of the first embodiment of the present invention.
FIG. 18 is a flowchart showing a DVD playback task executed by the CPU 64 of the first embodiment of the present invention.
FIG. 19 is a flowchart showing processing contents of reproduction file selection executed by the CPU 64 according to the first embodiment of the present invention.
FIG. 20 is a flowchart showing the contents of a three-digit comparison process executed in step 310 shown in FIG.
FIG. 21 is a flowchart showing the contents of a two-digit comparison executed in step 330 shown in FIG.
FIG. 22 is a flowchart showing the contents of one-digit comparison processing executed in step 350 shown in FIG.
23A is an explanatory diagram showing a configuration of a temporary file list, FIG. 23B is an explanatory diagram showing a configuration of a file being played back, and FIG. 23C is a diagram for registering temporary set playback time data; It is explanatory drawing which shows the structure of a file.
24 is a flowchart showing a modification example of the DVD playback task in FIG. 18. FIG.
FIG. 25 is an explanatory diagram for explaining a display screen of the monitor 12;
FIG. 26 is an explanatory diagram showing a reproduction schedule of eight background videos from A to H in time series.
[Explanation of symbols]
    6 DVD player
  10 Karaoke equipment
  15 Communication cable
  16 amplifiers
  20 Commander
  45, 64 CPU
  60 Video management table memory
  61A, 62A DVD
  90 Playback instruction table
100 Background video file table
130 song data
140 Playback start command
150 Playback stop command
160 Playback method command
    t Playback instruction time
    T Set playback time
    T1 Actual playback time
    T2 Cumulative playback instruction time
    T3 Temporary buffer playback time
    T4 Remaining playback time

Claims (2)

MPEG規格のGOPからなる複数の映像情報を編集して構成された編集映像情報が複数記憶された映像情報記憶手段から所定の編集映像情報をGOP単位で読出して再生する映像再生装置であって、
前記映像情報記憶手段に記憶された複数の編集映像情報のうち、所定の複数の編集映像情報を読出し、それぞれ再生時間を指定して再生する際に、所定の編集映像情報について指定された再生時間が終了する指定終了タイミングと、前記所定の編集映像情報をその編集映像情報を構成する複数の映像情報を前記GOP単位で読出して実際に再生した場合の再生が終了する実終了タイミングとが一致するか否かを判定し、その判定結果が、前記指定終了タイミングと実終了タイミングとが一致しないというものである場合に、前記実終了タイミングを、前記指定終了タイミングよりも時間的に前または後におけるGOPの再生終了タイミングに一致させるタイミング制御手段が備えられたことを特徴とする映像再生装置。
A video playback device that reads and plays back predetermined edited video information in GOP units from video information storage means in which a plurality of edited video information configured by editing a plurality of video information composed of MPEG standard GOPs is stored
When a plurality of pieces of edited video information stored in the video information storage means are read out and reproduced by designating respective reproduction times, the reproduction time designated for the predetermined edited video information The designated end timing when the video ends is coincident with the actual end timing when the predetermined edited video information is actually reproduced by reading a plurality of pieces of video information constituting the edited video information in units of the GOP. If the determination result is that the specified end timing does not match the actual end timing, the actual end timing is set before or after the specified end timing. A video playback apparatus comprising timing control means for matching with a GOP playback end timing .
請求項1に記載の映像再生装置と、その映像再生装置により前記編集映像情報が再生される際に所定の楽曲情報を再生する楽曲情報再生手段とが備えられたことを特徴とする楽音再生装置。2. A musical sound reproducing apparatus comprising: the video reproducing apparatus according to claim 1; and music information reproducing means for reproducing predetermined music information when the edited video information is reproduced by the video reproducing apparatus. .
JP15001697A 1997-05-23 1997-05-23 Video playback device Expired - Fee Related JP3994472B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15001697A JP3994472B2 (en) 1997-05-23 1997-05-23 Video playback device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15001697A JP3994472B2 (en) 1997-05-23 1997-05-23 Video playback device

Publications (2)

Publication Number Publication Date
JPH10319981A JPH10319981A (en) 1998-12-04
JP3994472B2 true JP3994472B2 (en) 2007-10-17

Family

ID=15487647

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15001697A Expired - Fee Related JP3994472B2 (en) 1997-05-23 1997-05-23 Video playback device

Country Status (1)

Country Link
JP (1) JP3994472B2 (en)

Also Published As

Publication number Publication date
JPH10319981A (en) 1998-12-04

Similar Documents

Publication Publication Date Title
JPH10171481A (en) Musical sound reproducing device
JP3591227B2 (en) Karaoke equipment
JP4061670B2 (en) Video playback device
JP3994472B2 (en) Video playback device
JP4016447B2 (en) Video playback device
JP3963514B2 (en) Karaoke equipment
JP3963504B2 (en) Karaoke equipment
JP3010936B2 (en) Music player
JP3320056B2 (en) Karaoke video playback device
JP3921736B2 (en) Background video playback device for karaoke
JP3868544B2 (en) Music playback device
JP3994473B2 (en) Video playback device
JP3899595B2 (en) Video playback device
JP2000137490A (en) Karaoke sing-along machine
JP3511247B2 (en) Video playback device and karaoke system
JPH1115486A (en) Music reproducing device
JP3662662B2 (en) Music playback device
JPH09244676A (en) Musical sound reproducing device
JPH11355726A (en) Moving image display device
JP3324864B2 (en) Video karaoke equipment
JPH10171478A (en) Musical sound reproducing device
JPH1063284A (en) Musical tone reproducing device
JPH10304291A (en) Video reproducing device
JP3679473B2 (en) Karaoke system
JPH10198388A (en) Musical sound regenerator

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040518

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20051207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070417

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070611

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070723

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

Free format text: PAYMENT UNTIL: 20100810

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100810

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20110810

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20120810

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120810

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20130810

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees