JP5493362B2 - Movie playback apparatus and program - Google Patents
Movie playback apparatus and program Download PDFInfo
- Publication number
- JP5493362B2 JP5493362B2 JP2009007744A JP2009007744A JP5493362B2 JP 5493362 B2 JP5493362 B2 JP 5493362B2 JP 2009007744 A JP2009007744 A JP 2009007744A JP 2009007744 A JP2009007744 A JP 2009007744A JP 5493362 B2 JP5493362 B2 JP 5493362B2
- Authority
- JP
- Japan
- Prior art keywords
- image
- frame
- decoding
- image frames
- image frame
- 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
Images
Description
本発明は、動画再生装置、この動画再生装置のコンピュータに実行させるプログラムに関する。 The present invention relates to a moving image playback apparatus and a program executed by a computer of the moving image playback apparatus.
近年、デジタル動画像データの伝送・蓄積を行う場合には、デジタル動画像圧縮伸長技術を用いて数10分の1に圧縮処理し、伝送レートや蓄積容量の負荷を低減するようにしている。このようなデジタル動画像圧縮伸長技術としては、動画像専用のMPEG1/MPEG2/MPEG4や、静止画像を連続したフレームとして扱うMotion JPEGなど様々な方式が用いられるようになっている。 In recent years, when digital moving image data is transmitted / stored, it is compressed to several tenths using a digital moving image compression / decompression technique to reduce the load on the transmission rate and storage capacity. As such a digital moving image compression / decompression technique, various methods such as MPEG1 / MPEG2 / MPEG4 dedicated to moving images and Motion JPEG that handles still images as continuous frames are used.
ところで、符号化された動画データを復号して複数の画像フレームを生成する処理は、画像フレーム毎にデコード時間が異なる場合がある。即ち、動き補償を行って動画データを符号化した場合、デコードの際にマクロブロックの分割数の変動などでCPUに対する負荷が画像フレーム毎に異なる。このため、所定の再生表示タイミングまでにデコードが終了しない画像フレームが生じてしまい、コマ落ちが顕著になる。 By the way, in the process of decoding the encoded moving image data and generating a plurality of image frames, the decoding time may be different for each image frame. That is, when moving image data is encoded by performing motion compensation, the load on the CPU differs for each image frame due to a change in the number of macroblock divisions during decoding. For this reason, an image frame in which decoding does not end by a predetermined reproduction display timing occurs, and frame dropping becomes remarkable.
そこで、このような問題を解決すべく、特許文献1に記載されているデジタル動画像圧縮・伸張処理を用いたリアルタイム録画再生装置においては、フレームレート制御部を持つことにより、圧縮時に処理が間に合わない場合は補間処理を行い、伸張時に処理が間に合わない場合はコマ落とし処理を行うようにし、特に伸張時のコマ落としは、圧縮時に補間処理を行ったフレームを優先的にコマ落とし処理する技術が開示されている。
Therefore, in order to solve such a problem, the real-time recording / playback apparatus using the digital moving image compression / decompression process described in
しかしながら、上述したような特許文献1に開示された技術によれば、圧縮時の補間処理は実質的には間引き処理であり、結果的にはフレームレートを低下させるため、コマ落としによりフレームレートを低下させて処理のリアルタイム性を確保しているにすぎず、表示される動画像は動きが滑らかでない画像となってしまうという問題がある。
However, according to the technique disclosed in
そこで、本発明の課題は、動画を滑らかに再生することができる動画再生装置及びプログラムを提供することである。 Accordingly, an object of the present invention is to provide a moving image reproducing apparatus and a program that can smoothly reproduce a moving image.
上記課題を解決するため、請求項1に記載の発明は、連続した複数の画像フレームが符号化された符号化動画データを記録する記録手段と、前記符号化動画データを復号して前記複数の画像フレームを生成する復号手段と、前記復号手段により生成された前記複数の画像フレームを所定のフレームレートで切り換えて再生する再生手段と、前記複数の画像フレームのうち、連続した所定数の画像フレーム群について、前記復号手段による各画像フレームの生成にかかるデコード時間が、前記再生手段による前記所定のフレームレートに応じた各画像フレームの再生時間以上となった遅延数を計数する計数手段と、前記計数手段により計数された前記遅延数が所定数以上となったか否かを判定する数判定手段と、前記数判定手段により前記遅延数が所定数以上となったと判定された場合に、前記画像フレーム群の中から前記復号手段により復号されて生成される二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する補間画像生成手段と、前記補間画像生成手段により生成された補間画像フレームを前記二つの画像フレーム間に挿入して前記再生手段に再生させる再生制御手段と、を備えることを特徴とする動画再生装置を提供するものである。
In order to solve the above-mentioned problem, the invention according to
請求項2に記載の発明は、前記補間画像生成手段は、前記再生手段が前記複数の画像フレームを前記所定のフレームレートよりも高速のフレームレートで再生する場合に、前記補間画像フレームを生成することを特徴とする請求項1に記載の動画再生装置を提供するものである。
The interpolated image generating means generates the interpolated image frame when the reproducing means reproduces the plurality of image frames at a frame rate faster than the predetermined frame rate. The moving picture reproducing apparatus according to
請求項3に記載の発明は、前記補間画像生成手段は、前記二つの画像フレームの中間画像フレーム或いはモーフィング画像フレームを前記補間画像として生成することを特徴とする請求項1または2に記載の動画再生装置を提供するものである。 According to a third aspect of the present invention, the interpolated image generating means generates an intermediate image frame or a morphed image frame of the two image frames as the interpolated image. A playback device is provided.
請求項4に記載の発明は、前記補間画像生成手段は、前記二つの画像フレーム間の画像フレーム数に応じた数で、且つ、前記二つの画像フレームに対する相対的な再生位置に応じて重み付けを代えて前記補間画像フレームを生成することを特徴とする請求項3に記載の動画再生装置を提供するものである。
According to a fourth aspect of the present invention, the interpolated image generating means weights the number according to the number of image frames between the two image frames and according to a relative reproduction position with respect to the two image frames. 4. The moving image reproducing apparatus according to
請求項5に記載の発明は、一のシーンを撮像して、連続した複数の画像フレームを生成する撮像手段と、前記撮像手段により生成された前記複数の画像フレームを符号化して符号化動画データを生成する符号化手段と、を更に備えることを特徴とする請求項1〜4の何れか一項に記載の動画再生装置を提供するものである。
According to a fifth aspect of the present invention, there is provided imaging means for imaging one scene and generating a plurality of continuous image frames, and encoding moving image data by encoding the plurality of image frames generated by the imaging means. The video reproduction apparatus according to any one of
請求項6に記載の発明は、連続した複数の画像フレームが符号化された符号化動画データを記録する記録手段を備える動画再生装置のコンピュータを、前記符号化動画データを復号して前記複数の画像フレームを生成する復号手段、前記複数の画像フレームのうち、連続した所定数の画像フレーム群について、前記復号手段による各画像フレームの生成にかかるデコード時間が、前記複数の画像フレームを所定のフレームレートで切り換えて再生する再生手段による前記所定のフレームレートに応じた各画像フレームの再生時間以上となった遅延数を計数する計数手段、前記計数手段により計数された前記遅延数が所定数以上となったか否かを判定する数判定手段、前記数判定手段により前記遅延数が所定数以上となったと判定された場合に、前記画像フレーム群の中から前記復号手段により復号されて生成される二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する補間画像生成手段、前記補間画像生成手段により生成された補間画像フレームを前記二つの画像フレーム間に挿入して前記再生手段に再生させる再生制御手段、として機能させることを特徴とするプログラムを提供するものである。 According to a sixth aspect of the present invention, there is provided a computer of a moving image reproducing apparatus provided with a recording unit that records encoded moving image data in which a plurality of continuous image frames are encoded. Decoding means for generating image frames, and for a predetermined number of consecutive image frame groups among the plurality of image frames, the decoding time required for generating each image frame by the decoding means Counting means for counting the number of delays equal to or longer than the playback time of each image frame corresponding to the predetermined frame rate by the playback means for switching and reproducing at a rate, and the delay number counted by the counting means is equal to or greater than a predetermined number Number determining means for determining whether or not the number of delays has been determined by the number determining means to be greater than or equal to a predetermined number An interpolated image frame corresponding to one image frame scheduled to be reproduced between the two image frames by identifying two image frames generated by decoding by the decoding means from the image frame group with a predetermined interval. Interpolated image generating means for generating the interpolated image frame, and a reproducing control means for inserting the interpolated image frame generated by the interpolated image generating means between the two image frames and causing the reproducing means to reproduce the program. Is to provide.
本発明によれば、動画を滑らかに再生することができる。 According to the present invention, a moving image can be smoothly reproduced.
以下に、本発明について、図面を用いて具体的な態様を説明する。ただし、発明の範囲は、図示例に限定されない。 Hereinafter, specific embodiments of the present invention will be described with reference to the drawings. However, the scope of the invention is not limited to the illustrated examples.
[実施形態1]
図1は、本発明を適用した実施形態1の動画再生装置100の概略構成を示すブロック図である。
実施形態1の動画再生装置100は、MPEG形式の動画像データを構成する複数の画像フレームのうち、二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成し、復号部6aによる一の画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となった場合に、補間画像フレームを一の画像フレームに代えて表示部5に再生表示させる。
具体的には、図1及び図2に示すように、動画再生装置100は、CPU1と、メモリ2と、記録媒体3と、表示制御部4と、表示部5と、CODEC6と、操作入力部7とを備えている。
[Embodiment 1]
FIG. 1 is a block diagram showing a schematic configuration of a moving
The moving
Specifically, as shown in FIGS. 1 and 2, the moving
記録媒体3は、例えば、不揮発性メモリ(フラッシュメモリ)等により構成され、CODEC6により符号化されたJPEG形式の静止画像データやMPEG形式の動画像データを記録する。
ここで、記録媒体3は、連続した複数の画像フレームがMPEG形式で符号化された符号化動画データを記録する記録手段を構成している。
The
Here, the
表示制御部4は、メモリ2に一時的に記憶されている表示用画像データを読み出して表示部5に表示させる制御を行う。具体的には、表示制御部4は、VRAM、VRAMコントローラ、デジタルビデオエンコーダなどを備えている。そして、デジタルビデオエンコーダは、CPU1の制御下にてメモリ2から読み出されてVRAM(図示略)に記憶されている輝度信号Y及び色差信号Cb,Crを、VRAMコントローラを介してVRAMから定期的に読み出して、これらのデータを元にビデオ信号を発生して表示部5に出力する。
The
表示部5は、表示制御部4からのビデオ信号に基づいて、記録媒体3に記録されたMPEG形式の動画像データがCODEC6により復号されることで生成された複数の画像フレームを所定の再生フレームレートで切り換えて再生する。
ここで、表示部5は、復号部6aにより復号されて生成された複数の画像フレームを所定のフレームレートで切り換えて再生する再生手段を構成している。
Based on the video signal from the
Here, the
CODEC6は、CPU1の制御下にて、所定の符号化方式に従って復号(デコード)を行う。具体的には、CODEC6は、復号部6aと、時間判定部6bと、制御部6cとを備えて構成されている。
The
復号部6aは、画像の再生時には、記録媒体3から読み出されてメモリ2に格納された符号化データを復号して表示用画像データを生成する。具体的には、復号部6aは、メモリ2に格納されたMPEG形式で符号化されている動画像データを復号して、複数の画像フレームを生成する。
ここで、復号部6aは、符号化動画データを復号して複数の画像フレームを生成する復号手段を構成している。
When the image is reproduced, the
Here, the
時間判定部6bは、時間判定手段として、復号部6aにより生成される複数の画像フレームの各々について、当該各々の画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となったか否かを判定する。
The
制御部6cは、当該CODEC6の各部を制御するCPU等を備えている。
また、制御部6cは、復号部6aにより複数の画像フレームの各々をデコードする際に、補間画像フレームとして、予め復号部6aによりデコードされた先行フレームと直前の画像フレームとの間で、画素値を平均して中間画像フレームを生成する。なお、制御部6cは、補間画像フレームとして、先行フレームと直前の画像フレームとの間のモーフィング画像フレームを生成しても良い。
ここで、制御部6cは、複数の画像フレームのうち、復号部6aにより生成された二つの画像フレームから、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する補間画像生成手段を構成している。
The
In addition, when the
Here, the
また、制御部6cは、時間判定部6bにより複数の画像フレームのうちの何れか一の画像フレームのデコード時間が再生時間以上となったと判定された場合に、生成した補間画像フレームを当該一の画像フレームに代えて表示部5で再生表示させる表示制御信号を表示制御部4に出力する。
そして、表示制御部4は、制御部6cから出力された表示制御信号が入力されると、当該制御信号に従って補間画像フレームを表示部5に再生表示させる。
ここで、制御部6c及び表示制御部4は、時間判定部6bによりデコード時間が再生時間以上となったと判定された場合に、生成した補間画像フレームを一の画像フレームに代えて表示部5に再生表示させる再生制御手段を構成している。
In addition, when the
When the display control signal output from the
Here, the
操作入力部7は、当該動画再生装置100の所定操作を行うためのものである。具体的には、図示は省略するが、操作入力部7は、機能選択や表示設定等に係るメニュー画面の表示指示に係るメニューボタン、動作モード等の選択や決定指示に係る選択決定ボタン等を備えている。そして、操作入力部7は、これらのボタンの操作に応じて所定の操作信号をCPU1に出力する。
The
メモリ2は、例えば、フラッシュメモリ等により構成され、CPU1やCODEC6によって処理されるデータ等を一時記憶する。
The
CPU1は、動画再生装置100の各部を制御するものである。具体的には、CPU1は、動画再生装置100用の各種処理プログラムに従って各種の制御動作を行うものである。
The
」
次に、動画再生装置100による動画デコード処理について、図2及び図3を参照して説明する。
図2は、動画デコード処理に係る動作の一例を示すフローチャートであり、図3は、動画デコード処理を説明するための図である。なお、図3にあっては、表示部5に補間画像フレームとして表示されるフレームを模式的にドットで表している。
"
Next, video decoding processing by the
FIG. 2 is a flowchart showing an example of an operation related to the moving picture decoding process, and FIG. 3 is a diagram for explaining the moving picture decoding process. In FIG. 3, a frame displayed as an interpolation image frame on the
動画デコード処理は、ユーザによる操作入力部7の所定操作に基づいて再生モードが選択され、再生表示対象として記録媒体3にMPEG形式で符号化された動画像データが選択された場合に実行される処理である。
図2に示すように、CODEC6の制御部6cは、記録媒体3に記録されているMPEG形式の動画像データを読み出すと、復号部6aに所定の制御信号を出力して、当該動画像データの最初の画像フレーム(先頭フレーム)をデコードさせる(ステップS1)。また、制御部6cは、デコードされた先頭フレームをメモリ2に転送して一時的に記憶させる。
The video decoding process is executed when a playback mode is selected based on a predetermined operation of the
As shown in FIG. 2, when the
次に、制御部6cは、MPEG形式の動画像データを構成し、先頭フレームに連続する次のエンコードフレームが存するか否かを判定する(ステップS2)。
ここで、次のエンコードフレームが存すると判定されると(ステップS2;YES)、制御部6cは、当該エンコードフレームが未だデコードされていないか(未デコードか否か)を判定する(ステップS3)。
Next, the
If it is determined that the next encoded frame exists (step S2; YES), the
そして、未だデコードされていないと判定されると(ステップ3;YES)、制御部6cは、当該エンコードフレームよりも先行してデコードされた画像フレーム(デコード済み先行フレーム)が存するか否かを判定する(ステップS4)。
ここで、デコード済み先行フレームが存しないと判定されると(ステップS4;NO)、制御部6cは、復号部6aに所定の制御信号を出力して、予め定められている一定間隔先の画像フレームのデコードを開始させる(ステップS5)。そして、復号部6aによる一定間隔先の画像フレーム(先行フレーム)のデコードが完了することにより(ステップS6)、予めデコード済み先行フレームが用意された状態となる。
If it is determined that the image has not been decoded yet (
Here, when it is determined that there is no decoded preceding frame (step S4; NO), the
その後、制御部6cは、復号部6aに所定の制御信号を出力して、先頭フレームに連続する次のエンコードフレームのデコードを開始させるとともに(ステップS7)、当該デコード処理と並行させて、先行フレームと直前の画像フレーム(先頭フレーム)との間の補間画像フレームを生成する(ステップS8)。
また、ステップS4にて、デコード済み先行フレームが存すると判定されると(ステップS4;YES)、制御部6cは、処理をステップS7に移行させる。
Thereafter, the
If it is determined in step S4 that a decoded preceding frame exists (step S4; YES), the
続けて、制御部6cは、次のエンコードフレームのデコードが所定の再生フレームレートに応じた各画像フレームの再生時間(再生フレームレート時間)以内に完了したか否かを時間判定部6bに判定させる(ステップS9)。
ここで、次のエンコードフレームのデコードが再生フレームレート時間以内に完了したと判定されると(ステップS9;YES)、制御部6cは、次の再生画像フレームとして、デコードされた画像フレーム(デコード画像)を採用する(ステップS10)。また、ステップS3にて、次のエンコードフレームが未デコードでないと判定されると(ステップS3;YES)、例えば、先行フレームのように、既にデコードされている場合には、制御部6cは、処理をステップS7に移行させる。
一方、次のエンコードフレームのデコードが再生フレームレート時間以内に完了しなかったと判定されると(ステップS9;NO)、例えば、「NO.3フレーム」(図3参照)のように、デコードが再生フレームレート時間以内に完了しなかった場合には、制御部6cは、次の再生画像フレームとして、補間画像フレームを(補間画像;「NO.3(補間)フレーム」)を採用して、実行中のデコード処理(「NO.3フレーム」のデコード処理)を中止させる(ステップS11)。
Subsequently, the
If it is determined that decoding of the next encoded frame is completed within the playback frame rate time (step S9; YES), the
On the other hand, when it is determined that the decoding of the next encoded frame has not been completed within the playback frame rate time (step S9; NO), the decoding is played back as in “NO.3 frame” (see FIG. 3), for example. If it is not completed within the frame rate time, the
その後、制御部6cは、処理をステップS2に移行させ、上記の処理を、ステップS2にて、次のエンコードフレームが存しないと判定されるまで(ステップS2;NO)、繰り返すことで、CODEC6は、MPEG形式の動画像データを構成する複数の画像フレームを全てデコードする。
これにより、動画デコード処理を終了する。
Thereafter, the
Thereby, the moving image decoding process is terminated.
以上のように、実施形態1の動画再生装置100によれば、MPEG形式の動画像データを構成する複数の画像フレームのうち、二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを、復号部6aによる画像フレームのデコード処理と並行して生成する。具体的には、予め復号部6aによりデコードされた先行フレームと直前の画像フレームとの間で、画素値を平均して中間画像フレームを生成する。
そして、復号部6aによる一の画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間(再生フレームレート時間)以上となった場合に、補間画像フレームを一の画像フレームに代えて表示部5に再生表示させる。
従って、複数の画像フレームの各々について、デコード処理に時間がかかり、所定の再生表示タイミングまでにデコードが終了しない画像フレームが生じた場合であっても、当該画像フレームに代えて補間画像フレームを再生表示することで、複数の画像フレームを一定の再生フレームレートで再生表示することができ、動画の再生を滑らかなものとすることができる。
As described above, according to the moving
When the decoding time required to generate one image frame by the
Therefore, for each of a plurality of image frames, even when an image frame that does not finish decoding by the predetermined playback display timing occurs, the interpolated image frame is reproduced instead of the image frame. By displaying, a plurality of image frames can be reproduced and displayed at a constant reproduction frame rate, and the reproduction of moving images can be made smooth.
[実施形態2]
以下に、実施形態2の動画再生装置200について、図4〜図7を参照して説明する。
実施形態2の動画再生装置200は、図4〜図7に示すように、MPEG形式の動画像データを構成する複数の画像フレームのうち、所定数の画像フレーム群について、復号部6aによる各画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となった遅延デコード数が所定数以上となった場合に、その後の画像フレーム群の中から二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成し、当該補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生表示させる。
なお、実施形態2の動画再生装置200は、CODEC206の構成が異なる以外の点で上記実施形態1の動画再生装置100と略同様の構成をなし、その説明は省略する。
[Embodiment 2]
Hereinafter, the moving
As shown in FIGS. 4 to 7, the moving
Note that the
図4は、本発明を適用した実施形態2の動画再生装置200の概略構成を示すブロック図である。
図4に示すように、CODEC206は、復号部6a及び時間判定部6bに加えて、計数部6e、数判定部6f、制御部6gを備えて構成されている。
FIG. 4 is a block diagram showing a schematic configuration of a moving
As shown in FIG. 4, the
計数部6eは、カウンタを備え、当該CODEC206の復号部6aにより複数の画像フレームのうち、連続した一定数の画像フレーム群をデコードした際に、復号部6aによる各画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となった遅延デコード数を計数する。
ここで、計数部6eは、所定数の画像フレーム群について、復号部6aによる各画像フレームの生成にかかるデコード時間が各画像フレームの再生時間以上となった遅延デコード数を計数する計数手段を構成している。
The counting unit 6e includes a counter, and when the
Here, the counting unit 6e constitutes counting means for counting the number of delayed decodes in which the decoding time required for generating each image frame by the
数判定部6fは、数判定手段として、計数部6eにより計数された遅延デコード数が所定数以上となったか否かを判定する。
The
制御部6gは、補間画像生成手段として、数判定部6fにより遅延デコード数が所定数以上となったと判定された場合に、画像フレーム群の中から復号部6aにより復号されて生成される二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する。
具体的には、制御部6gは、補間画像フレームとして、二つの画像フレーム間の画像フレーム数に応じた数で、且つ、二つの画像フレームに対する相対的な再生位置に応じて重み付けを代えて、モーフィング画像フレームを生成する。例えば、図5に示すように、制御部6gは、二つの画像フレーム(「NO.XX1デコードフレーム」と「NO.XX4(先行)デコードフレーム」)から当該二つの画像フレーム間で再生予定の二つの画像フレーム(「NO.XX2モーフィングフレーム」と「NO.XX3モーフィングフレーム」)を生成する。このとき、「NO.XX2モーフィングフレーム」については、「NO.XX1デコードフレーム」を「NO.XX4(先行)デコードフレーム」に対して重み値が大きくなるように重み付けを変更し、また、「NO.XX3モーフィングフレーム」については、「NO.XX4(先行)デコードフレーム」を「NO.XX1デコードフレーム」に対して重み値が大きくなるように重み付けを変更する。
When the
Specifically, the control unit 6g changes the weighting according to the number of image frames between two image frames as an interpolated image frame and the relative reproduction position with respect to the two image frames. Generate a morph image frame. For example, as illustrated in FIG. 5, the control unit 6g transmits two image frames (“NO.XX1 decode frame” and “NO.XX4 (preceding) decode frame”) to be reproduced between the two image frames. Two image frames (“NO.XX2 morphing frame” and “NO.XX3 morphing frame”) are generated. At this time, for “NO.XX2 morphing frame”, the weighting is changed so that the weight value of “NO.XX1 decoding frame” is larger than that of “NO.XX4 (preceding) decoding frame”. For “.XX3 morphing frame”, the weighting is changed so that the weight value of “NO.XX4 (preceding) decoding frame” is larger than that of “NO.XX1 decoding frame”.
また、制御部6gは、ユーザによる操作入力部7の所定操作に基づいて、早送り再生が指示された場合、即ち、表示部5が複数の画像フレームを所定の再生フレームレートよりも高速のフレームレートで再生する場合に、補間画像フレームを生成する。
Further, the control unit 6g, when a fast-forward reproduction is instructed based on a predetermined operation of the
また、制御部6gは、生成された補間画像フレームを二つの画像フレーム間に挿入して表示部5で再生表示させる表示制御信号を表示制御部4に出力する。
そして、表示制御部4は、制御部6gから出力された表示制御信号が入力されると、当該制御信号に従って補間画像フレームを表示部5に再生表示させる。
ここで、制御部6g及び表示制御部4は、生成された補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生表示させる再生制御手段を構成している。
Further, the control unit 6 g outputs a display control signal for inserting the generated interpolated image frame between the two image frames and causing the
When the display control signal output from the control unit 6g is input, the
Here, the control unit 6g and the
次に、動画再生装置200による動画デコード処理について、図6及び図7を参照して説明する。
図6は、動画デコード処理に係る動作の一例を示すフローチャートであり、図7は、動画デコード処理を説明するための図である。なお、図7にあっては、表示部5に補間画像フレームとして表示されるフレームを模式的にドットで表している。
Next, video decoding processing by the
FIG. 6 is a flowchart illustrating an example of an operation related to the moving image decoding process, and FIG. 7 is a diagram for describing the moving image decoding process. In FIG. 7, a frame displayed as an interpolation image frame on the
以下の動画デコード処理は、ユーザによる操作入力部7の所定操作に基づいて、早送り再生が指示された場合に実行される処理である。
図6に示すように、CODEC206は、先ず、記録媒体3に記録されているMPEG形式の動画像データを構成する複数の画像フレームのうち、連続した一定数の画像フレーム群をデコードする。
具体的には、CODEC206の制御部6gは、記録媒体3に記録されているMPEG形式の動画像データを読み出すと、復号部6aに所定の制御信号を出力して、当該動画像データを構成する複数の画像フレームのうち、連続した所定数の画像フレーム群の最初の画像フレーム(先頭フレーム)をデコードさせる(ステップS21)。また、制御部6gは、デコードされた先頭フレームをメモリ2に転送して一時的に記憶させる。
The following video decoding process is a process executed when fast-forward playback is instructed based on a predetermined operation of the
As shown in FIG. 6, first, the
Specifically, when the control unit 6g of the
次に、制御部6gは、MPEG形式の動画像データを構成し、先頭フレームに連続する次のエンコードフレームが存するか否かを判定する(ステップS22)。
ここで、次のエンコードフレームが存すると判定されると(ステップS22;YES)、制御部6gは、復号部6aに所定の制御信号を出力して、当該次のエンコードフレームのデコードを開始させる(ステップS23)。そして、復号部6aによる次のエンコードフレームのデコードが完了すると(ステップS24)、制御部6gは、当該デコードが所定の再生フレームレートに応じた各画像フレームの再生時間(再生フレームレート時間)以内に完了したか否かを時間判定部6bに判定させる(ステップS25)。
Next, the control unit 6g determines whether or not there is a next encoded frame that forms the moving image data in the MPEG format and continues to the first frame (step S22).
If it is determined that the next encoded frame exists (step S22; YES), the control unit 6g outputs a predetermined control signal to the
ステップS25にて、デコードが再生フレームレート時間以内に完了しなかったと判定されると(ステップS25;NO)、制御部6gは、計数部6eに、復号部6aによるデコード時間が表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となったことを表す遅延デコード数をカウントさせる(ステップS26)。
その後、制御部6gは、複数の画像フレームのうち、連続した一定数の画像フレーム群のデコード処理を行ったか否かを判定する(ステップS27)。また、ステップS25にて、デコードが再生フレームレート時間以内に完了したと判定された場合にも(ステップS25;YES)、制御部6gは、処理をステップS27に移行させる。
When it is determined in step S25 that the decoding has not been completed within the playback frame rate time (step S25; NO), the control unit 6g causes the counting unit 6e to send a decoding time determined by the
Thereafter, the control unit 6g determines whether or not a decoding process has been performed on a fixed number of consecutive image frame groups among the plurality of image frames (step S27). Even when it is determined in step S25 that the decoding is completed within the playback frame rate time (step S25; YES), the control unit 6g shifts the process to step S27.
ステップS27にて、一定数の画像フレーム群のデコード処理を行っていないと判定されると(ステップS27;NO)、制御部6gは、処理をステップS22に移行させ、上記の処理を、ステップS27にて、一定数の画像フレーム群のデコード処理を行ったと判定されるまで(ステップS27;YES)、繰り返す。これにより、CODEC6は、一定数の画像フレーム群を全てデコードする。
If it is determined in step S27 that the predetermined number of image frame groups are not decoded (step S27; NO), the control unit 6g shifts the process to step S22, and performs the above process in step S27. The process is repeated until it is determined that a certain number of image frame groups have been decoded (step S27; YES). Thereby, the
そして、ステップS27にて、一定数の画像フレーム群のデコード処理を行ったと判定されると(ステップS27;YES)、制御部6gは、数判定部6fに、計数部6eにより計数された遅延デコード数が所定数以上となったか否かを判定させる(ステップS28)。
ここで、遅延デコード数が所定数以上となっていないと判定されると(ステップS28;NO)、制御部6gは、処理をステップS22に移行させ、上記の処理を、ステップS22にて、次のエンコードフレームが存しないと判定されるまで(ステップS22;NO)、繰り返す。
When it is determined in step S27 that the decoding process has been performed for a certain number of image frame groups (step S27; YES), the control unit 6g causes the
Here, when it is determined that the number of delay decodes is not equal to or greater than the predetermined number (step S28; NO), the control unit 6g moves the process to step S22, and the above process is performed in step S22. This is repeated until it is determined that no encoded frame exists (step S22; NO).
一方、ステップS28にて、遅延デコード数が所定数以上となったと判定されると(ステップS28;YES)、制御部6gは、一定数の画像フレーム群に連続する次のエンコードフレームが存するか否かを判定する(ステップS29)。 On the other hand, when it is determined in step S28 that the number of delayed decodes is equal to or greater than the predetermined number (step S28; YES), the control unit 6g determines whether there is a next encoded frame in a certain number of image frame groups. Is determined (step S29).
ステップS29にて、次のエンコードフレームが存すると判定されると(ステップS29;YES)、制御部6gは、補間画像フレームを挿入するタイミングであるか否かを判定する(ステップS30)。なお、実施形態2の動画デコード処理にあっては、画像フレームのデコード処理を2回行う毎に、補間画像フレーム(例えば、「NO.XX3(補間)フレーム」)を一つ生成して挿入するものとする(図7参照)。
ここで、補間画像フレームを挿入するタイミングではないと判定されると(ステップS30;NO)、制御部6gは、復号部6aに所定の制御信号を出力して、当該次のエンコードフレームのデコードを開始させる(ステップS31)。そして、復号部6aによる次のエンコードフレームのデコードが完了すると(ステップS32)、制御部6gは、処理をステップS29に移行させる。
If it is determined in step S29 that the next encoded frame exists (step S29; YES), the control unit 6g determines whether it is the timing to insert the interpolated image frame (step S30). In the video decoding process of the second embodiment, every time the image frame decoding process is performed twice, one interpolation image frame (for example, “NO.XX3 (interpolation) frame”) is generated and inserted. It shall be (see FIG. 7).
Here, when it is determined that it is not the timing to insert the interpolated image frame (step S30; NO), the control unit 6g outputs a predetermined control signal to the
一方、ステップS30にて、補間画像フレームを挿入するタイミングであると判定されると(ステップS30;YES)、即ち、画像フレームのデコード処理を2回行って補間画像フレーム(例えば、「NO.XX3(補間)フレーム」)を一つ生成して挿入するタイミングになると、制御部6gは、直前の画像フレームと先行フレームとの間の補間画像フレームを生成する(ステップS33)。
具体的には、制御部6gは、復号部6aに所定の制御信号を出力して、予め定められている一定間隔先の画像フレーム(先行フレーム;「NO.XX4フレーム」)をデコードさせた後、当該先行フレームと直前の画像フレーム(「NO.XX2フレーム」)との間の補間画像フレームを生成する。
補間画像フレームの生成後、制御部6gは、処理をステップS29に移行させる。
On the other hand, if it is determined in step S30 that it is the timing to insert the interpolated image frame (step S30; YES), that is, the image frame is decoded twice to execute the interpolated image frame (for example, “NO.XX3”). When it is time to generate and insert one (interpolation) frame "), the control unit 6g generates an interpolated image frame between the immediately preceding image frame and the preceding frame (step S33).
Specifically, after the control unit 6g outputs a predetermined control signal to the
After generating the interpolated image frame, the control unit 6g shifts the process to step S29.
そして、上記の処理を、ステップS29にて、次のエンコードフレームが存しないと判定されるまで(ステップS29;NO)、繰り返す。
これにより、動画デコード処理を終了する。
The above processing is repeated until it is determined in step S29 that the next encoded frame does not exist (step S29; NO).
Thereby, the moving image decoding process is terminated.
以上のように、実施形態2の動画再生装置200によれば、MPEG形式の動画像データを構成する複数の画像フレームのうち、所定数の画像フレーム群について、復号部6aによる各画像フレームの生成にかかるデコード時間が、表示部5による所定の再生フレームレートに応じた各画像フレームの再生時間以上となったことを表す遅延デコード数が所定数以上となった場合に、その後の画像フレーム群の中から二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成し、当該補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生表示させる。
即ち、動画を早送り再生する場合などでは、所定の再生表示タイミングまでにデコードが終了しない画像フレームが生じる虞があることから、予め、複数の画像フレームのうち、所定数の画像フレーム群について、復号部6aによるデコード時間が再生フレームレート時間以上となる遅延デコード数を算出して、当該遅延デコード数から当該動画像データ全体のデコード処理の遅延度合を考慮して、その後の画像フレーム群の中から所定間隔を空けて順次二つの画像フレームを特定していく。そして、当該二つの画像フレーム間に補間画像フレームを順次挿入して再生表示することで、複数の画像フレームを一定の再生フレームレートで再生表示することができ、動画の再生を滑らかなものとすることができる。
As described above, according to the moving
That is, in the case of fast-forward playback of a moving image, there is a possibility that an image frame that does not finish decoding by the predetermined playback display timing may occur. Therefore, a predetermined number of image frame groups among a plurality of image frames are decoded in advance. The number of delay decodes for which the decoding time by the
また、補間画像フレームの生成の際に、二つの画像フレーム間の画像フレーム数に応じた数で、且つ、二つの画像フレームに対する相対的な再生位置に応じて重み付けを代えてモーフィング画像フレームを生成するので、二つの画像フレーム間に複数の補間画像フレームを挿入する場合であっても、当該補間画像フレームを時間の流れに沿って変化するような自然な画像とすることができ、動画をより滑らかに再生することができる。 In addition, when generating an interpolated image frame, a morphing image frame is generated with a number corresponding to the number of image frames between the two image frames and with different weights according to the relative reproduction positions with respect to the two image frames. Therefore, even when a plurality of interpolated image frames are inserted between two image frames, the interpolated image frame can be a natural image that changes along the flow of time, and the moving image is more It can be played smoothly.
[実施形態3]
以下に、実施形態3の動画再生装置300について、図8〜図10を参照して説明する。
実施形態3の動画再生装置300は、図8〜図10に示すように、表示部5でMPEG形式の動画像データを構成する複数の画像フレームをスロー再生する場合に、連続する二つの画像フレームを補間する補間画像フレームを生成し、当該補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生させる。
なお、実施形態3の動画再生装置300は、CODEC306の構成が異なる以外の点で上記実施形態1及び2の動画再生装置100、200と略同様の構成をなし、その説明は省略する。
[Embodiment 3]
Below, the moving
As shown in FIGS. 8 to 10, the moving
Note that the
図8は、本発明を適用した実施形態3の動画再生装置300の概略構成を示すブロック図である。
図8に示すように、CODEC306は、復号部6aに加えて、制御部6hを備えて構成されている。
FIG. 8 is a block diagram showing a schematic configuration of a moving
As shown in FIG. 8, the
制御部6hは、補間画像生成手段として、MPEG形式の動画像データを構成する複数の画像フレームをスロー再生(所定のフレームレートよりも低速のフレームレートで再生)する際に、連続する二つの画像フレーム(例えば、「NO.2フレーム」と「NO.3フレーム」;図10(b)参照)を補間する補間画像フレーム(例えば、「NO.2-3フレーム」;図10(b)参照)を生成する。即ち、図10(a)及び図10(b)に示すように、スロー再生する場合であっても、画像フレームの再生フレームレート自体は変化しないため、通常の動画再生処理では、画像フレームどうしの間に空き時間が生じてしまうが(図10(a)参照)、補間画像フレームを生成して表示することで、画像フレームどうしの間に空き時間を生じさせることがなくなる(図10(b)参照)。
なお、例えば、1/3の再生速度でスロー再生する場合のように、二つの画像フレーム(例えば、「NO.4フレーム」と「NO.5フレーム」;図10(b)参照)間で複数の補間画像フレーム(例えば、「NO.4-5aフレーム」及び「NO.4-5bフレーム」;図10(b)参照)を再生表示する場合、制御部6hは、二つの画像フレームに対する相対的な再生位置に応じて重み付けを代えて補間画像フレームを生成する。
The
For example, as in the case of slow playback at a playback speed of 1/3, a plurality of frames between two image frames (for example, “NO.4 frame” and “NO.5 frame”; see FIG. 10B). When the interpolated image frames (for example, “NO. 4-5a frame” and “NO. 4-5b frame”; see FIG. 10B) are reproduced and displayed, the
また、制御部6hは、生成された補間画像フレームを二つの画像フレーム間に挿入して表示部5で再生表示させる表示制御信号を表示制御部4に出力する。
そして、表示制御部4は、制御部6hから出力された表示制御信号が入力されると、当該指示信号に従って補間画像フレームを表示部5に再生表示させる。
ここで、制御部6h及び表示制御部4は、生成された補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生表示させる再生制御手段を構成している。
Further, the
When the display control signal output from the
Here, the
次に、動画再生装置300による動画再生処理について、図9及び図10を参照して説明する。
図9は、動画再生処理に係る動作の一例を示すフローチャートである。図10(a)は、通常の動画再生処理を説明するための図であり、図10(b)は、実施形態3の動画再生処理を説明するための図である。なお、図10(b)にあっては、表示部5に補間画像フレームとして表示されるフレームを模式的にドットで表している。
Next, the moving image reproduction processing by the moving
FIG. 9 is a flowchart illustrating an example of an operation related to the moving image reproduction process. FIG. 10A is a diagram for explaining normal moving image reproduction processing, and FIG. 10B is a diagram for explaining moving image reproduction processing according to the third embodiment. In FIG. 10B, a frame displayed as an interpolation image frame on the
以下の動画再生処理は、ユーザによる操作入力部7の所定操作に基づいて、動画像の再生表示が指示された場合に実行される処理であり、スロー再生が指示されると、補間画像フレームを生成して再生表示する。
図6に示すように、CODEC306の制御部6hは、先ず、記録媒体3に記録されているMPEG形式の動画像データを読み出すと、復号部6aに所定の制御信号を出力して、当該動画像データを構成する複数の画像フレームのうち、最初の画像フレーム(先頭フレーム)をデコードさせる(ステップS41)。また、制御部6hは、デコードされた先頭フレームをメモリ2に転送して一時的に記憶させる。
The moving image reproduction process described below is a process that is executed when a reproduction display of a moving image is instructed based on a predetermined operation of the
As shown in FIG. 6, when the
次に、制御部6hは、MPEG形式の動画像データを構成し、先頭フレームに連続する次のエンコードフレームが存するか否かを判定する(ステップS42)。
ここで、次のエンコードフレームが存すると判定されると(ステップS42;YES)、制御部6hは、復号部6aに所定の制御信号を出力して、当該次のエンコードフレームのデコードを開始させる(ステップS43)。そして、復号部6aによる次のエンコードフレームのデコードが完了すると(ステップS44)、制御部6hは、次の画像フレームの表示タイミングに達したか否かを判定する(ステップS45)。また、ステップS42にて、次のエンコードフレームが存しないと判定された場合も(ステップS42;NO)、制御部6hは、処理をステップS45に移行させる。
Next, the
If it is determined that the next encoded frame exists (step S42; YES), the
ステップS45にて、次の画像フレームの表示タイミングに達したと判定されると(ステップS45;YES)、制御部6hは、MPEG形式の動画像データを構成する複数の画像フレームの中で、未だ表示されていない画像フレーム(未表示フレーム)が存するか否かを判定する(ステップS46)。
ここで、未表示フレームが存すると判定されると(ステップS46;YES)、制御部6hは、処理をステップS42に移行させ、上記の処理を、ステップS46にて、未表示フレームが存しないと判定されるまで(ステップS46;NO)、繰り返す。
これにより、CODEC6は、MPEG形式の動画像データを全てデコードする。
If it is determined in step S45 that the display timing of the next image frame has been reached (step S45; YES), the
Here, if it is determined that an undisplayed frame exists (step S46; YES), the
As a result, the
一方、ステップS45にて、次の画像フレームの表示タイミングに達していないと判定されると(ステップS45;NO)、制御部6hは、当該表示タイミングに一致するデコード済みの画像フレーム(デコードフレーム)が存するか否かを判定する(ステップS47)。
ここで、次の表示タイミングに一致するデコードフレームが存すると判定されると(ステップS47;YES)、制御部6hは、次の再生画像フレームとして、デコード済みの画像フレーム(デコード画像)を採用して、当該デコード画像の表示制御信号を表示制御部4に出力して、当該デコード画像を次の表示タイミングに合わせて表示部5に再生表示させる(ステップS48)。
その後、制御部6hは、処理をステップS46に移行させ、上記の処理を、ステップS46にて、未表示フレームが存しないと判定されるまで(ステップS46;NO)、繰り返す。
On the other hand, when it is determined in step S45 that the display timing of the next image frame has not been reached (step S45; NO), the
If it is determined that there is a decoded frame that matches the next display timing (step S47; YES), the
Thereafter, the
一方、ステップS47にて、次の表示タイミングに一致するデコードフレームが存しないと判定されると(ステップS47;NO)、即ち、例えば、ユーザによる操作入力部7の所定操作に基づいてスロー再生指示が入力された場合などに、制御部6hは、既に復号部6aによりデコードされている連続する二つの画像フレーム(例えば、「NO.2フレーム」と「NO.3フレーム」;図10(b)参照)から補間画像フレーム(例えば、「NO.2-3フレーム」)を生成する(ステップS49)。なお、このとき、スロー再生速度に応じて、二つの画像フレーム(例えば、「NO.4フレーム」と「NO.5フレーム」;図10(b)参照)間で再生される複数の補間画像フレーム(例えば、「NO.4-5aフレーム」及び「NO.4-5bフレーム」;図10(b)参照)を生成しても良い。
そして、制御部6hは、当該補間画像の表示制御信号を表示制御部4に出力して、当該補間画像を次の表示タイミングに合わせて表示部5に再生表示させる(ステップS50)。
その後、制御部6hは、処理をステップS46に移行させ、上記の処理を、ステップS46にて、未表示フレームが存しないと判定されるまで(ステップS46;NO)、繰り返す。
これにより、動画再生処理を終了する。
On the other hand, when it is determined in step S47 that there is no decoded frame that coincides with the next display timing (step S47; NO), that is, for example, based on a predetermined operation of the
Then, the
Thereafter, the
Thereby, the moving image reproduction process is terminated.
以上のように、実施形態3の動画再生装置300によれば、表示部5でMPEG形式の動画像データを構成する複数の画像フレームをスロー再生する場合に、連続する二つの画像フレームを補間する補間画像フレームを生成し、当該補間画像フレームを二つの画像フレーム間に挿入して表示部5に再生させる。
従って、動画をスロー再生する場合に、二つの画像フレームの間に補間画像フレームを挿入して再生表示することで、画像フレームどうしの間に空き時間が生じてしまうことを防止して、複数の画像フレームを一定の再生フレームレートで再生表示することができ、動画の再生を滑らかなものとすることができる。
As described above, according to the moving
Therefore, when a moving image is played back slowly, an interpolated image frame is inserted between two image frames and played back, thereby preventing an empty time from being generated between the image frames. Image frames can be reproduced and displayed at a constant reproduction frame rate, and moving images can be reproduced smoothly.
なお、本発明は、上記実施形態1〜3に限定されることなく、本発明の趣旨を逸脱しない範囲において、種々の改良並びに設計の変更を行っても良い。
例えば、上記実施形態1〜3にあっては、CODEC6、206、306にて、画像フレームのデコードと補間画像フレームの生成の両方を行うようにしたが、各処理をそれぞれ別々の機能部で行っても良い。即ち、例えば、補間画像フレームの生成を動画再生装置100、200、300のCPU1で行うことで、CODEC6の負担を軽減して当該CODEC6の性能以上のフレームレートで画像フレームを再生表示することができる。
Note that the present invention is not limited to the first to third embodiments, and various improvements and design changes may be made without departing from the spirit of the present invention.
For example, in
また、動画再生装置100、200、300の構成は、上記実施形態に例示したものは一例であり、これに限られるものではない。即ち、符号化された動画像データを記録する記録手段を少なくとも備える動画再生装置であって、所定の条件の成立で補間画像フレームを生成して、当該補間画像フレームを再生表示する構成であれば如何なる構成のものであっても良く、例えば、一のシーンを撮像して、連続した複数の画像フレームを生成する撮像部と、撮像部により生成された複数の画像フレームを符号化して符号化動画データを生成する符号化部等を備える構成であっても良い。
Further, the configurations of the moving
加えて、上記実施形態にあっては、復号手段、再生手段、補間画像生成手段、時間判定手段、再生制御手段、計数手段、数判定手段としての機能を、CPU1の制御下にて、CODEC6、206、306や表示制御部4が駆動することにより実現される構成としたが、これに限られるものではなく、CPU1によって所定のプログラム等が実行されることにより実現される構成としても良い。
即ち、プログラムを記憶するプログラムメモリ(図示略)に、復号処理ルーチン、補間画像生成処理ルーチン、時間判定処理ルーチン、再生制御処理ルーチン、計数処理ルーチン、数判定処理ルーチンを含むプログラムを記憶して、所定の処理ルーチンにより、復号手段、再生手段、補間画像生成手段、時間判定手段、再生制御手段、計数手段、数判定手段としてCPU1を機能させるようにしても良い。
In addition, in the above embodiment, the functions of the decoding unit, the reproducing unit, the interpolated image generating unit, the time determining unit, the reproduction controlling unit, the counting unit, and the number determining unit are controlled by the
That is, a program memory (not shown) that stores a program stores a program including a decoding process routine, an interpolated image generation process routine, a time determination process routine, a reproduction control process routine, a count process routine, and a number determination process routine. The
100 動画再生装置
1 CPU
4 表示制御部
5 表示部
6、206、306 CODEC
6a 復号部
6b 時間判定部
6c、6g、6h 制御部
6e 計数部
6f 数判定部
100
4
Claims (6)
前記符号化動画データを復号して前記複数の画像フレームを生成する復号手段と、
前記復号手段により生成された前記複数の画像フレームを所定のフレームレートで切り換えて再生する再生手段と、
前記複数の画像フレームのうち、連続した所定数の画像フレーム群について、前記復号手段による各画像フレームの生成にかかるデコード時間が、前記再生手段による前記所定のフレームレートに応じた各画像フレームの再生時間以上となった遅延数を計数する計数手段と、
前記計数手段により計数された前記遅延数が所定数以上となったか否かを判定する数判定手段と、
前記数判定手段により前記遅延数が所定数以上となったと判定された場合に、前記画像フレーム群の中から前記復号手段により復号されて生成される二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する補間画像生成手段と、
前記補間画像生成手段により生成された補間画像フレームを前記二つの画像フレーム間に挿入して前記再生手段に再生させる再生制御手段と、
を備えることを特徴とする動画再生装置。 Recording means for recording encoded moving image data in which a plurality of continuous image frames are encoded;
Decoding means for decoding the encoded moving image data to generate the plurality of image frames;
Reproduction means for switching and reproducing the plurality of image frames generated by the decoding means at a predetermined frame rate;
Of the plurality of image frames, for a predetermined number of consecutive image frame groups, the decoding time required for generation of each image frame by the decoding unit is the reproduction of each image frame according to the predetermined frame rate by the reproduction unit. Counting means for counting the number of delays over time;
Number determination means for determining whether or not the number of delays counted by the counting means is equal to or greater than a predetermined number;
When it is determined by the number determination means that the number of delays is equal to or greater than a predetermined number, two image frames decoded and generated by the decoding means are identified from the image frame group with a predetermined interval. Interpolated image generating means for generating an interpolated image frame corresponding to one image frame to be reproduced between the two image frames;
Playback control means for inserting the interpolated image frame generated by the interpolated image generating means between the two image frames and causing the playback means to play back;
A moving picture reproducing apparatus comprising:
前記再生手段が前記複数の画像フレームを前記所定のフレームレートよりも高速のフレームレートで再生する場合に、前記補間画像フレームを生成することを特徴とする請求項1に記載の動画再生装置。 The interpolation image generation means includes
2. The moving image reproducing apparatus according to claim 1 , wherein the interpolating image frame is generated when the reproducing unit reproduces the plurality of image frames at a frame rate faster than the predetermined frame rate.
前記二つの画像フレームの中間画像フレーム或いはモーフィング画像フレームを前記補間画像として生成することを特徴とする請求項1または2に記載の動画再生装置。 The interpolation image generation means includes
The moving image reproduction apparatus according to claim 1 , wherein an intermediate image frame or a morphing image frame of the two image frames is generated as the interpolation image.
前記二つの画像フレーム間の画像フレーム数に応じた数で、且つ、前記二つの画像フレームに対する相対的な再生位置に応じて重み付けを代えて前記補間画像フレームを生成することを特徴とする請求項3に記載の動画再生装置。 The interpolation image generation means includes
Claims wherein the number corresponding to the number of image frames between two image frames, and, and generating the interpolation image frame instead of the weighted according to the relative playback position with respect to the two image frames 4. The moving image playback device according to 3 .
前記撮像手段により生成された前記複数の画像フレームを符号化して符号化動画データを生成する符号化手段と、
を更に備えることを特徴とする請求項1〜4の何れか一項に記載の動画再生装置。 Imaging means for imaging one scene and generating a plurality of continuous image frames;
Encoding means for encoding the plurality of image frames generated by the imaging means to generate encoded moving image data;
5. The moving picture reproducing apparatus according to claim 1 , further comprising:
前記符号化動画データを復号して前記複数の画像フレームを生成する復号手段、
前記複数の画像フレームのうち、連続した所定数の画像フレーム群について、前記復号手段による各画像フレームの生成にかかるデコード時間が、前記複数の画像フレームを所定のフレームレートで切り換えて再生する再生手段による前記所定のフレームレートに応じた各画像フレームの再生時間以上となった遅延数を計数する計数手段、
前記計数手段により計数された前記遅延数が所定数以上となったか否かを判定する数判定手段、
前記数判定手段により前記遅延数が所定数以上となったと判定された場合に、前記画像フレーム群の中から前記復号手段により復号されて生成される二つの画像フレームを所定間隔を空けて特定し、当該二つの画像フレーム間で再生予定の一の画像フレームに相当する補間画像フレームを生成する補間画像生成手段、
前記補間画像生成手段により生成された補間画像フレームを前記二つの画像フレーム間に挿入して前記再生手段に再生させる再生制御手段、
として機能させることを特徴とするプログラム。 A computer of a moving image reproducing apparatus comprising recording means for recording encoded moving image data in which a plurality of continuous image frames are encoded,
Decoding means for decoding the encoded moving image data to generate the plurality of image frames;
Reproduction means for reproducing a predetermined number of consecutive image frame groups among the plurality of image frames by switching the plurality of image frames at a predetermined frame rate for a decoding time required to generate each image frame by the decoding means. Counting means for counting the number of delays equal to or longer than the reproduction time of each image frame according to the predetermined frame rate by
Number determination means for determining whether or not the number of delays counted by the counting means is equal to or greater than a predetermined number;
When it is determined by the number determination means that the number of delays is equal to or greater than a predetermined number, two image frames decoded and generated by the decoding means are identified from the image frame group with a predetermined interval. Interpolated image generating means for generating an interpolated image frame corresponding to one image frame to be reproduced between the two image frames,
Reproduction control means for inserting the interpolated image frame generated by the interpolation image generating means between the two image frames and causing the reproduction means to reproduce the reproduction control means;
A program characterized by functioning as
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009007744A JP5493362B2 (en) | 2009-01-16 | 2009-01-16 | Movie playback apparatus and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009007744A JP5493362B2 (en) | 2009-01-16 | 2009-01-16 | Movie playback apparatus and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2010166386A JP2010166386A (en) | 2010-07-29 |
JP5493362B2 true JP5493362B2 (en) | 2014-05-14 |
Family
ID=42582194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009007744A Active JP5493362B2 (en) | 2009-01-16 | 2009-01-16 | Movie playback apparatus and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5493362B2 (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012142874A (en) * | 2011-01-06 | 2012-07-26 | Sony Corp | Information processing device, information processing method and program |
JP5847752B2 (en) | 2013-03-29 | 2016-01-27 | 株式会社東芝 | Movie playback device |
JP2015056695A (en) | 2013-09-10 | 2015-03-23 | 株式会社東芝 | Moving image reproducing device |
JP2016059015A (en) | 2014-09-12 | 2016-04-21 | 株式会社東芝 | Image output device |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2998640B2 (en) * | 1996-06-21 | 2000-01-11 | 日本電気株式会社 | Video playback device |
JP2004336405A (en) * | 2003-05-08 | 2004-11-25 | Ricoh Co Ltd | Dynamic image processing apparatus, program, storage medium, and dynamic image processing method |
JP2005136596A (en) * | 2003-10-29 | 2005-05-26 | Ricoh Co Ltd | System and method for processing motion picture, program and information recording medium |
JP2005159525A (en) * | 2003-11-21 | 2005-06-16 | Matsushita Electric Ind Co Ltd | Digital reproducing apparatus or reproducing method |
JP4265482B2 (en) * | 2004-05-31 | 2009-05-20 | カシオ計算機株式会社 | Image reproducing apparatus and image reproducing method |
JP2006101406A (en) * | 2004-09-30 | 2006-04-13 | Toshiba Corp | Information processing apparatus and program used for the processing apparatus |
JP4466390B2 (en) * | 2005-01-31 | 2010-05-26 | カシオ計算機株式会社 | Movie apparatus, movie playback method, and program |
-
2009
- 2009-01-16 JP JP2009007744A patent/JP5493362B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2010166386A (en) | 2010-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4794386B2 (en) | Imaging device | |
JP5751942B2 (en) | Playback apparatus and playback method | |
JP5493362B2 (en) | Movie playback apparatus and program | |
JP5149283B2 (en) | Moving picture reproducing apparatus, digital camera, semiconductor integrated circuit, and moving picture reproducing method | |
JP2009296081A (en) | Video image reproducer | |
JP2008035281A (en) | Image coding method | |
EP2154900A1 (en) | Dynamic image decoding method, dynamic image decoding device, and electronic apparatus | |
JP4385987B2 (en) | Video processing apparatus, video processing method, and computer program | |
JP2006526361A (en) | Method and system for performing a reverse trick mode of non-progressive video using special groups of pictures | |
JP2003324690A (en) | Video record playback device | |
JP2011146847A (en) | Image reproduction controller, image reproduction control method, and imaging device | |
JP3861454B2 (en) | Movie data compression device | |
JP2007504785A (en) | Non-progressive video forward trick mode with special pictures | |
JP5948927B2 (en) | Image processing apparatus, image processing method, program, and imaging apparatus | |
JPWO2008129648A1 (en) | Frame rate conversion apparatus, frame rate conversion method, and moving picture encoding apparatus | |
JP4867872B2 (en) | Image processing apparatus, control method for the image processing apparatus, and program | |
JP2007129489A (en) | Picture reproducer and picture reproduction method | |
CN102884788A (en) | Moving image output apparatus, moving image output method, and moving image output program | |
JP4498207B2 (en) | Video processing apparatus and video processing method | |
JP2010206463A (en) | Method, device and program for encoding moving image | |
JP4467902B2 (en) | Recording / reproducing apparatus and method, recording medium, and program | |
JP5859100B2 (en) | Image recording device | |
JP2005229553A (en) | Image processing apparatus | |
JP6028544B2 (en) | Image reproduction apparatus, image reproduction method, and image reproduction program | |
JP5355176B2 (en) | Movie storage device and control method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20120106 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20120106 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20130212 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130312 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130405 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131119 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140116 |
|
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: 20140204 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140217 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5493362 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |