JP3778812B2 - Video stream data converter and program for functioning the same - Google Patents

Video stream data converter and program for functioning the same Download PDF

Info

Publication number
JP3778812B2
JP3778812B2 JP2001146742A JP2001146742A JP3778812B2 JP 3778812 B2 JP3778812 B2 JP 3778812B2 JP 2001146742 A JP2001146742 A JP 2001146742A JP 2001146742 A JP2001146742 A JP 2001146742A JP 3778812 B2 JP3778812 B2 JP 3778812B2
Authority
JP
Japan
Prior art keywords
resolution
still image
image data
conversion
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP2001146742A
Other languages
Japanese (ja)
Other versions
JP2002342771A (en
Inventor
文明 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2001146742A priority Critical patent/JP3778812B2/en
Publication of JP2002342771A publication Critical patent/JP2002342771A/en
Application granted granted Critical
Publication of JP3778812B2 publication Critical patent/JP3778812B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Processing Or Creating Images (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、複数の異なる解像度の静止画データを動画ストリームデータに変換するための動画ストリームデータ変換システムに関する。
【0002】
【従来の技術】
従来より、複数の静止画データを動画ストリームデータに変換するための動画ストリームデータ変換方法に関する技術として、特開平3−127281号公報および特開平1−321787号公報に記載されたものが知られている。
【0003】
特開平3−127281号公報には、複数の静止画フレームの集まりとして記録されている動画ファイル(動画ストリームデータ)を再生するに際し、各静止画フレームの表示時間情報を記録したテーブルを設け、この表示時間情報に従って一定時間間隔で読み出されるべき静止画フレームを決定し、複数の静止画フレームを順次連続的に再生することによって動画を表示する技術が開示されている。
【0004】
また、特開平1−321787号公報には、電子スチルカメラにおいて、静止画情報記録の際に速写モードを指定する速写モード指定手段と、速写モードにより静止画情報の記録が行われた際に、1枚目の静止画情報を記録したフロッピー(R)ディスクのトラック番号と、最後の静止画情報を記録したフロッピー(R)ディスクのトラック番号とを記録する速写トラック番号記録手段と、静止画情報出力の際に速写1枚目のトラック番号が検知された場合には該1枚目のトラック番号から最後のトラック番号までのフロッピー(R)ディスクに記録された静止画情報を、予め設定された時間間隔で連続再生する技術が開示されている。
【0005】
【発明が解決しようとする課題】
しかしながら、上述した従来の技術は、複数の静止画データから動画ストリームデータに変換する手段において、複数の静止画データの解像度はすべて同じであることが前提となっている。さらに、静止画データを動画ストリームデータに変換する際に、部分的に任意のフレーム間隔時間で動画ストリームデータに変換することが困難であるという問題を有している。
【0006】
本発明は、上述した事情に鑑み提案されたもので、解像度の異なる複数の静止画データを動画ストリームデータに変換することが可能であり、また部分的に任意のフレーム間隔時間で動画ストリームデータに変換することが可能な動画ストリームデータ変換装置及びこれを機能させるためのプログラムを提供することを目的とする。
【0007】
【課題を解決するための手段】
本発明に係る動画ストリームデータ変換装置は、複数の異なる解像度の静止画データを動画ストリームデータに変換するための動画ストリームデータ変換装置において、
前記複数の異なる解像度の静止画データを認識する静止画入力処理手段と、認識された静止画データの解像度を全て同一の解像度に変換する解像度変換処理手段と、前記静止画データを動画ストリームデータに変換する際フレーム間隔時間を認識するフレーム間隔時間入力処理手段と、解像度を変換した静止画データ及び認識されたフレーム間隔時間に基づいて、静止画データを動画ストリームデータに変換する動画変換処理手段を備えたこと特徴とする。
【0008】
また、前記動画ストリームデータ変換装置において、前記静止画データの解像度を全て同一の解像度に変換する処理は、静止画データの解像度の最大値、静止画データの解像度の最小値、最も多く保存されている静止画データの解像度のうちのいずれか一つに基づいて変換後の解像度を決定する変換解像度決定処理手段を備えたことを特徴とする。
また、前記動画ストリームデータ変換装置において、前記静止画データの解像度を全て同一の解像度に変換する処理は、変換可能な解像度の範囲として、特定範囲に限定する選択有効解像度範囲を設定する有効解像度判定手段を備え、前記認識された静止画データの解像度が前記選択有効解像度範囲外と判定された場合に、前記変換解像度決定処理手段において、前記有効解像度範囲に合致する最も近い解像度を決定することを特徴とする。
【0009】
また、前記動画ストリームデータ変換装置において、前記動画変換処理手段は、動画ストリームレートの設定を変更することなく、フレーム単位で指定された時間間隔により、静止画データを動画ストリームデータに変換することを特徴とする。
【0010】
本発明に係るプログラムは、コンピュータを、前記記載の動画ストリームデータ変換装置として機能させることを特徴とする。
【0011】
【発明の実施の形態】
以下、図面に基づいて、本発明に係る動画ストリームデータ変換装置及びこれを機能させるためのプログラムの一実施形態を説明する。
図1は、本発明の実施形態に係る動画ストリームデータ変換装置を実現するための処理部の概略構成を示すブロック図である。
本発明の実施形態に係る動画ストリームデータ変換装置は、図1に示すように、パーソナルコンピュータがアプリケーションソフトウエアに基づいて各処理部等として動作することにより実現されるものである。なお、パーソナルコンピュータには、ハードディスク記憶装置、CD−ROM(CD−R,CD−RW)記憶装置、DVD記憶装置等からなる記憶装置と、キーボード、マウス等からなる入力装置と、液晶ディスプレイ、CRTディスプレイ等からなる出力装置が接続されている。
本発明の実施形態に係る動画ストリームデータ変換装置を実現するための各処理部は、図1に示すように、静止画入力処理部1、フレーム間隔時間入力処理部2、フレームレート入力処理部3、変換解像度決定処理部4、有効解像度判定部4a、解像度変換処理部5、出力方法入力処理部6および動画変換処理部7から構成されている。
【0012】
次に、各処理部1〜7の動作について説明する。
静止画入力処理部1は、動画ストリームデータに変換するための静止画データの入力を行うための処理部である。
フレーム間隔時間入力処理部2は、静止画データを動画ストリームデータに変換する際に使用するフレーム間隔時間(単位:ミリ秒)の入力を行うための処理部である。
フレームレート入力処理部3は、静止画データを動画ストリームデータに変換する際に、一般的に必要となるフレームレートの入力を行うための処理部である。
【0013】
変換解像度決定処理部4は、静止画入力処理部1から出力された複数の異なる解像度を有する静止画データに基づいて、動画ストリームデータに変換するための解像度値を決定するための処理部である。
解像度の選択方法としては、取り込んだ静止画データの解像度の最大値、静止画データの解像度の最小値、最も多く保存されている静止画データの解像度のうちのいずれか一つに基づいて解像度が選択される。
【0014】
有効解像度判定部4aは、選択された静止画データの解像度が、当該装置(パーソナルコンピュータ)が処理できる有効解像度範囲内であるかどうかを判定するための処理部である。
この有効解像度判定部4aにおける判定処理の結果が、有効解像度範囲外である場合には、有効解像度範囲内に最も近い解像度を変換解像度として選択する。
この有効解像度は、(a)動画として適した解像度、(b)現在のハードウエアの動画再生編集能力、(c)将来に向けたハードウエアの進歩予測(パス容量の増加)等の要因に基づいて、例えば80×60、2560×2048という範囲に設定されている。
【0015】
解像度変換処理部5は、上述した変換解像度決定処理部4により決定された解像度に応じて、静止画入力処理部1から入力された全静止画データを当該決定された解像度となるように変換するための処理部である。
出力方法入力処理部6は、当該装置(パーソナルコンピュータ)で変換された動画ストリームを再生するのか、あるいは動画ファイルとしてファイル化するのかについて、指示を入力するための処理部である。
【0016】
動画変換処理部7は、解像度変換処理部5、フレーム間隔時間入力処理部2、フレームレート入力処理部3から入力されるデータを用いて、静止画データを動画ストリームデータに変換する。本実施形態では、静止画データを動画フレームデータとして扱い、フレーム間隔時間とフレームレートによって各フレームデータ毎にフレーム時間を付加することにより、動画ストリーム化を行い、出力方法入力処理部6から入力された出力方法に従って動画ストリームデータを出力する。このとき、動画ストリームデータは、非圧縮データとして出力することが望ましい。
【0017】
図2は、変換後の解像度を決定する手順の実施例1を示すフローチャートである。
実施例1の解像度決定手順は、入力された静止画データの中で使用されている解像度の中から、最も大きい解像度を変換後の解像度として決定するものである。
図2中、破線で囲った(1)の部分は、入力された静止画データの中で使用されている解像度の中から、最も大きい解像度を変換後の解像度として取り出すための処理を示す。
【0018】
すなわち、入力された静止画データを1つずつ取得し(S1)、その静止画データを取得することができたか否かを確認し(S2)、静止画データを取得することができた場合には、当該静止画データの解像度を取得する(S3)。続いて、取得した解像度と現在保持している最も大きい解像度(以下、採用解像度)とを比較し(S4)、前者が大きければ採用解像度を更新する(S5)。
上述した各処理(S1〜S5)を、全ての静止画データに対して繰り返し行い、全ての静止画データに対する処理が終了したら、図2中、破線で囲った(2)の部分の処理へ移行する。
【0019】
図2中、破線で囲った(2)の部分は、上述した(1)の部分で決定された採用解像度が有効解像度範囲内に収まっているか否かをチェックするための処理を示す。
すなわち、採用解像度が有効解像度範囲内に収まっているか否かを判断し(S6)、有効解像度範囲内であれば、そのまま採用解像度として決定し、有効解像度範囲外であれば有効解像度範囲内で最も近い値を調べ、その値を採用解像度として決定する(S7)。
【0020】
具体的には、入力された静止画データが5つあり、それぞれの解像度が80×60、160×120、240×180、320×240、400×300であったとすると、400×300が変換する解像度として採用される。この例では、全ての解像度が有効解像度範囲内となっているが、例えば、ここで解像度の最大値が3072×2304であった場合には、有効解像度範囲で最も近い値である2560×2048に変更される。
【0021】
図3は、変換後の解像度を決定する手順の実施例2を示すフローチャートである。
実施例2の解像度決定手順は、入力された静止画データの中で使用されている解像度のうち、最も小さい解像度を変換後の解像度として決定するものである。なお、図3において、図2に示す手順と同様の動作については、同一の符号を付して説明を行う。
図3中、破線で囲った(1)の部分は、入力された静止画データの中で使用されている解像度の中から、最も小さい解像度値を変換後の解像度として取り出す処理を示す。
【0022】
すなわち、入力された静止画データを1つずつ取得し(S1)、その静止画データを取得することができたか否かを確認し(S2)、静止画データを取得することができた場合には、当該静止画データの解像度を取得する(S3)。続いて、取得した解像度と現在保持している最も小さい解像度(以下、採用解像度)とを比較し(S4a)、前者が小さければ採用解像度を更新する(S5a)。
【0023】
上述した各処理(S1〜S5a)を、全ての静止画データに対して繰り返し行い、全ての静止画データに対する処理が終了したら、図3中、破線で囲った(2)の部分の処理へ移行する。
図3中、破線で囲った(2)の部分は、上述した(1)の部分で決定された採用解像度が有効解像度範囲内に収まっているか否かをチェックするための処理を示す。
【0024】
すなわち、採用解像度が有効解像度範囲内に収まっているか否かを判断し(S6)、有効解像度範囲内であれば、そのまま採用解像度として決定し、有効解像度範囲外であれば有効解像度範囲内で最も近い値を調べ、その値を採用解像度として決定する(S7)。
具体的には、入力された静止画データが5つあり、それぞれの解像度が80×60、160×120、240×180、320×240、400×300であったとすると、80×60が変換する解像度として採用される。この例では、全ての解像度が有効解像度範囲内となっているが、例えば、ここで解像度の最小値が40×30であった場合には、有効解像度範囲で最も近い値である80×60に変更される。
【0025】
図4は、変換後の解像度を決定する手順の実施例3を示すフローチャートである。
実施例3の解像度決定手順は、入力された静止画データの中で使用されている解像度のうち、最も多く使用されている解像度を変換後の解像度として決定するものである。
図4中、破線で囲った(1)の部分は、入力された静止画データの中で最も多く使用されている解像度を変換後の解像度として取り出すための処理を示す。
【0026】
すなわち、入力された静止画データを1つずつ取得し(S11)、その静止画データを取得することができたか否かを確認し(S12)、静止画データを取得することができた場合には、当該静止画データの解像度を取得する(S13)。
続いて、取得した解像度がいくつあるかを保持しておくカウンタ値を格納するための領域を確認し(S14)、取得した解像度に対応する格納領域が存在しない場合には、当該解像度に対応する格納領域を作成する(S16)。一方、取得した解像度に対応する格納領域が存在する場合には、当該格納領域内に保持するカウンタ値を1ずつ加算する(S15)。
【0027】
上述した各処理(S11〜S16)を、全ての静止画データに対して繰り返し行い、全ての静止画データに対する処理が終了したら、各解像度別のカウンタ値のうち、カウンタ値が最も大きい解像度を取得し(S17)、図4中、破線で囲った(2)の部分の処理へ移行する。
図2中、破線で囲った(2)の部分は、上述した(1)の部分で決定された採用解像度が有効解像度範囲内に収まっているか否かをチェックするための処理を示す。
【0028】
すなわち、採用解像度が有効解像度範囲内に収まっているか否かを判断し(S18)、有効解像度範囲内であれば、そのまま採用解像度として決定し、有効解像度範囲外であれば有効解像度範囲内で最も近い値を調べ、その値を採用解像度として決定する(S19)。
具体的には、入力された静止画データが6つあり、それぞれの解像度が80×60、160×120、160×120、320×240、320×240、160×120であったとすると、160×120が変換する解像度として採用される。この例では、全ての解像度が有効解像度範囲内となっている。
ここで、最も多く使用されている解像度値が3072×2304であった場合は、有効解像度範囲の最も近い値である2560×2048に変更される。
【0029】
図5は、フレーム間隔時間の指定を行わない場合における、静止画データから動画ストリームデータへの変換に関する仕組みを示す説明図である。
図5では、A〜Jまでの10枚の静止画データ(a)を、フレームレートを5fpsとして動画ストリームデータに変換した例を示している。
フレームレートが5fpsの場合には、1フレームが200ミリ秒(b)となるため、10枚の静止画データを動画ストリームデータに変換した場合、(a)×(b)=2000ミリ秒、すなわち2秒の動画ストリームデータとなる。
【0030】
図6は、フレーム間隔時間の指定を行った場合における、静止画データから動画ストリームデータへの変換に関する仕組みを示す説明図である。
図6では、A〜Jまでの10枚の静止画データ(a)を、フレームレートを5fsとし、フレーム間隔時間を2秒に指定して動画ストリームデータに変換した例を示している。
フレームレートが5fpsの場合には、1フレームが200ミリ秒(b)となるため、フレーム間隔を2秒とするために、同じ静止画データ10枚(c)を200ミリ秒間隔(5fps)で挿入している。
このような処理を全ての静止画データに対して行うことにより、(a)×(b)×(c)=20000ミリ秒、すなわち20秒の動画ストリームデータとなる。
【0031】
【発明の効果】
本発明に係る動画ストリームデータ変換装置及びこれを機能させるためのプログラムによれば、複数の異なる解像度の静止画データを全て同一の解像度に変換し、変換後の解像度に応じてフレーム間隔時間を決定して動画ストリームデータに変換している。したがって、フレーム設定の煩わしさから開放されるという極めて優れた効果を奏することができる。
【0032】
また、本発明に係る動画ストリームデータ変換装置及びこれを機能させるためのプログラムによれば、静止画データを動画ストリームデータに変換する前に、解像度の異なる複数の静止画データを動画ストリームデータに変換することができるので、事前に解像度変換を行う必要がなく、より簡単に静止画データを動画ストリームデータに変換することができる。
【0033】
また、本発明に係る動画ストリームデータ変換装置及びこれを機能させるためのプログラムによれば、変換後の動画ストリームデータを使用して、より簡単に再生を行ったり、任意の動画ファイルフォーマットにより動画ファイル化を行うことができる。
【図面の簡単な説明】
【図1】 本発明の実施形態に係る動画ストリームデータ変換装置を実現するための処理部の概略構成を示すブロック図である。
【図2】 変換後の解像度を決定する手順の実施例1を示すフローチャートである。
【図3】 変換後の解像度を決定する手順の実施例2を示すフローチャートである。
【図4】 変換後の解像度を決定する手順の実施例3を示すフローチャートである。
【図5】 フレーム間隔時間の指定を行わない場合における、静止画データから動画ストリームデータへの変換に関する仕組みを示す説明図である。
【図6】 フレーム間隔時間の指定を行った場合における、静止画データから動画ストリームデータへの変換に関する仕組みを示す説明図である。
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a moving image stream data conversion system for converting still image data having a plurality of different resolutions into moving image stream data.
[0002]
[Prior art]
Conventionally, as a technique relating to a moving picture stream data conversion method for converting a plurality of still picture data into moving picture stream data, those described in Japanese Patent Laid-Open Nos. 3-127281 and 1-321787 are known. Yes.
[0003]
JP-A-3-127281 provides a table that records display time information of each still image frame when reproducing a moving image file (moving image stream data) recorded as a collection of a plurality of still image frames. There is disclosed a technique for displaying a moving image by determining still image frames to be read at regular time intervals in accordance with display time information and sequentially reproducing a plurality of still image frames.
[0004]
Japanese Patent Application Laid-Open No. 1-321787 discloses an electronic still camera that includes a fast-shot mode designating unit that designates a fast-shot mode when recording still picture information, and when still-image information is recorded in the fast-shot mode. Fast-track track number recording means for recording the track number of the floppy (R) disk on which the first still image information is recorded and the track number of the floppy (R) disk on which the last still image information is recorded, and still image information If the first track number is detected at the time of output, the still image information recorded on the floppy (R) disk from the first track number to the last track number is preset. A technique for continuous reproduction at time intervals is disclosed.
[0005]
[Problems to be solved by the invention]
However, the above-described conventional technique is based on the premise that the resolutions of the plurality of still image data are all the same in the means for converting the plurality of still image data into the moving image stream data. Furthermore, when still image data is converted to moving image stream data, it is difficult to partially convert it to moving image stream data at an arbitrary frame interval time.
[0006]
The present invention has been proposed in view of the above-described circumstances, and can convert a plurality of still image data having different resolutions into moving image stream data, and partially convert it into moving image stream data at an arbitrary frame interval time. It is an object of the present invention to provide a moving picture stream data conversion apparatus capable of conversion and a program for causing the apparatus to function .
[0007]
[Means for Solving the Problems]
Video stream data converter according to the present invention, in the moving picture stream data conversion apparatus for converting still image data of a plurality of different resolutions video stream data,
Still image input processing means for recognizing the still image data of the plurality of different resolutions, and resolution conversion processing means for converting the recognized resolution of the still image data to all the same resolution, the still image data in the moving picture stream data a frame interval time input processing means for recognizing a frame interval time when converting, based on the still image data and the recognized frame interval time obtained by converting the resolution, video conversion means for converting the still image data in the moving picture stream data characterized by comprising and.
[0008]
Further, in the moving picture stream data conversion apparatus , the processing for converting all the resolutions of the still image data into the same resolution is performed by storing the maximum resolution of the still image data, the minimum resolution of the still image data, and the largest amount. Conversion resolution determining processing means for determining the resolution after conversion based on any one of the resolutions of still image data .
In the moving picture stream data conversion device, the process of converting all the resolutions of the still image data to the same resolution is an effective resolution determination in which a selection effective resolution range limited to a specific range is set as a convertible resolution range. And when the resolution of the recognized still image data is determined to be outside the selected effective resolution range, the conversion resolution determination processing means determines the closest resolution that matches the effective resolution range. Features.
[0009]
Further, in the moving picture stream data conversion device, the moving picture conversion processing means converts the still picture data into moving picture stream data at a time interval specified in units of frames without changing the setting of the moving picture stream rate. Features.
[0010]
A program according to the present invention causes a computer to function as the moving picture stream data conversion device described above.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, an embodiment of a moving picture stream data converter according to the present invention and a program for causing it to function will be described with reference to the drawings.
FIG. 1 is a block diagram showing a schematic configuration of a processing unit for realizing a moving picture stream data conversion apparatus according to an embodiment of the present invention.
As shown in FIG. 1, the moving picture stream data conversion apparatus according to the embodiment of the present invention is realized by a personal computer operating as each processing unit or the like based on application software. The personal computer includes a hard disk storage device, a CD-ROM (CD-R, CD-RW) storage device, a storage device such as a DVD storage device, an input device such as a keyboard and a mouse, a liquid crystal display, and a CRT. An output device such as a display is connected.
As shown in FIG. 1, each processing unit for realizing the video stream data conversion apparatus according to the embodiment of the present invention includes a still image input processing unit 1, a frame interval time input processing unit 2, and a frame rate input processing unit 3. A conversion resolution determination processing unit 4, an effective resolution determination unit 4a, a resolution conversion processing unit 5, an output method input processing unit 6, and a moving image conversion processing unit 7.
[0012]
Next, operations of the processing units 1 to 7 will be described.
The still image input processing unit 1 is a processing unit for inputting still image data for conversion into moving image stream data.
The frame interval time input processing unit 2 is a processing unit for inputting a frame interval time (unit: millisecond) used when converting still image data into moving image stream data.
The frame rate input processing unit 3 is a processing unit for inputting a frame rate that is generally required when converting still image data into moving image stream data.
[0013]
The conversion resolution determination processing unit 4 is a processing unit for determining a resolution value for conversion to moving image stream data based on still image data having a plurality of different resolutions output from the still image input processing unit 1. .
The resolution can be selected based on one of the maximum resolution of the captured still image data, the minimum resolution of the still image data, or the resolution of the most stored still image data. Selected.
[0014]
The effective resolution determination unit 4a is a processing unit for determining whether or not the resolution of the selected still image data is within an effective resolution range that can be processed by the apparatus (personal computer).
If the result of the determination process in the effective resolution determination unit 4a is outside the effective resolution range, the resolution closest to the effective resolution range is selected as the conversion resolution.
This effective resolution is based on factors such as (a) a resolution suitable for moving images, (b) current hardware video playback / editing capability, (c) hardware prediction for the future (pass capacity increase), and the like. For example, the range is set to 80 × 60, 2560 × 2048.
[0015]
The resolution conversion processing unit 5 converts all still image data input from the still image input processing unit 1 so as to have the determined resolution in accordance with the resolution determined by the conversion resolution determination processing unit 4 described above. Is a processing unit.
The output method input processing unit 6 is a processing unit for inputting an instruction as to whether to reproduce a moving image stream converted by the apparatus (personal computer) or to file it as a moving image file.
[0016]
The moving image conversion processing unit 7 converts still image data into moving image stream data using data input from the resolution conversion processing unit 5, the frame interval time input processing unit 2, and the frame rate input processing unit 3. In this embodiment, still image data is handled as moving image frame data, and a moving image stream is formed by adding a frame time to each frame data according to a frame interval time and a frame rate, and is input from the output method input processing unit 6. Video stream data is output according to the output method. At this time, it is desirable to output the moving image stream data as uncompressed data.
[0017]
FIG. 2 is a flowchart showing the first embodiment of the procedure for determining the resolution after conversion.
In the resolution determination procedure according to the first embodiment, the highest resolution is determined as the resolution after conversion from among the resolutions used in the input still image data.
In FIG. 2, a portion (1) surrounded by a broken line indicates a process for extracting the highest resolution as the resolution after conversion from the resolutions used in the input still image data.
[0018]
That is, the input still image data is acquired one by one (S1), it is confirmed whether or not the still image data can be acquired (S2), and the still image data can be acquired. Acquires the resolution of the still image data (S3). Subsequently, the acquired resolution is compared with the highest resolution currently held (hereinafter, adopted resolution) (S4), and if the former is larger, the adopted resolution is updated (S5).
The above-described processes (S1 to S5) are repeated for all the still image data, and when the processes for all the still image data are completed, the process proceeds to the process (2) surrounded by a broken line in FIG. To do.
[0019]
In FIG. 2, a part (2) surrounded by a broken line indicates a process for checking whether or not the adopted resolution determined in the part (1) described above is within the effective resolution range.
That is, it is determined whether or not the adopted resolution is within the effective resolution range (S6). If it is within the effective resolution range, the adopted resolution is determined as it is, and if it is outside the effective resolution range, it is the most within the effective resolution range. A close value is checked, and that value is determined as the adopted resolution (S7).
[0020]
Specifically, if there are five input still image data and the respective resolutions are 80 × 60, 160 × 120, 240 × 180, 320 × 240, and 400 × 300, 400 × 300 is converted. Adopted as resolution. In this example, all the resolutions are within the effective resolution range. For example, when the maximum value of the resolution is 3072 × 2304, the resolution is closest to 2560 × 2048. Be changed.
[0021]
FIG. 3 is a flowchart showing a second embodiment of the procedure for determining the resolution after conversion.
In the resolution determination procedure of the second embodiment, the smallest resolution among the resolutions used in the input still image data is determined as the resolution after conversion. In FIG. 3, the same operations as those in the procedure shown in FIG. 2 will be described with the same reference numerals.
In FIG. 3, a portion (1) surrounded by a broken line indicates a process of extracting the smallest resolution value as the resolution after conversion from the resolutions used in the input still image data.
[0022]
That is, the input still image data is acquired one by one (S1), it is confirmed whether or not the still image data can be acquired (S2), and the still image data can be acquired. Acquires the resolution of the still image data (S3). Subsequently, the acquired resolution is compared with the smallest resolution currently held (hereinafter, adopted resolution) (S4a). If the former is small, the adopted resolution is updated (S5a).
[0023]
The above-described processes (S1 to S5a) are repeated for all the still image data, and when the processes for all the still image data are completed, the process proceeds to the process (2) surrounded by a broken line in FIG. To do.
In FIG. 3, a part (2) surrounded by a broken line indicates a process for checking whether or not the adopted resolution determined in the part (1) described above is within the effective resolution range.
[0024]
That is, it is determined whether or not the adopted resolution is within the effective resolution range (S6). If it is within the effective resolution range, the adopted resolution is determined as it is, and if it is outside the effective resolution range, it is the most within the effective resolution range. A close value is checked, and that value is determined as the adopted resolution (S7).
Specifically, if there are five input still image data and the respective resolutions are 80 × 60, 160 × 120, 240 × 180, 320 × 240, and 400 × 300, 80 × 60 is converted. Adopted as resolution. In this example, all the resolutions are within the effective resolution range. For example, when the minimum value of the resolution is 40 × 30, the closest value in the effective resolution range is 80 × 60. Be changed.
[0025]
FIG. 4 is a flowchart showing a third embodiment of the procedure for determining the resolution after conversion.
The resolution determination procedure of the third embodiment is to determine the most frequently used resolution among the resolutions used in the input still image data as the resolution after conversion.
In FIG. 4, a part (1) surrounded by a broken line indicates a process for extracting the resolution that is most frequently used in the input still image data as the resolution after conversion.
[0026]
That is, the input still image data is acquired one by one (S11), whether or not the still image data can be acquired is confirmed (S12), and the still image data can be acquired. Acquires the resolution of the still image data (S13).
Subsequently, an area for storing a counter value for holding how many resolutions are acquired is confirmed (S14), and if there is no storage area corresponding to the acquired resolution, the area corresponds to the resolution. A storage area is created (S16). On the other hand, if there is a storage area corresponding to the acquired resolution, the counter value held in the storage area is incremented by 1 (S15).
[0027]
The above-described processes (S11 to S16) are repeated for all the still image data, and when the processing for all the still image data is completed, the resolution having the largest counter value is obtained from the counter values for each resolution. (S17), the process proceeds to the process of the part (2) surrounded by the broken line in FIG.
In FIG. 2, a part (2) surrounded by a broken line indicates a process for checking whether or not the adopted resolution determined in the part (1) described above is within the effective resolution range.
[0028]
That is, it is determined whether or not the adopted resolution is within the effective resolution range (S18). If it is within the effective resolution range, the adopted resolution is determined as it is, and if it is outside the effective resolution range, it is the most within the effective resolution range. A close value is examined, and that value is determined as the adopted resolution (S19).
Specifically, if there are six input still image data and the respective resolutions are 80 × 60, 160 × 120, 160 × 120, 320 × 240, 320 × 240, 160 × 120, 160 × 120 120 is adopted as the resolution to be converted. In this example, all the resolutions are within the effective resolution range.
Here, if the most frequently used resolution value is 3072 × 2304, it is changed to 2560 × 2048 which is the closest value in the effective resolution range.
[0029]
FIG. 5 is an explanatory diagram showing a mechanism related to conversion from still image data to moving image stream data when no frame interval time is specified.
FIG. 5 shows an example in which 10 still image data (a) from A to J are converted into moving image stream data with a frame rate of 5 fps.
When the frame rate is 5 fps, one frame is 200 milliseconds (b). Therefore, when 10 pieces of still image data are converted into video stream data, (a) × (b) = 2000 milliseconds, that is, The video stream data is 2 seconds.
[0030]
FIG. 6 is an explanatory diagram showing a mechanism relating to conversion from still image data to moving image stream data when a frame interval time is designated.
FIG. 6 shows an example in which 10 still image data (a) from A to J are converted into moving picture stream data with a frame rate of 5 fs and a frame interval time of 2 seconds.
When the frame rate is 5 fps, one frame is 200 milliseconds (b). Therefore, in order to set the frame interval to 2 seconds, the same 10 pieces of still image data (c) are taken at 200 milliseconds (5 fps). Inserting.
By performing such processing on all still image data, (a) × (b) × (c) = 20000 milliseconds, that is, 20 seconds of moving image stream data.
[0031]
【The invention's effect】
According to the moving picture stream data converting apparatus and the program for causing the function to function according to the present invention, a plurality of still image data with different resolutions are all converted to the same resolution, and the frame interval time is determined according to the converted resolution. And converted to video stream data. Therefore, it is possible to achieve an extremely excellent effect of being freed from troublesome frame setting.
[0032]
Further, according to the moving picture stream data conversion device and the program for causing the function to function according to the present invention, before converting still picture data into moving picture stream data, a plurality of still picture data having different resolutions are converted into moving picture stream data. Therefore, it is not necessary to perform resolution conversion in advance, and still image data can be more easily converted to moving image stream data.
[0033]
In addition, according to the moving picture stream data conversion apparatus and the program for causing the function to function according to the present invention, the converted moving picture stream data can be used for easier reproduction or a moving picture file in an arbitrary moving picture file format. Can be made.
[Brief description of the drawings]
FIG. 1 is a block diagram showing a schematic configuration of a processing unit for realizing a moving image stream data conversion apparatus according to an embodiment of the present invention.
FIG. 2 is a flowchart illustrating Example 1 of a procedure for determining a resolution after conversion;
FIG. 3 is a flowchart showing a second embodiment of the procedure for determining the resolution after conversion;
FIG. 4 is a flowchart showing a third embodiment of the procedure for determining the resolution after conversion;
FIG. 5 is an explanatory diagram showing a mechanism related to conversion from still image data to moving image stream data when no frame interval time is specified.
FIG. 6 is an explanatory diagram showing a mechanism relating to conversion from still image data to moving image stream data when a frame interval time is designated.

Claims (5)

複数の異なる解像度の静止画データを動画ストリームデータに変換するための動画ストリームデータ変換装置において、
前記複数の異なる解像度の静止画データを認識する静止画入力処理手段と、
認識された静止画データの解像度を全て同一の解像度に変換する解像度変換処理手段と、
前記静止画データを動画ストリームデータに変換する際フレーム間隔時間を認識するフレーム間隔時間入力処理手段と、
解像度を変換した静止画データ及び認識されたフレーム間隔時間に基づいて、静止画データを動画ストリームデータに変換する動画変換処理手段を備えたことを特徴とする動画ストリームデータ変換装置
In a video stream data conversion device for converting still image data of a plurality of different resolutions into video stream data,
Still image input processing means for recognizing the still image data of the plurality of different resolutions,
Resolution conversion processing means for converting all the resolutions of the recognized still image data to the same resolution;
A frame interval time input processing means for recognizing a frame interval time for converting the still image data in the moving picture stream data,
Based on the still image data and the recognized frame interval time obtained by converting the resolution, video stream data conversion apparatus is characterized in that a moving image conversion processing means for converting the still image data in the moving picture stream data.
前記静止画データの解像度を全て同一の解像度に変換する処理において
静止画データの解像度の最大値、静止画データの解像度の最小値、最も多く保存されている静止画データの解像度のうちのいずれか一つに基づいて変換後の解像度を決定する変換解像度決定処理手段を備えたことを特徴とする請求項1記載の動画ストリームデータ変換装置
In the process of converting all the still image data resolutions to the same resolution,
Conversion resolution determination processing for determining a resolution after conversion based on one of the maximum resolution of still image data, the minimum resolution of still image data, and the resolution of the most stored still image data video stream data conversion apparatus according to claim 1, further comprising a means.
前記静止画データの解像度を全て同一の解像度に変換する処理において
変換可能な解像度の範囲として、特定範囲に限定する選択有効解像度範囲を設定する有効解像度判定手段を備え
前記認識された静止画データの解像度が前記選択有効解像度範囲外と判定された場合に、前記変換解像度決定処理手段において、前記有効解像度範囲に合致する最も近い解像度を決定することを特徴とする請求項1記載の動画ストリームデータ変換装置
In the process of converting all the still image data resolutions to the same resolution,
Effective resolution determination means for setting a selection effective resolution range limited to a specific range as a range of resolution that can be converted,
When the resolution of the recognized still image data is determined to be outside the selected effective resolution range, the conversion resolution determination processing unit determines the closest resolution that matches the effective resolution range. Item 4. The moving picture stream data conversion device according to Item 1.
前記動画変換処理手段は、動画ストリームレートの設定を変更することなく、フレーム単位で指定された時間間隔により、静止画データを動画ストリームデータに変換することを特徴とする請求項1記載の動画ストリームデータ変換装置2. The moving picture stream according to claim 1, wherein the moving picture conversion processing means converts still picture data into moving picture stream data at a time interval specified in units of frames without changing the setting of the moving picture stream rate. Data conversion device . コンピュータを、請求項1から4のいずれかに記載の動画ストリームデータ変換装置として機能させるためのプログラム。The program for functioning a computer as a moving image stream data converter in any one of Claim 1 to 4.
JP2001146742A 2001-05-16 2001-05-16 Video stream data converter and program for functioning the same Expired - Lifetime JP3778812B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001146742A JP3778812B2 (en) 2001-05-16 2001-05-16 Video stream data converter and program for functioning the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001146742A JP3778812B2 (en) 2001-05-16 2001-05-16 Video stream data converter and program for functioning the same

Publications (2)

Publication Number Publication Date
JP2002342771A JP2002342771A (en) 2002-11-29
JP3778812B2 true JP3778812B2 (en) 2006-05-24

Family

ID=18992336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001146742A Expired - Lifetime JP3778812B2 (en) 2001-05-16 2001-05-16 Video stream data converter and program for functioning the same

Country Status (1)

Country Link
JP (1) JP3778812B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4665793B2 (en) 2006-02-20 2011-04-06 株式会社ニコン Moving image file generation program and electronic camera

Also Published As

Publication number Publication date
JP2002342771A (en) 2002-11-29

Similar Documents

Publication Publication Date Title
JP4241709B2 (en) Image processing device
JP4285512B2 (en) Recording apparatus, recording method, reproducing apparatus, reproducing method, recording / reproducing apparatus, recording / reproducing method, imaging recording apparatus, and imaging recording method
US20070201832A1 (en) Recording apparatus, recording method, program for recording method, recording medium recording program for recording method, reproducing apparatus, reproduction method, program for reproduction method, and recording medium recording program for reproduction method
JP4075748B2 (en) Image recording device
EP1420407B1 (en) Method and apparatus for controlling editing image display
US20080136927A1 (en) Electronic camera and recording medium recording image reproduction program
JP3778812B2 (en) Video stream data converter and program for functioning the same
JPH11134352A (en) Moving picture display method
JP2002344852A (en) Information signal processing unit and information signal processing method
JP3547950B2 (en) Image input / output device
JP3427969B2 (en) Video display method and apparatus, and recording medium storing video display program
JP3683462B2 (en) Movie display device
US6243086B1 (en) Reproduction apparatus
JP4618379B2 (en) Recording apparatus, recording method, reproducing apparatus, reproducing method, recording / reproducing apparatus, recording / reproducing method, imaging recording apparatus, and imaging recording method
JP3859449B2 (en) Video playback method
JP3736146B2 (en) Information storage medium and moving picture audio recording and reproducing apparatus
JP2002094939A (en) Recording apparatus and reproducing apparatus
JP3439101B2 (en) Variable speed video playback method and apparatus, and recording medium storing variable speed video playback program
JP2001069462A (en) Device and method for recording and reproducing monitor image
JPH04291583A (en) Information recorder
JPH11238181A (en) Image recorder
JP7368881B1 (en) Distribution device, distribution method, program
JP2004297618A (en) Image extraction method and image extraction apparatus
TW200403634A (en) Digital content separation method
JPH0638164A (en) Video input/output device with retrieval function

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051206

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060201

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060228

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20100310

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100310

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110310

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120310

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20120310

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130310

Year of fee payment: 7