JP5683871B2 - Playback apparatus, control method, and program - Google Patents
Playback apparatus, control method, and program Download PDFInfo
- Publication number
- JP5683871B2 JP5683871B2 JP2010186512A JP2010186512A JP5683871B2 JP 5683871 B2 JP5683871 B2 JP 5683871B2 JP 2010186512 A JP2010186512 A JP 2010186512A JP 2010186512 A JP2010186512 A JP 2010186512A JP 5683871 B2 JP5683871 B2 JP 5683871B2
- Authority
- JP
- Japan
- Prior art keywords
- time information
- picture
- code
- discontinuous
- editing operation
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims description 19
- 238000012937 correction Methods 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 20
- 230000008569 process Effects 0.000 claims description 6
- 230000006870 function Effects 0.000 description 11
- 238000000605 extraction Methods 0.000 description 10
- 239000000284 extract Substances 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005070 sampling Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 2
- 238000009877 rendering Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Description
本発明は、MPEG(Moving Picture Expert Group)規格の符号を再生する再生装置、制御方法及びプログラムに関する。 The present invention relates to a playback apparatus, a control method, and a program for playing back MPEG (Moving Picture Expert Group) standard codes.
MPEG(Moving Picture Expert Group)規格の符号を解析すると、タイムスタンプ(33ビットPTS;Presentation Time Stamp)を取得することができる。従来は、このタイムスタンプ(33ビットPTS)を用いて符号の編集操作を行っていた。 By analyzing the MPEG (Moving Picture Expert Group) standard code, a time stamp (33-bit PTS; Presentation Time Stamp) can be obtained. In the past, code editing operations were performed using this time stamp (33-bit PTS).
MPEG規格の符号の上限となる時間は、約26.5時間である。詳細な値は、以下の算出式で得られる。
(0x1ffffffff/90000)/(60×60)≒26.51214
但し、0x1ffffffff;33ビットの最大値
90000;タイムスタンプの周期(Hz)
60×60;秒を時間に換算するための値
The upper limit of the MPEG standard code is about 26.5 hours. Detailed values are obtained by the following calculation formula.
(0x1ffffffff / 90000) / (60 × 60) ≒ 26.51214
However, 0x1ffffffff; maximum value of 33 bits
90000: Time stamp period (Hz)
60 x 60: Value for converting seconds to hours
このため、MPEG規格では、MPEG規格の符号が33ビットの上限値(約26.5時間)を越えると、タイムスタンプ(33ビットPTS)の値が桁あふれするため、図1に示すように、タイムスタンプ(33ビットPTS)の値が33ビットの上限値を越えたタイミングでリセットし、リセット後のタイムスタンプ(33ビットPTS)の値を0に戻している。図1に示す縦軸は、タイムスタンプ(33ビットPTS)を示し、横軸は、符号位置を示している。 For this reason, in the MPEG standard, when the code of the MPEG standard exceeds the upper limit value of 33 bits (about 26.5 hours), the value of the time stamp (33 bit PTS) overflows. As shown in FIG. The time stamp (33-bit PTS) is reset when the value exceeds the upper limit of 33 bits, and the time stamp (33-bit PTS) after reset is reset to zero. The vertical axis shown in FIG. 1 indicates a time stamp (33-bit PTS), and the horizontal axis indicates a code position.
また、図1に示すように、タイムスタンプ(33ビットPTS)の値が33ビットの上限値を越える前に、タイムスタンプ(33ビットPTS)の値をリセットする場合がある。通常、タイムスタンプ(33ビットPTS)の値は単調増加するが、タイムスタンプ(33ビットPTS)の値が単調増加せず、不連続になる場合があり、この場合は、タイムスタンプ(33ビットPTS)の値をリセットしている。タイムスタンプ(33ビットPTS)の値が不連続になるケースとしては、番組が切り替わる場合が挙げられる。例えば、番組Aと番組Bとがあり、番組Bに番組Aよりも古いタイムスタンプ(33ビットPTS)の値が含まれており、番組A→番組Bの順番で切り替わる場合は、タイムスタンプ(33ビットPTS)の値が単調増加せず、番組A,B間でタイムスタンプ(33ビットPTS)の値が不連続になる。 Further, as shown in FIG. 1, the time stamp (33-bit PTS) value may be reset before the time stamp (33-bit PTS) value exceeds the upper limit of 33 bits. Normally, the value of the time stamp (33-bit PTS) increases monotonously, but the value of the time stamp (33-bit PTS) does not increase monotonously and may become discontinuous. In this case, the time stamp (33-bit PTS) ) Value is reset. A case where the value of the time stamp (33-bit PTS) becomes discontinuous includes a case where a program is switched. For example, when there are a program A and a program B, and the program B includes a value of a time stamp (33 bit PTS) older than the program A, and the program A is switched in the order of the program B, the time stamp (33 The value of the bit PTS does not increase monotonously, and the time stamp (33-bit PTS) value becomes discontinuous between the programs A and B.
タイムスタンプ(33ビットPTS)の値が33ビットの上限値を越える前に、タイムスタンプ(33ビットPTS)の値をリセットした場合は、リセット後のタイムスタンプ(33ビットPTS)の値が0にならない。このため、タイムスタンプ(33ビットPTS)の値が33ビットの上限値を越える前に、タイムスタンプ(33ビットPTS)の値をリセットした場合は、タイムスタンプ(33ビットPTS)に対応するピクチャの位置を特定することが困難になる。 If the time stamp (33-bit PTS) value is reset before the time stamp (33-bit PTS) value exceeds the upper limit of 33 bits, the reset time stamp (33-bit PTS) value will be 0. Don't be. Therefore, if the time stamp (33-bit PTS) value is reset before the time stamp (33-bit PTS) value exceeds the upper limit of 33 bits, the picture corresponding to the time stamp (33-bit PTS) It becomes difficult to specify the position.
このようなことから、タイムスタンプ(33ビットPTS)の値が33ビットの上限値を越える前に、タイムスタンプ(33ビットPTS)の値をリセットした場合でも、タイムスタンプ(33ビットPTS)に対応するピクチャの位置を特定することが可能な仕組みの開発が必要視されることになる。 For this reason, even if the time stamp (33-bit PTS) value is reset before the time stamp (33-bit PTS) value exceeds the upper limit of 33 bits, the time stamp (33-bit PTS) is supported. Development of a mechanism capable of specifying the position of the picture to be performed will be considered necessary.
なお、本発明より先に出願された技術文献として、受信電波状況の悪化等に起因するストリームデータの一部欠落によりPCRをリセットするPCR情報を取得できなかった場合にも、欠落からの回復後、次のPCR情報を取得するまでに正常に取得したストリームデータを放送システムが意図したタイミングで再生できるようにする技術について開示された文献がある(例えば、特許文献1:WO2006/112508号公報参照)。 In addition, as a technical document filed prior to the present invention, even when PCR information for resetting PCR cannot be obtained due to a partial loss of stream data due to deterioration of received radio wave conditions, etc., after recovery from the loss In addition, there is a document that discloses a technique that enables a broadcast system to reproduce stream data that has been acquired normally until the next PCR information is acquired (see, for example, Patent Document 1: WO2006 / 112508) ).
上記特許文献1では、ストリームデータにおける欠落区間の位置を特定する位置情報と、欠落区間に含まれていたPCRに同期して時刻カウンタが示したであろう時刻を特定する時刻補正情報と、をストリームデータに対応付けて記憶する。そして、ストリームデータの再生時には、位置情報と時刻補正情報とを参照し、欠落が終了する位置で時刻カウンタを放送システムが意図していた時刻に設定し直す。これにより、正常に取得したストリームデータを放送システムが意図したタイミングで再生することを可能にしている。 In the above-mentioned Patent Document 1, position information for specifying the position of the missing section in the stream data, and time correction information for specifying the time that the time counter would have indicated in synchronization with the PCR included in the missing section, Store in association with the stream data. When the stream data is reproduced, the position information and the time correction information are referred to, and the time counter is reset to the time intended by the broadcasting system at the position where the omission ends. This makes it possible to reproduce normally acquired stream data at a timing intended by the broadcasting system.
上記特許文献1では、位置情報と補正時刻情報とを参照し、正常に取得したストリームデータを放送システムが意図したタイミングで再生することを可能にしている。 In the above-mentioned Patent Document 1, the position information and the correction time information are referred to and the normally acquired stream data can be reproduced at a timing intended by the broadcasting system.
しかし、上記特許文献1には、MPEG規格の符号の時刻情報(タイムスタンプ(33ビットPTS))が上限を越える前に、符号の時刻情報をリセットした場合でも、符号の時刻情報に対応するピクチャの位置を特定することが可能な仕組みについては何ら記載も示唆もされていない。 However, the above-mentioned Patent Document 1 discloses a picture corresponding to code time information even when the code time information is reset before the time information (time stamp (33-bit PTS)) of the MPEG standard exceeds the upper limit. There is no description or suggestion of a mechanism that can identify the position of.
本発明は、上記事情に鑑みてなされたものであり、MPEG規格の符号の時刻情報(タイムスタンプ(33ビットPTS))が上限を越える前に、符号の時刻情報をリセットした場合でも、符号の時刻情報に対応するピクチャの位置を特定することが可能な再生装置、制御方法及びプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and even when the time information (time stamp (33 bit PTS)) of the MPEG standard exceeds the upper limit, the time information of the code is reset. It is an object of the present invention to provide a playback device, a control method, and a program capable of specifying the position of a picture corresponding to time information.
かかる目的を達成するために、本発明は、以下の特徴を有することとする。 In order to achieve this object, the present invention has the following features.
本発明にかかる再生装置は、
MPEG(Moving Picture Expert Group)規格の符号を格納する格納手段と、
前記符号の時刻情報と位置情報とを対応付けて管理する第1の管理手段と、
前記符号の時刻情報が不連続になった不連続時刻情報の範囲を管理する第2の管理手段と、
前記第1の管理手段及び前記第2の管理手段を参照し、前記格納手段に格納された前記符号の編集操作を行う編集手段と、を有し、
前記編集手段は、
編集操作を受け付けた場合に、前記第2の管理手段を参照し、編集操作時に受け付けたピクチャの時刻情報が含まれる不連続時刻情報の範囲を特定し、該特定した不連続時刻情報の範囲に応じた補正値で、前記ピクチャの時刻情報を補正する補正手段と、
前記第1の管理手段を参照し、補正後のピクチャの時刻情報を含む時刻情報を特定し、該特定した時刻情報と対応付けられた位置情報を特定する位置情報特定手段と、
前記特定した位置情報を基に、前記格納手段に格納された前記符号の編集操作を行う編集操作手段と、
を有することを特徴とする。
The playback apparatus according to the present invention is
Storage means for storing MPEG (Moving Picture Expert Group) standard codes;
First management means for managing time information and position information of the code in association with each other;
Second management means for managing a range of discontinuous time information in which the time information of the code is discontinuous;
Editing means for editing the code stored in the storage means with reference to the first management means and the second management means,
The editing means includes
When an editing operation is received, the second management unit is referred to, and a range of discontinuous time information including the time information of the picture received at the time of the editing operation is specified. Correction means for correcting the time information of the picture with a corresponding correction value;
Referring to the first management means, specifying time information including time information of the corrected picture, and position information specifying means for specifying position information associated with the specified time information;
Editing operation means for performing an editing operation of the code stored in the storage means based on the specified position information;
It is characterized by having.
本発明にかかる制御方法は、
MPEG(Moving Picture Expert Group)規格の符号を格納する格納手段と、前記符号の時刻情報と位置情報とを対応付けて管理する第1の管理手段と、前記符号の時刻情報が不連続になった不連続時刻情報の範囲を管理する第2の管理手段と、を有して構成する再生装置の制御方法であって、
編集操作を受け付けた場合に、前記第2の管理手段を参照し、編集操作時に受け付けたピクチャの時刻情報が含まれる不連続時刻情報の範囲を特定し、該特定した不連続時刻情報の範囲に応じた補正値で、前記ピクチャの時刻情報を補正する補正工程と、
前記第1の管理手段を参照し、補正後のピクチャの時刻情報を含む時刻情報を特定し、該特定した時刻情報と対応付けられた位置情報を特定する位置情報特定工程と、
前記特定した位置情報を基に、前記格納手段に格納された前記符号の編集操作を行う編集操作工程と、
を有することを特徴とする。
The control method according to the present invention includes:
Storage means for storing MPEG (Moving Picture Expert Group) standard code, first management means for managing time information and position information of the code in association with each other, and time information of the code are discontinuous A second management means for managing the range of the discontinuous time information, and a control method for a playback device comprising:
When an editing operation is received, the second management unit is referred to, and a range of discontinuous time information including the time information of the picture received at the time of the editing operation is specified. A correction step of correcting the time information of the picture with a corresponding correction value;
A position information specifying step of referring to the first management means, specifying time information including time information of the corrected picture, and specifying position information associated with the specified time information;
An editing operation step of performing an editing operation of the code stored in the storage unit based on the specified position information;
It is characterized by having.
本発明にかかるプログラムは、
MPEG(Moving Picture Expert Group)規格の符号を格納する格納手段と、前記符号の時刻情報と位置情報とを対応付けて管理する第1の管理手段と、前記符号の時刻情報が不連続になった不連続時刻情報の範囲を管理する第2の管理手段と、を有して構成する再生装置のコンピュータに実行させるプログラムであって、
編集操作を受け付けた場合に、前記第2の管理手段を参照し、編集操作時に受け付けたピクチャの時刻情報が含まれる不連続時刻情報の範囲を特定し、該特定した不連続時刻情報の範囲に応じた補正値で、前記ピクチャの時刻情報を補正する補正処理と、
前記第1の管理手段を参照し、補正後のピクチャの時刻情報を含む時刻情報を特定し、該特定した時刻情報と対応付けられた位置情報を特定する位置情報特定処理と、
前記特定した位置情報を基に、前記格納手段に格納された前記符号の編集操作を行う編集操作処理と、を前記コンピュータに実行させることを特徴とする。
The program according to the present invention is:
Storage means for storing MPEG (Moving Picture Expert Group) standard code, first management means for managing time information and position information of the code in association with each other, and time information of the code are discontinuous A second management means for managing the range of discontinuous time information;
When an editing operation is received, the second management unit is referred to, and a range of discontinuous time information including the time information of the picture received at the time of the editing operation is specified. Correction processing for correcting the time information of the picture with a correction value according to,
A position information specifying process that refers to the first management means, specifies time information including time information of the corrected picture, and specifies position information associated with the specified time information;
An editing operation process for performing an editing operation of the code stored in the storage unit based on the specified position information is executed by the computer.
本発明によれば、MPEG規格の符号の時刻情報(タイムスタンプ(33ビットPTS))が上限を越える前に、符号の時刻情報をリセットした場合でも、符号の時刻情報に対応するピクチャの位置を特定することができる。 According to the present invention, the position of the picture corresponding to the time information of the code is determined even if the time information of the code is reset before the time information (time stamp (33-bit PTS)) of the MPEG standard exceeds the upper limit. Can be identified.
<本実施形態の再生装置100の概要>
まず、図2、図3を参照しながら、本実施形態の再生装置100の概要について説明する。
<Outline of
First, an overview of the
本実施形態の再生装置100は、MPEG規格の符号を格納する格納手段(MPEGファイル1012に相当)と、符号の時刻情報(Iピクチャの表示時刻に相当)と位置情報(Iピクチャのファイル位置に相当)とを対応付けて管理する第1の管理手段(Iピクチャテーブル1011に相当)と、符号の時刻情報が不連続になった不連続時刻情報の範囲(不連続直前の33ビットPTS、不連続直後の33ビットPTS)を管理する第2の管理手段(不連続なPTSを示すファイル1013に相当)と、第1の管理手段1011及び第2の管理手段1013を参照し、格納手段1012に格納された符号の編集操作を行う編集手段(編集部200に相当)と、を有して構成する。
The
本実施形態の編集手段200は、編集操作を受け付けた場合に、第2の管理手段1013を参照し、編集操作時に受け付けたピクチャの時刻情報が含まれる不連続時刻情報の範囲を特定し、該特定した不連続時刻情報の範囲に応じた補正値で、ピクチャの時刻情報を補正する。そして、第1の管理手段1011を参照し、補正後のピクチャの時刻情報を含む時刻情報を特定し、該特定した時刻情報と対応付けられた位置情報を特定する。そして、その特定した位置情報を基に、格納手段1012に格納された符号の編集操作を行う。
When an editing operation is accepted, the
本実施形態の再生装置100は、MPEG規格の符号の時刻情報が不連続になった不連続時刻情報の範囲を管理し、その不連続時刻情報の範囲を基に、編集操作時に受け付けたピクチャの時刻情報に対応するピクチャの位置を特定することにしている。このため、本実施形態の再生装置100は、MPEG規格の符号の時刻情報(タイムスタンプ(33ビットPTS))が上限を越える前に、符号の時刻情報をリセットした場合でも、符号の時刻情報に対応するピクチャの位置を特定することができる。以下、添付図面を参照しながら、本実施形態の再生装置100について詳細に説明する。
The
<本実施形態の再生装置100の構成例>
まず、図2を参照しながら、本実施形態の再生装置100の構成例について説明する。
<Configuration Example of
First, a configuration example of the
本実施形態の再生装置100は、メモリ101と、プッシュソース102と、Demux103と、Decode104と、Video Render105と、Audio Render106と、ディスプレイ107と、スピーカ108と、を含んで構成している。
The
メモリ101は、各種情報を記憶するものであり、例えば、Iピクチャテーブル1011、MPEGファイル1012、不連続なPTSを示すファイル1013などを格納する。
The
Iピクチャテーブル1011は、Iピクチャの表示時刻(64ビットPTS)と、Iピクチャのファイル位置と、を対応付けて管理するテーブルである。Iピクチャは、Intra-coded picture(フレーム内符号化画像)のことを示す。Iピクチャテーブル1011では、ファイル先頭のIピクチャの表示時刻(64ビットPTS)を最小値として、Iピクチャの表示時刻(64ビットPTS)が単調増加するように、Iピクチャの表示時刻(64ビットPTS)と、Iピクチャのファイル位置と、を対応付けて管理することが好ましい。 The I picture table 1011 is a table that manages the I picture display time (64-bit PTS) and the I picture file position in association with each other. An I picture indicates an intra-coded picture. In the I picture table 1011, the display time of the I picture (64-bit PTS) is monotonically increased with the display time (64-bit PTS) of the I picture at the beginning of the file as the minimum value. ) And the file position of the I picture are preferably managed in association with each other.
MPEGファイル1012は、MPEG規格の多重化符号を格納したファイルである。
The
不連続なPTSを示すファイル1013は、不連続なタイムスタンプ(33ビットPTS)の情報を格納するファイルであり、先頭の33ビットPTS、不連続直前の33ビットPTS、不連続直後の33ビットPTS、リセット前の33ビットPTS、リセット後の33ビットPTSなどの情報を格納する。不連続直前の33ビットPTS及び不連続直後の33ビットPTSは、タイムスタンプ(33ビットPTS)が不連続であることを検出した際に、一対の情報として不連続なPTSを示すファイル1013に格納する。このため、タイムスタンプ(33ビットPTS)が不連続であることを検出する毎に、不連続直前の33ビットPTS及び不連続直後の33ビットPTSの一対の情報を不連続なPTSを示すファイル1013に順に格納していくことになる。なお、上述した不連続なPTSを示すファイル1013の作成方法は特に限定せず、上述した各種情報を不連続なPTSを示すファイル1013に格納することが可能であれば、あらゆる作成方法が適用可能である。例えば、画像データの録画時に、上述した各種情報を不連続なPTSを示すファイル1013に格納することも可能である。
A
放送番組を録画する際は、多重化符号を解析し、番組の本編の間に存在するコマーシャル区間を検出している。このため、コマーシャル区間の検出処理を行う際に、タイムスタンプ(33ビットPTS)の値が不連続になる箇所も検出し、タイムスタンプ(33ビットPTS)の値が不連続になった箇所の直前のタイムスタンプ(33ビットPTS)の値(不連続直前の33ビットPTS)と、直後のタイムスタンプ(33ビットPTS)の値(不連続直後の33ビットPTS)と、の情報を取得し、その取得した情報(不連続直前の33ビットPTS、不連続直後の33ビットPTSの一対の情報)を不連続なPTSを示すファイル1013に格納するように構築することも可能である。これにより、不連続なタイムスタンプ(33ビットPTS)の範囲を不連続なPTSを示すファイル1013に格納して管理することができる。なお、タイムスタンプ(33ビットPTS)の値が不連続になる箇所を検出する際の方法は、特に限定せず、任意の方法が適用可能である。例えば、タイムスタンプ(33ビットPTS)の値が所定期間(例えば、2秒程度)不連続になった場合に、不連続になった箇所として検出するように構築することも可能である。
When recording a broadcast program, the multiplexed code is analyzed to detect a commercial section existing between the main parts of the program. For this reason, when performing the commercial section detection process, it also detects the location where the time stamp (33-bit PTS) value is discontinuous and immediately before the location where the time stamp (33-bit PTS) value becomes discontinuous Time stamp (33-bit PTS) value (33-bit PTS immediately before discontinuity) and immediately following time-stamp (33-bit PTS) value (33-bit PTS immediately after discontinuity) The acquired information (a pair of information of the 33-bit PTS immediately before the discontinuity and the 33-bit PTS immediately after the discontinuity) may be stored in the
プッシュソース102は、動画ファイルを読み込む機能を行うソースフィルタである。プッシュソース102は、MPEGファイル1012から多重化符号を読み取り、その読み取った多重化符号をDemux103に送信する。プッシュソース102は、MPEGファイル1012から多重化符号を読み取り、その読み取った多重化符号をDemux103に送信する際に使用したIピクチャの表示時刻(64ビットPTS)と、Iピクチャのファイル位置と、をIピクチャテーブルのインデックス1021として管理する。
The
Demux103は、動画ファイルをVideo符号、Audio符号に区分けする機能を行うスプリッタフィルタである。Demux103は、バッファを含んで構成し、プッシュソース102から受け付けた多重化符号をバッファに保存する。また、バッファに保存した多重化符号を解析し、1ピクチャ分の33ビットPTSを取得する。また、多重化符号をVideo符号とAudio符号とに分離する。Demux103は、Video符号とAudio符号、及び33ビットPTSをDecode104に出力する。
Decode104は、動画ファイルを出力データに変換する機能を行う変換フィルタである。Decode104は、バッファを含んで構成し、Demux103から受け付けたVideo符号とAudio符号、及び33ビットPTSをバッファに保存する。また、バッファに保存したVideo符号と、Audio符号と、を復号し、その復号したデータをRender105,106に出力する。Decode104は、Video符号を復号した画像データをVideo Render105に出力し、Audio符号を復号した音声データをAudio Render106に出力する。また、Decode104は、Video符号を復号した画像データ(サムネイル画像)と、33ビットPTSと、を対応付けてテーブル1041で管理する。
Decode 104 is a conversion filter that performs a function of converting a moving image file into output data. The Decode 104 includes a buffer, and stores the Video code and Audio code received from the
Video Render105は、画像データをディスプレイ107に出力する機能を行うレンダリングフィルタである。Video Render105は、画像データをディスプレイ107に出力し、ディスプレイ107上に画像データを表示する。
Video Render 105 is a rendering filter that performs a function of outputting image data to the
Audio Render106は、音声データをスピーカ108に出力する機能を行うレンダリングフィルタである。Audio Render106は、音声データをスピーカ108に出力し、スピーカ108から音声データを出力する。
The Audio Render 106 is a rendering filter that performs a function of outputting audio data to the
<再生装置100の処理動作例>
次に、図2を参照しながら、本実施形態の再生装置100の処理動作例について説明する。
<Example of processing operation of
Next, an example of the processing operation of the
本実施形態の再生装置100は、再生開始時刻の指示を受け付けた場合に、プッシュソース102は、Iピクチャテーブル1011を参照し、再生開始時刻に相当するIピクチャの表示時刻(64ビットPTS)を特定し、その特定したIピクチャ表示時刻(64ビットPTS)に対応するIピクチャのファイル位置を特定する。そして、その特定したIピクチャのファイル位置を基に、MPEGファイル1012から多重化符号を読み出し、その読み出した多重化符号をDemux103に送信する。この時、プッシュソース102は、MPEGファイル1012から多重化符号を読み取り、その読み取った多重化符号をDemux103に送信する際に使用したIピクチャの表示時刻(64ビットPTS)と、Iピクチャのファイル位置と、をIピクチャテーブルのインデックス1021として管理する。このため、Iピクチャテーブルのインデックス1021は、プッシュソース102が多重化符号をDemux103に送信する際に使用したIピクチャの表示時刻(64ビットPTS)と、Iピクチャのファイル位置と、を順に管理することになる。
When the
Demux103は、プッシュソース102から受け付けた多重化符号を解析し、33ビットPTSを取得する。また、多重化符号をVideo符号、Audio符号に分離する。そして、Demux103は、Video符号とAudio符号、及び33ビットPTSをDecode104に送信する。
The
Decode104は、Demux103から受け付けたVideo符号を復号し、復号した画像データ(サムネイル画像)と、33ビットPTSと、を対応付けてテーブル1041に記憶する。また、Decode104は、復号した画像データ、音声データをRender105,106に出力し、Render105,106は、画像データ、音声データをディスプレイ107、スピーカ108から出力する。
The Decode 104 decodes the Video code received from the
本実施形態の再生装置100は、MPEGファイル1012から読み出した多重化符号を解析すると、タイムスタンプ(33ビットPTS)を取得することができる。再生装置100は、このタイムスタンプ(33ビットPTS)と、サムネイル画像と、を対応付けてテーブル1041に記憶し、MPEGファイル1012から読み出した多重化符号の編集操作を行う。
The
MPEG規格では、MPEGファイル1012から読み出した多重化符号が約26.5時間以下ならば、MPEGファイル1012の多重化符号を解析して得られるタイムスタンプ(33ビットPTS)から正しい時刻情報を取得することができる。しかし、約26.5時間を越えると、タイムスタンプ(33ビットPTS)の値が桁あふれするため、図1に示すように、タイムスタンプ(33ビットPTS)の値が約26.5時間を越えたタイミングでリセットし、リセット後のタイムスタンプ(33ビットPTS)の値を0に戻している。この場合は、編集操作時にIピクチャテーブル1011を参照すれば、タイムスタンプ(33ビットPTS)に対応するピクチャの位置を特定することができる。
In the MPEG standard, if the multiplexed code read from the
また、タイムスタンプ(33ビットPTS)の値が単調増加せず、不連続になり、図1に示すように、タイムスタンプ(33ビットPTS)の値が33ビットの上限値を越える前に、タイムスタンプ(33ビットPTS)の値をリセットする場合がある。この場合は、リセット後のタイムスタンプ(33ビットPTS)の値が0にならない。このため、タイムスタンプ(33ビットPTS)の値が33ビットの上限値を越える前に、タイムスタンプ(33ビットPTS)の値をリセットした場合は、Iピクチャテーブル1011を参照してもタイムスタンプ(33ビットPTS)に対応するピクチャの位置を特定することが困難になる。 In addition, the time stamp (33-bit PTS) value does not increase monotonously and becomes discontinuous, as shown in FIG. 1, before the time stamp (33-bit PTS) value exceeds the upper limit of 33 bits. The stamp (33-bit PTS) value may be reset. In this case, the value of the time stamp after reset (33-bit PTS) does not become zero. Therefore, if the time stamp (33-bit PTS) value is reset before the time stamp (33-bit PTS) value exceeds the upper limit of 33 bits, the time stamp ( It becomes difficult to specify the position of a picture corresponding to (33-bit PTS).
このため、本実施形態の再生装置100は、タイムスタンプ(33ビットPTS)の値が不連続になった範囲(不連続直前の33ビットPTS、不連続直後の33ビットPTS)を不連続なPTSを示すファイル1013で管理し、編集操作時に、Iピクチャテーブル1011、Iピクチャテーブルのインデックス1021、MPEGファイル1012、不連続なPTSを示すファイル1013を参照し、タイムスタンプ(33ビットPTS)に対応するピクチャの位置を特定することにしている。これにより、タイムスタンプ(33ビットPTS)の値が33ビットの上限値を越える前に、タイムスタンプ(33ビットPTS)の値をリセットした場合でも、タイムスタンプ(33ビットPTS)に対応するピクチャの位置を特定することができる。以下、編集操作時の処理動作例について説明する。
For this reason, the
<編集操作時の構成例>
次に、図3を参照しながら、編集操作時の構成例について説明する。
<Configuration example during editing operation>
Next, a configuration example during an editing operation will be described with reference to FIG.
本実施形態の再生装置100は、図3に示す編集部200を有して構成する。編集部200は、編集操作を行うものであり、Audio符号検索部201と、Audio符号抜取部202と、Video符号検索部203と、Video符号抜取部204と、Video符号再圧縮部205と、再多重化部206と、を含んで構成する。編集操作としては、カット編集や、カット編集のプレビュー等が挙げられる。
The
Audio符号検索部201は、編集対象の指定ピクチャを受け付けた場合に、Iピクチャテーブル1011、Iピクチャテーブルのインデックス1021、MPEGファイル1012、不連続なPTSを示すファイル1013を参照し、指定ピクチャとほぼ同じ時刻のAudio符号のファイル位置を検索する。指定ピクチャとほぼ同じ時刻のAudio符号とVideo符号とはほぼ同じファイル位置にあるので、指定ピクチャとほぼ同じ時刻のAudio符号は、指定ピクチャのVideo符号のファイル位置の前後から検索する。
When the audio
Audio符号抜取部202は、Audio符号検索部201の検索結果(編集対象の指定ピクチャとほぼ同じ時刻のAudio符号のファイル位置)を基に、多重化符号からAudio符号を抜き取る。
The audio
Video符号検索部203は、編集対象の指定ピクチャを受け付けた場合に、Iピクチャテーブル1011、Iピクチャテーブルのインデックス1021、MPEGファイル1012、不連続なPTSを示すファイル1013を参照し、指定ピクチャのVideo符号のファイル位置を検索する。
When receiving a designated picture to be edited, the video
Video符号抜取部204は、Video符号検索部203の検索結果(編集対象の指定ピクチャのVideo符号のファイル位置)を基に、多重化符号からVideo符号を抜き取る。
The video
Video符号再圧縮部205は、Video符号抜取部204で抜き取ったVideo符号を再圧縮する。
The video
再多重化部206は、Audio符号とVideo符号とを再多重化する。
The
<編集部200の処理動作例>
次に、図3を参照しながら、編集部200の処理動作例について説明する。
<Example of processing operation of
Next, an example of processing operation of the
Audio符号検索部201は、編集対象の指定ピクチャを受け付けた場合に、Iピクチャテーブル1011、Iピクチャテーブルのインデックス1021、MPEGファイル1012、不連続なPTSを示すファイル1013を参照し、指定ピクチャとほぼ同じ時刻のAudio符号のファイル位置を検索する。そして、その検索結果(編集対象の指定ピクチャとほぼ同じ時刻のAudio符号のファイル位置)をAudio符号抜取部202に通知する(ステップS10)。
When the audio
Audio符号抜取部202は、Audio符号検索部201から受け付けた検索結果(編集対象の指定ピクチャとほぼ同じ時刻のAudio符号のファイル位置)を基に、多重化符号に含まれるAudio符号を抜き取り、その抜き取ったAudio符号を再多重化部206に渡す(ステップS11)。
The audio
Video符号検索部203は、編集対象の指定ピクチャを受け付けた場合に、Iピクチャテーブル1011、Iピクチャテーブルのインデックス1021、MPEGファイル1012、不連続なPTSを示すファイル1013を参照し、指定ピクチャのVideo符号のファイル位置を検索する。そして、その検索結果(編集対象の指定ピクチャのVideo符号のファイル位置)をVideo符号抜取部204に通知する(ステップS12)。
When receiving a designated picture to be edited, the video
Video符号抜取部204は、Video符号検索部203から受け付けた検索結果(編集対象の指定ピクチャのファイル位置)を基に、多重化符号に含まれるVideo符号を抜き取る(ステップS13)。
The video
Video符号再圧縮部205は、Video符号抜取部204で抜き取ったVideo符号を再圧縮し、その再圧縮を行ったVideo符号を再多重化部206に渡す(ステップS14)。
The video
再多重化部206は、Audio符号抜取部202から渡されたAudio符号と、Video符号再圧縮部205から渡されたVideo符号と、を再多重化する(ステップS15)。これにより、編集部200は、編集対象の指定ピクチャを受け付けた場合に、その指定ピクチャの編集操作を行うことができる。
The
<Video符号検索部203での処理動作例>
次に、図4を参照しながら、Video符号検索部203での処理動作例について説明する。Video符号検索部203は、編集操作時に、Iピクチャテーブル1011、Iピクチャテーブルのインデックス1021、MPEGファイル1012、不連続なPTSを示すファイル1013を参照し、編集対象の指定ピクチャのVideo符号のファイル位置を検索する。
<Example of processing operation in video
Next, an example of processing operation in the video
Video符号検索部203は、編集対象の指定ピクチャを受け付けた場合に(ステップA1/Yes)、Iピクチャテーブルのインデックス1021を参照し、編集対象の指定ピクチャの33ビットPTSに近いIピクチャの表示時刻(64ビットPTS)を取得する(ステップA2)。図2に示すプッシュソース102がMPEGファイル1012から多重化符号を読み出し、その読み出した多重化符号をDemux103に送信し、Decode104でデコードするまでには所定の時間がかかり、遅延が発生する。このため、図2に示すプッシュソース102がDemux103に送信した多重化符号の33ビットPTSと、Decode104のテーブル1041に格納されている33ビットPTSと、には誤差があり、Iピクチャテーブルのインデックス1021で管理しているIピクチャの表示時刻(64ビットPTS)に対応するファイル位置は、Decode104のテーブル1041に格納されている33ビットPTSに対応するファイル位置にならない。このため、Video符号検索部203は、Iピクチャテーブルのインデックス1021を参照し、編集対象の指定ピクチャの33ビットPTSに近いIピクチャの表示時刻(64ビットPTS)を取得することにしている。この取得したIピクチャの表示時刻(64ビットPTS)が編集対象の指定ピクチャに近いIピクチャの表示時刻になる。
When receiving the designated picture to be edited (Step A1 / Yes), the video
次に、Video符号検索部203は、不連続なPTSを示すファイル1013を参照し、ステップA2で取得した64ビットPTSが含まれる検索範囲を決定する(ステップA3)。
Next, the video
次に、Video符号検索部203は、ステップA3で決定した検索範囲に、編集対象の指定ピクチャの33ビットPTSが含まれているか否かを判定し(ステップA4)、検索範囲に編集対象の指定ピクチャの33ビットPTSが含まれている場合は(ステップA4/Yes)、編集対象の指定ピクチャの33ビットPTSを検索範囲の補正値で補正し、編集対象の指定ピクチャの33ビットPTSを64ビットPTSに変換する(ステップA6)。
Next, the video
また、検索範囲に編集対象の指定ピクチャの33ビットPTSが含まれていない場合は(ステップA4/No)、検索範囲を変更し(ステップA5)、編集対象の指定ピクチャの33ビットが含まれている検索範囲を特定し(ステップA4/Yes)、編集対象の指定ピクチャの33ビットPTSを検索範囲の補正値で補正し、編集対象の指定ピクチャの33ビットPTSを64ビットPTSに変換する(ステップA6)。 If the search range does not include the 33-bit PTS of the specified picture to be edited (step A4 / No), the search range is changed (step A5) and the 33 bits of the specified picture to be edited are included. The search range is specified (step A4 / Yes), the 33-bit PTS of the specified picture to be edited is corrected with the correction value of the search range, and the 33-bit PTS of the specified picture to be edited is converted to a 64-bit PTS (step) A6).
例えば、ステップA3において、64ビットPTSが含まれる検索範囲として図5に示すAの検索範囲を決定したとする。この場合は、図5に示すAの検索範囲に編集対象の指定ピクチャの33ビットPTSが含まれている場合は、Aの検索範囲の補正値で編集対象の指定ピクチャの33ビットPTSを補正する。また、Aの検索範囲に編集対象の指定ピクチャの33ビットPTSが含まれていない場合は、Aの検索範囲の前後の検索範囲に変更し(図5では、Bの検索範囲にしている)、その変更したBの検索範囲に編集対象の指定ピクチャの33ビットPTSが含まれている場合は、Bの検索範囲の補正値で編集対象の指定ピクチャの33ビットPTSを補正する。なお、図5においてA,Bの検索範囲の33ビットPTSは単調増加し、A,Bの検索範囲で同じ33ビットPTSは無いものとする。 For example, assume that the search range A shown in FIG. 5 is determined as a search range including 64-bit PTS in step A3. In this case, when the 33-bit PTS of the designated picture to be edited is included in the search range of A shown in FIG. 5, the 33-bit PTS of the designated picture to be edited is corrected with the correction value of the search range of A. . If the 33-bit PTS of the designated picture to be edited is not included in the A search range, the search range is changed to a search range before and after the A search range (in FIG. 5, the search range is set to B). If the changed B search range includes the 33-bit PTS of the designated picture to be edited, the 33-bit PTS of the designated picture to be edited is corrected with the correction value of the B search range. In FIG. 5, it is assumed that the 33-bit PTS in the search range of A and B monotonously increases and there is no same 33-bit PTS in the search range of A and B.
図5に示すA、Bの検索範囲の補正値は、以下の式で求めることができる。
Modify Pts=Modify Pts+(Aft Pts−(Pre Pts +One Frame PTS+AVDiff PTS))
但し、Modify Pts:補正値(初期値は先頭の33ビットPTS)
Pre Pts:不連続直前の33ビットPTS
Aft Pts:不連続直後の33ビットPTS
One Frame PTS:1フレーム分のPTS
AVDiff PTS:不連続直前から不連続直後までのAudio符号のみの再生時間(通常は0)
通常は、不連続前後でタイムスタンプ(33ビットPTS)の値が単調増加するように編集対象の指定ピクチャの33ビットPTSを補正する。しかし、不連続直前から不連続直後までの検索範囲にAudio符号のみがある場合は、そのAudio符号の再生時間分だけタイムスタンプを飛ばすことになる。
The correction values for the search ranges A and B shown in FIG. 5 can be obtained by the following equations.
Modify Pts = Modify Pts + (Aft Pts-(Pre Pts + One Frame PTS + AVDiff PTS))
Modify Pts: correction value (initial value is the first 33-bit PTS)
Pre Pts: 33-bit PTS immediately before discontinuity
Aft Pts: 33-bit PTS immediately after discontinuity
One Frame PTS: 1 frame PTS
AVDiff PTS: Playback time of audio code only from immediately before discontinuity to immediately after discontinuity (usually 0)
Normally, the 33-bit PTS of the designated picture to be edited is corrected so that the value of the time stamp (33-bit PTS) monotonously increases before and after the discontinuity. However, when there is only an audio code in the search range from immediately before discontinuity to immediately after discontinuity, the time stamp is skipped by the playback time of the audio code.
また、上記式で求めた検索範囲の補正値(Modify Pts)を以下の式に代入し、編集対象の指定ピクチャの33ビットPTS(33Pts)を64ビットPTSに変換した値(64Pts)を求めることができる。
64Pts=33Pts−Modify Pts
Also, the search range correction value (Modify Pts) obtained by the above formula is substituted into the following formula to obtain the value (64Pts) obtained by converting the 33-bit PTS (33Pts) of the specified picture to be edited into a 64-bit PTS. Can do.
64Pts = 33Pts−Modify Pts
これにより、Video符号検索部203は、編集対象の指定ピクチャの64ビットPTSを得ることができる。
Thereby, the video
なお、図5の例では、Aの検索範囲に編集対象の指定ピクチャの33ビットPTSが含まれていない場合は、Aの検索範囲よりも後に位置するBの検索範囲に変更することにした。しかし、Aの検索範囲のよりも前に位置する検索範囲に変更することも可能である。また、Aの検索範囲の前後の検索範囲にも編集対象の指定ピクチャの33ビットPTSが含まれていない場合は、更に、検索範囲を前後に拡張し、編集対象の指定ピクチャの33ビットPTSが含まれている検索範囲を特定することになる。 In the example of FIG. 5, when the 33-bit PTS of the designated picture to be edited is not included in the A search range, the search range is changed to the B search range positioned after the A search range. However, it is also possible to change to a search range located before the search range of A. Also, if the search range before and after the search range of A does not include the 33-bit PTS of the designated picture to be edited, the search range is further extended back and forth so that the 33-bit PTS of the designated picture to be edited The included search range will be specified.
次に、Video符号検索部203は、Iピクチャテーブル1011を参照し、編集対象の指定ピクチャの64ビットPTSに近いIピクチャの表示時刻(64ビットPTS)を特定し、その特定したIピクチャの表示時刻(64ビットPTS)に対応するIピクチャのファイル位置を特定する(ステップA7)。
Next, the video
次に、Video符号検索部203は、MPEGファイル1012を参照し、Iピクチャのファイル位置から多重化符号の読み取りを開始し、その読み取った多重化符号を順次解析し、編集対象の指定ピクチャの33ビットPTSと一致するファイル位置を特定する(ステップA8)。
Next, the video
次に、Video符号検索部203は、編集対象の指定ピクチャの33ビットPTSと一致するファイル位置を検索結果としてVideo符号抜取部204に通知する(ステップA9)。
Next, the video
これにより、Video符号抜取部204は、Video符号検索部203から受け付けた検索結果(編集対象の指定ピクチャのVideo符号のファイル位置)を基に、多重化符号に含まれるVideo符号を抜き取り、編集対象の指定ピクチャのファイル位置から編集操作(カット編集等)を行うことができる。
As a result, the video
なお、上記処理動作は、Video符号検索部203での処理動作例を説明した。しかし、編集対象の指定ピクチャのAudio符号は、編集対象の指定ピクチャのVideo符号とほぼ同じファイル位置にあるため、Audio符号検索部201でもVideo符号検索部203と同様な処理動作を行い、編集対象の指定ピクチャのVideo符号のファイル位置の前後から編集対象の指定ピクチャとほぼ同じ時刻のAudio符号のファイル位置を検索し、編集対象の指定ピクチャとほぼ同じ時刻のAudio符号のファイル位置を検索結果としてAudio符号抜取部202に通知する。これにより、Audio符号抜取部202は、Audio符号検索部201から受け付けた検索結果(編集対象の指定ピクチャとほぼ同じ時刻のAudio符号のファイル位置)を基に、多重化符号に含まれるAudio符号を抜き取り、編集対象の指定ピクチャのファイル位置から編集操作(カット編集等)を行うことができる。
The above processing operation has been described with respect to the processing operation example in the video
<本実施形態の再生装置100の作用・効果>
このように、本実施形態の再生装置100の編集部200は、ピクチャの編集操作を受け付けた場合に(ステップA1/Yes)、Iピクチャテーブルのインデックス1012を参照し、編集操作時に受け付けたピクチャの時刻情報に近いIピクチャの時刻情報を取得する(ステップA2)。そして、Video符号検索部203は、不連続なPTSを示すファイル1013を参照し、上記取得したIピクチャの時刻情報に近い検索範囲を決定し(ステップA3)、編集操作時に受け付けたピクチャの時刻情報が含まれる検索範囲を特定する(ステップA4/Yes)。そして、上記特定した検索範囲の補正値で、編集操作時に受け付けたピクチャの時刻情報を補正する(ステップA6)。そして、補正後のピクチャの時刻情報を基に、Iピクチャテーブル1011を参照し、補正後のピクチャの時刻情報に近いIピクチャの時刻情報を特定し、その特定したIピクチャの時刻情報に対応するIピクチャのファイル位置を特定する。そして、MPEGファイル1012を参照し、上記特定したIピクチャのファイル位置から符号の読み取りを開始し、該読み取った符号を解析し、編集操作時に受け付けたピクチャの時刻情報と一致する符号を特定し、その特定した符号を基に、MPEGファイル1012に格納された符号の編集操作を行う。これにより、編集部200は、Video符号の編集操作を行うことができる。なお、編集部200は、GOP単位の編集操作だけではなく、フレーム単位の編集操作も行うことができる。
<Operation / Effect of
As described above, when the
なお、上述する実施形態は、本発明の好適な実施形態であり、上記実施形態のみに本発明の範囲を限定するものではなく、本発明の要旨を逸脱しない範囲において種々の変更を施した形態での実施が可能である。 The above-described embodiment is a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiment alone, and various modifications are made without departing from the gist of the present invention. Implementation is possible.
例えば、上述した本実施形態の再生装置100は、図2に示すように、プッシュソース102と、Demux103と、を有し、MPEGファイル1012から多重化符号を読み出す機能(プッシュソース102での機能)と、その多重化符号を分離する機能(Demux103)と、を区分して構成した。しかし、プッシュソース102の機能と、Demux103の機能と、を1つの機能として統合するように構築することも可能である。
For example, the
また、上述する実施形態では、編集対象の指定ピクチャを受け付けた場合に、Iピクチャテーブル1011と、MPEGファイル1012と、不連続なPTSを示すファイル1013と、を参照し、編集対象の指定ピクチャの33ビットPTSと一致する多重化符号を検索することにした。しかし、本実施形態は、カット編集や、カット編集のプレビュー等の編集操作に限定せず、Iピクチャテーブル1011を参照するシーク再生操作などにも適用することが可能である。このため、本実施形態は、Iピクチャテーブル1011を参照する操作であれば、編集対象の指定ピクチャと見なして上述した一連の処理動作を行うように構築することが可能である。
In the above-described embodiment, when a designated picture to be edited is received, the I picture table 1011, the
また、上述する実施形態では、Iピクチャの情報をIピクチャテーブル1011で管理することにした。しかし、Iピクチャの情報だけでなく、Pピクチャ、Bピクチャなどの各ピクチャの情報をピクチャテーブル1011で管理するように構築することも可能である。これにより、各ピクチャの時刻情報を算出しなくとも、各ピクチャの時刻情報を把握することが可能となる。Pピクチャは、Predictive-coded picture(順方向予測符号化画像)のことを示す。また、Bピクチャは、Bi-directionally predictive-coded picture(双方向予測符号化画像)のことを示す。 In the embodiment described above, I picture information is managed by the I picture table 1011. However, it is also possible to construct the picture table 1011 to manage not only the information of the I picture but also the information of each picture such as the P picture and the B picture. This makes it possible to grasp the time information of each picture without calculating the time information of each picture. P picture indicates a Predictive-coded picture. A B picture indicates a bi-directionally predictive-coded picture.
また、上述した本実施形態における再生装置100を構成する各装置における制御動作は、ハードウェア、または、ソフトウェア、あるいは、両者の複合構成を用いて実行することも可能である。
Further, the control operation in each device constituting the
なお、ソフトウェアを用いて処理を実行する場合には、処理シーケンスを記録したプログラムを、専用のハードウェアに組み込まれているコンピュータ内のメモリにインストールして実行させることが可能である。あるいは、各種処理が実行可能な汎用コンピュータにプログラムをインストールして実行させることが可能である。 In the case of executing processing using software, it is possible to install and execute a program in which a processing sequence is recorded in a memory in a computer incorporated in dedicated hardware. Alternatively, the program can be installed and executed on a general-purpose computer capable of executing various processes.
例えば、プログラムは、記録媒体としてのハードディスクやROM(Read Only Memory)に予め記録しておくことが可能である。あるいは、プログラムは、リムーバブル記録媒体に、一時的、あるいは、永続的に格納(記録)しておくことが可能である。このようなリムーバブル記録媒体は、いわゆるパッケージソフトウエアとして提供することが可能である。なお、リムーバブル記録媒体としては、フロッピー(登録商標)ディスク、CD-ROM(Compact Disc Read Only Memory)、MO(Magneto optical)ディスク、DVD(Digital Versatile Disc)、磁気ディスク、半導体メモリなどが挙げられる。 For example, the program can be recorded in advance on a hard disk or ROM (Read Only Memory) as a recording medium. Alternatively, the program can be stored (recorded) temporarily or permanently in a removable recording medium. Such a removable recording medium can be provided as so-called package software. Examples of the removable recording medium include a floppy (registered trademark) disk, a CD-ROM (Compact Disc Read Only Memory), an MO (Magneto optical) disk, a DVD (Digital Versatile Disc), a magnetic disk, and a semiconductor memory.
なお、プログラムは、上述したようなリムーバブル記録媒体からコンピュータにインストールすることになる。また、ダウンロードサイトから、コンピュータに無線転送することになる。また、ネットワークを介して、コンピュータに有線で転送することになる。 The program is installed in the computer from the removable recording medium as described above. In addition, it is wirelessly transferred from the download site to the computer. In addition, it is transferred to the computer via a network by wire.
また、本実施形態における再生装置100は、上記実施形態で説明した処理動作に従って時系列的に実行されるのみならず、処理を実行する装置の処理能力、あるいは、必要に応じて並列的にあるいは個別に実行するように構築することも可能である。
Further, the
本発明は、MPEG規格の符号を再生する技術に適用可能である。 The present invention is applicable to a technique for reproducing an MPEG standard code.
101 メモリ
1011 Iピクチャテーブル(第1の管理手段)
1012 MPEGファイル(格納手段)
1013 不連続なPTSを示すファイル(第2の管理手段)
102 プッシュソース(読出手段)
1021 Iピクチャテーブルのインデックス(第3の管理手段)
103 Demux
104 Decode
1041 テーブル
105 Video Render
106 Audio Render
107 ディスプレイ
108 スピーカ
200 編集部(編集手段)
201 Audio符号検索部
202 Audio符号抜取部
203 Video符号検索部
204 Video符号抜取部
205 Video符号再圧縮部
206 再多重化部
101 memory 1011 I picture table (first management means)
1012 MPEG file (storage means)
1013 File showing discontinuous PTS (second management means)
102 Push source (reading means)
1021 I picture table index (third management means)
103 Demux
104 Decode
1041 Table 105 Video Render
106 Audio Render
107
201 Audio
Claims (5)
前記符号の時刻情報と位置情報とを対応付けて管理する第1の管理手段と、
前記符号の時刻情報が不連続になった不連続時刻情報の範囲を管理する第2の管理手段と、
前記第1の管理手段及び前記第2の管理手段を参照し、前記格納手段に格納された前記符号の編集操作を行う編集手段と、を有し、
前記編集手段は、
編集操作を受け付けた場合に、前記第2の管理手段を参照し、編集操作時に受け付けたピクチャの時刻情報が含まれる不連続時刻情報の範囲を特定し、該特定した不連続時刻情報の範囲に応じた補正値で、前記ピクチャの時刻情報を補正する補正手段と、
前記第1の管理手段を参照し、補正後のピクチャの時刻情報を含む時刻情報を特定し、該特定した時刻情報と対応付けられた位置情報を特定する位置情報特定手段と、
前記特定した位置情報を基に、前記格納手段に格納された前記符号の編集操作を行う編集操作手段と、
を有することを特徴とする再生装置。 Storage means for storing MPEG (Moving Picture Expert Group) standard codes;
First management means for managing time information and position information of the code in association with each other;
Second management means for managing a range of discontinuous time information in which the time information of the code is discontinuous;
Editing means for editing the code stored in the storage means with reference to the first management means and the second management means,
The editing means includes
When an editing operation is received, the second management unit is referred to, and a range of discontinuous time information including the time information of the picture received at the time of the editing operation is specified. Correction means for correcting the time information of the picture with a corresponding correction value;
Referring to the first management means, specifying time information including time information of the corrected picture, and position information specifying means for specifying position information associated with the specified time information;
Editing operation means for performing an editing operation of the code stored in the storage means based on the specified position information;
A playback apparatus comprising:
前記読出手段が前記符号を読み出す際に使用した前記符号の時刻情報と前記位置情報とをインデックスとして管理する第3の管理手段と、を有し、
前記補正手段は、
編集操作を受け付けた場合に、前記第3の管理手段を参照し、編集操作時に受け付けたピクチャの時刻情報に近いIピクチャの時刻情報を特定する第1の特定手段と、
前記第2の管理手段を参照し、前記第1の特定手段で特定したIピクチャの時刻情報に近い不連続時刻情報の範囲を特定する第2の特定手段と、
前記第2の特定手段で特定した不連続時刻情報の範囲から順に、編集操作時に受け付けたピクチャの時刻情報が含まれる不連続時刻情報の範囲を特定する第3の特定手段と、
を有することを特徴とする請求項1記載の再生装置。 Reading means for reading out the code stored in the storage means based on the time information and the position information of the code managed by the first management means;
And third management means for managing the time information and the position information of the code used when the reading means reads the code as an index,
The correction means includes
A first specifying unit that, when an editing operation is received, refers to the third management unit and specifies time information of an I picture that is close to the time information of the picture received during the editing operation;
Referring to the second management means, second specifying means for specifying a range of discontinuous time information close to the time information of the I picture specified by the first specifying means;
Third specification means for specifying a range of discontinuous time information including time information of a picture received at the time of editing operation in order from the range of discontinuous time information specified by the second specification means;
The playback apparatus according to claim 1, further comprising:
前記第2の特定手段で特定した不連続時刻情報の範囲に、編集操作時に受け付けたピクチャの時刻情報が含まれていない場合は、不連続時刻情報の範囲を変更し、編集操作時に受け付けたピクチャの時刻情報が含まれる不連続時刻情報の範囲を特定することを特徴とする請求項2記載の再生装置。 The third specifying means includes:
If the time information of the picture accepted at the time of editing operation is not included in the range of the discontinuous time information specified by the second specifying means, the range of the discontinuous time information is changed and the picture accepted at the time of editing operation 3. The reproducing apparatus according to claim 2, wherein a range of discontinuous time information including the time information is specified.
編集操作を受け付けた場合に、前記第2の管理手段を参照し、編集操作時に受け付けたピクチャの時刻情報が含まれる不連続時刻情報の範囲を特定し、該特定した不連続時刻情報の範囲に応じた補正値で、前記ピクチャの時刻情報を補正する補正工程と、
前記第1の管理手段を参照し、補正後のピクチャの時刻情報を含む時刻情報を特定し、該特定した時刻情報と対応付けられた位置情報を特定する位置情報特定工程と、
前記特定した位置情報を基に、前記格納手段に格納された前記符号の編集操作を行う編集操作工程と、
を有することを特徴とする制御方法。 Storage means for storing MPEG (Moving Picture Expert Group) standard code, first management means for managing time information and position information of the code in association with each other, and time information of the code are discontinuous A second management means for managing the range of the discontinuous time information, and a control method for a playback device comprising:
When an editing operation is received, the second management unit is referred to, and a range of discontinuous time information including the time information of the picture received at the time of the editing operation is specified. A correction step of correcting the time information of the picture with a corresponding correction value;
A position information specifying step of referring to the first management means, specifying time information including time information of the corrected picture, and specifying position information associated with the specified time information;
An editing operation step of performing an editing operation of the code stored in the storage unit based on the specified position information;
A control method characterized by comprising:
編集操作を受け付けた場合に、前記第2の管理手段を参照し、編集操作時に受け付けたピクチャの時刻情報が含まれる不連続時刻情報の範囲を特定し、該特定した不連続時刻情報の範囲に応じた補正値で、前記ピクチャの時刻情報を補正する補正処理と、
前記第1の管理手段を参照し、補正後のピクチャの時刻情報を含む時刻情報を特定し、該特定した時刻情報と対応付けられた位置情報を特定する位置情報特定処理と、
前記特定した位置情報を基に、前記格納手段に格納された前記符号の編集操作を行う編集操作処理と、を前記コンピュータに実行させることを特徴とするプログラム。 Storage means for storing MPEG (Moving Picture Expert Group) standard code, first management means for managing time information and position information of the code in association with each other, and time information of the code are discontinuous A second management means for managing the range of discontinuous time information;
When an editing operation is received, the second management unit is referred to, and a range of discontinuous time information including the time information of the picture received at the time of the editing operation is specified. Correction processing for correcting the time information of the picture with a correction value according to,
A position information specifying process that refers to the first management means, specifies time information including time information of the corrected picture, and specifies position information associated with the specified time information;
A program for causing the computer to execute an editing operation process for performing an editing operation of the code stored in the storage unit based on the specified position information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010186512A JP5683871B2 (en) | 2010-08-23 | 2010-08-23 | Playback apparatus, control method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010186512A JP5683871B2 (en) | 2010-08-23 | 2010-08-23 | Playback apparatus, control method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2012044616A JP2012044616A (en) | 2012-03-01 |
JP5683871B2 true JP5683871B2 (en) | 2015-03-11 |
Family
ID=45900367
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010186512A Active JP5683871B2 (en) | 2010-08-23 | 2010-08-23 | Playback apparatus, control method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5683871B2 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004208293A (en) * | 2002-12-11 | 2004-07-22 | Matsushita Electric Ind Co Ltd | Recording device, computer-readable program, and system lsi |
JP4382012B2 (en) * | 2005-07-08 | 2009-12-09 | シャープ株式会社 | DATA RECORDING DEVICE AND ITS CONTROL METHOD, DATA RECORDING DEVICE CONTROL PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM |
JP4661469B2 (en) * | 2005-09-08 | 2011-03-30 | ソニー株式会社 | Broadcast receiving and recording device |
JP2008257767A (en) * | 2007-04-02 | 2008-10-23 | Funai Electric Co Ltd | Information reproducing device |
-
2010
- 2010-08-23 JP JP2010186512A patent/JP5683871B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2012044616A (en) | 2012-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4737572B2 (en) | Data recording medium | |
KR100695657B1 (en) | Recording Apparatus, Recording Method, Playback Apparatus, Playback Method and Recording Media | |
RU2337415C2 (en) | Information recording carrier containing text subtitle data synchronised with audio/video data, and method for carrier playback | |
JP2009017283A (en) | Recording/reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method and computer program | |
US8509590B2 (en) | Metadata recording device and method thereof | |
JP4779981B2 (en) | DIGITAL VIDEO INFORMATION DATA GENERATION DEVICE, DIGITAL VIDEO INFORMATION RECORDING DEVICE, DIGITAL VIDEO INFORMATION REPRODUCING DEVICE, AND DIGITAL VIDEO INFORMATION DATA GENERATION METHOD | |
US20100278517A1 (en) | Video decoding device | |
JP5683871B2 (en) | Playback apparatus, control method, and program | |
JP5710130B2 (en) | Playback apparatus, control method, and program | |
JP2006245744A (en) | Video signal recording device, information recording medium, and video signal reproducing device | |
US20080199154A1 (en) | Apparatus and method with frame-by-frame display control | |
JP5046997B2 (en) | Data processing apparatus, program, and storage medium | |
JP4831181B2 (en) | Recording apparatus and method, reproducing apparatus and method, and recording medium | |
JP5687867B2 (en) | Information processing apparatus, moving image file editing method, and program | |
JP4725675B2 (en) | Recording / reproducing apparatus, recording apparatus, reproducing apparatus, recording method, reproducing method, and computer program | |
JP5863244B2 (en) | Editing apparatus, control method, and program | |
JP2007150956A (en) | Program unit separating device and program unit separating program | |
JP2008311713A (en) | Device, method and program for recognizing commercial, message and device, method and program for recording digital broadcast | |
JP2005235272A (en) | Data recording/reproducing device | |
JP5463100B2 (en) | Editing apparatus, control method, and program | |
US8554048B2 (en) | Information processing apparatus, method, and program | |
JP5306415B2 (en) | Video server and MXF file playback method | |
JP2007066511A (en) | Recording and reproducing apparatus, recording apparatus, reproducing apparatus, and recording and reproducing method | |
JP2009010794A (en) | Image processing device | |
JP2006217322A (en) | Recording and reproducing apparatus having correction function of management information of mpeg2 transport stream |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130802 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20140428 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140603 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140729 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20150106 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150114 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5683871 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |