JP2008172421A - Recorder and method, reproducing apparatus and method, and program - Google Patents
Recorder and method, reproducing apparatus and method, and program Download PDFInfo
- Publication number
- JP2008172421A JP2008172421A JP2007002551A JP2007002551A JP2008172421A JP 2008172421 A JP2008172421 A JP 2008172421A JP 2007002551 A JP2007002551 A JP 2007002551A JP 2007002551 A JP2007002551 A JP 2007002551A JP 2008172421 A JP2008172421 A JP 2008172421A
- Authority
- JP
- Japan
- Prior art keywords
- data
- subtitle
- program
- delay amount
- information table
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は記録装置および方法、再生装置および方法、並びにプログラムに関し、特に、映像と映像に対応する字幕があるときに、映像と字幕にずれが生じないような処理を行うことができるようにした記録装置および方法、再生装置および方法、並びにプログラムに関する。 The present invention relates to a recording apparatus and method, a playback apparatus and method, and a program, and in particular, when there is a caption corresponding to a video and a video, processing that does not cause a shift between the video and the caption can be performed. The present invention relates to a recording apparatus and method, a reproducing apparatus and method, and a program.
近年、テレビジョン放送がアナログ放送からデジタル放送に切り替わりつつある。また、デジタル放送の普及にともない、ワンセグなどと称されるサービスも普及しつつある。そのようなデジタル放送において、字幕を提供するサービスもある。 In recent years, television broadcasting is switching from analog broadcasting to digital broadcasting. In addition, with the spread of digital broadcasting, a service called one-segment broadcasting is also spreading. There are also services that provide subtitles in such digital broadcasting.
図1は、デジタル放送の番組を受信し、記録し、再生する記録再生装置の一例の構成を示す図である。図1に示した録画再生装置1は、受信部11、記録部12、データ記録部13、再生部14、画像表示部15を含む構成とされている。
FIG. 1 is a diagram illustrating a configuration of an example of a recording / reproducing apparatus that receives, records, and reproduces a digital broadcast program. The recording /
記録再生装置1には、アンテナ2が接続されている。アンテナ2によりデジタル放送の番組が受信され、受信された番組は、受信部11に供給される。受信部11は、アンテナ2により受信された信号をデジタル信号に変換する変換部や、ユーザにより指定されている番組のデータを抽出するチューナなどを含む構成とされる。
An
記録部12は、受信部11から供給される番組のデータを、データ記録部13に記録させるための制御を行う。この場合、データ記録部13に記録されるデータは、ユーザにより指示されている番組のストリームファイル31である。再生部14は、データ記録部13に記録されているストリームファイル31を読み出し、エンコードなどの処理を実行することにより、映像データと音声データを生成する。また、字幕データがある場合には、字幕データも生成される。
The
再生部14により生成された映像データや字幕データは、画面表示部15に供給され、音声データは、図示されていないスピーカに供給される。画面表示部15は、映像データに基づく映像や字幕データに基づく字幕をユーザに提供する。(特許文献1参照)
The video data and caption data generated by the
図2のフローチャートを参照し、図1に示した録画再生装置1の録画時の動作について説明する。
With reference to the flowchart of FIG. 2, the recording operation of the recording /
ステップS1において、録画中であるか否かが判断される。録画時の動作であるので、録画中ではないと判断された場合、図2のフローチャートの処理は終了される。一方、ステップS1において、録画中であると判断された場合、ステップS2に処理が進められる。ステップS2において、TS(Transport Stream)パケットが受信される。そして、ステップS3において、アンテナ2により受信され、受信部11により選択された所定の番組のTSパケットは、記録部12により、データ記録部13にストリームファイル31として記録される。
ストリームファイル31には、映像データ、音声データ、および字幕データが含まれており、そのままのストリームが、ストリームファイル31として、データ記録部13に記録される。
The
ところで、字幕としてユーザに提供されるのは、例えば、ドラマなどのセリフであったり、スポーツ中継の実況で、アナウンサーがその場に合わせて発言した言葉などであったりする。 By the way, what is provided to the user as subtitles is, for example, a speech such as a drama, or words spoken by the announcer according to the situation in the actual situation of sports broadcasting.
ドラマなどは、放送されるまでに放送内容が決定されているために、字幕データを放送されるまでに作成し、対応する映像データなどとストリームにして配信することが可能である。俗に録画番組などと称され、予め収録される番組は、字幕データも事前に作成しておくことが可能であるために、ユーザ側に提供されるときに、映像(音声)と字幕が一致するように番組を作成することが可能である。 Since the broadcast content of a drama or the like is determined by the time it is broadcast, it is possible to create subtitle data by the time it is broadcast and distribute it as a stream with the corresponding video data. Commonly referred to as recorded programs, etc., since the prerecorded programs can be created in advance, the subtitle data can be created in advance, so the video (audio) and subtitles match when provided to the user. It is possible to create programs.
スポーツ中継の実況などで、アナウンサーがその場に合わせて発言した言葉などを、字幕としてユーザに提供する場合、字幕データを放送されるまでに作成するといったことができない。スポーツ中継やニュース番組など、俗に、生放送などと称され、予め収録することができない番組は、字幕データを事前に作成しておくことができないために、放送中に作成し、ユーザ側に提供される。 In the case of providing the user with words such as words spoken by the announcer in accordance with the actual situation of sports broadcasting, the caption data cannot be created before it is broadcast. Programs that are commonly referred to as live broadcasts, such as sports broadcasts and news programs, that cannot be recorded in advance, cannot be created in advance, so they are created during the broadcast and provided to users. Is done.
生放送などの番組の字幕データは、放送中に作成されるため、映像データや音声データが先にユーザ側に提供され、その映像データや音声データに対応する字幕データが提供されることになる。すなわち、ユーザ側では、映像と音声は一致している状態で提供されるが、字幕だけは、映像や音声よりもずれた状態で提供されることになる。 Since caption data of a program such as a live broadcast is created during broadcasting, video data and audio data are first provided to the user side, and caption data corresponding to the video data and audio data is provided. That is, on the user side, the video and audio are provided in a state where they match, but only the subtitles are provided in a state shifted from the video and audio.
上記したように、ストリームファイル31は、映像データ、音声データ、および字幕データが含まれた状態のまま、データ記録部13に記録されている。このことは、映像や音声に対して字幕がずれた状態で記録されてしまうことを意味する。そのため、そのようなストリームファイル31を再生したときには、映像や音声に対応する字幕が、映像や音声に対してずれた状態でユーザに提供されてしまうということがあった。
As described above, the
本発明は、このような状況に鑑みてなされたものであり、映像や音声に対応する字幕が、映像や音声とずれることなく再生されるようにするものである。 The present invention has been made in view of such circumstances, and is intended to reproduce subtitles corresponding to video and audio without shifting from the video and audio.
本発明の一側面の記録装置は、記録対象とされる番組のトランスポートパケットを取得する取得手段と、前記取得手段により取得された前記トランスポートパケットから、字幕データを抽出する抽出手段と、前記取得手段による前記トランスポートパケットの取得が開始された時刻から、前記抽出手段により前記字幕データが抽出された時刻までに経過した経過時間を一時記憶する経過時間記憶手段と、前記トランスポートパケットに含まれ、前記番組が属するジャンルを示す番組ジャンルコードを一時記憶する番組ジャンルコード記憶手段と、前記字幕データ、前記経過時間、および前記番組ジャンルコードから、前記字幕データを前記トランスポートストリームに含まれていた映像データとともに再生するときに参照される字幕情報テーブルを作成する字幕情報テーブル作成手段とを備える。 The recording apparatus according to one aspect of the present invention includes an acquisition unit that acquires a transport packet of a program to be recorded, an extraction unit that extracts subtitle data from the transport packet acquired by the acquisition unit, Included in the transport packet is an elapsed time storage unit that temporarily stores an elapsed time from a time when acquisition of the transport packet by the acquisition unit is started to a time when the caption data is extracted by the extraction unit. The transport stream includes the program genre code storage means for temporarily storing the program genre code indicating the genre to which the program belongs, the subtitle data from the subtitle data, the elapsed time, and the program genre code. Subtitle information table that is referenced when playing back with the recorded video data. And a subtitle information table producing means for producing Le.
前記番組ジャンルコードと、前記映像データに対する前記字幕データの遅延量が関連付けられた遅延量テーブルを記憶する遅延量テーブル記憶手段をさらに備え、前記字幕情報テーブル作成手段は、前記番組ジャンルコード記憶手段に記憶されている前記番組ジャンルコードに関連付けられている遅延量を、前記遅延量テーブルを参照して読み出し、前記字幕情報テーブルに記載するようにすることができる。 The information processing apparatus further includes a delay amount table storage unit that stores a delay amount table in which the program genre code is associated with a delay amount of the caption data with respect to the video data, and the caption information table creation unit includes the program genre code storage unit. The delay amount associated with the stored program genre code can be read with reference to the delay amount table and described in the caption information table.
前記遅延量テーブルには、前記番組ジャンルコードと優先順位がさらに関連付けられて記載されており、前記番組ジャンルコード記憶手段に記憶されている前記番組ジャンルコードと、前記遅延量テーブルに記載されている前記番組ジャンルコードが一致するか否かが、前記優先順位順に判断され、前記遅延量が読み出されるようにすることができる。 In the delay amount table, the program genre code and priority are further associated with each other, and the program genre code stored in the program genre code storage means and the delay amount table are described. Whether or not the program genre codes match can be determined in the order of priority, and the delay amount can be read out.
前記番組ジャンルコードと、前記映像データに対する前記字幕データの遅延量が関連付けられた遅延量テーブルを記憶する遅延量テーブル記憶手段をさらに備え、前記字幕情報テーブル作成手段は、前記番組ジャンルコード記憶手段に記憶されている前記番組ジャンルコードに関連付けられている遅延量を、前記遅延量テーブルを参照して読み出し、その遅延量を前記経過時間から減算し、その値を前記字幕情報テーブルに記載するようにすることができる。 The information processing apparatus further includes a delay amount table storage unit that stores a delay amount table in which the program genre code is associated with a delay amount of the caption data with respect to the video data, and the caption information table creating unit is included in the program genre code storage unit. The delay amount associated with the stored program genre code is read with reference to the delay amount table, the delay amount is subtracted from the elapsed time, and the value is described in the caption information table. can do.
前記遅延量テーブルには、前記番組ジャンルコードと優先順位がさらに関連付けられて記載されており、前記番組ジャンルコード記憶手段に記憶されている前記番組ジャンルコードと、前記遅延量テーブルに記載されている前記番組ジャンルコードが一致するか否かが、前記優先順位順に判断され、前記遅延量が読み出されるようにすることができる。 In the delay amount table, the program genre code and priority are further associated with each other, and the program genre code stored in the program genre code storage means and the delay amount table are described. Whether or not the program genre codes match can be determined in the order of priority, and the delay amount can be read out.
本発明の一側面の記録方法は、記録対象とされる番組のトランスポートパケットを取得する取得ステップと、前記取得ステップの処理で取得された前記トランスポートパケットから、字幕データを抽出する抽出ステップと、前記取得ステップの処理で前記トランスポートパケットの取得が開始された時刻から、前記抽出ステップの処理で前記字幕データが抽出された時刻までに経過した経過時間を一時記憶する経過時間記憶ステップと、前記トランスポートパケットに含まれ、前記番組が属するジャンルを示す番組ジャンルコードを一時記憶する番組ジャンルコード記憶ステップと、前記字幕データ、前記経過時間、および前記番組ジャンルコードから、前記字幕データを前記トランスポートストリームに含まれていた映像データとともに再生するときに参照される字幕情報テーブルを作成する字幕情報テーブル作成ステップとを含む。 The recording method according to one aspect of the present invention includes an acquisition step of acquiring a transport packet of a program to be recorded, and an extraction step of extracting subtitle data from the transport packet acquired in the processing of the acquisition step. An elapsed time storage step for temporarily storing the elapsed time from the time when the acquisition of the transport packet was started in the process of the acquisition step to the time when the caption data was extracted in the process of the extraction step; A program genre code storage step for temporarily storing a program genre code indicating a genre to which the program belongs, included in the transport packet, and the subtitle data from the subtitle data, the elapsed time, and the program genre code. Along with the video data included in the port stream And a subtitle information table creation step of creating a subtitle information table referred to when.
本発明の一側面のプログラムは、記録対象とされる番組のトランスポートパケットを取得する取得ステップと、前記取得ステップの処理で取得された前記トランスポートパケットから、字幕データを抽出する抽出ステップと、前記取得ステップの処理で前記トランスポートパケットの取得が開始された時刻から、前記抽出ステップの処理で前記字幕データが抽出された時刻までに経過した経過時間を一時記憶する経過時間記憶ステップと、前記トランスポートパケットに含まれ、前記番組が属するジャンルを示す番組ジャンルコードを一時記憶する番組ジャンルコード記憶ステップと、前記字幕データ、前記経過時間、および前記番組ジャンルコードから、前記字幕データを前記トランスポートストリームに含まれていた映像データとともに再生するときに参照される字幕情報テーブルを作成する字幕情報テーブル作成ステップとを含む処理をコンピュータに実行させる。 The program of one aspect of the present invention includes an acquisition step of acquiring a transport packet of a program to be recorded, an extraction step of extracting subtitle data from the transport packet acquired in the processing of the acquisition step, An elapsed time storage step for temporarily storing the elapsed time from the time when the acquisition of the transport packet was started in the process of the acquisition step to the time when the caption data was extracted in the process of the extraction step; A program genre code storage step for temporarily storing a program genre code indicating a genre to which the program belongs, included in the transport packet; and the subtitle data from the subtitle data, the elapsed time, and the program genre code Along with the video data included in the stream To execute processing including the subtitle information table creation step of creating a subtitle information table referred to when raw to the computer.
本発明の一側面の記録装置および方法、並びにプログラムにおいては、所定の番組のトランスポートパケットが記録されるとき、字幕データが別ファイルとされ、その字幕データに関する情報が記載されたテーブルが作成される。そのテーブルは、字幕データが、他のデータ、例えば、映像データとともに再生されるとき、その映像データとずれることなく再生されるための遅延量などの情報が記載される。 In the recording apparatus and method and the program according to one aspect of the present invention, when a transport packet of a predetermined program is recorded, the caption data is a separate file, and a table in which information about the caption data is described is created. The The table describes information such as a delay amount for reproducing subtitle data without deviation from the video data when the subtitle data is reproduced together with other data, for example, video data.
本発明の一側面の再生装置は、字幕データ、前記字幕データとともにユーザに提供される映像データ、および、前記字幕データと映像データを共に再生するときに参照される字幕情報テーブルを取得する取得手段と、前記字幕データの再生を制御する字幕データ再生制御手段と、前記字幕データ再生制御手段により再生が制御された字幕から、所定の字幕が選択されたとき、その所定の字幕に対応する映像データの再生を開始する再生開始箇所を、前記字幕情報テーブルを参照して決定する決定手段と、前記決定手段により決定された再生開始箇所から前記映像データが再生されるように制御する映像データ再生制御手段とを備える。 The reproduction apparatus according to one aspect of the present invention acquires subtitle data, video data provided to the user together with the subtitle data, and a subtitle information table referred to when the subtitle data and the video data are reproduced together. And subtitle data reproduction control means for controlling reproduction of the subtitle data, and when a predetermined subtitle is selected from the subtitles whose reproduction is controlled by the subtitle data reproduction control means, video data corresponding to the predetermined subtitle is selected. And a video data playback control for controlling the video data to be played back from the playback start location determined by the determination unit. Means.
前記字幕データを提供していた番組のジャンルを表す番組ジャンルコードと、前記映像データに対する前記字幕データの遅延量が関連付けられた遅延量テーブルを記憶する遅延量テーブル記憶手段をさらに備え、前記字幕情報テーブルには、前記番組のデータの取得が開始された時刻から、前記字幕データが抽出された時刻までに経過した経過時間と、前記番組ジャンルコードが少なくとも関連付けられて記載されており、前記決定手段は、前記字幕情報テーブルに記載されている前記番組ジャンルコードに関連付けられている遅延量を前記遅延量テーブルから読み出し、前記経過時間から前記遅延量を減算した値を前記再生開始箇所として決定するようにすることができる。 The subtitle information further comprises a delay amount table storage means for storing a program genre code representing the genre of the program that provided the subtitle data and a delay amount table in which a delay amount of the subtitle data with respect to the video data is associated. In the table, the elapsed time elapsed from the time when the acquisition of the data of the program was started to the time when the caption data was extracted and the program genre code are described in association with each other. Reads out a delay amount associated with the program genre code described in the caption information table from the delay amount table, and determines a value obtained by subtracting the delay amount from the elapsed time as the reproduction start location. Can be.
前記遅延量テーブルには、前記番組ジャンルコードと優先順位が関連付けられて記載されており、前記字幕情報テーブルに記憶されている前記番組ジャンルコードと、前記遅延量テーブルに記載されている前記番組ジャンルコードが一致するか否かが、前記優先順位順に判断され、遅延量が読み出されるようにすることができる。 In the delay amount table, the program genre code and priority are associated with each other, the program genre code stored in the caption information table, and the program genre described in the delay amount table. Whether the codes match can be determined in the order of priority, and the delay amount can be read out.
前記字幕情報テーブルには、前記字幕データを提供していた番組のデータの取得が開始された時刻から、前記字幕データが抽出された時刻までに経過した経過時間と、前記映像データに対する前記字幕データの遅延量が少なくとも記載されており、前記決定手段は、前記字幕情報テーブルに記載されている前記遅延量を読み出し、前記経過時間から前記遅延量を減算した値を前記再生開始箇所として決定するようにすることができる。 In the caption information table, the elapsed time elapsed from the time when acquisition of the data of the program that provided the caption data was started to the time when the caption data was extracted, and the caption data for the video data The delay means reads at least the delay amount described in the caption information table, and determines a value obtained by subtracting the delay amount from the elapsed time as the playback start location. Can be.
前記字幕情報テーブルには、前記再生開始箇所が少なくとも記載されており、前記決定手段は、前記字幕情報テーブルから前記再生開始箇所を読み出すことで、前記再生開始箇所を決定するようにすることができる。 The subtitle information table describes at least the playback start location, and the determining means can determine the playback start location by reading the playback start location from the subtitle information table. .
本発明の一側面の再生方法は、字幕データ、前記字幕データとともにユーザに提供される映像データ、および、前記字幕データと映像データを共に再生するときに参照される字幕情報テーブルを取得する取得ステップと、前記字幕データの再生を制御する字幕データ再生制御ステップと、前記字幕データ再生制御ステップの処理で再生が制御された字幕から、所定の字幕が選択されたとき、その所定の字幕に対応する映像データの再生を開始する再生開始箇所を、前記字幕情報テーブルを参照して決定する決定ステップと、前記決定ステップの処理で決定された再生開始箇所から前記映像データが再生されるように制御する映像データ再生制御ステップとを含む。 The reproduction method of one aspect of the present invention obtains subtitle data, video data provided to the user together with the subtitle data, and a subtitle information table referred to when the subtitle data and the video data are reproduced together. And a subtitle data reproduction control step for controlling reproduction of the subtitle data, and a subtitle selected for reproduction from the subtitle data controlled by the processing of the subtitle data reproduction control step. A determination step for determining a playback start location for starting playback of video data with reference to the caption information table, and control so that the video data is played back from the playback start location determined in the processing of the determination step Video data reproduction control step.
本発明の一側面のプログラムは、字幕データ、前記字幕データとともにユーザに提供される映像データ、および、前記字幕データと映像データを共に再生するときに参照される字幕情報テーブルを取得する取得ステップと、前記字幕データの再生を制御する字幕データ再生制御ステップと、前記字幕データ再生制御ステップの処理で再生が制御された字幕から、所定の字幕が選択されたとき、その所定の字幕に対応する映像データの再生を開始する再生開始箇所を、前記字幕情報テーブルを参照して決定する決定ステップと、前記決定ステップの処理で決定された再生開始箇所から前記映像データが再生されるように制御する映像データ再生制御ステップとを含む処理をコンピュータに実行させる。 The program according to one aspect of the present invention obtains subtitle data, video data provided to the user together with the subtitle data, and a subtitle information table referred to when the subtitle data and the video data are reproduced together. When a predetermined subtitle is selected from the subtitle data reproduction control step for controlling the reproduction of the subtitle data and the subtitle whose reproduction is controlled by the processing of the subtitle data reproduction control step, the video corresponding to the predetermined subtitle is selected. A determination step for determining a reproduction start location for starting data reproduction with reference to the caption information table, and a video for controlling the video data to be reproduced from the reproduction start location determined in the processing of the determination step And causing a computer to execute processing including a data reproduction control step.
本発明の再生装置および方法、並びにプログラムにおいては、記録側で作成されたテーブルに基づき、字幕データと映像データが再生される。記録側から提供されるテーブルは、字幕データが映像データにずれることなく再生される際に用いられる数値が少なくとも記載されている。 In the playback apparatus and method and program of the present invention, subtitle data and video data are played back based on a table created on the recording side. The table provided from the recording side describes at least numerical values used when subtitle data is reproduced without being shifted to video data.
本発明の一側面によれば、記録された映像データ、音声データ、字幕データを再生する際、映像や音声に対応する字幕を、映像や音声とずれなく再生することが可能となる。 According to an aspect of the present invention, when recorded video data, audio data, and subtitle data are reproduced, subtitles corresponding to the video and audio can be reproduced without deviation from the video and audio.
以下に本発明の実施の形態を説明するが、本発明の構成要件と、明細書または図面に記載の実施の形態との対応関係を例示すると、次のようになる。この記載は、本発明をサポートする実施の形態が、明細書または図面に記載されていることを確認するためのものである。従って、明細書または図面中には記載されているが、本発明の構成要件に対応する実施の形態として、ここには記載されていない実施の形態があったとしても、そのことは、その実施の形態が、その構成要件に対応するものではないことを意味するものではない。逆に、実施の形態が構成要件に対応するものとしてここに記載されていたとしても、そのことは、その実施の形態が、その構成要件以外の構成要件には対応しないものであることを意味するものでもない。 Embodiments of the present invention will be described below. Correspondences between constituent elements of the present invention and the embodiments described in the specification or the drawings are exemplified as follows. This description is intended to confirm that the embodiments supporting the present invention are described in the specification or the drawings. Therefore, even if there is an embodiment which is described in the specification or the drawings but is not described here as an embodiment corresponding to the constituent elements of the present invention, that is not the case. It does not mean that the form does not correspond to the constituent requirements. Conversely, even if an embodiment is described here as corresponding to a configuration requirement, that means that the embodiment does not correspond to a configuration requirement other than the configuration requirement. It's not something to do.
本発明の一側面の記録装置(例えば、図4の記録装置52、図20の記録装置20、または図30の記録再生装置401)は、記録対象とされる番組のトランスポートパケットを取得する取得手段(例えば、図4の受信制御部71)と、前記取得手段により取得された前記トランスポートパケットから、字幕データを抽出する抽出手段(例えば、図4の記録制御部72)と、前記取得手段による前記トランスポートパケットの取得が開始された時刻から、前記抽出手段により前記字幕データが抽出された時刻までに経過した経過時間を一時記憶する経過時間記憶手段(例えば、図4のテーブル作成部73)と、前記トランスポートパケットに含まれ、前記番組が属するジャンルを示す番組ジャンルコードを一時記憶する番組ジャンルコード記憶手段(例えば、図4のテーブル作成部73)と、前記字幕データ、前記経過時間、および前記番組ジャンルコードから、前記字幕データを前記トランスポートストリームに含まれていた映像データとともに再生するときに参照される字幕情報テーブルを作成する字幕情報テーブル作成手段(例えば、図4のテーブル作成部73)とを備える。
The recording apparatus according to one aspect of the present invention (for example, the
前記番組ジャンルコードと、前記映像データに対する前記字幕データの遅延量が関連付けられた遅延量テーブルを記憶する遅延量テーブル記憶手段(例えば、図20の遅延推測値テーブル記憶部217)をさらに備えるようにすることができる。
A delay amount table storage unit (for example, a delay estimation value
本発明の一側面の再生装置(例えば、図5の再生装置53、図22の再生装置251、または、図30の記録再生装置401)は、字幕データ、前記字幕データとともにユーザに提供される映像データ、および、前記字幕データと映像データを共に再生するときに参照される字幕情報テーブルを取得する取得手段(例えば、図5の入力制御部91)と、前記字幕データの再生を制御する字幕データ再生制御手段(例えば、図5の字幕再生制御部93)と、前記字幕データ再生制御手段により再生が制御された字幕から、所定の字幕が選択されたとき、その所定の字幕に対応する映像データの再生を開始する再生開始箇所を、前記字幕情報テーブルを参照して決定する決定手段(例えば、図5の字幕再生制御部93)と、前記決定手段により決定された再生開始箇所から前記映像データが再生されるように制御する映像データ再生制御手段(例えば、図5の字幕再生制御部93と映像音声再生制御部92)とを備える。
The playback device according to one aspect of the present invention (for example, the
前記字幕データを提供していた番組のジャンルを表す番組ジャンルコードと、前記映像データに対する前記字幕データの遅延量が関連付けられた遅延量テーブルを記憶する遅延量テーブル記憶手段(例えば、図5の遅延推測値テーブル記憶部94)をさらに備えるようにすることができる。 Delay amount table storage means for storing a delay amount table in which the program genre code representing the genre of the program that provided the caption data and the delay amount of the caption data with respect to the video data are associated (for example, the delay in FIG. 5). An estimated value table storage unit 94) can be further provided.
以下に、本発明の実施の形態について図面を参照して説明する。 Embodiments of the present invention will be described below with reference to the drawings.
[システムの構成例]
図3は、本発明を適用したシステムの一実施の形態の構成を示す図である。図3に示したシステムは、アンテナ51、記録装置52、再生装置53、および表示装置54を含む構成とされている。
[System configuration example]
FIG. 3 is a diagram showing a configuration of an embodiment of a system to which the present invention is applied. The system shown in FIG. 3 includes an
図3に示したシステムは、デジタルテレビジョン放送を受信し、記録し、再生し、映像や音声などをユーザに提供する。また、図3に示したシステムにおいては、デジタルテレビジョン放送で字幕が提供されているとき、その字幕が、映像や音声に対してずれることがない状態で、ユーザに提供される。 The system shown in FIG. 3 receives a digital television broadcast, records it, plays it back, and provides video, audio, etc. to the user. In the system shown in FIG. 3, when captions are provided by digital television broadcasting, the captions are provided to the user in a state that does not deviate from video and audio.
アンテナ51は、デジタルテレビジョン放送の番組を受信し、受信した番組のデータを記録装置52に供給する。記録装置52は、アンテナ51により受信されたデータから、ユーザにより指示されている番組のデータを選択し、記録する。記録装置52に記録された番組は、再生装置53に供給され、再生される。再生されたデータのうち、映像や字幕に関するデータは、表示装置54に供給される。表示装置54は、映像や字幕を、供給されたデータに基づいて表示する。
The
ここでは、アンテナ51により、デジタルテレビジョン放送の番組が受信されるとして説明を続けるが、番組の受信形態、換言すれば、番組の配信形態は、アンテナ51に受信される形態だけに本発明の実施の形態が限定されるものではなく、例えば、インターネットなどに代表されるネットワークを介して配信され、受信される形態でも良い。
Here, the description will be continued on the assumption that a digital television broadcast program is received by the
記録装置52と再生装置53とは、有線により接続されていても良いし、無線により接続されていても良い。また、記録装置52と再生装置53は、ネットワークなどを介して、データの授受を行うような形態でも良い。さらに、映像データなどを含む番組のデータは、記録装置52により所定の記録媒体に記録され、その記録媒体が再生装置53に供給されることにより、データの授受が行われるようにしても良い。
The
[記録装置の第1の実施の形態]
図4は、記録装置52の第1の実施の形態における内部構成例を示す図である。記録装置52は、受信制御部71、記録制御部72、テーブル作成部73、データ記録部74、テーブル記憶部75、およびデータ出力部76を含む構成とされている。
[First Embodiment of Recording Apparatus]
FIG. 4 is a diagram illustrating an example of the internal configuration of the
受信制御部71は、アンテナ51(図3)と接続され、アンテナ51により受信されたデジタルテレビジョン放送の番組の受信を制御する。受信制御部71は、チューナを含む構成とされ、アンテナ51から供給される複数の番組からユーザが録画を指示した番組を選択し、記録制御部72に供給するように構成されている。
The
記録制御部72は、受信制御部71からのデータのデータ記録部74への記録を制御する。後述するように、受信制御部71から供給されるのはトランスポートストリームパケット(以下、TSパケットと記述する)であり、記録制御部72は、そのTSパケットから、字幕データのパケットを抽出し、字幕データファイルとして、データ記録部74に記録させる。また、TSパケットに含まれる映像データや音声データは、字幕データとは異なるファイル(以下、適宜、ストリームファイルと記述する)として記録される。
The
データ記録部74は、少なくとも、字幕データファイルとストリームファイルを記録する。
The
テーブル作成部73は、テーブルを作成し、テーブル記憶部75に記録させる。作成されるテーブルに関する詳細な説明は後述するが、字幕データと、録画が開始された時刻からの経過時間などの情報が関連付けられて記載されているテーブルである。以下、テーブル作成部73により作成されるテーブルを、字幕情報テーブルと記述する。
The
テーブル記憶部75には、少なくとも、字幕情報テーブルを記憶する。データ記録部74とテーブル記憶部75は、図4においては別々に図示したが、同一の記録部として構成することも可能であり、例えば、1つの記録装置の領域を、ストリームファイル、字幕データファイル、字幕情報テーブルのそれぞれに割り当てて記録するようにしても良い。
The
データ出力部76は、データ記録部74に記録されているストリームファイル、字幕データファイル、およびテーブル記憶部75に記憶されている字幕情報テーブルを、再生装置53から要求があったときに、再生装置53に出力するための制御を行う。
The
データ記録部74やテーブル記憶部75を、記録装置52に対して着脱可能な記録媒体で構成し、その記録媒体が、再生装置53側に提供される構成することも可能であり、このようなときには、データ出力部76は、その記録媒体にデータを書き込んだり、その記録媒体からデータを読み出したりする所定のドライブを含む構成とされる。
The
[再生装置の第1の実施の形態]
次に、図4の記録装置52に対応する再生装置53について説明を加える。図5は、再生装置53の第1の実施の形態における内部構成例を示す図である。再生装置53は、入力制御部91、映像音声再生制御部92、字幕再生制御部93、遅延推測値テーブル記憶部94、表示制御部95、および操作部96を含む構成とされている。
[First Embodiment of Playback Apparatus]
Next, a description will be given of the
入力制御部91は、記録装置52に対してユーザにより指示された番組のデータを取得するための制御を行う。映像音声再生制御部92は、入力制御部91により入力が制御されたストリームファイルから、映像データと音声データを生成し、映像データを表示制御部95に供給し、音声データを図示してないスピーカなどの発音装置を制御する部分に供給する。
The
字幕再生制御部93は、入力制御部91により入力が制御された字幕データファイルを基に字幕データを生成し、表示制御部95に供給する。字幕再生制御部93は、字幕データを表示制御部95に供給するとき、遅延推測値テーブル記憶部94に記録されている遅延推測値テーブルを参照する。遅延推測値テーブル記憶部94には、番組のジャンルにより設定されている遅延時間(遅延量)が記載されたテーブルが記録されている。
The subtitle
字幕再生制御部93は、入力制御部91により入力が制御された字幕情報テーブルを参照し、その字幕情報テーブルに記載されている番組のジャンルに応じた遅延量を、遅延推測値テーブル記憶部94に記録されている遅延推測値テーブルから読み出し、その遅延量に基づく遅延がされた状態で、ユーザに字幕が提供されるように制御を行う。
The subtitle
表示制御部95は、映像音声再生制御部92からの映像データに基づく映像と、字幕再生制御部93からの字幕データに基づく字幕が、表示装置54において表示されるように制御を行う。
The
操作部96は、後述するカーソルを移動させるときに操作されるボタンなどを含む構成とされている。操作部96がユーザにより操作された場合、その操作情報は、字幕再生制御部93に供給されるように構成されており、表示装置54に表示されている字幕やカーソルの表示が、操作情報に基づく表示に制御される。
The
[字幕について]
以下の説明においては、上記した記録装置52や再生装置53で扱われる字幕データの処理を中心に説明を続ける。ここで、字幕データに基づき、表示装置54に表示される字幕について説明をする。表示装置54には、映像と合わせて字幕が表示されたり、字幕だけで表示されたりする。図6は、表示装置54に表示される字幕の一例を示す図である。
[About subtitles]
In the following description, the description will be continued focusing on the processing of caption data handled by the
図6に示した表示例においては、ライン1乃至6の6ラインが表示されている状態である。ライン1は、“明日の天気です。”という字幕である。ライン2は、“AA地方は、よく晴れるでしょう。”という字幕である。ライン3は、“気温は最低気温15°C。”という字幕である。ライン4は、“最高気温22°Cです。”という字幕である。ライン5は、“降水確率は一日をとおして、10%以下です。”という字幕である。ライン6は、“BB地方は、山間部はにわかに雨の恐れがありますが、全般的によく晴れるでしょう。”という字幕である。
In the display example shown in FIG. 6, six lines of
ライン1の字幕は、1行目に表示され、ライン2の字幕は、2行目に表示され、ライン3とライン4の字幕は、3行目に表示され、ライン5の字幕は、4行目に表示され、ライン6の字幕は、5行目と6行目に表示されている。なお、以下の説明において、ライン1などの“1”を表す言葉として、ライン番号という言葉を用いる。例えば、“ライン番号が1”との表記は、“ライン1”を意味するとする。
ここでは、1ラインを、1文とする。1文は、例えば、ライン1のように1行で表示される場合もあるし、ライン6のように2行にわたって表示されることもある。また、1ラインには、1文以上表示される場合もあり、例えば、ライン3やライン4のように、1行に2文表示されることもある。
Here, one line is one sentence. For example, one sentence may be displayed in one line as in
例えば、映像と同時に字幕が表示される場合、映像との関係で、字幕の表示に何らかの制限が加えられ、図6に示すような表示しかされない可能性があるが、本実施の形態においては、字幕データを抽出し、記録しておくことで、字幕だけを表示させることが可能とされる。字幕だけが表示されるとき、映像との関係での制限をなくし、ユーザの指示により、例えば、文字の大きさを大きくしたり、小さくしたり、フォントを変えたりして表示させることができる。文字の大きさが大きく変えられた場合など、例えば、ライン1のように1行で表示されていた文も、2行にわたって表示される可能性があるし、文字の大きさが小さく変えられた場合など、例えば、ライン6のように2行にわたって表示されていた文も、1行で表示される可能性もある。
For example, when subtitles are displayed at the same time as the video, there is a possibility that some restrictions are added to the display of the subtitles due to the relationship with the video, and only the display as shown in FIG. 6 is possible. By extracting and recording subtitle data, it is possible to display only subtitles. When only subtitles are displayed, there is no restriction on the relationship with the video, and for example, the size of characters can be increased or decreased, or the font can be changed according to user instructions. For example, when the size of a character is greatly changed, a sentence that was displayed in one line, such as
後述するように、本実施の形態においては、表示装置54に字幕だけが表示されている状態のときには、例えば、図7に示すようにカーソル111が表示され、そのカーソル111がライン間を移動し、ラインを選択することができるように構成されている。
As will be described later, in the present embodiment, when only the caption is displayed on the
カーソル111は、図7の上段に示すように、例えば、ライン5上に位置し、4行目の1行を指し示している状態のときもあるし、図7の下段に示すように、例えば、ライン6上に位置し、5行目と6行目の2行を指し示している状態のときもある。
As shown in the upper part of FIG. 7, for example, the
後述するように、カーソル111が位置している所定の文が選択されると、その文と関連付けられている映像であり、その文に対応する映像の箇所からの再生が開始される。このように、カーソル111は、映像の再生の開始箇所の指定を行うときに用いられるという側面もある。このようなことを考慮し、カーソル111は、選択肢である文を途中で途切れることがない状態で所定の文に位置するように制御されるようにする。
As will be described later, when a predetermined sentence at which the
仮に、図8に示すように、ライン6上にカーソル111が位置しているが、5行目の1行のみを指し示しているような場合、文の途中までに、カーソル111が位置していることになる。このような文の途中までしかカーソル111が位置していないようなときには、選択肢の途中までにしかカーソル111が位置していない状態であることを意味しているため、好ましくない状態であると考えられる。換言すれば、カーソル111は、1つの選択肢を適切な範囲で指し示すように表示されることが好ましく、この場合、1つの選択肢は1文であるので、仮に1文が複数の行にわたって表示される文であっても、その1文にカーソル111が位置するようにする。
As shown in FIG. 8, the
すなわち、本実施の形態の場合、1ラインは、1文として設定しているため、1ライン上にカーソル111が位置するように制御されればよい。このように、本実施の形態においては、1ライン=1文であり、1ライン上にカーソル111が位置するとして説明を続ける。
That is, in the case of the present embodiment, since one line is set as one sentence, it may be controlled so that the
ただし、例えば、図9に示すように、ライン3とライン4が、すなわち2文が1行で表示されているようなときには、カーソル111が2文にわたって表示されるようにしても良い。2文にわたってカーソル111を表示させるか否かは、例えば、詳細は後述するが、字幕データが取得されたときの時刻(経過時間)が、同一または近似しているときには、複数の文にカーソル111が位置するように制御すると判断されるようにすることで可能となる。
However, for example, as shown in FIG. 9, when the
このように字幕を制御する場合について以下に説明を加える。 The case where subtitles are controlled in this way will be described below.
[第1の実施の形態における記録装置の処理について]
図10乃至図12のフローチャートを参照し、図4に示した記録装置52が行う記録に関する処理について説明する。
[Processing of the recording apparatus in the first embodiment]
Processing related to recording performed by the
ステップS31において、記録装置52の記録制御部72により、初期設定としてライン番号が1に設定される。ステップS32において、録画中であるか否かが判断される。ステップS32において、録画中ではないと判断された場合、図10に示した録画処理に関するフローチャートの処理は終了される。一方、ステップS32において、録画中であると判断された場合、ステップS33に処理が進められる。
In step S31, the
ステップS33において、録画開始時刻を取得しているか否かが判断される。記録制御部72は、録画を開始した時点で、録画を開始した時刻を取得し、その録画開始時刻を始点として、計時を開始し、その計時した時間を、経過時間として字幕情報テーブルに記載する。そのために、ステップS33において、録画開始時刻が取得されているか否かが判断され、取得されていなければ、ステップS34に処理が進められ、取得されていれば、ステップS34の処理はスキップされて、ステップS35に処理が進められる。
In step S33, it is determined whether the recording start time has been acquired. The
ステップS34において、現在時刻が録画開始時刻に設定される。この時点から、計時が開始される。 In step S34, the current time is set as the recording start time. From this point, timekeeping is started.
ステップS35において、TSパケットが受信される。受信制御部71は、アンテナ51から供給されるTSパケットから、ユーザが指定した番組のTSパケットの受信を制御し、記録制御部72に供給する。記録制御部72は、ステップS36において、供給されたTSパケットを、ストリームファイルとしてデータ記録部74に記録させる。
In step S35, a TS packet is received. The
ステップS37において、記録させたTSパケットは、字幕データを含むTSパケットであるか否かが判断される。ステップS37において、字幕データを含むTSパケットであると判断された場合、ステップS38に処理が進められ、字幕情報テーブル作成処理が実行される。ステップS38において実行される字幕情報テーブル作成処理については、図11のフローチャートを参照して後述する。 In step S37, it is determined whether or not the recorded TS packet is a TS packet including caption data. If it is determined in step S37 that the TS packet includes caption data, the process proceeds to step S38, and caption information table creation processing is executed. The caption information table creation process executed in step S38 will be described later with reference to the flowchart of FIG.
一方、ステップS37において、字幕データを含むTSパケットではないと判断された場合、ステップS39に処理が進められる。字幕データを含むTSパケットではないと判断されたということは、字幕パケット以外のパケットであると判断された場合であり、字幕パケット以外のパケットとは、例えば、映像データを含むTSパケット、音声データを含むTSパケット、TSパケット自体のデータ、例えば、供給されているTSパケットに基づく番組がどのような番組であるかを示す情報(番組ジャンルコード)を含むTSパケットなどである。 On the other hand, if it is determined in step S37 that the TS packet does not include subtitle data, the process proceeds to step S39. When it is determined that the packet is not a TS packet including caption data, it is determined that the packet is a packet other than the caption packet. Examples of the packet other than the caption packet include a TS packet including video data and audio data. TS packet including the data of the TS packet itself, for example, a TS packet including information (program genre code) indicating what program is based on the supplied TS packet.
ステップS39においては、情報取得処理が実行される。情報取得処理は、字幕情報テーブルを作成するときに必要とされる情報を取得する処理であり、その情報は、字幕データを含むTSパケット以外のパケットから取得される。ステップS39において実行される情報取得処理については図12のフローチャートを参照して後述する。 In step S39, an information acquisition process is executed. The information acquisition process is a process for acquiring information required when creating the caption information table, and the information is acquired from a packet other than the TS packet including the caption data. The information acquisition process executed in step S39 will be described later with reference to the flowchart of FIG.
ステップS38における字幕情報テーブル作成処理またはステップS39における情報取得処理が終了されると、ステップS32に処理が戻され、それ以降の処理が繰り返される。処理が繰り返されることにより、録画中、1ライン毎に字幕データが蓄積され、その字幕データに関する情報を含む字幕情報テーブルが作成される。 When the caption information table creation process in step S38 or the information acquisition process in step S39 is completed, the process returns to step S32, and the subsequent processes are repeated. By repeating the process, caption data is accumulated for each line during recording, and a caption information table including information on the caption data is created.
図11を参照し、ステップS38で実行される字幕情報テーブル作成処理について説明する。ステップS51において、テーブル作成部73は、現在時刻を取得する。ステップS52において、経過時間が算出される。経過時間は、次式により算出される。
(経過時間)=(現在時刻)―(録画開始時刻)
すなわち、経過時間は、ステップS51において取得された現在時刻から、ステップS34において取得されている録画開始時刻を減算することにより算出される。
With reference to FIG. 11, the caption information table creation process executed in step S38 will be described. In step S51, the
(Elapsed time) = (Current time)-(Recording start time)
That is, the elapsed time is calculated by subtracting the recording start time acquired in step S34 from the current time acquired in step S51.
ステップS53において、TSパケット内から字幕データが抽出される。TSパケットには、字幕データ以外のデータも含まれているので、字幕を表示させるために必要となるデータのみが、ステップS53の処理として抽出される。そして、ステップS54において、抽出された字幕データは、字幕データファイルとして、データ記録部74に記録される。
In step S53, caption data is extracted from the TS packet. Since the TS packet includes data other than the caption data, only the data necessary for displaying the caption is extracted as the process of step S53. In step S54, the extracted caption data is recorded in the
ステップS55において、番組ジャンルコードと番組の終了時刻が一時記憶されているか否かが判断される。番組ジャンルコードと終了時刻は、ステップS39(図10)で実行される情報取得処理が行われることで取得され、一時記憶されている。番組の記録が開始された時点や、記録中に番組が変わった(番組のジャンルが変わった)場合など、番組ジャンルコードや終了時刻が取得されていない場合もある。 In step S55, it is determined whether or not the program genre code and the end time of the program are temporarily stored. The program genre code and the end time are acquired and temporarily stored by performing the information acquisition process executed in step S39 (FIG. 10). There are cases where the program genre code and end time are not acquired, for example, when the recording of the program is started or when the program changes during recording (the genre of the program changes).
そこで、ステップS55において、番組ジャンルコードと終了時刻が一時記憶されているか否かが判断される。ステップS55において、番組ジャンルコードと終了時刻は一時記憶されていると判断された場合、ステップS56に処理が進められ、記憶されていないと判断された場合、ステップS57に処理が進められる。 Therefore, in step S55, it is determined whether or not the program genre code and the end time are temporarily stored. If it is determined in step S55 that the program genre code and the end time are temporarily stored, the process proceeds to step S56. If it is determined that the program genre code and the end time are not stored, the process proceeds to step S57.
ステップS56において、現在時刻が終了時刻を過ぎているか否かが判断される。ステップS56の処理が行われることで、例えば、連続して2つの異なる番組の録画が指示されていたとき、1番目の番組から2番目の番組に切り変わったか否かを判断することが可能となる。番組が変わることにより、一時記憶されている1番目の番組の番組ジャンルコードや終了時刻が、2番目の番組の情報に切り換えられるため、番組の切り替わりを判断し、新たな番組の情報の取得ができるようにしておく必要がある。 In step S56, it is determined whether or not the current time has passed the end time. By performing the process of step S56, for example, when recording of two different programs is instructed in succession, it is possible to determine whether or not the first program is switched to the second program. Become. By changing the program, the program genre code and end time of the first program temporarily stored are switched to the information of the second program. Therefore, it is possible to determine the switching of the program and acquire the information of the new program. You need to be able to do it.
また、一時記憶されている番組ジャンルコードが古い番組ジャンルコードである場合がある。例えば、連続して1つの異なる番組が録画されるときでなくても、第1の番組の録画が終わった後であり、次に第2の番組の録画が開始されるときには、録画が終了された第1の番組の番組ジャンルコードがそのまま記憶されている可能性がある。そのような古い番組ジャンルコードが記憶されているにもかかわらず、処理が継続されてしまうようなことがないように、その時点で録画されている番組の番組ジャンルコードであるか否かをチェックするために、ステップS56の処理が行われる。 In addition, the temporarily stored program genre code may be an old program genre code. For example, even when one different program is not recorded continuously, the recording is ended after the recording of the first program is finished and the recording of the second program is started next. There is a possibility that the program genre code of the first program is stored as it is. Check whether the program genre code of the program recorded at that time is such that the processing is not continued even though the old program genre code is stored. In order to do so, the process of step S56 is performed.
ステップS56において、現在時刻が終了時刻を過ぎていると判断された場合、ステップS57に処理が進められ、現在時刻は終了時刻を過ぎていないと判断された場合、ステップS58に処理が進められる。 If it is determined in step S56 that the current time has passed the end time, the process proceeds to step S57. If it is determined that the current time has not passed the end time, the process proceeds to step S58.
ステップS57において、ライン番号と経過時間が関連付けられて字幕情報テーブルに保存される。ここで、図13を参照し、字幕情報テーブルについて説明する。図13は、テーブル作成部73により作成(更新)され、テーブル記憶部75に記録される字幕情報テーブル101の一例である。
In step S57, the line number and the elapsed time are associated with each other and stored in the caption information table. Here, the caption information table will be described with reference to FIG. FIG. 13 is an example of the caption information table 101 created (updated) by the
図13に示したように字幕情報テーブル101は、ライン番号、字幕データ、および、経過時間、番組ジャンルコードがそれぞれ関連付けられて管理されているテーブルである。ライン番号は、図6乃至図9を参照して説明したように、ここでは、1文=1ラインとしたときに、録画が開始されたときから1文毎に順に割り振られた番号である。録画が開始され、最初に受信された文は、ライン番号が1とされる。ライン番号の欄には、ライン番号が書き込まれる。すなわち、この場合、1から始まる連続する整数が、各欄に書き込まれる。 As shown in FIG. 13, the caption information table 101 is a table in which line numbers, caption data, elapsed time, and program genre codes are associated and managed. As described with reference to FIGS. 6 to 9, the line numbers are numbers assigned in order for each sentence from the start of recording when one sentence = 1 line. Recording starts and the first received sentence has a line number of 1. The line number is written in the line number column. That is, in this case, consecutive integers starting from 1 are written in each column.
字幕データの欄には、ライン番号に対応する字幕データそのもののデータ、あるいは、字幕データが記録されている記録領域など、字幕データに関する情報が書き込まれる。ここでは、データ記録部74に字幕データファイルが記録されるとして説明を続けるため、字幕情報テーブル101の字幕データの各欄には、データ記録部74のうち、ライン番号に対応する字幕データが記録されている領域などを特定するための情報が記載されるとして説明を続ける。
In the subtitle data column, information on the subtitle data such as the subtitle data itself corresponding to the line number, or a recording area in which the subtitle data is recorded is written. Here, in order to continue the description on the assumption that the caption data file is recorded in the
経過時間の欄には、録画が開始された時刻から字幕データが取得された時刻までの経過時間が記載される。 The elapsed time column describes the elapsed time from the time when the recording was started to the time when the caption data was acquired.
番組ジャンルコードの欄には、録画対象とされている番組のジャンルに関する情報(ここでは、この情報を番組ジャンルコードと称する)が記載される。番組ジャンルコードは、TSパケットに含まれている。よって、番組ジャンルコードは、TSパケットから抽出され、字幕情報テーブル101に記載される。 Information relating to the genre of a program to be recorded (herein, this information is referred to as a program genre code) is described in the program genre code column. The program genre code is included in the TS packet. Therefore, the program genre code is extracted from the TS packet and described in the caption information table 101.
1つの番組に付けられる番組ジャンルコードは、1つであるとは限らず、1つの番組に複数の番組ジャンルコードが付けられる場合もある。複数の番組ジャンルコードが、TSパケットから抽出された場合、抽出された複数の番組ジャンルコードが、番組ジャンルコードの欄に記載される。 A program genre code attached to one program is not necessarily one, and a plurality of program genre codes may be attached to one program. When a plurality of program genre codes are extracted from the TS packet, the extracted plurality of program genre codes are described in the program genre code column.
図11のフローチャートの説明に戻る。ステップS57に処理が進められるのは、ステップS56において、現在時刻が番組の終了時刻を過ぎていると判断されたときである。そのように判断されるときの状況は、異なる番組が続けて録画される状況であり、かつ、番組が切り替わったときである。または、録画終了後に、他の番組の録画が開始されるときである。このような状況のときには、新たに録画対象とされた番組の番組ジャンルコードを字幕情報テーブル101に記載する必要がある。 Returning to the flowchart of FIG. The process proceeds to step S57 when it is determined in step S56 that the current time has passed the end time of the program. The situation when such a determination is made is a situation where different programs are continuously recorded and when the program is switched. Or, when the recording of another program is started after the recording ends. In such a situation, it is necessary to describe the program genre code of the program newly targeted for recording in the caption information table 101.
よって、その時点で、記憶されている番組ジャンルコードは、古い番組ジャンルコードである可能性があるため、その番組ジャンルコードを字幕情報テーブル101に記載すると、間違った情報を記載することになる。よって、ステップS57においては、字幕情報テーブル101のうちの、ライン番号の対応する欄と経過時間の対応する欄に、それぞれ情報が記載される。 Therefore, since the program genre code stored at that time may be an old program genre code, if the program genre code is described in the caption information table 101, incorrect information will be described. Therefore, in step S57, information is described in the column corresponding to the line number and the column corresponding to the elapsed time in the caption information table 101, respectively.
また、ステップS57に処理が進められたのが、ステップS55において、番組ジャンルコードが一時記憶されていないと判断されたときであった場合、番組ジャンルコードは記憶されていないので、書き込める情報がないため、番組ジャンルコード以外の情報、すなわち、字幕情報テーブル101のうちの、ライン番号の対応する欄と経過時間の対応する欄に、それぞれ情報が記載される。 If it is determined in step S55 that the program genre code is not temporarily stored in step S57, the program genre code is not stored and there is no information to be written. Therefore, information other than the program genre code, that is, information is described in the column corresponding to the line number and the column corresponding to the elapsed time in the caption information table 101, respectively.
ライン番号は、その時点で設定されている番号が記載される。なお、設定に関わる処理は、ステップS31(図10)において初期設定として1に設定される処理と、後述するステップS59においてライン番号を1だけ増加するという処理があり、そのステップS31とステップS59の処理が実行されることにより設定されているライン番号が、字幕情報テーブル101に記載される。 As the line number, the number set at that time is described. The process related to the setting includes a process in which the initial setting is set to 1 in step S31 (FIG. 10) and a process in which the line number is incremented by 1 in step S59 which will be described later. Line numbers set by executing the process are described in the caption information table 101.
経過時間は、ステップS52において算出された時間が字幕情報テーブル101に記載される。 As the elapsed time, the time calculated in step S52 is described in the caption information table 101.
また、ステップS57において、字幕データファイルのうちの記載したライン番号に対応する字幕データ(処理対象とされている字幕データ)が記録されている場所に関する情報などが、字幕データの欄に記載される。 In step S57, information on the location where the caption data (subtitle data to be processed) corresponding to the described line number in the caption data file is recorded is described in the caption data column. .
ステップS57の処理が実行された時点では、字幕情報テーブル101の番組ジャンルコードの欄は、空欄とされている。この空欄にされている番組ジャンルコードの欄には、後の処理で、番組ジャンルコードが取得された時点(一時記憶されている番組ジャンルコードが更新された時点)で書き込まれる。番組ジャンルコードを取得する処理(一時記憶する処理)は、ステップS39(図10)において実行される情報取得処理であり、その説明は、図12のフローチャートを参照して後述する。 At the time when the process of step S57 is executed, the column of the program genre code in the caption information table 101 is blank. In the blank program genre code column, data is written when the program genre code is acquired in a later process (when the temporarily stored program genre code is updated). The process of acquiring the program genre code (the process of temporarily storing) is an information acquisition process executed in step S39 (FIG. 10), and the description thereof will be described later with reference to the flowchart of FIG.
図11のフローチャートの説明に戻り、ステップS57において、字幕情報テーブル101に、上記したように、ライン番号、字幕データ、および、経過時間のそれぞれの欄に情報が記載されると、処理は、ステップS59に進められ、ライン番号が1だけ増加される。ステップS59の処理が終了されると、処理は、ステップS32(図10)に戻され、新たな字幕データの取得に関する処理が繰り返し行われる。 Returning to the description of the flowchart of FIG. 11, when information is described in the respective columns of the line number, the caption data, and the elapsed time in the caption information table 101 in step S57 as described above, Proceeding to S59, the line number is incremented by one. When the process of step S59 is completed, the process returns to step S32 (FIG. 10), and the process relating to the acquisition of new caption data is repeatedly performed.
一方、ステップS56において現在時刻が終了時刻を過ぎていないと判断された場合、ステップS58に処理が進められる。ステップS58において、ライン番号、経過時間、および番組ジャンルコードが字幕情報テーブル101に記載される。ステップS58における処理は、基本的にステップS57で実行される処理と同じであるが、番組ジャンルコードが字幕情報テーブル101に記載される点が異なる。 On the other hand, if it is determined in step S56 that the current time has not passed the end time, the process proceeds to step S58. In step S58, the line number, elapsed time, and program genre code are described in the caption information table 101. The process in step S58 is basically the same as the process executed in step S57, except that the program genre code is described in the caption information table 101.
ステップS58に処理が来るのは、番組ジャンルコードと終了時刻が一時記憶されており、かつ、現在時刻がその記憶されている終了時刻を過ぎていない状況である。このような状況は、番組が切り替わっていない状況であり、記憶されいる番組ジャンルコードと終了時刻は、その時点で放送されている番組に対応する情報である。よって、ステップS58においては、番組ジャンルコードも字幕情報テーブル101に記載される。 The process comes to step S58 when the program genre code and the end time are temporarily stored, and the current time has not passed the stored end time. Such a situation is a situation in which the program is not switched, and the stored program genre code and end time are information corresponding to the program being broadcast at that time. Therefore, in step S58, the program genre code is also written in the caption information table 101.
ステップS58の処理が終了されると、ステップS59に処理が進められ、ライン番号が1だけ増加され、ステップS32(図10)に処理が戻され、それ以降の処理が繰り返される。 When the process of step S58 is completed, the process proceeds to step S59, the line number is incremented by 1, the process is returned to step S32 (FIG. 10), and the subsequent processes are repeated.
次に、図12のフローチャートを参照し、ステップS39で実行される情報取得処理について説明する。 Next, the information acquisition process executed in step S39 will be described with reference to the flowchart of FIG.
ステップS71において、受信されたTSパケットには、番組情報が含まれているか否かが判断される。ステップS71に処理が来るのは、ステップS37(図10)において、字幕データを含むTSパケットではないと判断されたときである。ステップS71において、番組情報が含まれるTSパケットではないと判断された場合、その後の処理で抽出する情報が含まれていないことを意味するため、図12に示したフローチャートの処理は終了され、ステップS32(図10)に処理が戻され、それ以降の処理が繰り返される。 In step S71, it is determined whether or not the received TS packet includes program information. The process comes to step S71 when it is determined in step S37 (FIG. 10) that it is not a TS packet including caption data. If it is determined in step S71 that the program packet information is not included in the TS packet, it means that information to be extracted in the subsequent processing is not included. Therefore, the processing of the flowchart shown in FIG. The processing is returned to S32 (FIG. 10), and the subsequent processing is repeated.
一方、ステップS71において、番組情報を含むTSパケットであると判断された場合、ステップS72に処理が進められる。ステップS72において、番組情報は既に取得済であるか否かが判断される。ステップS72において、番組情報はまだ取得されていないと判断された場合、ステップS73に処理が進められる。 On the other hand, if it is determined in step S71 that the TS packet includes program information, the process proceeds to step S72. In step S72, it is determined whether or not the program information has already been acquired. If it is determined in step S72 that the program information has not yet been acquired, the process proceeds to step S73.
ステップS73において、番組情報として、TSパケットから番組ジャンルコードと終了時刻が抽出され、一時記憶される。その後、処理は、ステップS74に進められる。ステップS74において、字幕情報テーブル101に、番組ジャンルコードが記載されていない欄があるか否かが判断される。例えば、上記したステップS57(図11)の処理が実行されたとき、字幕情報テーブル101には、少なくとも1つの番組ジャンルコードの欄が空欄とされている。 In step S73, a program genre code and an end time are extracted from the TS packet as program information and temporarily stored. Thereafter, the process proceeds to step S74. In step S74, it is determined whether or not the caption information table 101 includes a column in which no program genre code is described. For example, when the process of step S57 (FIG. 11) described above is executed, at least one program genre code column is left blank in the caption information table 101.
ステップS74には、そのような空欄が字幕情報テーブル101にあるか否かが判断される。ステップS74において、字幕情報テーブル101に、番組ジャンルコードが記載されていない欄があると判断された場合、ステップS75に処理が進められる。ステップS75において、番組ジャンルコードが記載されていない欄に、ステップS73において一時記憶された番組ジャンルコードが記載される。 In step S74, it is determined whether or not such a blank is present in the caption information table 101. If it is determined in step S74 that the caption information table 101 has a field in which no program genre code is described, the process proceeds to step S75. In step S75, the program genre code temporarily stored in step S73 is described in a column where no program genre code is described.
一方、ステップS74において、字幕情報テーブル101に、番組ジャンルコードが記載されていない欄はないと判断された場合、図12に示したフローチャートの処理は終了され、ステップS32(図10)に処理が戻され、それ以降の処理が繰り返される。 On the other hand, if it is determined in step S74 that there is no column in the caption information table 101 in which the program genre code is not described, the process of the flowchart shown in FIG. 12 is terminated, and the process proceeds to step S32 (FIG. 10). Is returned, and the subsequent processing is repeated.
一方、ステップS72において、番組情報は既に取得済であると判断された場合、ステップS76に処理が進められ、現在時刻が取得される。そして、ステップS77において、番組終了時刻であるか否かが判断される。ステップS77において、ステップS76の処理で取得された現在時刻と、既に取得されている番組情報に含まれる番組の終了時刻(一時記憶されている終了時刻)が比較され、番組終了時刻であるか否かが判断される。 On the other hand, if it is determined in step S72 that the program information has already been acquired, the process proceeds to step S76, and the current time is acquired. In step S77, it is determined whether it is the program end time. In step S77, the current time acquired in the process of step S76 is compared with the end time of the program included in the already acquired program information (the temporarily stored end time) to determine whether it is the program end time. Is judged.
ステップS77において、番組の終了時刻ではないと判断された場合、ステップS32(図10)に処理が戻され、それ以降の処理が繰り返される。一方、番組の終了時刻であると判断された場合、ステップS78において、ステップS73と同様に、番組情報として、番組ジャンルコードと終了時刻が取得され、一時記憶される。なお、ステップS78において取得される番組情報は、次の番組の情報である。その後、ステップS32に処理が戻され、それ以降の処理が繰り返される。 If it is determined in step S77 that it is not the end time of the program, the process returns to step S32 (FIG. 10), and the subsequent processes are repeated. On the other hand, if it is determined that it is the end time of the program, in step S78, the program genre code and the end time are acquired and temporarily stored as program information in the same manner as in step S73. Note that the program information acquired in step S78 is information on the next program. Thereafter, the process is returned to step S32, and the subsequent processes are repeated.
このような処理が実行されることにより、最新の番組情報が一時記憶されるように制御される。また、そのような番組情報に基づき、字幕情報テーブル101が作成され、字幕データが記録される。 By executing such processing, the latest program information is controlled to be temporarily stored. Also, a caption information table 101 is created based on such program information, and caption data is recorded.
このような処理が実行されることにより、図14に示すようなデータが、記録装置52に記録される。記録装置52のデータ記録部74には、ストリームファイル121と字幕データファイル122が記録され、テーブル記憶部75には、字幕情報テーブル101が記録される。
By executing such processing, data as shown in FIG. 14 is recorded in the
このようなファイルやテーブルに基づき、再生装置53で行われる再生について説明する。
The reproduction performed by the
[第1の実施の形態の再生装置の処理について]
図15乃至図17のフローチャートを参照し、再生装置53(図5)が行う再生に関する処理について説明する。再生装置53は、図6乃至9を参照して説明したように、字幕(テキスト)を表示し、表示されている字幕のうち、ユーザにより指示された字幕(文)に対応する映像の再生を開始する。ここでは、このような処理が行われる場合を例に挙げて説明する。よって、前提として図15のフローチャートが開始されるのは、字幕の表示が指示されたときである。
[Processing of the playback apparatus according to the first embodiment]
With reference to the flowcharts of FIGS. 15 to 17, processing related to playback performed by the playback device 53 (FIG. 5) will be described. As described with reference to FIGS. 6 to 9, the
ステップS111において、再生装置53の入力制御部91は、記録装置52から字幕データファイル122と字幕情報テーブル101を取得する。このとき、ストリームファイル121も取得されるようにしても良いし、ストリームファイル121に含まれる映像の再生が指示されたときに取得されるようにしても良い。また、この取得の処理は、例えば、ユーザにより字幕の表示が指示されたときに行われても良いし、ユーザからの指示よりも前の時点で、事前に行われていても良い。
In step S <b> 111, the
また、記録装置52のデータ出力部76(図4)と再生装置53の入力制御部91が有線で接続され、その有線を介して字幕データファイル122と字幕情報テーブル101の授受が行われても良いし、データ出力部76(図4)と入力制御部91がインターネットなどのネットワークを介して接続され、そのネットワークを介して字幕データファイル122と字幕情報テーブル101の授受が行われても良い。
Even if the data output unit 76 (FIG. 4) of the
さらに、記録装置52が、ストリームファイル121、字幕データファイル122、および字幕情報テーブル101を、記録装置52に対して着脱可能な記録媒体(不図示)に記録するようにし、その記録媒体が再生装置53に装着されることにより、再生装置53は、データを取得するようにしても良い。
Further, the
ステップS111において、字幕データファイル122と字幕情報テーブル101が取得されると、ステップS112に処理が進められ、字幕が表示装置54に表示される。再生装置53の入力制御部91は、取得した字幕データファイル122と字幕情報テーブル101を、字幕再生制御部93に供給する。字幕再生制御部93は、取得した字幕データファイル122を基に、ライン番号順に字幕データを生成し、表示制御部95に供給する。
When the caption data file 122 and the caption information table 101 are acquired in step S111, the process proceeds to step S112, and the caption is displayed on the
表示制御部95は、供給された字幕データを基に、表示装置54を制御し、表示装置54上に字幕を表示させるとともに、カーソル111も表示させる。このような制御が行われることにより、例えば、図7に示したように、ライン番号として1乃至6がそれぞれ割り振れた字幕が表示され、カーソル111が表示される。
The
ステップS113において、カーソル111の位置が1に設定される。すなわち、カーソル111が位置しているライン番号が、初期値である1に設定される。例えば、図7に示したような字幕が表示されるときには、カーソル111の位置が1に設定され、ライン番号が1に対応する“明日の天気です。”という文の上にカーソル111が位置している状態とされる。
In step S113, the position of the
ステップS114において、カーソル111の移動を指示するコマンドを受けたか否かが判断される。操作部96が操作されると、その操作情報、すなわちコマンドは、字幕再生制御部93に供給される。操作部96からのコマンドは、ここでは、カーソル111を上方向に移動させるためのコマンド、カーソル111を下方向に移動させるためのコマンド、および、カーソル111が位置する字幕に対応する映像の再生を指示するためのコマンドがあるとする。
In step S114, it is determined whether or not a command for instructing movement of the
字幕再生制御部93は、操作部96からのコマンドを受信したか否かを判断し、コマンドを受信したと判断したときには、そのコマンドが、カーソル111の移動を指示するコマンドであるか否かを判断することにより、ステップS114における処理を行う。
The subtitle
ステップS114において、カーソル111の移動を指示するコマンドを受けたと判断された場合、ステップS115に処理が進めら、受信されたコマンドは、カーソル111を上方向に移動させるためのコマンドであるか否かが判断される。
If it is determined in step S114 that a command for instructing movement of the
ステップS115において、受信されたコマンドは、カーソル111を上方向に移動させるためのコマンドであると判断された場合、ステップS116に処理が進められ、カーソル111の位置が、1であるか否か(ライン番号が1である文の上に位置しているか否か)が判断される。ライン番号が1の文の上に、カーソル111が位置している場合、それ以上、カーソル111を上に移動させることができないため、そのような上に移動させることができない状況であるか否かが、ステップS116において判断される。
If it is determined in step S115 that the received command is a command for moving the
ステップS116において、カーソル111の位置がライン番号1であると判断された場合、ステップS114に処理が戻され、新たなコマンドの指示を受けるまで待機状態とされる。このような場合、カーソル111は一番上のライン上に位置していることになるため、それ以上、上に移動させることができないため、処理が行われることなく、待機状態が維持されることになる。また、このような状況の場合、ユーザに、“上には移動できません”といったメッセージを表示させるような処理が行われるようにしても良い。
If it is determined in step S116 that the position of the
一方、ステップS116において、カーソル111の位置がライン番号1ではないと判断された場合、ステップS117に処理が進められ、カーソル111の位置が1ライン分だけ上に移動する処理が実行される。すなわち、字幕再生制御部93は、操作部96からのコマンドが、カーソル111を上に移動させる指示であると判断した場合、カーソル111が位置するライン番号を1だけ減算し、その1だけ減算されたライン番号の文の上に、カーソル111を移動させるようにデータを生成し、表示制御部95に供給することにより、表示装置54上に表示されているカーソル111の位置が上に移動される。必要に応じ、字幕のスクロールなどの処理も合わせて行われる。
On the other hand, if it is determined in step S116 that the position of the
ステップS117の処理が終了されると、処理は、ステップS114に戻され、新たなコマンドの指示を受けるまで待機状態とされる。 When the process of step S117 is completed, the process returns to step S114 and is in a standby state until an instruction for a new command is received.
一方、ステップS115において、受信されたコマンドは、カーソル111を上方向に移動させるためのコマンドではないと判断された場合、ステップS118に処理が進められ、カーソル111の位置が、最終行であるか否かが判断される。
On the other hand, if it is determined in step S115 that the received command is not a command for moving the
ステップS118に処理が来るときは、操作部96からのコマンドが、カーソル111を下方向に移動させるためのコマンドであるときである。最終行の位置に、カーソル111が位置している場合、それ以上、下に移動させることができないため、そのような下に移動させることができない状況であるか否かが、ステップS118において判断される。最終行とは、ここでは、字幕情報テーブル101に記載されているライン番号が最も大きな値に対応する行である。
The process comes to step S118 when the command from the
ステップS118において、カーソル111の位置が最終行(最大のライン番号)であると判断された場合、ステップS114に処理が戻され、新たなコマンドの指示を受けるまで待機状態とされる。このような場合、カーソル111は一番下のライン上に位置していることになるため、それ以上、下に移動させることができないため、処理が行われることなく、待機状態が維持されることになる。また、このような状態の場合、ユーザに、“下には移動できません”といったメッセージを表示させるような処理が行われるようにしても良い。
If it is determined in step S118 that the position of the
一方、ステップS118において、カーソル111の位置は、最終行ではないと判断された場合、ステップS119に処理が進められ、カーソルの位置を1ライン分だけ下に移動させるための処理が実行される。このカーソル111の位置を1ライン分だけ下に移動させるための処理は、ステップS117においてカーソル111の位置を1ライン分だけ上に移動させるための処理と基本的に同様に行われる。ステップS119の処理が終了されると、ステップS114に処理が戻され、新たなコマンドの指示を受けるまで待機状態とされる。
On the other hand, if it is determined in step S118 that the position of the
なお、ここでは、カーソル111は1ラインずつ移動されるとして説明をしたが、マウス(不図示)が用いられて、ラインを飛ばして所望の字幕が選択できるように構成されているような場合、ユーザにより選択された字幕にカーソル111が移動されるように処理が行われるように、適宜、処理のフローを変更することは可能である。
Here, the description has been given on the assumption that the
一方、ステップS114において、受信されたコマンドは、カーソルの移動を指示するコマンドではないと判断された場合、すなわち、カーソル111が位置している字幕に対応する映像の再生を指示するコマンドであると判断された場合、ステップS120に処理が進められる。
On the other hand, if it is determined in step S114 that the received command is not a command for instructing the movement of the cursor, that is, a command for instructing the reproduction of the video corresponding to the subtitle where the
ステップS120において、映像再生開始の処理が実行される。ステップS120において実行される映像再生開始の処理について、図16のフローチャートを参照して説明する。 In step S120, a video reproduction start process is executed. The video reproduction start process executed in step S120 will be described with reference to the flowchart of FIG.
ステップS131において、字幕再生制御部93は、操作部96からのコマンドが、映像の再生を指示するコマンドであると判断すると、その時点で、カーソル111が位置する字幕のライン番号を認識する。ステップS132において、字幕再生制御部93は、認識されたライン番号に対応する経過時間を、字幕情報テーブル101から読み出す。図13を再度参照するに、字幕情報テーブル101には、ライン番号と経過時間が対応付けて記録されている。
In step S131, when the subtitle
例えば、ステップS131の処理で認識されたライン番号がライン番号33であった場合、ライン番号33に対応付けられている経過時間である“00:14:40”が、ステップS132の処理で読み出される。
For example, when the line number recognized in the process of step S131 is the
ステップS133において、字幕再生制御部93は、認識されたライン番号に対応する番組ジャンルコードを、字幕情報テーブル101から読み出す。図13を再度参照するに、字幕情報テーブル101には、ライン番号や経過時間とともに、番組ジャンルコードも関連付けられて記載されている。
In step S <b> 133, the caption
例えば、ステップS131の処理で認識されたライン番号がライン番号33であった場合、ライン番号33に対応付けられている番組ジャンルコードである“ジャンルA,ジャンルC”が、ステップS133の処理で読み出される。
For example, when the line number recognized in the process of step S131 is the
このように、映像の再生が開始されるとき、カーソル111が位置するライン番号に関連付けられている経過時間と番組ジャンルコードが、字幕情報テーブル101から読み出される。
As described above, when video reproduction is started, the elapsed time and the program genre code associated with the line number where the
ステップS134において、遅延時間決定処理が実行される。遅延時間決定処理は、図17のフローチャートを参照して後述するが、映像と、その映像に対応する字幕がずれてしまうことを防ぐために行われる処理である。 In step S134, a delay time determination process is executed. The delay time determination process, which will be described later with reference to the flowchart of FIG. 17, is a process performed to prevent the video and subtitles corresponding to the video from shifting.
ここで、映像と、その映像に対応する字幕がずれてしまうことについて、図18を参照して説明する。比較のため、図18の上図に、本来望まれる再生状況(理想的な放送)形態を示す。図18の上図に示すように、本来、場面Aの映像、場面Aの音声、場面Aの字幕は、ずれなく再生されるのが好ましい。換言すれば、同一の場面の映像、音声、字幕は、時間的にずれることなく、例えば、映像で出演者Aが何かを発言しているときには、その発言(口の動き)に合った音声が出力され、その音声がテキストにされたものが字幕として表示されることが好ましい。 Here, the fact that the video and the subtitle corresponding to the video are shifted will be described with reference to FIG. For comparison, the upper diagram in FIG. 18 shows a playback state (ideal broadcasting) mode that is originally desired. As shown in the upper diagram of FIG. 18, originally, the video of scene A, the audio of scene A, and the subtitles of scene A are preferably reproduced without deviation. In other words, the video, audio, and subtitles of the same scene are not shifted in time. For example, when performer A speaks something in the video, the audio that matches the speech (movement of the mouth) Is output, and the sound is converted into text and is preferably displayed as subtitles.
図18の下図に、字幕がずれたときの再生状況を示す。上記したように、例えば、映像で出演者Aが何かを発言しているときには、その発言(口の動き)に合った音声が出力され、その音声がテキストにされたものが字幕として表示されることが好ましいが、そのテキストのテキストデータが生成されるタイミングによっては、字幕だけが、映像や音声に対して遅れることがある。 The lower part of FIG. 18 shows the playback situation when the subtitles are shifted. As described above, for example, when the performer A speaks something in the video, the sound corresponding to the remark (movement of the mouth) is output, and the sound converted into text is displayed as subtitles. However, depending on the timing at which the text data of the text is generated, only the subtitle may be delayed with respect to the video or audio.
例えば、生放送などと称される番組であり、番組の収録と放送が同じタイミングで行われる番組の場合、映像と音声は同時に収録され放送されるが、字幕は、収録された音声を聞いた人がパーソナルコンピュータなどに手で入力したことにより字幕データが生成され、生成された時点で放送される。よって、映像や音声よりも後の時点で、字幕データが放送されるため、図18の下図に示したように、場面Aの映像と場面Aの音声は、ずれなく放送されるが、字幕は、映像や音声よりも時間T1だけ、遅れて放送されることになる。 For example, in the case of a program called live broadcast, where the recording and broadcasting of the program are performed at the same timing, the video and audio are recorded and broadcast at the same time, but the caption is the person who heard the recorded audio Is input by hand to a personal computer or the like, and caption data is generated and broadcast when it is generated. Therefore, since the caption data is broadcast at a later time than the video and audio, as shown in the lower diagram of FIG. 18, the video of the scene A and the audio of the scene A are broadcast without any deviation. The broadcast is delayed by a time T1 from the video and audio.
このように、映像や音声に対応する字幕が、映像や音声に対してずれて表示されるのは好ましくない。本実施の形態においては、上記したように、放送された番組の字幕だけを閲覧することができ、また、閲覧されている字幕から所望の字幕が選択されたとき、その字幕に対応する映像の再生が開始される。このことを図18を参照して説明するならば、場面Aの字幕のみが表示されているときに、場面Aの字幕に対応する映像や音声の再生が指示されると、時間T1だけずれた映像と音声とともに字幕が再生されることになる。 As described above, it is not preferable that the subtitles corresponding to the video and the audio are displayed with being shifted from the video and the audio. In the present embodiment, as described above, only the subtitles of the broadcast program can be browsed, and when a desired subtitle is selected from the subtitles being browsed, the video corresponding to the subtitle is displayed. Playback starts. If this is explained with reference to FIG. 18, when only the subtitle of the scene A is displayed and the reproduction of the video and audio corresponding to the subtitle of the scene A is instructed, the time T1 is shifted. Subtitles are played along with video and audio.
さらに換言するならば、映像と音声は、時刻t1からの映像と音声が再生され、字幕は、時刻t0のときに本来流されるべき字幕が、時刻t1からの映像と音声とともに流されることになる。 In other words, the video and audio from the time t1 are reproduced as the video and audio, and the subtitle that should be played at the time t0 is played along with the video and audio from the time t1. .
本実施の形態においては、再生時に、この時間T1というずれがないように制御される。換言すれば、放送時に映像や音声に対する字幕が、映像や音声に対してずれて表示されるような番組であっても、その番組を録画し、再生されるときには、字幕が、映像や音声に対してずれていない状態、すなわち、図18の上図のように理想的な放送のときの状態で再生されるようにする。 In the present embodiment, control is performed so that there is no deviation of time T1 during reproduction. In other words, even if a subtitle for video and audio is displayed with a deviation from the video and audio during broadcasting, the subtitle is converted to video and audio when the program is recorded and played back. On the other hand, playback is performed in a state that is not shifted, that is, in an ideal broadcasting state as shown in the upper diagram of FIG.
ずれがないように再生を行うために、ステップS134において遅延時間決定処理が行われる。この処理は、どのくらいの遅延時間があるか、すなわち、図18の下図における時間T1の値がどのくらいであるかを決定する処理である。 In order to perform reproduction so that there is no deviation, a delay time determination process is performed in step S134. This process is a process for determining how much delay time is present, that is, how much the value of the time T1 in the lower diagram of FIG. 18 is.
ところで、上記したように、映像や音声に対して字幕がずれるのは、生放送などの番組などであり、全ての番組においてずれが必ず生じるというものではない。すなわち、例えば、放送する時刻より前の時点で映像や音声が収録され、字幕データも事前に作成される番組、俗に、録画番組などと称される番組においては、放送時に、映像、音声、字幕のデータが、それぞれそろっているため、放送時点で、映像や音声に対して字幕がずれるというようなことはない。よって、録画番組を録画し、再生したときに、字幕がずれてしまうことはない。 By the way, as described above, subtitles deviate from video and audio in programs such as live broadcasts, and deviations do not necessarily occur in all programs. That is, for example, in a program in which video and audio are recorded before the broadcast time and caption data is also created in advance, such as a program called a recorded program, the video, audio, Since the subtitle data is prepared, there is no possibility that the subtitles are shifted from the video and audio at the time of broadcasting. Therefore, the subtitles are not shifted when the recorded program is recorded and reproduced.
また、生放送であり、字幕がずれる可能性がある番組であっても、番組によりそのずれる時間T1が異なる。例えば、スポーツ中継などの生中継において、実況しているアナウンサーの言葉を字幕で提供するとき、アナウンサーは、どのような言葉を発するか事前に知ることはできず、そのために、アナウンサーが言葉を発してから字幕データが作成されるため、ずれる時間T1の値は、大きな値となる傾向にある。 Moreover, even if the program is a live broadcast and there is a possibility that the subtitles are shifted, the shift time T1 differs depending on the program. For example, in live broadcasts such as sports broadcasts, when the words of live announcers are provided in subtitles, the announcer cannot know in advance what kind of words will be emitted, so the announcer will speak Since the subtitle data is created after that, the value of the deviation time T1 tends to be a large value.
また生中継として、例えば、ニュースなどもあるが、ニュースなどの生中継において、実況しているアナウンサーの言葉を字幕で提供するときも、基本的に、アナウンサーが言葉を発してから字幕データが作成されるが、ニュースなどの場合には、放送前に放送時に読み上げられる原稿が用意されているため、放送時にアナウンサーが発する言葉は限定されており、放送前に原稿を基に字幕データを全てでなくても一部だけでも作成しておくことは可能である。よって、ずれる時間T1は、ずれたとしても小さな値となる傾向にある。 In addition, for example, there are news as live broadcasts, but in the case of providing live broadcasts of news, etc., the words of live announcers are provided in subtitles, basically the subtitle data is created after the announcer speaks the words. However, in the case of news, since the manuscript that is read aloud at the time of broadcasting is prepared before broadcasting, the language that the announcer utters during broadcasting is limited, and all subtitle data is based on the manuscript before broadcasting. It is possible to create only a part even if not. Therefore, the time T1 to be shifted tends to be a small value even if it is deviated.
このように、生放送であるか否か、生放送であってもニュースであるか実況中継であるかなどにより、ずれる時間T1が異なってくると考えられる。このようなことを考慮すると、番組のジャンルにより、ずれる時間T1が異なってくることがわかる。すなわち、例えば、ニュースというジャンルとスポーツというジャンルとでは、同じ生中継であっても、ずれる時間T1が異なり、ニュースというジャンルとバラエティというジャンルでは、生中継と録画番組という違いから、ニュースの方はずれる時間T1を考慮する必要があり、バラエティの方はずれる時間T1をあまり考慮する必要がない。 In this way, it is considered that the time T1 to be shifted differs depending on whether it is a live broadcast, whether it is a news broadcast or a live broadcast even if it is a live broadcast. Considering this, it can be seen that the time T1 to be shifted differs depending on the genre of the program. That is, for example, the news genre and the sports genre have different time T1 even if they are the same live broadcast, and the news genre and variety genre are different from the news due to the difference between live broadcast and recorded program. It is necessary to consider the time T1, and it is not necessary to consider the time T1 that deviates from the variety.
このようなことから、ジャンル毎にずれる時間T1が異なる(値は同じ場合もある)として、予めジャンル毎に、ずれる時間T1を設定し、そのずれる時間T1を考慮して、映像の再生時の遅延時間(以下、適宜、遅延量と記述する)を決定するようにする。 For this reason, the time T1 to be shifted for each genre is different (the value may be the same), and the time T1 to be shifted is set in advance for each genre. The delay time (hereinafter, appropriately described as a delay amount) is determined.
このように、ジャンル毎に遅延量を決定するために、字幕情報テーブル101(図13)には、番組ジャンルコードが記載されている。図13に示した字幕情報テーブル101を再度参照するに、例えば、ライン番号33の番組ジャンルコードの欄には、“ジャンルA”という番組ジャンルコードと、“ジャンルB”という番組ジャンルコードが記載されている。このように、1つの番組に対して複数の番組ジャンルコードが付けられることがある。
Thus, in order to determine the delay amount for each genre, the program genre code is described in the caption information table 101 (FIG. 13). Referring to the caption information table 101 shown in FIG. 13 again, for example, the program genre code of “genre A” and the program genre code of “genre B” are described in the program genre code column of
例えば、スポーツに関するドキュメンタリーの番組であるような場合、“スポーツ”という番組ジャンルコードと、“ドキュメンタリー”という番組ジャンルコードという、2つの異なる番組ジャンルコードが、1つの番組に付けられる。 For example, in the case of a documentary program related to sports, two different program genre codes, a program genre code “sports” and a program genre code “documentary”, are attached to one program.
上記したように、ジャンル毎に遅延量が決定されるが、1つの番組に複数の番組ジャンルコードが付けられているような場合、それらの複数の番組ジャンルコードのうちの、どの番組ジャンルコードに基づいて遅延量を決定するかを決定する必要がある。ここでは、番組ジャンルコード(ジャンル)に優先順位をつけ、複数の番組ジャンルコードが付けられているようなときには、優先順位の高い番組ジャンルコードに基づいて遅延量が決定されるようにする。 As described above, the delay amount is determined for each genre, but when a plurality of program genre codes are attached to one program, to which program genre code among the plurality of program genre codes It is necessary to determine whether to determine the amount of delay based on this. Here, priorities are assigned to program genre codes (genres), and when a plurality of program genre codes are attached, the delay amount is determined based on the program genre codes having higher priorities.
このようなことを考慮したテーブルを、図19に示す。図19に示したテーブルは、遅延量を決定するときに参照される遅延量推測値テーブル151であり、優先順位、番組ジャンルコード、および遅延推測値がそれぞれ関連付けられて記載されている。例えば、優先順位が“1”に割り当てられた番組ジャンルコードは、“バラエティ”であり、その“バラエティ”のときの遅延推測値は“0”である。 FIG. 19 shows a table that takes this into consideration. The table shown in FIG. 19 is a delay amount estimated value table 151 that is referred to when determining the delay amount. The priority order, the program genre code, and the estimated delay value are described in association with each other. For example, the program genre code assigned with the priority “1” is “variety”, and the estimated delay value at the time of “variety” is “0”.
ここで、遅延推測値は、遅延量(またはずれる時間T1)のことであるが、事前に、実験結果などから取得された値である。例えば、番組ジャンルコードがニュースの場合には、ニュースという番組ジャンルコードが付けられる番組で、映像に対して字幕が遅延する遅延時間の平均を算出すると、“−3”秒であり、ニュースという番組ジャンルコードが付けられる番組は、映像に対して字幕が“−3”秒遅延すると推測できるという意味である。 Here, the delay estimation value is a delay amount (or time T1 to be shifted), and is a value obtained from an experimental result or the like in advance. For example, when the program genre code is news, the average delay time for subtitles being delayed with respect to the video in a program to which the program genre code “news” is attached is “−3” seconds. The program to which the genre code is attached means that it can be estimated that the caption is delayed by “−3” seconds with respect to the video.
図19に示した遅延推測値テーブル151は、一例であり、優先順位として1乃至4までしか記載されていない例を示しただけであり、図示していない他の番組ジャンルコードに対しても優先順位が付けられ、遅延推測値テーブル151に記載される。
The estimated delay value table 151 shown in FIG. 19 is an example, and only an example in which only
図19に示した遅延推測値テーブル151は、遅延推測値テーブル記憶部94(図5)に記録されている。遅延推測値テーブル151が更新される仕組みを設けても良い。また、学習する機能を設け、遅延推測値テーブル151に記載されている遅延推測値が更新されるようにしても良い。 The estimated delay value table 151 shown in FIG. 19 is recorded in the estimated delay value table storage unit 94 (FIG. 5). A mechanism for updating the estimated delay value table 151 may be provided. Further, a learning function may be provided so that the estimated delay value described in the estimated delay value table 151 is updated.
図19に示した遅延推測値テーブル151が遅延推測値テーブル記憶部94に記録されているときに実行される遅延時間決定処理(図16のステップS134の処理)について、図17のフローチャートを参照して説明する。
Refer to the flowchart of FIG. 17 for the delay time determination process (the process of step S134 of FIG. 16) executed when the estimated delay value table 151 shown in FIG. 19 is recorded in the estimated delay value
ステップS151において、ステップS133(図16)の処理で字幕情報テーブル101から読み出された番組ジャンルコードは、バラエティであるか否かが判断される。読み出された番組ジャンルコードが複数であった場合、読み出された複数の番組ジャンルコードに、バラエティを示す番組ジャンルコードが含まれているか否かが判断される。以下の処理においても同様に、読み出された番組ジャンルコードが複数であった場合、そのなかに、処理対象とされているジャンルの番組ジャンルコードが存在するか否かが判断されるとする。 In step S151, it is determined whether or not the program genre code read from the caption information table 101 in step S133 (FIG. 16) is variety. If there are a plurality of read program genre codes, it is determined whether or not a plurality of read program genre codes include a program genre code indicating variety. Similarly, in the following processing, when there are a plurality of read program genre codes, it is determined whether or not there is a program genre code of the genre to be processed.
ステップS151において、番組ジャンルコードは、バラエティであると判断された場合、ステップS155に処理が進められ、遅延量が0と設定される。 If it is determined in step S151 that the program genre code is variety, the process proceeds to step S155, and the delay amount is set to zero.
一方、ステップS151において、番組ジャンルコードは、バラエティではないと判断された場合、ステップS152に処理が進められ、番組ジャンルコードは、ドキュメンタリーであるか否かが判断される。ステップS152において、番組ジャンルコードは、ドキュメンタリーであると判断された場合、ステップS155に処理が進められ、遅延量が0と設定される。 On the other hand, if it is determined in step S151 that the program genre code is not a variety, the process proceeds to step S152, and it is determined whether or not the program genre code is documentary. If it is determined in step S152 that the program genre code is documentary, the process proceeds to step S155, and the delay amount is set to zero.
一方、ステップS152において、番組ジャンルコードは、ドキュメンタリーではないと判断された場合、ステップS153に処理が進められ、番組ジャンルコードは、ニュースであるか否かが判断される。ステップS153において、番組ジャンルコードは、ニュースであると判断された場合、ステップS156に処理が進められ、遅延量が−3と設定される。 On the other hand, if it is determined in step S152 that the program genre code is not a documentary, the process proceeds to step S153, and it is determined whether or not the program genre code is news. If it is determined in step S153 that the program genre code is news, the process proceeds to step S156, and the delay amount is set to -3.
一方、ステップS153において、番組ジャンルコードは、ニュースではないと判断された場合、ステップS154に処理が進められ、遅延量が−8と設定される。図19に示したように、遅延推測値テーブル151には、優先順位が4のスポーツまで記載されており、読み出された番組ジャンルコードは、優先順位の1乃至3の各ジャンルには該当しないと判断されているので、結果として、ステップS154に処理が来たときには、番組ジャンルコードはスポーツであると決定される。よって、スポーツに割り当てられている遅延推測値である−8が遅延量として設定される。
On the other hand, if it is determined in step S153 that the program genre code is not news, the process proceeds to step S154, and the delay amount is set to -8. As shown in FIG. 19, in the delay estimation value table 151, up to sports of
このようにして、遅延推測値テーブル151に記載されている優先順位順に、番組ジャンルコードが一致するか否かが判断され、一致すると判断された番組ジャンルコードに設定されている遅延推測値が、遅延量として設定される。 In this way, it is determined whether or not the program genre codes match in the priority order described in the delay estimated value table 151, and the delay estimated value set for the program genre code determined to match is: Set as a delay amount.
このようにして遅延量が設定されると、ステップS135(図16)に処理が進められる。 When the delay amount is set in this way, the process proceeds to step S135 (FIG. 16).
ステップS135において、再生開始箇所が決定される。再生装置53の字幕再生制御部93は、遅延量が決定されると、その遅延量分だけ、時間的に前の映像と音声の再生が開始されるように、再生開始箇所を決定する。再度図18の下図を参照するに、本来、場面Aの字幕は、時刻t0のときに再生される映像と共に再生されるべきだが、上記したような理由から時間T1だけ遅延し、何の処理も施されなければ時刻t1のときに再生される映像と共に再生が開始される。
In step S135, the reproduction start location is determined. When the delay amount is determined, the subtitle
換言すれば、時刻t1から再生される場面Aの字幕は、時刻t0から再生される場面Aの映像や音声に対応している。よって、時刻t1より時間T1だけ前の時刻t0からの映像や音声を再生しているときに、場面Aの字幕が再生されれば、映像や音声に対応した字幕が再生されることになる。 In other words, the subtitle of the scene A reproduced from the time t1 corresponds to the video and audio of the scene A reproduced from the time t0. Therefore, if the subtitle of the scene A is reproduced while the video and audio from the time t0, which is the time T1 before the time t1, is reproduced, the subtitle corresponding to the video and audio is reproduced.
よって、ステップS135においては、決定された遅延量分だけ前の映像と音声の再生が開始されるように、再生開始箇所が決定される。具体的には、ステップS132の処理で読み出された経過時間から、遅延量が減算された時刻が、再生開始箇所に設定される。なお、ここでは、“経過時間から、遅延量が減算された時刻”と記述するが、例えば、図19に示したような遅延推測値テーブル151が参照されて再生開始箇所が決定される場合、遅延推測値として記載されいている値は、マイナスの値を含むため、“経過時間から、遅延量が加算された時刻”である場合もあり、遅延推測値テーブル151に記載されている値により、減算または加算されるように適宜変更することが可能である。 Therefore, in step S135, the playback start location is determined so that playback of the previous video and audio is started by the determined delay amount. Specifically, the time at which the delay amount is subtracted from the elapsed time read in the process of step S132 is set as the reproduction start location. Here, “time when delay amount is subtracted from elapsed time” is described. However, for example, when a reproduction start location is determined by referring to delay estimation value table 151 as shown in FIG. Since the value described as the estimated delay value includes a negative value, it may be “the time when the delay amount is added from the elapsed time”. According to the value described in the estimated delay value table 151, It is possible to appropriately change so as to be subtracted or added.
図13を再度参照するに、例えば、ライン番号33の経過時間は、“00:14:40”であり、番組ジャンルコードから判断されたジャンルがスポーツであった場合、その遅延量は−8と設定されるので、ライン番号33の字幕に対応する再生開始箇所は、“00;14:32”と設定される。よって、このような場合、経過時間が“00;14:32”からの映像と音声が再生される。
Referring to FIG. 13 again, for example, when the elapsed time of the
ステップS135において、字幕再生制御部93は、再生開始箇所を決定すると、ステップS136に処理を進め、決定された再生開始箇所から映像と音声の再生が開始されるように、映像音声再生制御部92に対して指示を出す。このような指示が、映像音声再生制御部92に対して出されることにより、映像音声再生制御部92で、指示された再生開始箇所からの映像と音声の再生が開始される。
In step S135, when the subtitle
このように、字幕の遅延時間を考慮して分だけ前の時刻からの映像や音声が再生されるため、映像や音声に対して字幕がずれてしまうといったような再生が行われることを防ぐことが可能となる。 In this way, video and audio from the previous time are played back in consideration of the delay time of subtitles, so that playback that causes subtitles to deviate from video and audio is prevented. Is possible.
[第2の実施の形態におけるシステムについて]
上記した第1の実施の形態においては、再生装置53側で、番組ジャンルコードから遅延量を決定していたが、第2の実施の形態として、記録装置52側で遅延量を決定し、テーブルに書き込む形態について説明する。なお、第1の実施の形態と重なる部分についての説明は、簡潔に行う。
[System in the Second Embodiment]
In the first embodiment described above, the delay amount is determined from the program genre code on the
図20は、第2の実施の形態における記録装置201の構成例を示す図である。図20に示した記録装置201は、受信制御部211、記録制御部212、テーブル作成部213、データ記録部214、テーブル記憶部215、データ出力部216、および遅延推測値テーブル記憶217を含む構成とされている。
FIG. 20 is a diagram illustrating a configuration example of the
図20に示した記録装置201のうち、受信制御部211、記録制御部212、データ記録部214、データ出力部216は、それぞれ、図4に示した記録装置52の受信制御部71、記録制御部72、データ記録部74、データ出力部76と、同様の構成であり、同様の処理を行うため、その説明は適宜省略する。
20, the
テーブル作成部213は、図21に示すような字幕情報テーブル231を作成し、テーブル記憶部215は、テーブル作成部213により作成される字幕情報テーブル231を記憶する。図21に示した字幕情報テーブル231を作成するために、テーブル作成部213は、遅延推測値テーブル記憶部217に記憶されている遅延推測値テーブル151を参照する。遅延推測値テーブル記憶部217には、図19に示した遅延推測値テーブル151が記憶されている。
The
図21を参照し、字幕情報テーブル231について説明する。字幕情報テーブル231は、ライン番号、字幕データ、経過時間、および遅延量がそれぞれ関連付けられて記載されているテーブルである。図13に示した第1の実施の形態における字幕情報テーブル101と比較すると、字幕情報テーブル231には、番組ジャンルコードの代わりに遅延量が書き込まれる点が異なる。 The caption information table 231 will be described with reference to FIG. The caption information table 231 is a table in which line numbers, caption data, elapsed time, and delay amounts are described in association with each other. Compared to the caption information table 101 in the first embodiment shown in FIG. 13, the difference is that the delay amount is written in the caption information table 231 instead of the program genre code.
例えば、図21において、ライン番号1の遅延量は“0”と記載され、ライン番号33の遅延量は“―8”と記載されている。この遅延量は、後述する処理が行われることにより、字幕情報テーブル231に記載される。
For example, in FIG. 21, the delay amount of
遅延量が、記録装置201側で作成される字幕情報テーブル231に記載されるため、再生装置側では、番組ジャンルコードからジャンルを判断し、遅延量を設定するといった処理を行う必要がない。そのために、再生装置は、図22に示したような内部構成とされる。
Since the delay amount is described in the caption information table 231 created on the
すなわち、図22に示した再生装置251は、入力制御部261、映像音声再生制御部262、字幕再生制御部263、操作部264、および表示制御部265を含む構成とされている。
That is, the
図22に示した再生装置251のうち、入力制御部261、映像音声再生制御部262、字幕再生制御部263、操作部264、および表示制御部265は、それぞれ、図5に示した再生装置53の入力制御部91、映像音声再生制御部92、字幕再生制御部93、操作部96、および表示制御部95と、同様の構成であり、同様の処理を行う。すなわち、図22に示した再生装置251は、図5に示した再生装置53から、遅延推測値テーブル記憶部94を削除した構成とされている。
22, the input control unit 261, the video / audio
このような構成を有する記録装置201と再生装置251の、それぞれが行う処理について説明する。
Processing performed by each of the
[第2の実施の形態における記録装置の処理について]
次に、記録装置201が行う記録に関する処理について説明する。記録装置201は、既に説明した図10のフローチャートに基づき基本的な処理を行うため、その詳細な説明は省略する。記録装置201は、ステップS38で行う字幕情報テーブル作成処理と、ステップS39で行う情報取得処理が、第1の実施の形態における記録装置52の処理と異なるため、それぞれの処理について、以下に説明する。
[Processing of Recording Apparatus in Second Embodiment]
Next, processing related to recording performed by the
図23は、字幕情報テーブル作成処理2(第1の実施の形態における字幕情報テーブル作成処理と区別を付けるために、“2”と記述する、以下同様の記載を行う)について説明するためのフローチャートである。 FIG. 23 is a flowchart for explaining subtitle information table creation processing 2 (described as “2” for the sake of distinction from the subtitle information table creation processing in the first embodiment, hereinafter the same description is performed). It is.
ステップS201乃至207、およびステップS210の処理は、図11のステップS51乃至57、およびステップS59の処理と同様なため、その説明は省略する。 The processes in steps S201 to S207 and S210 are the same as the processes in steps S51 to S57 and S59 in FIG.
ステップS206において、現在時刻が終了時刻を過ぎていないと判断された場合、ステップS208に処理が進められる。ステップS208において、遅延時間決定処理が実行される。ステップS208に処理がくるのは、番組ジャンルコードと終了時刻が一時記憶されており、かつ、現在時刻がその記憶されている終了時刻を過ぎていない状況である。この状況は、同一の番組の録画中であることを意味し、記憶されいる番組ジャンルコードと終了時刻は、その時点で録画されている番組に対応する情報である。 If it is determined in step S206 that the current time has not passed the end time, the process proceeds to step S208. In step S208, a delay time determination process is executed. The processing comes to step S208 when the program genre code and the end time are temporarily stored, and the current time has not passed the stored end time. This situation means that the same program is being recorded, and the stored program genre code and end time are information corresponding to the program recorded at that time.
ステップS208においては、一時記憶されている番組ジャンルコードから、遅延時間が決定される処理が実行される。ステップS208における遅延時間決定処理は、図17のフローチャートに基づき行われる。すなわち、記録装置201(図20)の遅延推測値テーブル記憶部217には、図19に示したような遅延推測値テーブル151が記憶されており、テーブル作成部213は、遅延推測値テーブル記憶部217に記憶されている遅延推測値テーブル151を参照しながら、図17に示したフローチャートの処理を実行する。
In step S208, processing for determining a delay time is executed from the temporarily stored program genre code. The delay time determination process in step S208 is performed based on the flowchart of FIG. That is, the estimated delay value
図17に示したフローチャートの処理と、図19に示した遅延推測値テーブル151については、既に説明したので、その説明は省略する。 Since the processing of the flowchart shown in FIG. 17 and the estimated delay value table 151 shown in FIG. 19 have already been described, description thereof will be omitted.
図17に示したフローチャートの処理は、第1の実施の形態においては、再生装置53で実行される処理であったが、第2の実施の形態においては、記録装置201側で行われる。このように、第2の実施の形態においては、記録装置201側で、遅延時間まで決定される。
The process of the flowchart shown in FIG. 17 is a process executed by the
ステップS208(図23)において、遅延時間(遅延量)が決定されると、ステップS209において、ライン番号、経過時間、および遅延量が、関連付けられて、字幕情報テーブル231に書き込まれる。このステップS208における処理は、図11のフローチャートにおけるステップS58の処理と基本的に同様であるが、番組ジャンルコードの代わりに遅延量が書き込まれる点が異なる。 When the delay time (delay amount) is determined in step S208 (FIG. 23), the line number, the elapsed time, and the delay amount are associated and written to the caption information table 231 in step S209. The process in step S208 is basically the same as the process in step S58 in the flowchart of FIG. 11, except that a delay amount is written instead of the program genre code.
このように、記録側で作成されるテーブルに遅延量が書き込まれる。このように、遅延量が字幕情報テーブル231に書き込まれるようにした場合、番組ジャンルコードなどの情報を取得する処理、すなわち、ステップS39(図10)で実行される情報取得処理も、遅延量を記録装置側で行うような処理とされる。ここで、図24のフローチャートを参照し、ステップS39で行われる情報取得処理(情報取得処理2)について説明する。 In this way, the delay amount is written in the table created on the recording side. As described above, when the delay amount is written in the caption information table 231, the processing for acquiring information such as the program genre code, that is, the information acquisition processing executed in step S39 (FIG. 10) also includes the delay amount. The processing is performed on the recording apparatus side. Here, the information acquisition process (information acquisition process 2) performed in step S39 will be described with reference to the flowchart of FIG.
ステップS221乃至S224の処理は、図12のステップS71乃至S74の処理と同様であるので、その説明は省略する。ただし、ステップS224においては、字幕情報テーブル231に遅延量が記載されていない欄があるか否かが判断される。 The processing in steps S221 through S224 is the same as the processing in steps S71 through S74 in FIG. However, in step S224, it is determined whether or not there is a column in which the delay amount is not described in the caption information table 231.
ステップS224において、字幕情報テーブル231に遅延量が記載されていない欄があると判断された場合、ステップS225に処理が進められる。ステップS225において、遅延時間決定処理が実行される。この遅延時間決定処理は、図23のフローチャートのステップS208の処理と同様に行われるので、その説明は省略する。 If it is determined in step S224 that there is a column in which the delay amount is not described in the caption information table 231, the process proceeds to step S225. In step S225, a delay time determination process is executed. Since this delay time determination process is performed in the same manner as the process of step S208 in the flowchart of FIG. 23, the description thereof is omitted.
ステップS225の処理で求められた遅延量は、ステップS226において、字幕情報テーブル231に書き込まれる。このようにして、字幕情報テーブル231の空欄に、遅延量が書き込まれる。 The delay amount obtained in step S225 is written in the caption information table 231 in step S226. In this way, the delay amount is written in the blank of the caption information table 231.
ステップS227乃至S229の処理は、図12のステップS76乃至S78の処理と同様であるので、その説明は省略する。 The processing in steps S227 through S229 is the same as the processing in steps S76 through S78 in FIG.
このようにして、記録装置201側で、遅延量が記載された字幕情報テーブル231が作成され、記憶される。次に、字幕情報テーブル231を用いて行われる再生装置251の再生処理について説明する。
In this way, the caption information table 231 in which the delay amount is described is created and stored on the
[第2の実施の形態の再生装置の処理について]
次に、再生装置251が行う再生に関する処理について説明する。再生装置251は、既に説明した図15のフローチャートに基づき処理を行うため、その詳細な説明は省略する。再生装置251は、ステップS120で行う映像再生開始の処理が、第1の実施の形態における再生装置53の処理と異なるため、その映像再生開始の処理について以下に説明する。
[Processing of the playback apparatus according to the second embodiment]
Next, processing related to playback performed by the
図25は、映像再生開始の処理2について説明するためのフローチャートである。
FIG. 25 is a flowchart for explaining the
ステップS251乃至S255の各ステップにおける処理は、図16に示したフローチャートのステップS131乃至S133,S135,S136の各ステップにおける処理と基本的に同様である。すなわち、第2の実施の形態における再生装置251は、第1の実施の形態における再生装置53が、ステップS134の処理で実行していた遅延時間決定処理を行わないため、その遅延時間決定処理に関わる処理を省略した処理の流れとされる。
The processes in steps S251 through S255 are basically the same as the processes in steps S131 through S133, S135, and S136 in the flowchart shown in FIG. That is, the
また、再生装置251には、図21に示した字幕情報テーブル231が供給されるため、ステップS253においては、遅延量が、字幕情報テーブル231から読み出される。そして、ステップS254において、読み出された遅延量と経過時間が用いられて、再生開始箇所が決定される。
Further, since the caption information table 231 shown in FIG. 21 is supplied to the
このように、記録装置201で遅延量が記載された字幕情報テーブル231を作成し、再生装置251でその字幕情報テーブル231を利用して再生を行うようにしても、第1の実施の形態と同じく、映像や音声に対して、映像や音声に対応する字幕がずれることなく再生されるようにすることが可能である。
As described above, even if the
[第3の実施の形態におけるシステムについて]
上記した第2の実施の形態においては、記録装置201側で、遅延量が記載された字幕情報テーブル231を作成したが、さらに、その遅延量から再生開始箇所までを設定し、その設定された再生開始箇所を字幕情報テーブルに記載するようにしても良い。そのような形態を、第3の実施の形態として、以下に説明を加える。なお、第1の実施の形態や第2の実施の形態と重なる部分についての説明は、簡潔に行う。
[System according to the third embodiment]
In the second embodiment described above, the subtitle information table 231 in which the delay amount is described is created on the
図26は、第3の実施の形態で作成、記憶される字幕情報テーブル311の一例を示す図である。字幕情報テーブル311は、ライン番号、字幕データ、および再生開始箇所が関連付けられて記載されている。図26に示した字幕情報テーブル301と図21に示した字幕情報テーブル231と比較するに、まず、字幕情報テーブル301には、字幕情報テーブル231には設けられていた遅延量の欄がない。また、字幕情報テーブル231の経過時間の欄は、字幕情報テーブル301においては再生開始箇所の欄とされている。 FIG. 26 is a diagram illustrating an example of the caption information table 311 created and stored in the third embodiment. In the caption information table 311, line numbers, caption data, and playback start locations are associated with each other. Compared with the subtitle information table 301 shown in FIG. 26 and the subtitle information table 231 shown in FIG. 21, first, the subtitle information table 301 does not have a delay amount column provided in the subtitle information table 231. Further, the elapsed time column of the caption information table 231 is a reproduction start location column in the caption information table 301.
このように、字幕情報テーブル301に、再生開始箇所が記載されるときの記録装置の構成と再生装置の構成は、それぞれ、図20、図22に示したようになる。すなわち第3の実施の形態の場合、テーブル作成部213(図20)が作成する字幕情報テーブルの内容が、第2の実施の形態と異なるだけなので、記録装置の構成としては、図20に示した第2の実施の形態における記録装置201と同様の構成とすることができる。また、記録装置201に対応する再生装置も、図22に示した第2の実施の形態における再生装置251と同様の構成とすることができる。
Thus, the configuration of the recording device and the configuration of the playback device when the playback start location is described in the caption information table 301 are as shown in FIGS. 20 and 22, respectively. That is, in the case of the third embodiment, the content of the caption information table created by the table creation unit 213 (FIG. 20) is only different from that of the second embodiment, so the configuration of the recording apparatus is shown in FIG. Furthermore, the same configuration as that of the
よって、ここでは、第3の実施の形態における記録装置と再生装置は、第2の実施の形態における記録装置201と再生装置251と同様に構成されるとして説明を続け、その説明は既にしたので省略する。
Therefore, here, the recording apparatus and the reproduction apparatus in the third embodiment are described as being configured similarly to the
[第3の実施の形態における記録装置の処理について]
次に、第3の実施の形態における記録装置201が行う記録に関する処理について説明する。記録装置201は、既に説明した図10のフローチャートに、基本的に基づき処理を行うため、その詳細な説明は省略する。記録装置201は、ステップS38で行う字幕情報テーブル作成処理と、ステップS39で行う情報取得処理が、第1の実施の形態における記録装置52の処理、または、第2の実施の形態における記録装置201と異なるため、それぞれの処理について、以下に説明する。
[Regarding Processing of Recording Apparatus in Third Embodiment]
Next, processing relating to recording performed by the
図23は、字幕情報テーブル作成処理3について説明するためのフローチャートである。
FIG. 23 is a flowchart for explaining the caption information
ステップS301乃至306、およびステップS311の処理は、図11のステップS51乃至56、およびステップS59の処理と同様なため、その説明は省略する。 Since the processes in steps S301 to S306 and S311 are the same as the processes in steps S51 to S56 and S59 in FIG.
ステップS305において、番組ジャンルコードと終了時刻が一時記憶されていないと判断された場合、または、ステップS306において、現在時刻が終了時刻を過ぎていると判断された場合、ステップS307に処理が進められる。ステップS307において、ライン番号と経過時間が、字幕情報テーブル301に記載される。 If it is determined in step S305 that the program genre code and the end time are not temporarily stored, or if it is determined in step S306 that the current time has passed the end time, the process proceeds to step S307. . In step S307, the line number and elapsed time are written in the caption information table 301.
この場合、番組ジャンルコードが記憶されていないため、または、記憶されていても、他の番組の番組ジャンルコードである可能性があるため、番組ジャンルコードから導き出される再生開始箇所を、導くことができないため、再生開始箇所は、この時点では、字幕情報テーブル301には記載されない。しかしながら、番組ジャンルコードが取得された時点で、遅延量を決定し、再生開始箇所を決定するため、また、再生開始箇所を決定するために経過時間は必要となるため、ステップS307においては、再生開始箇所の欄に、経過時間が、再生開始箇所の代わりに字幕情報テーブル301に記載される。 In this case, since the program genre code is not stored, or even if it is stored, it may be a program genre code of another program, the reproduction start location derived from the program genre code can be derived. Since this is not possible, the playback start location is not described in the caption information table 301 at this point. However, when the program genre code is acquired, the amount of delay is determined, the playback start location is determined, and the elapsed time is required to determine the playback start location. In step S307, playback is performed. The elapsed time is described in the subtitle information table 301 in the start location column instead of the playback start location.
一方、ステップS306において、現在時刻が終了時刻を過ぎていないと判断された場合、ステップS308に処理が進められる。ステップS308において、遅延時間決定処理が実行される。ステップS308においては、一時記憶されている番組ジャンルコードから、遅延時間が決定される処理が実行される。ステップS308における遅延時間決定処理は、図17のフローチャートに基づき行われる。すなわち、第2の実施の形態と同じく、記録装置201(図20)の遅延推測値テーブル記憶部217には、図19に示したような遅延推測値テーブル151が記憶されており、テーブル作成部213は、遅延推測値テーブル記憶部217に記憶されている遅延推測値テーブル151を参照しながら、図17に示したフローチャートの処理を実行する。
On the other hand, if it is determined in step S306 that the current time has not passed the end time, the process proceeds to step S308. In step S308, a delay time determination process is executed. In step S308, processing for determining a delay time is executed from the temporarily stored program genre code. The delay time determination process in step S308 is performed based on the flowchart of FIG. That is, as in the second embodiment, the delay estimation value
図17に示したフローチャートの処理と、図19に示した遅延推測値テーブル151については、既に説明したので、その説明は省略する。 Since the processing of the flowchart shown in FIG. 17 and the estimated delay value table 151 shown in FIG. 19 have already been described, description thereof will be omitted.
ステップS308(図27)において、遅延時間(遅延量)が決定されると、ステップS309において、再生開始箇所が決定される。この再生開始箇所の決定は、図16のステップS135で行われる処理と同一に行われ。すなわち、経過時間から、遅延量が減算されることにより再生開始箇所が決定される。 When the delay time (delay amount) is determined in step S308 (FIG. 27), the reproduction start location is determined in step S309. The determination of the reproduction start location is performed in the same manner as the processing performed in step S135 in FIG. That is, the playback start location is determined by subtracting the delay amount from the elapsed time.
ステップS310において、ライン番号、再生開始箇所が関連付けられて、字幕情報テーブル301に書き込まれる。このステップS310における処理は、図11のフローチャートにおけるステップS58の処理と基本的に同様であるが、経過時間や番組ジャンルコードの代わりに再生開始箇所が書き込まれる点が異なる。 In step S310, the line number and the reproduction start location are associated with each other and written in the caption information table 301. The processing in step S310 is basically the same as the processing in step S58 in the flowchart of FIG. 11, except that the playback start location is written instead of the elapsed time and the program genre code.
例えば、ライン番号33の経過時間が“00:14:40”のとき、遅延量が“―8”と決定された場合、再生開始箇所は、“00:14:32”と決定され、この値が、字幕情報テーブル301(図26)に記載される。
For example, when the elapsed time of the
このように、記録側で作成されるテーブルに再生開始箇所が書き込まれる。このように、再生開始箇所が字幕情報テーブル301に書き込まれるようにした場合、番組ジャンルコードなどの情報を取得する処理、すなわち、ステップS39(図10)で実行される情報取得処理も、再生開始箇所を記録装置側で決定するような処理とされる。ここで、図28のフローチャートを参照し、ステップS39で行われる情報取得処理(情報取得処理3)について説明する。 In this way, the reproduction start location is written in the table created on the recording side. As described above, when the playback start location is written in the caption information table 301, the process of acquiring information such as the program genre code, that is, the information acquisition process executed in step S39 (FIG. 10) is also started. The location is determined on the recording apparatus side. Here, the information acquisition process (information acquisition process 3) performed in step S39 will be described with reference to the flowchart of FIG.
ステップS321乃至S324の処理は、図12のステップS71乃至S74の処理と同様であるので、その説明は省略する。ただし、ステップS324においては、字幕情報テーブル301の再生開始箇所に、経過時間が記載されている欄があるか否かが判断される。 The processing in steps S321 through S324 is the same as the processing in steps S71 through S74 in FIG. However, in step S324, it is determined whether or not there is a column in which the elapsed time is written at the reproduction start location of the caption information table 301.
ステップS324において、字幕情報テーブル301の再生開始箇所に、経過時間が記載されている欄があると判断された場合、ステップS325に処理が進められる。ステップS325において、遅延時間決定処理が実行される。この遅延時間実行処理は、図27のフローチャートのステップS308の処理と同様に行われるので、その説明は省略する。 If it is determined in step S324 that there is a column in which the elapsed time is written at the reproduction start location of the caption information table 301, the process proceeds to step S325. In step S325, a delay time determination process is executed. Since this delay time execution process is performed in the same manner as the process of step S308 in the flowchart of FIG. 27, the description thereof is omitted.
ステップS325において、求められた遅延量と、字幕情報テーブル301に再生開始箇所の代わりに記載されていた経過時間とが用いられ、再生開始箇所が決定される。そして、ステップS327において、経過時間が記載されていた欄に、決定された再生開始箇所が記載される。 In step S325, the obtained delay amount and the elapsed time described in the caption information table 301 instead of the reproduction start location are used to determine the reproduction start location. In step S327, the determined reproduction start location is described in the column where the elapsed time is described.
ステップS327乃至S329の処理は、図12のステップS76乃至S78の処理と同様であるので、その説明は省略する。 The processing in steps S327 through S329 is the same as the processing in steps S76 through S78 in FIG.
このようにして、記録装置201側で、再生開始箇所が記載された字幕情報テーブル301が作成され、記憶される。次に、字幕情報テーブル301を用いて行われる再生装置251の再生処理について説明する。
In this way, on the
[第3の実施の形態の再生装置の処理について]
次に、再生装置251が行う再生に関する処理について説明する。再生装置251は、既に説明した図15のフローチャートに基づき処理を行うため、その詳細な説明は省略する。再生装置251は、ステップS120で行う映像再生開始の処理が、第1の実施の形態における再生装置53、または、第2の実施の形態における記録装置201と異なるため、その映像再生開始の処理について以下に説明する。
[Processing of the playback apparatus according to the third embodiment]
Next, processing related to playback performed by the
図29は、映像再生開始の処理2について説明するためのフローチャートである。
FIG. 29 is a flowchart for explaining
ステップS351とステップS353の各ステップにおける処理は、図16に示したフローチャートのステップS131とステップS136の各ステップにおける処理と基本的に同様である。すなわち、第3の実施の形態における再生装置251は、第1の実施の形態における再生装置53が、ステップS134の処理で実行していた遅延時間決定処理や、再生開始箇所の決定に関する処理を行わない。
The processes in steps S351 and S353 are basically the same as the processes in steps S131 and S136 in the flowchart shown in FIG. That is, the
第3の実施の形態における再生装置251は、ステップS352において、認識されたライン番号33に対応する再生開始箇所を、字幕情報テーブル301から読み出す。この場合、字幕情報テーブル301には、再生開始箇所が記載されており、そのような字幕情報テーブル301が、記録装置201から供給されるため、その供給された字幕情報テーブル301を参照することで、再生開始箇所を読み出すことができる。
In step S352, the
このように、記録装置201で再生開始箇所が記載された字幕情報テーブル301を作成し、再生装置251でその字幕情報テーブル301を利用して再生を行うようにしても、第1の実施の形態や第2の実施の形態と同じく、映像や音声に対して、映像や音声に対応する字幕がずれることなく再生されるようにすることが可能である。
In this way, the subtitle information table 301 in which the playback start location is described is created by the
[第4の実施の形態におけるシステムについて]
第1乃至第3の実施の形態においては、記録装置と再生装置がそれぞれ別であるとして説明をした。換言すれば、記録装置側で字幕情報テーブルを作成し、再生装置側で字幕情報テーブルを利用する形態について説明した。第4の実施の形態として、同一の装置内で、記録と再生を行う記録再生装置であり、字幕情報テーブルを作成し、利用する装置について説明する。
[System according to the fourth embodiment]
In the first to third embodiments, it has been described that the recording device and the playback device are different from each other. In other words, a mode has been described in which a caption information table is created on the recording device side and a caption information table is used on the playback device side. As a fourth embodiment, a recording / reproducing apparatus that performs recording and reproduction in the same apparatus, and an apparatus that creates and uses a caption information table will be described.
図30は、記録再生装置401の一実施の形態の構成を示す図である。図30に示した記録再生装置401は、受信制御部411、記録制御部412、データ記録部413、映像音声再生制御部414、テーブル作成部415、テーブル記憶部416、字幕再生制御部417、表示制御部418、操作部419、および、遅延推測値テーブル記憶部420を含む構成とされている。
FIG. 30 is a diagram showing a configuration of an embodiment of the recording / reproducing
図30に示した記録再生装置401において、受信制御部411、記録制御部412、データ記録部413、テーブル作成部415、テーブル記憶部416は、それぞれ、図4に示した記録装置52の受信制御部71、記録制御部72、データ記録部74、テーブル作成部73、テーブル記憶部75と基本的に同様の構成であり、同様の処理を行う。
In the recording / reproducing
また、図30に示した記録再生装置401において、映像音声再生制御部414、字幕再生制御部417、表示制御部418、操作部419、および、遅延推測値テーブル記憶部419は、それぞれ、図5に示した再生装置53の映像音声再生制御部92、字幕再生制御部93、表示制御部95、操作部96、および、遅延推測値テーブル記憶部94と基本的に同様の構成であり、同様の処理を行う。
Further, in the recording /
図30に示した記録再生装置401においては、第1乃至第3の実施の形態のうちの、いずれの形態も適用することが可能である。第1乃至第3の実施の形態のうちの適用した形態に依存し、テーブル作成部415により作成され、テーブル記憶部416に記憶される字幕情報テーブルが決定され、遅延推測値テーブル記憶部420に記憶される遅延推測値テーブルが決定される。
In the recording / reproducing
図30に示した記録再生装置401の動作は、既に説明した第1乃至第3の実施の形態のうちの適用する形態の動作と基本的に同様に行うことが可能であるため、その説明は省略する。
The operation of the recording / reproducing
第1乃至第4の実施の形態のいずれの形態においても、映像、音声、字幕が含まれる番組が提供されたときに、その番組を記録し、字幕だけを再生することが可能となる。また、字幕だけが再生されているときに、所望の字幕が選択されると、その字幕に対応する映像と音声の再生が開始されるようにすることができる。さらに、字幕に対応する映像や音声が再生されるとき、たとえ番組の記録時に、映像や音声に対して、映像や音声に対応する字幕がずれるような番組であっても、再生時にはずれなく再生されるようにすることが可能となる。 In any of the first to fourth embodiments, when a program including video, audio, and subtitles is provided, the program can be recorded and only the subtitles can be reproduced. Further, when a desired subtitle is selected while only the subtitle is being reproduced, reproduction of video and audio corresponding to the subtitle can be started. In addition, when video and audio corresponding to subtitles are played back, even when the program is recorded, even if it is a program in which the subtitles corresponding to video and audio deviate from the video and audio, it is played back without deviation during playback. It becomes possible to be made.
なお、上記した実施の形態においては、所定の字幕が選択されたとき、その選択された字幕に対応する映像と音声が再生されるとして説明したが、映像または音声のどちらか一方のみが再生されるようにしても良い。また、上記した実施の形態においては、デジタルテレビジョン放送を例に挙げて説明したが、ラジオ放送など、他の放送にも本発明を適用できる。さらに、その放送形態は、インターネットなどを介した形態でも良い。 In the above-described embodiment, it has been described that when a predetermined subtitle is selected, video and audio corresponding to the selected subtitle are reproduced. However, only one of video and audio is reproduced. You may make it. In the above-described embodiment, the digital television broadcast has been described as an example. However, the present invention can be applied to other broadcasts such as radio broadcasts. Further, the broadcast form may be a form via the Internet or the like.
例えばラジオ放送において、音声と字幕が提供されているときに、その音声と字幕を別々に記録し、上記したような字幕情報テーブルを作成し、再生時に、その字幕情報テーブルを参照しながら、音声とその音声に対応する字幕がずれることなく再生するようなときにも、本発明を適用できる。 For example, in radio broadcasting, when audio and subtitles are provided, the audio and subtitles are recorded separately, the above-described subtitle information table is created, and the audio is referred while referring to the subtitle information table during playback. The present invention can also be applied to the case where the subtitles corresponding to the audio are reproduced without deviation.
[記録媒体について]
上述した一連の処理は、ハードウェアにより実行すさせることもできるし、ソフトウエアにより実行すさせることもできる。一連の処理をソフトウエアにより実行すさせる場合には、そのソフトウエアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、プログラム記録媒体からインストールされる。
[About recording media]
The series of processes described above can be executed by hardware or can be executed by software. When a series of processing is executed by software, the programs that make up the software execute various functions by installing a computer built into dedicated hardware or various programs. For example, it is installed from a program recording medium in a general-purpose personal computer or the like.
図31は、上述した一連の処理をプログラムにより実行するパーソナルコンピュータのハードウェアの構成の例を示すブロック図である。 FIG. 31 is a block diagram illustrating an example of a hardware configuration of a personal computer that executes the above-described series of processing by a program.
コンピュータにおいて、CPU(Central Processing Unit)501,ROM(Read Only Memory)502、RAM(Random Access Memory)503は、バス504により相互に接続されている。
In a computer, a CPU (Central Processing Unit) 501, a ROM (Read Only Memory) 502, and a RAM (Random Access Memory) 503 are connected to each other by a
バス504には、さらに、入出力インターフェース505が接続されている。入出力インターフェース505には、キーボード、マウス、マイクロホンなどよりなる入力部506、ディスプレイ、スピーカなどよりなる出力部507、ハードディスクや不揮発性のメモリなどよりなる記録部508、ネットワークインタフェースなどよりなる通信部509、磁気ディスク、光ディスク、光磁気ディスク、或いは半導体メモリなどのリムーバブルメディア511を駆動するドライブ510が接続されている。
An input /
なお、CPU501として、”Cell誕生”、日経エレクトロニクス、日経BP社、2005年2月28日、89頁乃至117頁に記載されているCellを採用することができる。
As the
以上のように構成されるコンピュータでは、CPU501が、例えば、記録部508に記録されているプログラムを、入出力インターフェース505及びバス504を介して、RAM503にロードして実行することにより、上述した一連の処理が行われる。
In the computer configured as described above, the
コンピュータ(CPU501)が実行するプログラムは、例えば、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disc-Read Only Memory),DVD(Digital Versatile Disc)等)、光磁気ディスク、もしくは半導体メモリなどよりなるパッケージメディアであるリムーバブルメディア511に記録して、あるいは、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の伝送媒体を介して提供される。 The program executed by the computer (CPU 501) is, for example, a magnetic disk (including a flexible disk), an optical disk (CD-ROM (Compact Disc-Read Only Memory), DVD (Digital Versatile Disc), etc.), a magneto-optical disk, or a semiconductor. The program is recorded on a removable medium 511 that is a package medium including a memory or the like, or provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital satellite broadcasting.
そして、プログラムは、リムーバブルメディア511をドライブ510に装着することにより、入出力インターフェース505を介して、記録部508にインストールすることができる。また、プログラムは、有線または無線の伝送媒体を介して、通信部509で受信し、記録部508にインストールすることができる。その他、プログラムは、ROM502や記録部508に、あらかじめインストールしておくことができる。
The program can be installed in the
なお、コンピュータが実行するプログラムは、本明細書で説明する順序に沿って時系列に処理が行われるプログラムであっても良いし、並列に、あるいは呼び出しが行われたとき等の必要なタイミングで処理が行われるプログラムであっても良い。 The program executed by the computer may be a program that is processed in time series in the order described in this specification, or in parallel or at a necessary timing such as when a call is made. It may be a program for processing.
また、本明細書において、システムとは、複数の装置により構成される装置全体を表すものである。 Further, in this specification, the system represents the entire apparatus constituted by a plurality of apparatuses.
なお、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。 The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.
52 記録装置, 53 再生装置, 71 受信制御部, 72 記録制御部, 73 テーブル作成部, 74 データ記録部, 75 テーブル記憶部, 76 データ出力部, 91 入力制御部, 92 映像音声再生制御部, 93 字幕再生制御部, 94 遅延推測値テーブル記憶部, 95 表示制御部, 96 操作部, 101 字幕情報テーブル, 121 ストリームファイル, 122 字幕データファイル, 151 遅延推測値テーブル, 201 記録装置, 211 受信制御部, 212 記録制御部, 213 テーブル作成部, 214 データ記録部, 215 テーブル記憶部, 216 データ出力部, 217 遅延推測値テーブル記憶部, 231 字幕情報テーブル, 251 再生装置, 261 入力制御部, 262 映像音声再生制御部, 263 字幕再生制御部, 264 操作部, 265 表示制御部, 311 字幕情報テーブル, 401 記録再生装置, 411 受信制御部, 412 記録制御部, 413 データ記録部, 414 映像音声再生制御部, 415 テーブル作成部, 416 テーブル記憶部, 417 字幕再生制御部, 418 表示制御部, 419 操作部, 420 遅延推測値テーブル記憶部 52 recording device, 53 playback device, 71 reception control unit, 72 recording control unit, 73 table creation unit, 74 data recording unit, 75 table storage unit, 76 data output unit, 91 input control unit, 92 video / audio reproduction control unit, 93 subtitle playback control unit, 94 delay estimation value table storage unit, 95 display control unit, 96 operation unit, 101 subtitle information table, 121 stream file, 122 subtitle data file, 151 delay estimation value table, 201 recording device, 211 reception control Unit, 212 recording control unit, 213 table creation unit, 214 data recording unit, 215 table storage unit, 216 data output unit, 217 delay estimation value table storage unit, 231 subtitle information table, 251 playback device, 261 input control unit, 262Video / audio playback control unit, 263 subtitle playback control unit, 264 operation unit, 265 display control unit, 311 subtitle information table, 401 recording / playback device, 411 reception control unit, 412 recording control unit, 413 data recording unit, 414 video / audio playback Control unit, 415 table creation unit, 416 table storage unit, 417 subtitle playback control unit, 418 display control unit, 419 operation unit, 420 delay estimation value table storage unit
Claims (14)
前記取得手段により取得された前記トランスポートパケットから、字幕データを抽出する抽出手段と、
前記取得手段による前記トランスポートパケットの取得が開始された時刻から、前記抽出手段により前記字幕データが抽出された時刻までに経過した経過時間を一時記憶する経過時間記憶手段と、
前記トランスポートパケットに含まれ、前記番組が属するジャンルを示す番組ジャンルコードを一時記憶する番組ジャンルコード記憶手段と、
前記字幕データ、前記経過時間、および前記番組ジャンルコードから、前記字幕データを前記トランスポートストリームに含まれていた映像データとともに再生するときに参照される字幕情報テーブルを作成する字幕情報テーブル作成手段と
を備える記録装置。 Obtaining means for obtaining a transport packet of a program to be recorded;
Extraction means for extracting subtitle data from the transport packet acquired by the acquisition means;
An elapsed time storage unit that temporarily stores an elapsed time from the time when the acquisition of the transport packet by the acquisition unit is started to the time when the caption data is extracted by the extraction unit;
A program genre code storage means for temporarily storing a program genre code indicating a genre to which the program belongs, included in the transport packet;
Subtitle information table creating means for creating a subtitle information table to be referred to when reproducing the subtitle data together with the video data included in the transport stream from the subtitle data, the elapsed time, and the program genre code; A recording apparatus comprising:
前記字幕情報テーブル作成手段は、前記番組ジャンルコード記憶手段に記憶されている前記番組ジャンルコードに関連付けられている遅延量を、前記遅延量テーブルを参照して読み出し、前記字幕情報テーブルに記載する
請求項1に記載の記録装置。 A delay amount table storage means for storing a delay amount table in which the program genre code and the delay amount of the caption data with respect to the video data are associated;
The subtitle information table creation unit reads out a delay amount associated with the program genre code stored in the program genre code storage unit with reference to the delay amount table, and writes the delay amount in the subtitle information table. Item 2. The recording device according to Item 1.
前記番組ジャンルコード記憶手段に記憶されている前記番組ジャンルコードと、前記遅延量テーブルに記載されている前記番組ジャンルコードが一致するか否かが、前記優先順位順に判断され、前記遅延量が読み出される
請求項2に記載の記録装置。 In the delay amount table, the program genre code and priority are further associated with each other, and
Whether or not the program genre code stored in the program genre code storage means matches the program genre code described in the delay amount table is determined in the order of priority, and the delay amount is read out. The recording apparatus according to claim 2.
前記字幕情報テーブル作成手段は、前記番組ジャンルコード記憶手段に記憶されている前記番組ジャンルコードに関連付けられている遅延量を、前記遅延量テーブルを参照して読み出し、その遅延量を前記経過時間から減算し、その値を前記字幕情報テーブルに記載する
請求項1に記載の記録装置。 A delay amount table storage means for storing a delay amount table in which the program genre code and the delay amount of the caption data with respect to the video data are associated;
The subtitle information table creating means reads a delay amount associated with the program genre code stored in the program genre code storage means with reference to the delay amount table, and calculates the delay amount from the elapsed time. The recording apparatus according to claim 1, wherein the value is subtracted and the value is written in the caption information table.
前記番組ジャンルコード記憶手段に記憶されている前記番組ジャンルコードと、前記遅延量テーブルに記載されている前記番組ジャンルコードが一致するか否かが、前記優先順位順に判断され、前記遅延量が読み出される
請求項4に記載の記録装置。 In the delay amount table, the program genre code and priority are further associated with each other, and
Whether or not the program genre code stored in the program genre code storage means matches the program genre code described in the delay amount table is determined in the order of priority, and the delay amount is read out. The recording apparatus according to claim 4.
前記取得ステップの処理で取得された前記トランスポートパケットから、字幕データを抽出する抽出ステップと、
前記取得ステップの処理で前記トランスポートパケットの取得が開始された時刻から、前記抽出ステップの処理で前記字幕データが抽出された時刻までに経過した経過時間を一時記憶する経過時間記憶ステップと、
前記トランスポートパケットに含まれ、前記番組が属するジャンルを示す番組ジャンルコードを一時記憶する番組ジャンルコード記憶ステップと、
前記字幕データ、前記経過時間、および前記番組ジャンルコードから、前記字幕データを前記トランスポートストリームに含まれていた映像データとともに再生するときに参照される字幕情報テーブルを作成する字幕情報テーブル作成ステップと
を含む記録方法。 An acquisition step of acquiring a transport packet of a program to be recorded;
An extraction step of extracting caption data from the transport packet acquired in the processing of the acquisition step;
An elapsed time storage step for temporarily storing the elapsed time from the time when the acquisition of the transport packet was started in the process of the acquisition step to the time when the caption data was extracted in the process of the extraction step;
A program genre code storage step for temporarily storing a program genre code included in the transport packet and indicating a genre to which the program belongs;
A subtitle information table creating step for creating a subtitle information table to be referred to when reproducing the subtitle data together with the video data included in the transport stream from the subtitle data, the elapsed time, and the program genre code; Recording method.
前記取得ステップの処理で取得された前記トランスポートパケットから、字幕データを抽出する抽出ステップと、
前記取得ステップの処理で前記トランスポートパケットの取得が開始された時刻から、前記抽出ステップの処理で前記字幕データが抽出された時刻までに経過した経過時間を一時記憶する経過時間記憶ステップと、
前記トランスポートパケットに含まれ、前記番組が属するジャンルを示す番組ジャンルコードを一時記憶する番組ジャンルコード記憶ステップと、
前記字幕データ、前記経過時間、および前記番組ジャンルコードから、前記字幕データを前記トランスポートストリームに含まれていた映像データとともに再生するときに参照される字幕情報テーブルを作成する字幕情報テーブル作成ステップと
を含む処理をコンピュータに実行させるプログラム。 An acquisition step of acquiring a transport packet of a program to be recorded;
An extraction step of extracting caption data from the transport packet acquired in the processing of the acquisition step;
An elapsed time storage step for temporarily storing the elapsed time from the time when the acquisition of the transport packet was started in the process of the acquisition step to the time when the caption data was extracted in the process of the extraction step;
A program genre code storage step for temporarily storing a program genre code included in the transport packet and indicating a genre to which the program belongs;
A subtitle information table creating step for creating a subtitle information table to be referred to when reproducing the subtitle data together with the video data included in the transport stream from the subtitle data, the elapsed time, and the program genre code; A program that causes a computer to execute processing including
前記字幕データの再生を制御する字幕データ再生制御手段と、
前記字幕データ再生制御手段により再生が制御された字幕から、所定の字幕が選択されたとき、その所定の字幕に対応する映像データの再生を開始する再生開始箇所を、前記字幕情報テーブルを参照して決定する決定手段と、
前記決定手段により決定された再生開始箇所から前記映像データが再生されるように制御する映像データ再生制御手段と
を備える再生装置。 Acquisition means for acquiring subtitle data, video data provided to the user together with the subtitle data, and a subtitle information table referred to when the subtitle data and the video data are reproduced together;
Subtitle data reproduction control means for controlling reproduction of the subtitle data;
When a predetermined subtitle is selected from the subtitles whose reproduction is controlled by the subtitle data reproduction control means, refer to the subtitle information table for a reproduction start location where the reproduction of video data corresponding to the predetermined subtitle is started. A determination means to determine
And a video data reproduction control unit that controls the video data to be reproduced from the reproduction start position determined by the determination unit.
前記字幕情報テーブルには、前記番組のデータの取得が開始された時刻から、前記字幕データが抽出された時刻までに経過した経過時間と、前記番組ジャンルコードが少なくとも関連付けられて記載されており、
前記決定手段は、前記字幕情報テーブルに記載されている前記番組ジャンルコードに関連付けられている遅延量を前記遅延量テーブルから読み出し、前記経過時間から前記遅延量を減算した値を前記再生開始箇所として決定する
請求項8に記載の再生装置。 A delay amount table storing means for storing a program genre code representing a genre of the program that provided the subtitle data and a delay amount table in which a delay amount of the subtitle data with respect to the video data is associated;
In the caption information table, the elapsed time elapsed from the time when acquisition of the data of the program was started to the time when the caption data was extracted, and the program genre code are described in association with each other,
The determining means reads a delay amount associated with the program genre code described in the caption information table from the delay amount table, and sets a value obtained by subtracting the delay amount from the elapsed time as the reproduction start location. The playback apparatus according to claim 8.
前記字幕情報テーブルに記憶されている前記番組ジャンルコードと、前記遅延量テーブルに記載されている前記番組ジャンルコードが一致するか否かが、前記優先順位順に判断され、遅延量が読み出される
請求項9に記載の記録装置。 In the delay amount table, the program genre code and priority are associated and described,
The delay amount is read by determining whether or not the program genre code stored in the caption information table matches the program genre code described in the delay amount table in order of priority. 9. The recording apparatus according to 9.
前記決定手段は、前記字幕情報テーブルに記載されている前記遅延量を読み出し、前記経過時間から前記遅延量を減算した値を前記再生開始箇所として決定する
請求項8に記載の再生装置。 In the caption information table, the elapsed time elapsed from the time when acquisition of the data of the program that provided the caption data was started to the time when the caption data was extracted, and the caption data for the video data At least the amount of delay
The playback apparatus according to claim 8, wherein the determination unit reads the delay amount described in the caption information table and determines a value obtained by subtracting the delay amount from the elapsed time as the playback start location.
前記決定手段は、前記字幕情報テーブルから前記再生開始箇所を読み出すことで、前記再生開始箇所を決定する
請求項8に記載の再生装置。 In the caption information table, at least the playback start location is described,
The playback apparatus according to claim 8, wherein the determination unit determines the playback start location by reading the playback start location from the caption information table.
前記字幕データの再生を制御する字幕データ再生制御ステップと、
前記字幕データ再生制御ステップの処理で再生が制御された字幕から、所定の字幕が選択されたとき、その所定の字幕に対応する映像データの再生を開始する再生開始箇所を、前記字幕情報テーブルを参照して決定する決定ステップと、
前記決定ステップの処理で決定された再生開始箇所から前記映像データが再生されるように制御する映像データ再生制御ステップと
を含む再生方法。 Obtaining subtitle data, video data provided to the user together with the subtitle data, and a subtitle information table referred to when the subtitle data and the video data are reproduced together;
Subtitle data reproduction control step for controlling reproduction of the subtitle data;
When a predetermined subtitle is selected from the subtitles whose reproduction is controlled in the processing of the subtitle data reproduction control step, a reproduction start location for starting reproduction of video data corresponding to the predetermined subtitle is indicated in the subtitle information table. A decision step to determine by reference;
And a video data playback control step for controlling the video data to be played back from the playback start location determined in the processing of the determination step.
前記字幕データの再生を制御する字幕データ再生制御ステップと、
前記字幕データ再生制御ステップの処理で再生が制御された字幕から、所定の字幕が選択されたとき、その所定の字幕に対応する映像データの再生を開始する再生開始箇所を、前記字幕情報テーブルを参照して決定する決定ステップと、
前記決定ステップの処理で決定された再生開始箇所から前記映像データが再生されるように制御する映像データ再生制御ステップと
を含む処理をコンピュータに実行させるプログラム。 Obtaining subtitle data, video data provided to the user together with the subtitle data, and a subtitle information table referred to when the subtitle data and the video data are reproduced together;
Subtitle data reproduction control step for controlling reproduction of the subtitle data;
When a predetermined subtitle is selected from the subtitles whose reproduction is controlled in the processing of the subtitle data reproduction control step, a reproduction start location for starting reproduction of video data corresponding to the predetermined subtitle is indicated in the subtitle information table. A decision step to determine by reference;
And a video data reproduction control step for controlling the video data to be reproduced from the reproduction start position determined in the determination step.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007002551A JP2008172421A (en) | 2007-01-10 | 2007-01-10 | Recorder and method, reproducing apparatus and method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2007002551A JP2008172421A (en) | 2007-01-10 | 2007-01-10 | Recorder and method, reproducing apparatus and method, and program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2008172421A true JP2008172421A (en) | 2008-07-24 |
Family
ID=39700111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2007002551A Pending JP2008172421A (en) | 2007-01-10 | 2007-01-10 | Recorder and method, reproducing apparatus and method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2008172421A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015053589A (en) * | 2013-09-06 | 2015-03-19 | 株式会社東芝 | Electronic apparatus, electronic apparatus control method, and scene control program |
WO2019043871A1 (en) | 2017-08-31 | 2019-03-07 | 楽天株式会社 | Display timing determination device, display timing determination method, and program |
US10652623B1 (en) | 2016-09-08 | 2020-05-12 | Rakuten, Inc. | Display timing determination device, display timing determination method, and program |
EP3190798B1 (en) * | 2014-09-05 | 2022-12-14 | Sony Group Corporation | Reception device, reception method, transmission device and transmission method |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003134412A (en) * | 2001-10-26 | 2003-05-09 | Toshiba Corp | Digital broadcast receiving device and display method for electronic program table |
JP2004080476A (en) * | 2002-08-20 | 2004-03-11 | Sanyo Electric Co Ltd | Digital video reproducing device |
JP2005229413A (en) * | 2004-02-13 | 2005-08-25 | Daikin Ind Ltd | Information processing apparatus, information processing method, program, and information processing system |
JP2005286969A (en) * | 2004-03-31 | 2005-10-13 | Sharp Corp | Recording and reproducing device, display device, and method for correcting caption display delay of captioned broadcast |
JP2006165772A (en) * | 2004-12-03 | 2006-06-22 | Hitachi Ltd | Information reproducing apparatus and method therefor |
JP2006279290A (en) * | 2005-03-28 | 2006-10-12 | Nec Personal Products Co Ltd | Program recording apparatus, program recording method, and program recording program |
-
2007
- 2007-01-10 JP JP2007002551A patent/JP2008172421A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003134412A (en) * | 2001-10-26 | 2003-05-09 | Toshiba Corp | Digital broadcast receiving device and display method for electronic program table |
JP2004080476A (en) * | 2002-08-20 | 2004-03-11 | Sanyo Electric Co Ltd | Digital video reproducing device |
JP2005229413A (en) * | 2004-02-13 | 2005-08-25 | Daikin Ind Ltd | Information processing apparatus, information processing method, program, and information processing system |
JP2005286969A (en) * | 2004-03-31 | 2005-10-13 | Sharp Corp | Recording and reproducing device, display device, and method for correcting caption display delay of captioned broadcast |
JP2006165772A (en) * | 2004-12-03 | 2006-06-22 | Hitachi Ltd | Information reproducing apparatus and method therefor |
JP2006279290A (en) * | 2005-03-28 | 2006-10-12 | Nec Personal Products Co Ltd | Program recording apparatus, program recording method, and program recording program |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015053589A (en) * | 2013-09-06 | 2015-03-19 | 株式会社東芝 | Electronic apparatus, electronic apparatus control method, and scene control program |
EP3190798B1 (en) * | 2014-09-05 | 2022-12-14 | Sony Group Corporation | Reception device, reception method, transmission device and transmission method |
US10652623B1 (en) | 2016-09-08 | 2020-05-12 | Rakuten, Inc. | Display timing determination device, display timing determination method, and program |
WO2019043871A1 (en) | 2017-08-31 | 2019-03-07 | 楽天株式会社 | Display timing determination device, display timing determination method, and program |
US10348938B2 (en) | 2017-08-31 | 2019-07-09 | Rakuten, Inc. | Display timing determination device, display timing determination method, and program |
EP3678376A4 (en) * | 2017-08-31 | 2021-04-14 | Rakuten, Inc. | Display timing determination device, display timing determination method, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4848756B2 (en) | Information processing apparatus and method, and program | |
JP2007067592A (en) | Video recording and reproducing apparatus | |
US20080184142A1 (en) | Content reproduction apparatus, recording medium, content reproduction method and content reproduction program | |
JPWO2007029489A1 (en) | Content replay device, content playback device, content replay method, content playback method, program, and recording medium | |
JP4650288B2 (en) | REPRODUCTION CONTROL DEVICE, REPRODUCTION CONTROL METHOD, AND PROGRAM | |
JP2008084381A (en) | Program recording device and commercial detecting method | |
KR20080053197A (en) | Information processing apparatus, information processing method, and information processing program | |
WO2009118894A1 (en) | Output data switching device, output data switching method, output data switching system and program for the output data switching device | |
JP2008172421A (en) | Recorder and method, reproducing apparatus and method, and program | |
JP2006109233A (en) | Digital radio broadcast receiver | |
JP2008193585A (en) | Broadcast program recording/reproducing device and broadcast program recording/reproducing method | |
JP2011158669A (en) | Audio data reproducing apparatus and lyric display method | |
JP2007256456A (en) | Content providing apparatus and content providing method | |
JP2008182539A (en) | Broadcast receiving, recording and reproducing apparatus, and broadcast receiving, recording and reproducing method | |
JP2008205969A (en) | Recording device, recording method, and program | |
JP5126627B2 (en) | Karaoke equipment | |
JP4086886B2 (en) | Movie playback apparatus, movie playback method and computer program thereof | |
JP2008193279A (en) | Reproducer, reproduction method, and program | |
JP4509188B2 (en) | Movie playback apparatus, movie playback method and computer program thereof | |
JP6213031B2 (en) | Video processing apparatus and method | |
JP2007074207A (en) | Information processing apparatus, method and program | |
KR101208508B1 (en) | Method for storing digital broadcasting program, and terminal for receiving digital broadcasting | |
JP2006139829A (en) | Summary reproducing device, summary reproducing method, summary reproducing program, and information recording medium with the program stored thereto | |
KR100700783B1 (en) | Method and apparatus of playing audio file | |
JP4257546B2 (en) | Recording / reproducing device and HDD built-in digital television |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20100106 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110224 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110301 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20110719 |