JP2006304103A - Moving video recording apparatus and moving video recording/reproducing apparatus - Google Patents
Moving video recording apparatus and moving video recording/reproducing apparatus Download PDFInfo
- Publication number
- JP2006304103A JP2006304103A JP2005125567A JP2005125567A JP2006304103A JP 2006304103 A JP2006304103 A JP 2006304103A JP 2005125567 A JP2005125567 A JP 2005125567A JP 2005125567 A JP2005125567 A JP 2005125567A JP 2006304103 A JP2006304103 A JP 2006304103A
- Authority
- JP
- Japan
- Prior art keywords
- thumbnail image
- image data
- file
- thumbnail
- unit
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
Description
本発明は、サムネイル機能を有する動画記録装置、および動画記録再生装置に関するものである。 The present invention relates to a moving picture recording apparatus having a thumbnail function and a moving picture recording / reproducing apparatus.
近年、デジタルスチールカメラやデジタルビデオカメラなど、CCD(Charge Coupled Device)によって捉えた画像や動画をデジタルデータに変換してフラッシュメモリなどの記録媒体に所定のファイルフォーマットの動画ファイルとして記録する動画記録装置や、映像の記録とともに、記録した動画ファイルを再生する動画記録再生装置が普及している。 In recent years, a moving image recording apparatus that converts an image or moving image captured by a CCD (Charge Coupled Device), such as a digital still camera or a digital video camera, into digital data and records it as a moving image file in a predetermined file format on a recording medium such as a flash memory. In addition, video recording / playback apparatuses that play back recorded video files together with video recording have become widespread.
また、動画記録装置の普及にともなって、動画記録再生装置によって記録された動画ファイルを再生する機能を備えたパーソナルコンピュータやテレビなども普及している。
動画記録装置は、映像を動画ファイルとして記録するが、映像のデータをそのまま記録することは、データ量から考えると現実的ではない。そのため、映像のデータに符号化処理を施してデータを圧縮して記録媒体に記録するようにしている。また、記録媒体に記録するファイルフォーマットも、パーソナルコンピュータや携帯端末、テレビ、動画ビューワーなどと互換性のあるフォーマットを採用するようにしている。
In addition, with the widespread use of moving picture recording devices, personal computers and televisions equipped with a function for playing back moving picture files recorded by a moving picture recording / playback device have also spread.
Although a moving image recording apparatus records a video as a moving image file, recording video data as it is is not realistic from the viewpoint of the amount of data. For this reason, the video data is encoded and compressed to be recorded on a recording medium. In addition, the file format to be recorded on the recording medium adopts a format compatible with a personal computer, a portable terminal, a television, a moving image viewer, and the like.
一般的に用いられるデータ圧縮に関する従来技術として、たとえば、非特許文献1および2がある。非特許文献1には、MPEG(Moving Picture coding Experts Group)−4における視聴覚情報と音響情報の多重化/組立てに関する技術が開示されている。また、非特許文献2には、MPEG−4における視覚情報の符号化に関する技術が開示されている。
For example, Non-Patent
また、動画を記録するファイルフォーマットに関する従来技術として、たとえば、非特許文献3〜5がある。非特許文献3には、動画および音声データを記録するファイルフォーマットに関する基本技術が開示されている。
Moreover, as a prior art regarding the file format which records a moving image, there exist nonpatent literatures 3-5, for example. Non-Patent
また、非特許文献4には、MP4と呼ばれる動画および音声データを記録するファイルフォーマットに関する技術が開示されている。さらに、非特許文献5には、ASF(Advanced Systems Format)ファイルと呼ばれる動画および音声データを記録するファイルフォーマットに関する技術が開示されている。
Non-Patent
ところで、動画記録再生装置には、記録した動画ファイルの任意の画面(フレーム)を表示するサムネイル表示機能がある。しかしながら、上記非特許文献1および2に記載のデータ圧縮アルゴリズムの特性、および上記非特許文献3〜4のファイルフォーマットの特性から、サムネイルの表示処理の処理負荷が大きく、処理時間がかかるという問題があった。
Incidentally, the moving image recording / playback apparatus has a thumbnail display function for displaying an arbitrary screen (frame) of a recorded moving image file. However, due to the characteristics of the data compression algorithms described in
具体的には、上記非特許文献1および2に記載のデータ圧縮技術(MPEG−4)では、フレーム間予測符号化、動き補償予測、離散コサイン変換、およびエントロピー符号化によってデータを圧縮している。フレーム間予測符号化では、現フレームの画像と直前に処理した前フレームとの差を取ることにより、差分値の統計的偏りを持たせてエントロピー符号化による符号化量削減効果を高めるようにしている。すなわち、MPEG−4では、フレーム画像のデータ全ての情報を有し単体でフレーム画像を構築できる(Iピクチャ)ストリームデータと、前フレームとの差分データのみの情報を有し単体でフレーム画像を構築することができない(PピクチャおよびBピクチャ)ストリームデータとがある。
Specifically, in the data compression technique (MPEG-4) described in Non-Patent
そのため、PピクチャまたはBピクチャのフレームをサムネイル表示として指定された場合には、そのピクチャから、Iピクチャまでの全てのフレームのストリームデータを伸張しなければならないので、サムネイルを表示するまでの処理負荷が大きく、処理時間もかかる。 For this reason, when a P picture or B picture frame is designated as a thumbnail display, the stream data of all frames from that picture to the I picture must be expanded, so the processing load until the thumbnail is displayed. Is large and processing time is also required.
また、Iピクチャは、フレーム全ての情報を有しているので、ビットレートや画素サイズなどの圧縮条件によっては1フレームを構成するストリームデータのデータサイズが大きくなる。しかしながら、非特許文献3および4に記載のMP4ファイルや、非特許文献5に記載のASFファイルのフォーマットでは、画像データを格納するデータ領域が所定のサイズに分割されているので、データサイズが大きいIピクチャのストリームデータは、分割されて格納されることが多い。そのため、1フレームの画像を伸張するために、複数のデータ領域からデータを読み出さなければならない。すなわち、ストリームデータの分割回数だけ記憶媒体にアクセスしなければならず、サムネイルを表示する処理時間が長くなる。
In addition, since an I picture has information on all frames, the data size of stream data constituting one frame increases depending on compression conditions such as a bit rate and a pixel size. However, the MP4 file described in
たとえば、非特許文献3および4に記載のMP4ファイルの場合、ストリームデータはすべて、コンテンツデータ領域(Movie Data Box)内のチャンクデータに格納される。しかし、チャンクデータのファイル先頭からのオフセットおよびチャンクデータ内に含まれるストリーム数、ストリームサイズ、時間などの情報は、すべてコンテンツデータ領域内以下のSample Description Boxに記載される。また、Sample Description Boxとチャンクデータとは配置先が異なるため、ストリームの情報を取得してからストリームデータを取得するまでの間に、必ず動画ファイルが記憶されている記憶媒体にアクセスしなければならない。
For example, in the case of MP4 files described in
本発明は、上記に鑑みてなされたものであって、サムネイル表示の処理負荷を軽減するとともに、処理時間を短縮する動画ファイルを生成する動画記録装置、および動画記録再生装置を得ることを目的とする。 The present invention has been made in view of the above, and an object thereof is to obtain a moving image recording apparatus and a moving image recording / reproducing apparatus that generate a moving image file that reduces the processing load of thumbnail display and shortens the processing time. To do.
第2の目的は、コンテンツの内容を明確に示すサムネイル画像を表示することができる動画記録装置、および動画記録再生装置を得ることである。 The second object is to provide a moving picture recording apparatus and a moving picture recording / reproducing apparatus that can display thumbnail images that clearly show the contents.
上述した課題を解決し、目的を達成するために、本発明は、記録すべき映像のデジタル映像信号およびデジタル音声信号から、予め定められた動画ファイルフォーマットの動画ファイルを生成して記憶する動画記録装置において、前記デジタル映像信号に予め定められた第1の符号化処理を施して圧縮した映像ストリームデータを生成する第1の符号化部と、前記デジタル音声信号に予め定められた第2の符号化処理を施して圧縮した音声ストリームデータを生成する第2の符号化部と、前記映像ストリームデータおよび前記音声ストリームデータを前記動画ファイルのビデオストリームおよびオーディオストリームに設定するとともに、前記動画ファイルの中でユーザが任意に作成できるユーザ作成領域にサムネイル画像データ領域を作成し、外部からサムネイル画像の作成の指示を受けた場合、作成したサムネイル画像データ領域に、サムネイル画像として用いるフレームのデジタル映像信号をサムネイル画像データとして設定するファイル生成部と、を備えることを特徴とする。 In order to solve the above-described problems and achieve the object, the present invention generates a moving image file of a predetermined moving image file format from a digital video signal and a digital audio signal of a video to be recorded, and stores the moving image file In the apparatus, a first encoding unit that generates a compressed video stream data by performing a predetermined first encoding process on the digital video signal, and a second code predetermined for the digital audio signal A second encoding unit that generates audio stream data compressed by performing an encoding process, and sets the video stream data and the audio stream data in a video stream and an audio stream of the video file, Create a thumbnail image data area in the user creation area that can be created arbitrarily by the user And a file generation unit for setting a digital video signal of a frame used as a thumbnail image as thumbnail image data in the generated thumbnail image data area when an instruction to create a thumbnail image is received from the outside. .
この発明によれば、記録すべき映像のデジタル映像信号およびデジタル音声信号から、予め定められた動画ファイルフォーマットの動画ファイルを生成する際に、動画ファイルの中でユーザが任意に作成できるユーザ作成領域にサムネイル画像データ領域を作成し、作成したサムネイル画像データ領域に、サムネイル表示時に用いるサムネイル画像のサムネイル画像データを設定するようにしているので、サムネイル表示時に、サムネイル画像データを読み出して表示するだけでよく、デジタル映像信号から生成された映像ストリームデータからサムネイル画像を生成する場合と比較して、サムネイルの表示処理の処理負荷を軽減するとともに、処理時間を短縮することができる。 According to the present invention, when a moving image file having a predetermined moving image file format is generated from a digital video signal and a digital audio signal of a video to be recorded, a user creation area in which a user can arbitrarily create a moving image file. Since the thumbnail image data area is created and the thumbnail image data of the thumbnail image used at the time of thumbnail display is set in the created thumbnail image data area, the thumbnail image data is simply read and displayed at the time of thumbnail display. In many cases, the processing load of the thumbnail display processing can be reduced and the processing time can be shortened as compared with the case where the thumbnail image is generated from the video stream data generated from the digital video signal.
以下に、本発明にかかる動画記録再生装置の実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。 Embodiments of a moving image recording / playback apparatus according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.
実施の形態1.
図1〜図7を参照してこの発明にかかる実施の形態1を説明する。図1は、この発明にかかる実施の形態1の動画記録再生装置の構成を示すブロック図である。図1において、動画記録再生装置は、映像信号処理部10、音声入力部11、JPEG符号化部12(特許請求の範囲でいうところの第3の符号化部)、MPEG4符号化部13(特許請求の範囲でいうところの第1の符号化部)、オーディオ符号化部14(特許請求の範囲でいうところの第2の符号化部)、およびファイル生成部15を有する記録処理部1と、JPEG復号化部21(特許請求の範囲でいうところの第3の復号化部)、MPEG4復号化部22(特許請求の範囲でいうところの第1の復号化部)、オーディオ復号化部23(特許請求の範囲でいうところの第2の復号化部)、表示部24、および音声出力部25を有する再生処理部2と、操作部3と、記憶部4と、制御部5とを備えている。
A first embodiment according to the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing the configuration of the moving image recording / playback apparatus according to the first embodiment of the present invention. In FIG. 1, a moving picture recording / reproducing apparatus includes a video
映像信号処理部10は、記録すべき映像のデジタル映像信号を生成する。具体的には、たとえば、図示しないCCD(Charge Coupled Device)などによって取り込まれたアナログの映像信号をデジタル信号に変換してデジタル映像信号を生成する。
The video
MPEG4符号化部13は、映像信号処理部10によって生成されたデジタル映像信号にMPEG4符号化処理を施してデジタル映像信号を圧縮した映像ストリームデータを生成する。JPEG符号化部12は、映像信号処理部10によって生成されたデジタル映像信号、またはMPEG4復号化部22によって生成されたデジタル映像信号にJPEG符号化処理を施してデジタル映像信号を圧縮したサムネイル表示用のサムネイル画像データを生成する。
The
音声入力部11は、記録すべき音声のデジタル音声信号を生成する。具体的には、たとえば、図示しないマイクによって取り込まれたアナログの音声信号をデジタル信号に変換してデジタル音声信号を生成する。
The
オーディオ符号化部14は、音声入力部11によって生成されたデジタル音声信号に予め定められたオーディオ符号化方式による符号化処理を施して、デジタル音声信号を圧縮した音声ストリームデータを生成する。
The
ファイル生成部15は、JPEG符号化部12によって生成されたサムネイル画像データと、MPEG4符号化部13によって生成された映像ストリームデータと、オーディオ符号化部14によって生成された音声ストリームデータとから、所定のファイルフォーマットの動画ファイルを生成する。
The
記憶部4は、たとえば、フラッシュメモリなどの記憶媒体で構成され、ファイル生成部15が生成した動画ファイルを記憶する。操作部3は、記録開始/終了や、再生開始/終了、サムネイル作成/表示などの指示を受け付ける入力手段として用いられる。
The
制御部5は、操作部3が受け付けた指示に基づいて動画記録再生装置の各構成要素を統括的に制御する。制御部5は、操作部3を介してサムネイルの画像が指定されると、サムネイル画像作成指示をファイル生成部15に出力する。また、制御部5は、再生時には、記憶部4が記憶している動画ファイルの映像ストリームデータをMPEG4復号化部22に出力させ、音声ストリームデータをオーディオ復号化部23に出力させる。制御部5は、サムネイル表示時には、記憶部4が記憶している動画ファイルのサムネイル画像データをJPEG復号化部21に出力させる。
The
MPEG4復号化部22は、記憶部4から入力される映像ストリームデータにMPEG4復号化処理を施して映像ストリームデータを伸張したデジタル映像信号を生成する。JPEG復号化部21は、サムネイル画像データにJPEG復号化処理を施してサムネイル画像データを伸張したサムネイル画像信号を生成する。
The
表示部24は、MPEG4復号化部22によって生成されたデジタル映像信号や、JPEG復号化部21によって生成されたサムネイル画像信号に基づいて動画や画像を表示する。
The
オーディオ復号化部23は、記憶部4から入力される音声ストリームデータに予め定められたオーディオ復号化処理を施して音声ストリームデータを伸張したデジタル音声信号を生成する。音声出力部25は、たとえば、スピーカで構成され、オーディオ復号化部23によって生成されたデジタル音声信号に基づいて音声を出力する。
The
つぎに、図2、図5、および図6のフローチャートを参照して、この発明にかかる実施の形態1の動画記録再生装置の動作を説明する。まず、図2のフローチャートを参照して動画記録再生装置の記録動作について説明する。 Next, the operation of the moving image recording / playback apparatus according to the first embodiment of the present invention will be described with reference to the flowcharts of FIGS. First, the recording operation of the moving picture recording / reproducing apparatus will be described with reference to the flowchart of FIG.
操作部3を介してユーザから記録開始の指示を受けると、制御部5は、記録処理部1の各構成要素に記録開始指示を通知して記録動作を開始させる。また、制御部5は、JPEG符号化部12が映像信号処理部10によって生成されたデジタル映像信号を選択するように設定する。
When receiving a recording start instruction from the user via the
記録開始指示を受けると、映像信号処理部10は、入力される映像信号からデジタル映像信号を生成し、音声入力部11は入力される音声信号からデジタル音声信号を生成する(ステップS100,S101)。映像信号処理部10は、生成したデジタル映像信号をJPEG符号化部12とMPEG4符号化部13とに出力する。音声入力部11は、生成したデジタル音声信号をオーディオ符号化部14に出力する。
When receiving the recording start instruction, the video
JPEG符号化部12は、デジタル映像信号にJPEG符号化処理を施してデジタル映像信号を圧縮したサムネイル画像データを生成する(ステップS102)。JPEG符号化部12は、生成したサムネイル画像データをファイル生成部15に出力する。
The
一方、MPEG4符号化部13は、映像信号処理部10によって生成されたデジタル映像信号にMPEG4符号化処理を施してデジタル映像信号を圧縮した映像ストリームデータを生成し、オーディオ符号化部14は、音声入力部11によって生成されたデジタル音声信号に予め定められたオーディオ符号化方式による符号化処理を施してデジタル音声信号を圧縮した音声ストリームデータを生成する(ステップS103)。MPEG4符号化部13は生成した映像ストリームデータをファイル生成部15に出力し、オーディオ符号化部14は生成した音声ストリームデータをファイル生成部15に出力する。
On the other hand, the
ファイル生成部15は、サムネイル画像作成指示があるか否かを判定する(ステップS104)。サムネイル画像作成指示がある場合、ファイル生成部15は、予め定められたファイルフォーマットに従って、JPEG符号化部12によって生成されたサムネイル画像データ、MPEG4符号化部13によって生成された映像ストリームデータ、およびオーディオ符号化部14によって生成された音声ストリームデータを記憶部4に記憶されている動画ファイルに付加する(ステップS105)。
The
一般的に、動画ファイルのファイルフォーマットは、ファイルの管理や再生時に必要なファイル構成に関する情報(ファイル名やファイルフォーマット、データ量など)が設定されるファイルヘッダ領域と、映像ストリームデータおよび音声ストリームデータを設定するデータ領域と、ユーザが任意に作成できるユーザ作成領域とを備えている。ファイル生成部15は、映像ストリームデータおよび音声ストリームデータを所定のファイルフォーマットに従って設定し、ユーザ作成領域に設けたサムネイル画像領域にサムネイル画像データを設定する。
In general, the file format of a video file is a file header area in which information (file name, file format, amount of data, etc.) related to file management required for file management and playback is set, video stream data, and audio stream data And a user creation area that can be arbitrarily created by the user. The
サムネイル画像作成指示がない場合、ファイル生成部15は、予め定められたファイルフォーマットに従って、MPEG4符号化部13によって生成された映像ストリームデータ、およびオーディオ符号化部14によって生成された音声ストリームデータを記憶部4に記憶されている動画ファイルに付加する(ステップS106)。
When there is no thumbnail image creation instruction, the
映像信号処理部10、音声入力部11、JPEG符号化部12、MPEG4符号化部13、オーディオ符号化部14、およびファイル生成部15は、上述したステップS101〜106で示した記録動作を、制御部5が操作部3を介して記録終了の指示を受けて各構成要素に記録終了指示を出力するまで繰り返す(ステップS101〜S107)。
The video
図3は、ファイル生成部15が、ASFファイルフォーマットに従って生成する動画ファイルの構成を示す図である。図3において、ASFファイルフォーマットの動画ファイルは、ファイルの管理や再生時に必要なファイル構成に関する情報が設定されるファイルヘッダ領域30と、映像ストリームデータおよび音声ストリームデータが設定されるn(0<n、nは自然数)個のデータパケット(図中では、Data Packet#1〜#n)を有するデータ領域31というンデックスデータ領域32とで構成される。
FIG. 3 is a diagram illustrating a configuration of a moving image file generated by the
ファイルヘッダ領域30は、ヘッダーオブジェクト(図中では、Header Object)と、ファイルプロパティオブジェクト(図中では、File Properties Object)と、ユーザデータオブジェクト(図中では、User Data Object)とを有している。ユーザデータオブジェクトは、ユーザが任意に作成できるユーザ作成領域であるので、ASFファイルフォーマットにおいては、ユーザデータオブジェクトをサムネイル画像データ領域33として使用する。
The
サムネイル画像データ領域33は、サムネイル画像データ領域であることを示す識別子が設定されるGUID34と、サムネイル画像データ領域のサイズが設定されるオブジェクトサイズ(図中では、ObjectSize)35と、m(1≦m、mは自然数)個のサムネイル画像データが設定されるサムネイルデータ領域36とで構成される。
The thumbnail
データパケット#1〜#nは、パケットヘッダー(図中では、Packet Header)と、オーディオトリーム(図中では、Audio Stream)および/またはビデオストリーム(図中では、Video Stream)で構成される。
図3に示したASFファイルフォーマットで動画ファイルを生成する場合、ファイル生成部15は、一般的なASFファイルの作成処理に従って、オーディオストリームに音声ストリームデータを設定し、ビデオストリームに映像ストリームデータを設定する。映像ストリームデータはMPEG4符号化によって生成されているので、単体でフレーム画像を構築可能なストリームデータと、単体ではフレーム画像を構築できないストリームデータ(前のフレーム画像との差分のみのストリームデータ)とがある。図3においては、データパケット#1のビデオストリーム#1とデータパケット#2のビデオストリーム#1とには単体でフレーム画像を構築可能な映像ストリームデータが分割して設定され、ビデオストリーム#2,#3には、同一データパケット内のビデオストリーム#1の映像ストリームデータを用いてフレーム画像を構築する映像ストリームデータが設定されている。
When the moving image file is generated in the ASF file format shown in FIG. 3, the
また、ファイル生成部15は、サムネイル画像作成指示があった場合、動画ファイル内にサムネイル画像データ領域33が存在するか否かを判定する。具体的には、ファイル生成部15は、サムネイル画像データ領域33を示す識別子が設定されているGUID34を検索する。GUID34が存在する場合には、追加するサムネイル画像データのサイズ分、データ領域31およびインデックスデータ領域32をシフトして、既に設定されているサムネイル画像データと、データ領域31のデータパケット#1との間に新たに作成されたサムネイル画像データを挿入する。ファイル生成部15は、挿入したサムネイル画像データのサイズをオブジェクトサイズ35に設定されているサイズに加算した値を、オブジェクトサイズ35に設定する。
Further, when there is a thumbnail image creation instruction, the
GUID34が存在しない場合には、GUID34およびオブジェクトサイズ35のサイズと、サムネイル画像データのサイズとを加算した分、データ領域31およびインデックスデータ領域32をシフトして、GUID34、オブジェクトサイズ35、およびサムネイルデータ領域36を生成する。ファイル生成部15は、GUID34にサムネイル画像データ領域33を示す識別子を設定し、サムネイル画像データ領域33のサイズをオブジェクトサイズ35に設定し、サムネイルデータ領域36にサムネイル画像データを設定する。
When the
図4は、ファイル生成部15が、MP4ファイルフォーマットに従って生成する動画ファイルの構成を示す図である。図4において、MP4ファイルフォーマットの動画ファイルは、ファイルの管理や再生時に必要なファイル構成に関する情報が設定されるファイルヘッダ領域40と、映像ストリームデータおよび音声ストリームデータが設定されるコンテンツデータ領域41やユーザオブジェクト領域42などの複数のオブジェクトで構成される。MP4においては、コンテンツデータ領域41の後のユーザオブジェクト領域42などの複数のオブジェクトを有する領域にユーザが任意に作成できるユーザ作成領域があるので、コンテンツデータ領域41の後のユーザ作成領域をサムネイル画像データ領域43として使用する。
FIG. 4 is a diagram illustrating a configuration of a moving image file generated by the
ファイルヘッダ領域40は、ファイルタイプが設定されるファイル識別子領域と、映像コンテンツ情報領域および音声コンテンツ情報領域を有するコンテンツ情報領域とで構成される。映像コンテンツ情報領域および音声コンテンツ情報領域は、それぞれTime To Sample Box、Sample Size Box、Chunk Offset Boxを有するストリーム情報領域で構成される。
The
コンテンツデータ領域41は、複数のオーディオストリーム(図中では、Audio Stream)および/またはビデオストリーム(図中では、Video Stream)を有するn(0<n、nは自然数)個のチャンクデータ(図中では、Chunk Data)#1〜#nで構成される。
The
サムネイル画像データ領域43は、オブジェクトがサムネイル画像データ領域43であることを示す識別子が設定されるオブジェクトタイプ(図中では、Object Type)44と、サムネイル画像データ領域43のサイズが設定されるオブジェクトサイズ(図中では、ObjectSize)45と、m(0<m,mは自然数)個のサムネイル画像データが設定されるサムネイルデータ領域46とで構成される。
The thumbnail
図4に示したMP4ファイルフォーマットで動画ファイルを生成する場合、ファイル生成部15は、一般的なMP4ファイルの作成処理に従って、オーディオストリームに音声ストリームデータを設定し、ビデオストリームに映像ストリームデータを設定する。動画ストリームはMPEG4符号化によって生成されているので、単体でフレームを構築可能なストリームデータと、単体ではフレーム画像を構築できないストリームデータ(前のフレーム画像との差分のみのストリームデータ)とがある。図4においては、ビデオストリーム#1には単体でフレーム画像を構築可能な映像ストリームデータが設定され、ビデオストリーム#2には、ビデオストリーム#1の動画を用いてフレーム画像を構築する映像ストリームデータが設定されている。
When the moving image file is generated in the MP4 file format shown in FIG. 4, the
また、ファイル生成部15は、サムネイル画像作成指示があった場合、動画ファイルにサムネイル画像データ領域43が存在するか否かを判定する。具体的には、ファイル生成部15は、サムネイル画像データ領域43を示す識別子が設定されているオブジェクトタイプ44を検索する。オブジェクトタイプ44が存在する場合には、追加するサムネイル画像データのサイズ分、コンテンツデータ領域41の後のユーザオブジェクト領域42などの複数のオブジェクトをシフトして、既に設定されているサムネイル画像データの後ろに新たに作成されたサムネイル画像データを挿入する。ファイル生成部15は、挿入したサムネイル画像データのサイズをオブジェクトサイズ45に設定されているサイズに加算した値を、オブジェクトサイズ45に設定する。
Further, when there is an instruction to create a thumbnail image, the
オブジェクトタイプ44が存在しない場合には、オブジェクトタイプ44およびオブジェクトサイズ45のサイズと、サムネイル画像データのサイズとを加算した分、コンテンツデータ領域41の後のユーザオブジェクト領域42などの複数のオブジェクトをシフトして、オブジェクトタイプ44、オブジェクトサイズ45、およびサムネイルデータ領域46を生成する。ファイル生成部15は、オブジェクトタイプ44にサムネイル画像データ領域43を示す識別子を設定し、サムネイル画像データ領域43のサイズをオブジェクトサイズ45に設定し、サムネイルデータ領域46にサムネイル画像データを設定する。
When the
つぎに、図5のフローチャートを参照して、動画記録再生装置の再生動作について説明する。操作部3を介してユーザから再生開始の指示を受けると(ステップS200)、制御部5は、再生処理部2の各構成要素と、記録処理部1のJPEG符号化部12およびファイル生成部15に再生開始指示を通知して再生動作を開始させる。また、制御部5は、JPEG符号化部12がMPEG復号化部22によって生成されたデジタル映像信号を選択するように設定する。
Next, the playback operation of the moving image recording / playback apparatus will be described with reference to the flowchart of FIG. When receiving a playback start instruction from the user via the operation unit 3 (step S200), the
制御部5は、予め定められた動画ファイルのフォーマットに従って、記憶部4に、動画ファイルのビデオストリームに格納されている映像ストリームデータをMPEG4復号化部22に出力させ、オーディオストリームに格納されている音声ストリームデータをオーディオ復号化部23に出力させる(ステップS201)。
The
具体的には、再生すべき動画ファイルが図3に示したASFファイルフォーマットの動画ファイルの場合、制御部5は、ファイルヘッダ領域30およびインデックスデータ領域32に設定されている情報を用いて一般的なASFファイルの再生処理によって、記憶部4に、ビデオストリームに設定されている映像ストリームデータをMPEG4復号化部22に出力させ、オーディオストリームに設定されている音声ストリームデータをオーディオ復号化部23に出力させる。
Specifically, when the moving image file to be reproduced is the moving image file in the ASF file format shown in FIG. 3, the
また、再生すべき動画ファイルが図4に示したMP4ファイルフォーマットの動画ファイルの場合、制御部5は、ファイルヘッダ領域40に設定されている情報を用いた一般的なMP4ファイル再生処理によって、記憶部4に、ビデオストリームに設定されている映像ストリームデータをMPEG4復号化部22に出力させ、オーディオストリームに設定されている音声ストリームデータをオーディオ復号化部23に出力させる。
When the moving image file to be reproduced is the moving image file in the MP4 file format shown in FIG. 4, the
MPEG4復号化部22は、記憶部4から入力される映像ストリームデータにMPEG4復号化処理を施して映像ストリームデータを伸張したデジタル映像信号を生成し、オーディオ復号化部23は、記憶部4から入力される音声ストリームデータに予め定められたオーディオ復号化方式による復号化処理を施して音声ストリームデータを伸張したデジタル音声信号を生成する(ステップS202)。MPEG4復号化部22は生成したデジタル映像信号を表示部24、およびJPEG符号化部12に出力し、オーディオ復号化部23は生成したデジタル音声信号を音声出力部25に出力する。
The
表示部24は、デジタル映像信号に基づいて映像を表示し、音声出力部25は、デジタル音声信号に基づいて音声を出力する(ステップS203,S204)。
The
一方、JPEG符号化部12は、MPEG4復号化部22から入力されるデジタル映像信号にJPEG符号化処理を施してデジタル映像信号を圧縮したサムネイル画像データを生成する(ステップS205)。JPEG符号化部12は、生成したサムネイル画像データをファイル生成部15に出力する。
On the other hand, the
ファイル生成部15は、サムネイル画像作成指示があるか否かを判定する(ステップS206)。サムネイル画像作成指示がある場合、ファイル生成部15は、JPEG符号化部12によって生成されたサムネイル画像データを、再生している動画ファイルのファイルフォーマットに従って、動画ファイルにサムネイル画像データを追加する(ステップS207)。
The
具体的には、再生している動画ファイルがASFファイルフォーマットの場合には、上述したように、データ領域31およびインデックスデータ領域32をシフトして、ファイルヘッダ領域30内にサムネイル画像データ領域33(サムネイル画像データ領域33が存在する場合には、サムネイル画像データのみ)を挿入する。
Specifically, when the moving image file being reproduced is in the ASF file format, as described above, the
また、再生している動画ファイルがMP4ファイルフォーマットの場合には、上述したように、コンテンツデータ領域41の後のユーザオブジェクト領域42などの複数のオブジェクトをシフトして、コンテンツデータ領域41の後にサムネイル画像データ領域43(サムネイル画像データ領域43が存在する場合には、サムネイル画像データのみ)を挿入する。
When the moving image file being played is in the MP4 file format, as described above, a plurality of objects such as the
サムネイル画像作成指示がない場合、ファイル生成部15は、何も処理を行なわない。すなわち、再生している動画ファイルは変更されない。
If there is no thumbnail image creation instruction, the
制御部5、MPEG4復号化部22、オーディオ復号化部23、表示部24、音声出力部25、JPEG符号化部12、およびファイル生成部15は、上述したステップS201〜S207で示した再生動作を、操作部3を介して再生終了の指示を受けた制御部5が各構成要素に記録終了指示を出力するか、再生すべき動画ファイルのデータがなくなるまで繰り返す(ステップS201〜S209)。
The
つぎに、図6のフローチャートを参照して、動画記録再生装置のサムネイル表示動作について説明する。操作部3を介してユーザからサムネイル表示の指示を受けると(ステップS300)、制御部5は、再生処理部2のJPEG復号化部21および表示部24にサムネイル表示指示を通知してサムネイル表示動作を開始させる。
Next, the thumbnail display operation of the moving image recording / playback apparatus will be described with reference to the flowchart of FIG. When receiving a thumbnail display instruction from the user via the operation unit 3 (step S300), the
制御部5は、予め定められた動画ファイルのフォーマットに従って、記憶部4に、動画ファイルのサムネイル画像データ領域に設定されているサムネイル画像データをJPEG復号化部21に出力させる(ステップS301)。
The
具体的には、動画ファイルが図3に示したASFファイルフォーマットの動画ファイルの場合には、制御部5は、GUID34によってサムネイル画像データ領域33を検出し、オブジェクトサイズ45に設定されているサイズに基づいてサムネイルデータ領域36に設定されているサムネイル画像データを取得する。
Specifically, when the moving image file is an ASF file format moving image file shown in FIG. 3, the
動画ファイルが図4に示したMP4ファイルフォーマットの動画ファイルの場合、制御部5は、オブジェクトタイプ44によってサムネイル画像データ領域43を検出し、オブジェクトサイズ45に設定されているサイズに基づいてサムネイルデータ領域46に設定されているサムネイル画像データを取得する。
When the moving image file is the moving image file in the MP4 file format shown in FIG. 4, the
JPEG復号化部21は、サムネイル画像データにJPEG復号化処理を施してサムネイル画像データを伸張したサムネイル画像信号を生成する(ステップS302)。JPEG復号化部21は、生成したサムネイル画像信号を表示部24に出力する。表示部24は、サムネイル画像信号に基づいてサムネイル画像を表示する(ステップS303)。
The JPEG decoding unit 21 generates a thumbnail image signal obtained by performing JPEG decoding processing on the thumbnail image data and expanding the thumbnail image data (step S302). The JPEG decoding unit 21 outputs the generated thumbnail image signal to the
制御部5、JPEG復号化部21、および表示部24は、記憶部4に記憶されている動画ファイルのサムネイル画像データを全て表示するまで、上述したステップS301〜303の動作を繰り返す(ステップS301〜S304)。
The
図7は、この実施の形態1の動画記録再生装置によって生成したサムネイルの画像と記録した映像との関係を示す図である。図7では、記録開始時と、記録開始から30分後、および記録開始から60分後にユーザからサムネイル画像作成の指示を受けた場合、すなわち、3回サムネイル画像作成の指示を受けて、3枚のサムネイル画像データを生成した場合を示している。 FIG. 7 is a diagram showing the relationship between thumbnail images generated by the moving image recording / playback apparatus of the first embodiment and recorded video. In FIG. 7, when a user receives an instruction to create a thumbnail image at the start of recording, 30 minutes after the start of recording, and 60 minutes after the start of recording, that is, three images are received in response to an instruction to create thumbnail images three times. This shows a case where the thumbnail image data is generated.
以上説明したように、この実施の形態1においては、記録すべき映像のデジタル映像信号およびデジタル音声信号から、予め定められた動画ファイルフォーマットの動画ファイルを生成する際に、動画ファイルの中でユーザが任意に作成できるユーザ作成領域にサムネイル画像データ領域を作成し、作成したサムネイル画像データ領域に、サムネイル表示時に用いるサムネイル画像のサムネイル画像データを設定するようにしているので、サムネイル表示時に、サムネイル画像データを読み出して表示するだけでよく、デジタル映像信号から生成された映像ストリームデータからサムネイル画像を生成する場合と比較して、サムネイルの表示処理の処理負荷を軽減するとともに、処理時間を短縮することができる。 As described above, in the first embodiment, when a moving image file having a predetermined moving image file format is generated from a digital video signal and a digital audio signal of a video to be recorded, Since the thumbnail image data area is created in the user created area that can be created arbitrarily, and the thumbnail image data of the thumbnail image used when displaying the thumbnail is set in the created thumbnail image data area, the thumbnail image is displayed when the thumbnail is displayed. You only need to read and display the data. Compared to the case where thumbnail images are generated from video stream data generated from digital video signals, the processing load for thumbnail display processing is reduced and the processing time is shortened. Can do.
具体的には、ASFファイルフォーマットの動画ファイルの場合、動画ファイルに設定する際の映像ストリームデータの分割数、およびデータパケットサイズに影響されることなく、サムネイル画像データ領域のみを読み出すだけでサムネイル画像のサムネイル画像データを取得することができるので、サムネイルの表示処理の処理負荷を軽減するとともに、処理時間を短縮することができる。 Specifically, in the case of a moving image file in the ASF file format, a thumbnail image can be read by only reading the thumbnail image data area without being affected by the number of divided video stream data and the data packet size when setting the moving image file. Since the thumbnail image data can be acquired, the processing load of the thumbnail display process can be reduced and the processing time can be shortened.
また、MP4ファイルフォーマットの動画ファイルの場合、映像ストリームデータのストリームデータ情報が格納されているSample Description Boxの検索および解析、チャンクデータの取得およびストリームの分離を行なう必要がなくなり、サムネイル画像データ領域のみを読み出すだけでサムネイル画像のサムネイル画像データを取得することができるので、サムネイルの表示処理の処理負荷を軽減するとともに、処理時間を短縮することができる。 In the case of a moving image file in the MP4 file format, there is no need to search and analyze a Sample Description Box in which stream data information of video stream data is stored, acquire chunk data, and separate streams, and only the thumbnail image data area. Since the thumbnail image data of the thumbnail image can be acquired simply by reading out, the processing load of the thumbnail display processing can be reduced and the processing time can be shortened.
さらに、この実施の形態1においては、予め定められた動画ファイルフォーマットの動画ファイルの中で、ユーザが任意に作成できるユーザ作成領域にサムネイル画像データ領域を作成するようにしているので、既存の動画ファイルフォーマットを逸脱することなく、互換性を保つことができる。 Further, in the first embodiment, the thumbnail image data area is created in the user created area that can be arbitrarily created by the user in the moving picture file of the predetermined moving picture file format. Compatibility can be maintained without departing from the file format.
さらにまた、この実施の形態1においては、外部からの指定によって同一の動画ファイルのサムネイル画像を任意の枚数作成することができるため、長時間の録画の場合、容易に動画ファイルのシーンを検索することができる。 Furthermore, in the first embodiment, any number of thumbnail images of the same moving image file can be created by designation from the outside, and therefore, when recording for a long time, the scene of the moving image file is easily searched. be able to.
なお、この実施の形態1では、MPEG4符号化によって映像ストリームデータを生成し、JPEG符号化によってサムネイル画像データを生成する場合を例に挙げて説明したが、符号化方式はこれに限るものではないが、サムネイル画像データを生成する符号化方式として、映像ストリームデータを生成する符号化方式よりも画素数が少ない条件の符号化方式を用いることが望ましい。 In the first embodiment, the case where video stream data is generated by MPEG4 encoding and thumbnail image data is generated by JPEG encoding has been described as an example. However, the encoding method is not limited to this. However, as an encoding method for generating thumbnail image data, it is desirable to use an encoding method with a smaller number of pixels than the encoding method for generating video stream data.
実施の形態2.
図8を参照してこの発明にかかる実施の形態2を説明する。実施の形態1では、映像ストリームデータを生成するMPEG4符号化方式よりも画素数の少ない条件で圧縮可能なJPEG符号化方式を用いてデジタル映像信号を圧縮して、サムネイル表示用のサムネイル画像データを生成したが、サムネイル画像データとしてデジタル映像信号をそのまま用いるようにしてもよい。
A second embodiment according to the present invention will be described with reference to FIG. In
この場合の動画記録再生装置は、図8に示すように、先の図1に示した実施の形態1の動画記録再生装置の記録処理部1からJPEG符号化部12を削除した記録処理部1aと、再生処理部2からJPEG復号化部21を削除した再生処理部2aとで構成される。図1に示した実施の形態1の動画記録再生装置と同じ機能を持つ構成部分には同一符号を付し、重複する説明は省略する。
As shown in FIG. 8, the moving image recording / reproducing apparatus in this case is a
つぎに、この実施の形態2の動画記録再生装置の動作を説明する。なお、この実施の形態2の動画記録再生装置と、先の実施の形態1の動画記録再生装置との相違点は、サムネイル画像データが圧縮されているか否かであるので、ここでは詳細な説明を省略し、相違点のみを説明する。 Next, the operation of the moving picture recording / reproducing apparatus of the second embodiment will be described. The difference between the moving picture recording / reproducing apparatus of the second embodiment and the moving picture recording / reproducing apparatus of the first embodiment is whether or not the thumbnail image data is compressed. Will be omitted and only the differences will be described.
まず、記録動作について説明する。記録動作時には、制御部5は、ファイル生成部15に映像信号処理部10が生成したデジタル映像信号を選択するように設定し、サムネイル画像作成指示があった場合、ファイル生成部15は、サムネイル画像データとして映像信号処理部10が生成したデジタル映像信号を用いる。その他の動作は、先の図2のフローチャートを参照して説明した記録動作の処理の中で、JPEG符号化部12がデジタル映像信号にJPEG符号化処理を施してデジタル映像信号を圧縮したサムネイル画像データを生成するステップS102を省略した動作となる。
First, the recording operation will be described. At the time of the recording operation, the
つぎに、再生動作について説明する。制御部5は、ファイル生成部15に、MPEG4復号化部22によって生成されたデジタル映像信号を選択するように設定し、サムネイル画像作成指示があった場合、ファイル生成部15は、サムネイル画像データとしてMPEG4復号化部22が生成したデジタル映像信号を用いる。その他の動作は、先の図5のフローチャートを参照して説明した記録動作の処理の中で、JPEG符号化部12がデジタル映像信号にJPEG符号化処理を施してデジタル映像信号を圧縮したサムネイル画像データを生成するステップS205を省略した動作となる。
Next, the reproduction operation will be described. The
つぎに、サムネイル表示動作について説明する。サムネイル表示動作時には、記憶部4から読み出されたサムネイル画像データを表示部24が表示するので、先の図6のフローチャートを参照して説明したサムネイル表示動作の処理中で、記憶部4から入力されるサムネイル画像データにJPEG復号化処理を施して、サムネイル画像データを伸張したサムネイル画像信号を生成するステップS302を省略した動作となる。
Next, the thumbnail display operation will be described. During the thumbnail display operation, the thumbnail image data read from the
以上説明したように、この実施の形態2においては、サムネイル画像データとして符号化を施していないデジタル映像信号を用いるようにしているので、サムネイルを表示する際に復号化処理を施す必要が無くなり、サムネイル表示を指示されてからサムネイルを表示するまでの時間を短縮するとともに、処理時間を軽減することができる。 As described above, in the second embodiment, since digital video signals that are not encoded are used as thumbnail image data, there is no need to perform decoding processing when displaying thumbnails. It is possible to reduce the time from when the thumbnail display is instructed until the thumbnail is displayed, and to reduce the processing time.
実施の形態3.
図9を用いてこの発明にかかる実施の形態3を説明する。実施の形態1および2では、ファイル生成部15が生成する動画ファイルフォーマットに従って、ユーザ作成領域にサムネイル画像データ領域を設けるようにしたが、サムネイル画像データ領域をファイルヘッダ領域に設けるようにしてもよい。
A third embodiment according to the present invention will be described with reference to FIG. In
たとえば、先の図3に示したASFファイルフォーマットにおいては、サムネイル画像データ領域33をファイルヘッダ領域30内に設けたが、先の図4に示したMP4ファイルフォーマットにおいては、コンテンツデータ領域41の後にサムネイル画像データ領域43が設けられている。
For example, in the ASF file format shown in FIG. 3, the thumbnail
MP4ファイルフォーマットにおいては、ファイルヘッダ領域40内のコンテンツ情報領域にもユーザ作成領域があるので、図9に示すように、ファイルヘッダ領域40のコンテンツ情報領域内の音声コンテンツ情報領域の後ろに、サムネイル画像データ領域43aを設けてもよい。なお、図9においては、コンテンツデータ領域41、映像コンテンツ情報領域、および音声コンテンツ情報領域の詳細な構成については、図3と同じであるので省略している。
In the MP4 file format, since the content information area in the
ファイルヘッダ領域に設定されている情報の解析は、ファイルフォーマットを特定する上で、必ず一番最初に実行される処理である。すなわち、再生処理動作、およびサムネイル表示動作において、制御部5が記憶部4に記憶されている動画ファイルから映像ストリームデータや音声ストリームデータ、サムネイル画像データを出力させる際に、ファイルヘッダ領域に設定されている情報を解析する。その際に、制御部5が、サムネイル画像データ領域の情報を取得しておけば、サムネイル表示の指示を受けてから、動画ファイルからサムネイル画像データ領域を検索する場合と比較して、サムネイル表示を指示されてからサムネイルを表示するまでの時間を短縮することができる。
The analysis of the information set in the file header area is always the first process executed to specify the file format. That is, in the reproduction processing operation and the thumbnail display operation, when the
実施の形態4.
図10を用いてこの発明にかかる実施の形態4を説明する。実施の形態1〜3では、順次作成される映像ストリームデータ、音声ストリームデータ、およびサムネイル画像データを、ビデオストリーム、オーディオストリーム、およびサムネイル画像データ領域のデータ領域に設定するようにした。そのため、図3に示したサムネイル画像データ領域33、図4に示したサムネイル画像データ領域43、または図9に示したサムネイル画像データ領域43aにサムネイル画像データを挿入する際に、後続している領域(図3においては複数のデータパケットからなるデータ領域31およびインデックスデータ領域32、図4においてはユーザオブジェクト領域42や複数のオブジェクト領域、図9においてはコンテンツデータ領域41やユーザオブジェクト領域42、複数のオブジェクト領域)をシフトする必要があり、サムネイル画像データを含む動画ファイルの生成時の処理負荷が大きく、処理時間もかかるという問題があった。
このような問題を改善するために、サムネイル画像データを記憶部4の作成中の動画ファイルとは異なる領域(ワーク領域)、または、図示しないワークメモリなどに生成しておき、記録終了時、または再生終了時に、合成するようにしてもよい。
In order to improve such a problem, the thumbnail image data is generated in an area (work area) different from the moving image file being created in the
すなわち、ファイル生成部15は、所定のファイルフォーマットに従って、通常の動画ファイルを生成するとともに、サムネイル画像作成指示があった場合には、サムネイル画像を記憶部4のワーク領域、または図示しないワークメモリなどに格納しておく。そして、記録終了指示、または再生終了指示があった場合に、サムネイル画像データ領域に後続する領域をシフトしてサムネイル画像データ領域を挿入し、挿入した画像データ領域に、ワーク領域またはワークメモリに格納したサムネイル画像データを設定する。
That is, the
また、サムネイル画像データ領域を、動画ファイルの最後尾に付加するようにすれば、サムネイル画像データ領域に後続する領域をシフトする必要が無くなり、サムネイル画像データを含む動画ファイルの生成時の処理負荷を軽減し、処理時間を短縮することができる。 Further, if the thumbnail image data area is added to the end of the moving image file, it is not necessary to shift the area following the thumbnail image data area, and the processing load when generating the moving image file including the thumbnail image data is reduced. This can reduce the processing time.
たとえば、MP4ファイルフォーマットの場合には、コンテンツデータ領域やユーザオブジェクト領域、その他複数のオブジェクト領域がユーザ作成領域であるので、図10に示すように、ファイル生成部15は、ファイルヘッダ領域40、チャンクデータ(図中では、Chunk Data)#1〜#nを有するコンテンツデータ領域41、ユーザオブジェクト領域42や複数のオブジェクトを備える通常のMP4ファイルフォーマットの動画ファイルを記憶部4に作成するとともに、オブジェクトタイプ(図中では、Object Type)44、オブジェクトサイズ(図中では、Object Size)45、およびサムネイル画像データ#1〜#mを有するサムネイルデータ領域46を備えるサムネイル画像データ領域43bをワーク領域またはワークメモリに作成する。そして、記録終了指示、または再生終了指示があった場合、ファイル生成部15は、ワーク領域またはワークメモリに作成したサムネイル画像データ領域43bを記憶部4に作成した動画ファイルの最後に追加する。
For example, in the case of the MP4 file format, since the content data area, the user object area, and other object areas are user-created areas, the
以上説明したように、この実施の形態4においては、サムネイル画像データを設定するサムネイル画像データ領域を、通常の動画ファイルとは異なる領域に作成しておき、記録/再生終了時に、サムネイル画像データ領域を動画ファイルに挿入するようにしているので、サムネイル画像データを作成するたびに、サムネイル画像データ領域に後続する領域をシフトする必要がなくなり、記憶媒体にアクセスする概数を減らすことができ、サムネイル表示の画像を生成する際の処理負荷を軽減するとともに、処理時間を短縮することができる。 As described above, in the fourth embodiment, a thumbnail image data area for setting thumbnail image data is created in an area different from a normal moving image file, and the thumbnail image data area is recorded at the end of recording / playback. Is inserted into the video file, so it is not necessary to shift the area following the thumbnail image data area every time thumbnail image data is created, and the approximate number of accesses to the storage medium can be reduced. It is possible to reduce the processing load when generating the image and to shorten the processing time.
さらに、動画ファイルの最後尾にサムネイル画像データ領域を作成するようにした場合、データをシフトする必要がなくなるので、記憶媒体にアクセスする概数を減らすことができ、サムネイル表示の画像を生成する際の処理負荷を軽減するとともに、処理時間を短縮することができる。 Furthermore, when the thumbnail image data area is created at the end of the video file, it is not necessary to shift the data, so the approximate number of access to the storage medium can be reduced, and the thumbnail display image can be generated. The processing load can be reduced and the processing time can be shortened.
実施の形態5.
図11を用いてこの発明にかかる実施の形態5を説明する。この発明にかかる実施の形態5の動画記録再生装置は、先の図1に示した実施の形態1の動画記録再生装置、または先の図8に示した実施の形態2の動画記録再生装置とほぼ同じであるが、制御部5、映像信号処理部10、およびMPEG4復号化部22の動作が異なる。以下は、先の図1に示した動画記録再生装置を例に挙げて説明する。
A fifth embodiment according to the present invention will be described with reference to FIG. The moving picture recording / reproducing apparatus according to the fifth embodiment of the present invention includes the moving picture recording / reproducing apparatus of the first embodiment shown in FIG. 1 or the moving picture recording / reproducing apparatus of the second embodiment shown in FIG. Although almost the same, the operations of the
制御部5は、実施の形態1の機能に加えて、操作部3を介してユーザから入力されるサムネイルの画像の指定とともに入力されるサムネイル画像領域に基づいて、フレーム内の領域情報を生成する。制御部5は、記録動作時にはフレーム内の領域情報を映像信号処理部10に出力し、再生動作時にはフレーム内の領域情報をMPEG4復号化部22に出力する。
In addition to the functions of the first embodiment, the
映像信号処理部10は、入力される映像信号からデジタル映像信号を生成してMPEG4符号化部13に出力するとともに、制御部5から入力されたフレーム内の領域情報内のデジタル映像信号をJPEG符号化部12に出力する。
The video
MPEG4復号化部22は、記憶部4から入力される映像ストリームデータにMPEG4復号化処理を施して映像ストリームデータを伸張したデジタル映像信号を生成して表示部24に出力するとともに、制御部5から入力されたフレーム内の領域情報内のデジタル映像信号をJPEG符号化部12に出力する。
The
つぎに、この実施の形態5の動画記録再生装置の動作を説明する。なお、この実施の形態5の動画記録再生装置と、先の実施の形態1の動画記録再生装置との相違点は、実施の形態1の動画記録再生装置ではサムネイルの画像として指定されたフレームからサムネイル画像データを生成するのに対して、この実施の形態5の動画記録再生装置ではサムネイルの画像として指定されたフレームの一部(フレーム内の領域情報内の画像)でサムネイル画像データを作成するかであるので、詳細な説明を省略し、相違点のみを説明する。 Next, the operation of the moving image recording / playback apparatus according to the fifth embodiment will be described. The difference between the moving picture recording / reproducing apparatus of the fifth embodiment and the moving picture recording / reproducing apparatus of the first embodiment is that the moving picture recording / reproducing apparatus of the first embodiment is different from the frame specified as the thumbnail image. Whereas the thumbnail image data is generated, the moving image recording / playback apparatus according to the fifth embodiment generates thumbnail image data with a part of the frame (image in the area information in the frame) designated as the thumbnail image. Therefore, detailed description will be omitted and only the differences will be described.
まず、記録動作について説明する。制御部5は、JPEG符号化部12に映像信号処理部10から入力されるデジタル映像信号を選択するように設定する。制御部5は、操作部3を介してユーザから入力されるサムネイルの画像の指定とともに入力されるサムネイル画像領域に基づいて、フレーム内の領域情報を生成する。たとえば、フレーム内の領域情報は、フレーム内の画素の位置情報などで、フレーム内の領域を確定する情報とする。制御部5は、生成したフレーム内の領域情報を映像信号処理部10に出力する。
First, the recording operation will be described. The
映像信号処理部10は、入力される映像信号からデジタル映像信号を生成してMPEG4符号化部13に出力するとともに、制御部5から入力されたフレーム内の領域情報内のデジタル映像信号をJPEG符号化部12に出力する。
The video
JPEG符号化部12は、映像信号処理部10から入力されるフレーム内の領域情報内のデジタル映像信号にJPEG符号化処理を施して、フレーム内の一部を示すサムネイル画像データを生成する。
The
サムネイル画像作成指示がある場合、ファイル生成部15は、予め定められたファイルフォーマットに従って、JPEG符号化部12によって生成されたサムネイル画像データ、MPEG4符号化部13によって生成された映像ストリームデータ、およびオーディオ符号化部14によって生成された音声ストリームデータを記憶部4に記憶されている動画ファイルに付加する。
When there is a thumbnail image creation instruction, the
サムネイル画像作成指示がない場合、ファイル生成部15は、予め定められたファイルフォーマットに従って、MPEG4符号化部13によって生成された映像ストリームデータ、およびオーディオ符号化部14によって生成された音声ストリームデータを記憶部4に記憶されている動画ファイルに付加する。
When there is no thumbnail image creation instruction, the
つぎに、再生動作について説明する。制御部5は、JPEG符号化部12にMPEG4復号化部22によって生成されたデジタル映像信号を選択するように設定する。制御部5は、操作部3を介してユーザから入力されるサムネイルの画像の指定とともに入力されるサムネイル画像領域に基づいて、フレーム内の領域情報を生成する。制御部5は、生成したフレーム内の領域情報をMPEG4復号化部22に出力する。
Next, the reproduction operation will be described. The
MPEG4復号化部22は、記憶部4から入力される映像ストリームデータにMPEG4復号化処理を施して映像ストリームデータを伸張したデジタル映像信号を生成して表示部24に出力するとともに、制御部5から入力されたフレーム内の領域情報内のデジタル映像信号をJPEG符号化部12に出力する。
The
サムネイル画像作成指示がある場合、ファイル生成部15は、JPEG符号化部12によって生成されたサムネイル画像データを、再生している動画ファイルのファイルフォーマットに従って、動画ファイルにサムネイル画像データを追加する。
When there is a thumbnail image creation instruction, the
なお、サムネイル画像表示動作は、実施の形態1と同じであるのでここではその説明を省略する。 Note that the thumbnail image display operation is the same as that of the first embodiment, and thus the description thereof is omitted here.
図11は、この実施の形態5の動画記録再生装置によって生成したサムネイルの画像と記録した映像との関係を示す図である。図11では、記録開始時と、記録開始から30分後、および記録開始から60分後にユーザからサムネイル画像作成の指示を受けた場合、すなわち、3回サムネイル画像作成の指示を受けて、3枚のサムネイル画像データを生成した場合を示している。 FIG. 11 is a diagram showing a relationship between thumbnail images generated by the moving image recording / playback apparatus of the fifth embodiment and recorded videos. In FIG. 11, when an instruction for creating a thumbnail image is received from the user at the start of recording, 30 minutes after the start of recording, and 60 minutes after the start of recording, that is, three images are received in response to an instruction to create thumbnail images three times. This shows a case where the thumbnail image data is generated.
図11において、記録開始時には領域50がサムネイル画像領域と指定されてサムネイル画像55が生成され、記録開始から30分後には領域51がサムネイル画像領域と指定されてサムネイル画像56が生成され、記録開始から60分後には領域52がサムネイル画像領域と指定されてサムネイル画像57が生成されている。
In FIG. 11, at the start of recording, an
以上説明したように、この実施の形態5においては、デジタル映像信号が示すフレームの中で、外部から設定された領域の画像、すなわちフレームの一部のサムネイル用デジタル映像信号を生成し、サムネイル用デジタル映像信号にJPEG符号化を施して圧縮したサムネイル画像データをサムネイル画像データ領域に設定するようにしているので、シーンと状態を容易に判別することができ、コンテンツ内容を明確に判断することができるサムネイルを表示することができる。 As described above, in the fifth embodiment, an image of a region set from the outside in a frame indicated by a digital video signal, that is, a digital video signal for a thumbnail of a part of the frame is generated and used for thumbnails. Since the thumbnail image data compressed by applying JPEG encoding to the digital video signal is set in the thumbnail image data area, the scene and state can be easily discriminated, and the contents can be clearly determined. The thumbnails that can be displayed can be displayed.
実施の形態6.
図12および図13を用いてこの発明にかかる実施の形態6を説明する。実施の形態1〜5の動画記録再生装置の表示部24において、動画を再生する表示部24と、動画コンテンツのアスペクト比とが異なることが考えられる。動画を再生する表示部24と、動画コンテンツのアスペクト比とが異なる場合、たとえば、図12に示すように、サムネイル画像データのアスペクト比が16:9であるのに対して、表示部24のアスペクト比が4:3である場合、表示するサムネイルの領域58、59が切れてしまい表示されない。
A sixth embodiment according to the present invention will be described with reference to FIGS. In the
このような問題を改善するために、この実施の形態5の動画記録再生装置は、図13に示すように、表示部24のアスペクト比にあわせたサムネイル画像データを生成してサムネイルを表示する際に画像が切れることを防止するものである。
In order to improve such a problem, the moving picture recording / reproducing apparatus of the fifth embodiment generates thumbnail image data in accordance with the aspect ratio of the
この実施の形態6の動画記録再生装置は、先の図1に示した実施の形態1の動画記録再生装置、または先の図8に示した実施の形態2の動画記録再生装置とほぼ同じであるが、映像信号処理部10、およびMPEG4復号化部22の動作が異なる。以下は、先の図1に示した動画記録再生装置を例に挙げて説明する。
The moving picture recording / reproducing apparatus of the sixth embodiment is substantially the same as the moving picture recording / reproducing apparatus of the first embodiment shown in FIG. 1 or the moving picture recording / reproducing apparatus of the second embodiment shown in FIG. However, the operations of the video
動画記録再生装置の記録動作時には、映像信号処理部10は、入力される映像信号からデジタル映像信号を生成してMPEG4符号化部13に出力するとともに、入力される映像信号から表示部24のアスペクト比に応じたフレームのデジタル映像信号を生成してJPEG符号化部12に出力する。
During the recording operation of the moving image recording / playback apparatus, the video
また、動画記録再生装置の再生動作時には、MPEG4復号化部22は、記憶部4から入力される映像ストリームデータにMPEG4復号化処理を施して映像ストリームデータを伸張したデジタル映像信号を生成して表示部24に出力するとともに、生成したデジタル映像信号から、さらに表示部24のアスペクト比に応じたフレームのデジタル映像信号を生成してJPEG符号化部12に出力する。
Also, during the playback operation of the moving image recording / playback apparatus, the
これにより、JPEG符号化部12は、表示部24のアスペクト比に応じたフレームのデジタル映像信号にJPEG符号化処理を施してサムネイル画像データを生成し、ファイル生成部15は、表示部24のアスペクト比に応じたサムネイル画像データをサムネイル画像データ領域のデータ領域に設定した動画ファイルを生成する。なお、動画ファイルフォーマットは、先の図3、図4、図9、図10に示した何れのものであってもかまわない。
As a result, the
以上説明したように、この実施の形態6においては、表示部のアスペクト比に応じたサムネイル画像データを生成するようにしているので、動画を再生する表示部と動画コンテンツのアスペクト比とが異なる場合でも、サムネイルを表示する際に、サムネイルの画像が切れることがなくなり、コンテンツ内容を明確に表示することができる。 As described above, in the sixth embodiment, since thumbnail image data corresponding to the aspect ratio of the display unit is generated, the aspect ratio of the video unit and the display unit that reproduces the video are different. However, when the thumbnail is displayed, the thumbnail image is not cut off, and the contents can be clearly displayed.
実施の形態7.
図14および図15を参照してこの発明にかかる実施の形態7を説明する。実施の形態1〜6では、1〜複数のサムネイル画像データを生成して、サムネイルを表示するようにしたが、サムネイル画像データに対応した音声ストリームデータを生成して、サムネイルを表示する際に、音声を出力するようにしてもよい。
A seventh embodiment according to the present invention will be described with reference to FIGS. In the first to sixth embodiments, one or a plurality of thumbnail image data is generated and the thumbnail is displayed. However, when the audio stream data corresponding to the thumbnail image data is generated and the thumbnail is displayed, Audio may be output.
具体的には、実施の形態1〜6の動画記録再生装置の記録動作時、または再生動作時に、ユーザが、図示しないマイクを介して、作成するサムネイルに対応する音声信号、たとえば、「xx時yy分のドラマです」というような音声信号を入力する。マイクを介して入力される音声信号は、音声入力部11によってデジタル音声信号に変換され、オーディオ符号化部14によって符号化され音声ストリームデータとしてファイル生成部15に入力される。この音声ストリームデータを、ファイル生成部15は、サムネイル画像データとともに、サムネイル画像データ領域のデータ領域に設定する。
Specifically, during the recording operation or the reproducing operation of the moving image recording / reproducing apparatus according to the first to sixth embodiments, the audio signal corresponding to the thumbnail to be created by the user via a microphone (not shown), for example, “xx time” An audio signal such as “drama for yy” is input. The audio signal input via the microphone is converted into a digital audio signal by the
たとえば、ファイル生成部15が生成する動画ファイルフォーマットが、図3に示したASFファイルフォーマットである場合には、図14に示すように、サムネイル画像データ領域33のサムネイルデータ領域36には、1回目のサムネイル画像作成指示においてサムネイル画像データ#1とサムネイル音声データ#1を設定し、2回目のサムネイル画像作成指示においてサムネイル画像データ#2とサムネイル音声データ#2を設定し、m回目のサムネイル画像作成指示においてサムネイル画像データ#1とサムネイル音声データ#mを設定する。
For example, when the moving image file format generated by the
また、ファイル生成部15が生成する動画ファイルフォーマットが、図4、図9、図10に示したMP4ファイルフォーマットである場合も、サムネイル画像データ領域43,43a、43bのデータ領域に、ASFファイルフォーマットと同様に、1回目のサムネイル画像作成指示においてサムネイル画像データ#1とサムネイル音声データ#1を設定し、2回目のサムネイル画像作成指示においてサムネイル画像データ#2とサムネイル音声データ#2を設定し、m回目のサムネイル画像作成指示においてサムネイル画像データ#1とサムネイル音声データ#mを設定する。
Even when the moving image file format generated by the
実施の形態1〜6の動画記録再生装置のサムネイル表示動作時には、制御部5は、動画ファイルフォーマットに従って、記憶部4からサムネイル画像データ領域のサムネイル画像データをJPEG復号化部21に出力させるとともに、サムネイル画像データに対応するサムネイル音声データをオーディオ復号化部23に出力させる。
During the thumbnail display operation of the moving image recording / playback apparatuses of
JPEG復号化部21は、サムネイル画像データにJPEG復号化処理を施してサムネイル画像データを伸張したサムネイル画像信号を生成し、表示部24は、JPEG復号化部21によって生成されたサムネイル画像信号を表示する。
The JPEG decoding unit 21 performs a JPEG decoding process on the thumbnail image data to generate a thumbnail image signal obtained by expanding the thumbnail image data, and the
一方、オーディオ復号化部23は、サムネイル音声データに予め定められたオーディオ復号化方式による復号化処理を施してサムネイル音声データを伸張したデジタル音声信号を生成し、音声出力部25は、デジタル音声信号に基づいて音声を出力する。
On the other hand, the
図15は、この実施の形態7の動画記録再生装置によって生成したサムネイルの画像と記録した映像との関係を示す図である。図15では、記録開始時と、記録開始から30分後、および記録開始から60分後にユーザからサムネイル画像作成の指示を受けた場合、すなわち、3回サムネイル画像作成の指示を受けて、3枚のサムネイル画像データを生成した場合を示している。 FIG. 15 is a diagram showing the relationship between thumbnail images generated by the moving image recording / playback apparatus of the seventh embodiment and recorded videos. In FIG. 15, when a user receives an instruction to create a thumbnail image at the start of recording, 30 minutes after the start of recording, and 60 minutes after the start of recording, that is, three images in response to an instruction to create thumbnail images three times. This shows a case where the thumbnail image data is generated.
図15において、記録開始時のサムネイルの表示には、「xx時yy分のドラマです」という音声が出力され、映像開始から30分後のサムネイルの表示には、「xx時yy分のドキュメンタリーです」という音声が出力され、映像開始から60分後のサムネイルの表示には、「xx時yy分のスポーツです」という音声が出力される。
In FIG. 15, a sound “Dry for yy at xx” is output in the thumbnail display at the start of recording, and a documentary for yy at xx is displayed in the
以上説明したように、この実施の形態7においては、サムネイル画像データの作成時に入力された音声から生成した音声ストリームデータを、サムネイル画像データに対応付けて、サムネイル画像データ領域に設定するようにしているので、サムネイルを表示する際に、音声を出力することが可能となり、ユーザは、視覚的にコンテンツのシーンを判断するだけでなく、聴覚的にコンテンツのシーンを判断することができる。 As described above, in the seventh embodiment, the audio stream data generated from the audio input when creating the thumbnail image data is set in the thumbnail image data area in association with the thumbnail image data. Therefore, when displaying thumbnails, it is possible to output sound, and the user can not only visually determine the content scene but also auditorily determine the content scene.
実施の形態8.
図16を用いてこの発明にかかる実施の形態8を説明する。実施の形態1〜6ではサムネイル画像データ領域のデータ領域にサムネイル画像データを設定し、実施の形態7では、サムネイル画像データ領域のデータ領域に、サムネイル画像データおよびサムネイル音声データを設定したが、さらに、サムネイル画像データを生成した映像のフレーム番号を設定するようにしてもよい。
この場合、先の図1に示した実施の形態1の動画記録再生装置、または先の図8に示した実施の形態2の動画記録再生装置の制御部5が、映像信号処理部10を監視して入力される映像信号のフレームをカウントしておき、サムネイル画像作成指示とともにフレームのカウント値をフレーム番号としてファイル生成部15に出力し、ファイル生成部15がサムネイル画像データとともにフレーム番号を設定するようにすればよい。
In this case, the video
具体的には、ASFファイルフォーマットの場合、ファイル生成部15は、図3に示したサムネイル画像データ領域33のサムネイルデータ領域36に、図16に示すように、1回目のサムネイル画像作成指示によってサムネイル画像データ#1に対応するフレーム番号(この場合は「1」)とサムネイル画像データ#1を設定し、2回目のサムネイル画像作成指示によってサムネイル画像データ#2に対応するフレーム番号(この場合は「5」)とサムネイル画像データ#2を設定し、m回目のサムネイル画像作成指示によってサムネイル画像データ#mに対応するフレーム番号(この場合は「100」)とサムネイル画像データ#mを設定する。
Specifically, in the case of the ASF file format, the
以上説明したように、この実施の形態8においては、記録すべきデジタル映像信号のフレームをカウントしておき、サムネイル画像データを生成する際に用いた記録すべきデジタル映像信号のフレームのカウント値、すなわちフレーム番号をサムネイル画像データに対応付けて、サムネイル画像データ領域に設定するようにしているため、サムネイルを表示した際に、ユーザがサムネイルの画像からの再生を要求した場合に、フレーム番号をインデックスとして用いることができ、頭出しを容易に行なうことができる。 As described above, in the eighth embodiment, the frame of the digital video signal to be recorded is counted, and the count value of the frame of the digital video signal to be used used when generating the thumbnail image data, In other words, since the frame number is associated with the thumbnail image data and set in the thumbnail image data area, the frame number is indexed when the user requests playback from the thumbnail image when the thumbnail is displayed. Can be easily used for cueing.
実施の形態9.
図17を用いてこの発明にかかる実施の形態9を説明する。実施の形態1〜8では、ASFファイルフォーマットの場合には、サムネイル画像データ領域33をGUID34、オブジェクトサイズ35、およびサムネイル画像データやサムネイル音声データ、サムネイル画像データのフレーム番号を設定するサムネイルデータ領域36で構成し、MP4ファイルフォーマットの場合には、サムネイル画像データ領域43をオブジェクトタイプ44、オブジェクトサイズ45、およびサムネイル画像データやサムネイル音声データ、サムネイル画像データのフレーム番号を設定するサムネイルデータ領域46で構成したが、さらに、サムネイル画像データを生成した際の、サムネイル画像データ生成情報を設定するサムネイル画像データ生成情報領域を備えるようにしてもよい。
Embodiment 9 FIG.
A ninth embodiment according to the present invention will be described with reference to FIG. In the first to eighth embodiments, in the case of the ASF file format, the thumbnail
具体的には、たとえば、図1に示したASFファイルフォーマットのサムネイル画像データ領域33の代わりに、図17に示したサムネイル画像データ領域33aを備える動画ファイルを用いる。図17に示したサムネイル画像データ領域33aは、オブジェクトサイズ35とサムネイル画像データ#1〜#mが設定されるサムネイルデータ領域36との間に、コントラスト情報、白ポイント温度情報、階調特性情報、色特性情報、および圧縮情報などのサムネイル画像作成情報が設定されるサムネイル画像データ生成情報領域37が追加されている。
Specifically, for example, a moving image file including the thumbnail image data area 33a shown in FIG. 17 is used instead of the thumbnail
この場合、先の図1に示した実施の形態1の動画記録再生装置、または先の図8に示した実施の形態2の動画記録再生装置の制御部5が、映像信号処理部10を監視して入力される映像信号やJPEG符号化部12のJPEG符号化処理に基づいて、コントラスト情報、白ポイント温度情報、階調特性情報、および色特性情報を生成し、生成した各種情報とJPEG符号化部12の圧縮情報とを、サムネイル画像作成指示とともにファイル生成部15に出力し、ファイル生成部15が、制御部5からの情報をサムネイル画像データ生成情報領域37に設定すればよい。
In this case, the video
そして、サムネイル表示動作時には、制御部5は、サムネイル画像データ領域33のサムネイル画像データ生成情報領域37に設定されているコントラスト情報、白ポイント温度情報、階調特性情報、色特性情報、および圧縮情報を読み出して、これらの情報に基づいてサムネイル画像データから生成されたサムネイル画像信号を表示部24に表示させる。
During the thumbnail display operation, the
以上説明したように、この実施の形態9においては、サムネイル画像データ作成時の入力される映像信号および/またはJPEG符号化部のJPEG符号化処理に基づいて、コントラスト情報、白ポイント温度情報、階調特性情報、色特性情報、および圧縮情報を含むサムネイル画像データ生成情報を生成し、サムネイル画像データ作成領域内のサムネイル画像データ生成情報領域に設定するようにしているので、サムネイル画像を表示する際に、サムネイル画像データを作成したときと同じ条件でサムネイル画像を表示することができる。 As described above, according to the ninth embodiment, the contrast information, the white point temperature information, the floor level, and the like are input based on the input video signal at the time of creating the thumbnail image data and / or the JPEG encoding process of the JPEG encoding unit. Since thumbnail image data generation information including tone characteristic information, color characteristic information, and compression information is generated and set in the thumbnail image data generation information area in the thumbnail image data generation area, when displaying a thumbnail image In addition, thumbnail images can be displayed under the same conditions as when thumbnail image data was created.
なお、この実施の形態9では、ASFファイルフォーマットについて説明したが、MP4ファイルフォーマットのサムネイル画像データ領域内に、コントラスト情報や、白ポイント温度情報、階調特性情報、色特性情報、圧縮情報を含むサムネイル画像データ生成情報領域を備えるようにしてもかまわない。 Although the ASF file format has been described in the ninth embodiment, contrast information, white point temperature information, gradation characteristic information, color characteristic information, and compression information are included in the thumbnail image data area of the MP4 file format. A thumbnail image data generation information area may be provided.
また、サムネイル画像データ生成情報は、コントラスト情報、白ポイント温度情報、階調特性情報、色特性情報、圧縮情報の少なくとも1つを含んでいればよい。 The thumbnail image data generation information only needs to include at least one of contrast information, white point temperature information, gradation characteristic information, color characteristic information, and compression information.
実施の形態10.
図18を参照してこの実施の形態10を説明する。実施の形態1〜9では、制御部5が操作部3を介してユーザからサムネイル画像の作成の指示を受けると、制御部5が、サムネイル画像作成指示を出力し、ファイル生成部15はサムネイル画像作成指示によってサムネイル画像データを動画ファイルに設定するようにしたが、サムネイル画像作成指示の有無に関係なく、図18に示すように、サムネイル画像データ領域33のサムネイルデータ領域36に映像信号の全てのフレームの画像データをサムネイル画像データとして設定するようにしてもよい。この場合は、データ量を考えると、実施の形態1の動画記録再生装置を用いて、JPEG符号化部12によってJPEF符号化処理が施されたサムネイル画像データをサムネイルデータ領域36に設定することが望ましい。
The tenth embodiment will be described with reference to FIG. In the first to ninth embodiments, when the
以上説明したように、この実施の形態10においては、サムネイル画像データ領域に記録すべきデジタル映像信号の全てのフレームのサムネイル画像データをサムネイル画像データ領域に設定するようにしているので、生成する動画ファイルのファイルフォーマットに依存することなく、サムネイル画像データを再生することで動画ファイルに記録されている映像を表示することができ、ユーザは動画ファイルの内容を容易に判別することができる。 As described above, in the tenth embodiment, the thumbnail image data of all the frames of the digital video signal to be recorded in the thumbnail image data area is set in the thumbnail image data area. Regardless of the file format of the file, by reproducing the thumbnail image data, the video recorded in the moving image file can be displayed, and the user can easily determine the contents of the moving image file.
以上のように、本発明にかかる動画記録装置、および動画記録再生装置は、動画ファイルを扱う機器に有用であり、特に、デジタルスチールカメラやデジタルビデオカメラ、テレビ、動画ビューワー製品に適している。 As described above, the moving image recording apparatus and moving image recording / playback apparatus according to the present invention are useful for devices that handle moving image files, and are particularly suitable for digital still cameras, digital video cameras, televisions, and moving image viewer products.
1,1a 記録処理部
2,2a 再生処理部
3 操作部
4 記憶部
5 制御部
10 映像信号処理部
11 音声入力部
12 JPEG符号化部
13 MPEG4符号化部
14 オーディオ符号化部
15 ファイル生成部
21 JPEG復号化部
22 MPEG4復号化部
23 オーディオ復号化部
24 表示部
25 音声出力部
30,40 ファイルヘッダ領域
31,36,46 データ領域
32 インデックスデータ領域
33,43,43a,43b サムネイル画像データ領域
34 GUID
35,45 オブジェクトサイズ
37 サムネイル画像データ生成情報領域
41 コンテンツデータ領域
42 ユーザオブジェクト領域
44 オブジェクトタイプ
50,51,52 領域
55,56,57 サムネイル画像
DESCRIPTION OF
35, 45
Claims (13)
前記デジタル映像信号に予め定められた第1の符号化処理を施して圧縮した映像ストリームデータを生成する第1の符号化部と、
前記デジタル音声信号に予め定められた第2の符号化処理を施して圧縮した音声ストリームデータを生成する第2の符号化部と、
前記映像ストリームデータおよび前記音声ストリームデータを前記動画ファイルのビデオストリームおよびオーディオストリームに設定するとともに、前記動画ファイルの中でユーザが任意に作成できるユーザ作成領域にサムネイル画像データ領域を作成し、外部からサムネイル画像の作成の指示を受けた場合、作成したサムネイル画像データ領域に、サムネイル画像として用いるフレームのデジタル映像信号をサムネイル画像データとして設定するファイル生成部と、
を備えることを特徴とする動画記録装置。 In a video recording apparatus for generating and storing a video file of a predetermined video file format from a digital video signal and a digital audio signal of a video to be recorded,
A first encoding unit that generates video stream data compressed by applying a predetermined first encoding process to the digital video signal;
A second encoding unit that generates audio stream data compressed by applying a predetermined second encoding process to the digital audio signal;
The video stream data and the audio stream data are set in a video stream and an audio stream of the video file, and a thumbnail image data area is created in a user creation area that can be arbitrarily created by the user in the video file. When receiving an instruction to create a thumbnail image, a file generation unit that sets a digital video signal of a frame used as a thumbnail image as thumbnail image data in the created thumbnail image data area;
A moving picture recording apparatus comprising:
をさらに備え、
前記ファイル生成部は、
前記第3の符号化部によって生成されたサムネイル画像データをサムネイル画像データ領域に設定すること、
を特徴とする請求項1に記載の動画記録装置。 A third encoding unit for generating thumbnail image data compressed by applying a predetermined third encoding process to the digital video signal;
Further comprising
The file generator
Setting thumbnail image data generated by the third encoding unit in a thumbnail image data area;
The moving image recording apparatus according to claim 1.
を特徴とする請求項2に記載の動画記録装置。 The third encoding process of the third encoding unit is an encoding process with a condition that the number of pixels is smaller than that of the first encoding process of the first encoding unit;
The moving image recording apparatus according to claim 2.
前記サムネイル画像データ領域を、前記動画ファイルのファイルヘッダ領域内、前記ビデオストリームおよび前記オーディオストリームが設定されるデータ領域の後、または前記動画ファイルの最後尾に作成すること、
を特徴とする請求項1〜3の何れか一つに記載の動画記録装置。 The file generator
Creating the thumbnail image data area in the file header area of the moving image file, after the data area in which the video stream and the audio stream are set, or at the end of the moving image file;
The moving picture recording apparatus according to claim 1, wherein
サムネイル画像データを所定の領域に記憶しておき、記録終了時に、動画ファイルにサムネイル画像データ領域を生成し、生成したサムネイル画像データ領域に、前記所定の領域に記憶しておいたサムネイル画像データを設定すること、
を特徴とする請求項1〜4の何れか一つに記載の動画記録装置。 The file generator
Thumbnail image data is stored in a predetermined area, and at the end of recording, a thumbnail image data area is generated in the moving image file, and the thumbnail image data stored in the predetermined area is generated in the generated thumbnail image data area. Setting,
The moving picture recording apparatus according to any one of claims 1 to 4.
をさらに備え、
前記映像信号処理部は、
前記デジタル映像信号が示すフレームの中で、外部から設定された領域の画像からサムネイル用デジタル映像信号を生成し、
前記第3の符号化部、または前記ファイル生成部は、
前記サムネイル用デジタル映像信号を用いてサムネイル画像データを生成すること、
を特徴とする請求項1〜5の何れか一つに記載の動画記録装置。 A video signal processing unit for generating a thumbnail digital video signal used to create thumbnail image data from the digital video signal;
Further comprising
The video signal processor is
In the frame indicated by the digital video signal, a thumbnail digital video signal is generated from an image of a region set from outside,
The third encoding unit, or the file generation unit,
Generating thumbnail image data using the thumbnail digital video signal;
The moving picture recording apparatus according to any one of claims 1 to 5.
前記デジタル映像信号が示すフレームのアスペクト比を変更してサムネイル用デジタル映像信号を生成すること、
を特徴とする請求項1〜6の何れか一つに記載の動画記録装置。 The video signal processor is
Changing the aspect ratio of the frame indicated by the digital video signal to generate a digital video signal for thumbnail;
The moving picture recording apparatus according to claim 1, wherein
前記第2の符号化部によって生成された音声ストリームデータの中で、前記サムネイル画像データの作成時に入力された音声に対応する音声ストリームデータを、前記サムネイル画像データとともに前記動画ファイルのサムネイル画像データ領域に設定すること、
を特徴とする請求項1〜7の何れか一つに記載の動画記録装置。 The file generator
Among the audio stream data generated by the second encoding unit, the audio stream data corresponding to the audio input when the thumbnail image data is created, together with the thumbnail image data, the thumbnail image data area of the moving image file Set to
The moving picture recording apparatus according to any one of claims 1 to 7.
をさらに備え、
前記ファイル生成部は、
前記サムネイル画像データを生成する際に用いた前記記録すべきデジタル映像信号のフレームのカウント値をフレーム番号として、前記サムネイル画像データに対応付けてサムネイル画像データ領域に設定すること、
を特徴とする請求項1〜8の何れか一つに記載の動画記録装置。 A control unit for counting frames of the digital video signal to be recorded;
Further comprising
The file generator
Setting the frame count value of the digital video signal to be recorded used when generating the thumbnail image data as a frame number in association with the thumbnail image data in the thumbnail image data area;
The moving picture recording apparatus according to any one of claims 1 to 8.
前記記録すべき映像信号および/または前記第3の符号化部の第3の符号化処理に基づいて、コントラスト情報、白ポイント温度情報、階調特性情報、色特性情報、圧縮情報の少なくとも1つを含むサムネイル画像データ生成情報を作成し、
前記ファイル生成部は、
前記制御部によって生成されたサムネイル画像データ生成情報を、前記動画ファイルのサムネイル画像データ領域に設定すること、
を特徴とする請求項9に記載の動画記録装置。 The controller is
Based on the video signal to be recorded and / or the third encoding process of the third encoding unit, at least one of contrast information, white point temperature information, gradation characteristic information, color characteristic information, and compression information Create thumbnail image data generation information including
The file generator
Setting thumbnail image data generation information generated by the control unit in a thumbnail image data area of the moving image file;
The moving picture recording apparatus according to claim 9.
前記記録すべき映像のデジタル映像信号の全てのフレームのサムネイル画像データを、前記動画ファイルのサムネイル画像データ領域に設定すること、
を特徴とする請求項1〜10の何れか一つに記載の動画記録装置。 The file generator
Setting thumbnail image data of all frames of the digital video signal of the video to be recorded in the thumbnail image data area of the moving image file;
The moving picture recording apparatus according to any one of claims 1 to 10.
前記動画記録装置によって生成された動画ファイルのビデオストリームに設定されている映像ストリームデータに第1の復号化処理を施して伸張したデジタル映像信号を生成する第1の復号化部と、
前記動画記録装置によって生成された動画ファイルのオーディオストリームに設定されている音声ストリームデータに第2の復号化処理を施して伸張したデジタル音声信号を生成する第2の復号化部と、
前記動画記録装置によって生成された動画ファイルのサムネイル画像データ領域に設定されているサムネイル画像データが符号化されている場合に、前記サムネイル画像データに第3の復号化処理を施して伸張したサムネイル画像信号を生成する第3の復号化部と、
前記第1の復号化部によって生成されたデジタル映像信号に基づいて映像を表示するとともに、サムネイル表示の指示を受けた場合、前記第3の復号化部によって生成されたサムネイル画像信号に基づいてサムネイルの画像を表示する表示部と、
前記第2の復号化部によって生成されたデジタル音声信号に基づいて音声を出力する音声出力部と、
を備えることを特徴とする動画記録再生装置。 A moving picture recording / reproducing apparatus comprising the moving picture recording apparatus according to any one of claims 1 to 11,
A first decoding unit that generates a digital video signal obtained by performing a first decoding process on video stream data set in a video stream of a video file generated by the video recording device;
A second decoding unit that generates a digital audio signal obtained by performing a second decoding process on the audio stream data set in the audio stream of the video file generated by the video recording device;
When the thumbnail image data set in the thumbnail image data area of the moving image file generated by the moving image recording apparatus is encoded, the thumbnail image is decompressed by performing a third decoding process on the thumbnail image data. A third decoding unit for generating a signal;
A video is displayed based on the digital video signal generated by the first decoding unit, and a thumbnail is displayed based on the thumbnail image signal generated by the third decoding unit when an instruction to display a thumbnail is received. A display for displaying the image of
An audio output unit that outputs audio based on the digital audio signal generated by the second decoding unit;
A moving picture recording / reproducing apparatus comprising:
前記表示部が前記第1の復号化部によって生成されたデジタル映像信号に基づいて映像を表示している際に、前記サムネイル画像の作成指示を受けた場合、前記第1の復号化部によって生成されたデジタル映像信号、または前記第3の符号化部が前記第1の復号化部によって生成されたデジタル映像信号に第3の符号化処理を施して圧縮したサムネイル画像データを、前記動画ファイルのサムネイル画像データ領域に設定すること、
を特徴とする請求項12に記載の動画記録再生装置。
The file generator of the video recording device
When the display unit displays an image based on the digital video signal generated by the first decoding unit, when receiving an instruction to create the thumbnail image, the display unit generates the image by the first decoding unit. Or the thumbnail image data compressed by performing a third encoding process on the digital video signal generated by the third encoding unit and the digital video signal generated by the first decoding unit. Set the thumbnail image data area,
The moving picture recording / reproducing apparatus according to claim 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005125567A JP2006304103A (en) | 2005-04-22 | 2005-04-22 | Moving video recording apparatus and moving video recording/reproducing apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2005125567A JP2006304103A (en) | 2005-04-22 | 2005-04-22 | Moving video recording apparatus and moving video recording/reproducing apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2006304103A true JP2006304103A (en) | 2006-11-02 |
Family
ID=37471833
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2005125567A Pending JP2006304103A (en) | 2005-04-22 | 2005-04-22 | Moving video recording apparatus and moving video recording/reproducing apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2006304103A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015050688A (en) * | 2013-09-03 | 2015-03-16 | キヤノン株式会社 | Imaging device, control method of imaging device, and program |
-
2005
- 2005-04-22 JP JP2005125567A patent/JP2006304103A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2015050688A (en) * | 2013-09-03 | 2015-03-16 | キヤノン株式会社 | Imaging device, control method of imaging device, and program |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4769717B2 (en) | Image decoding method | |
KR101240089B1 (en) | Picture coding apparatus and picture decoding apparatus | |
JP4883100B2 (en) | VIDEO RECORDING METHOD AND DEVICE, VIDEO REPRODUCTION METHOD AND DEVICE, AND RECORDING MEDIUM | |
JP4515465B2 (en) | Moving picture photographing apparatus and moving picture photographing method, moving picture reproducing apparatus and moving picture reproducing method for reproducing a video signal recorded on a recording medium | |
WO2006027880A1 (en) | Recording apparatus and method, reproducing apparatus and method, recording medium, and program | |
JP2001258031A (en) | Signal processing method, image coder and image decoder | |
US9275081B2 (en) | Data management apparatus and data management method | |
US6947660B2 (en) | Motion picture recording/reproduction apparatus | |
JP4174960B2 (en) | Signal processing apparatus and method, and file generation method | |
US6738425B2 (en) | Image or video data processing system | |
JP2004015580A (en) | Recorder | |
JP4902854B2 (en) | Moving picture decoding apparatus, moving picture decoding method, moving picture decoding program, moving picture encoding apparatus, moving picture encoding method, moving picture encoding program, and moving picture encoding / decoding apparatus | |
JP2005303336A (en) | Video signal recording apparatus and video signal reproducing apparatus | |
JP2007142809A (en) | Video recording apparatus | |
JP2003289495A (en) | Moving picture processing apparatus | |
JP2006304103A (en) | Moving video recording apparatus and moving video recording/reproducing apparatus | |
JP2003023600A (en) | Image processor, animation recording/playback equipment, image processing method, program, and computer- readable storage medium | |
JP4293151B2 (en) | Video encoding method and video recording apparatus | |
JP3897783B2 (en) | Image processing apparatus, control method therefor, computer program, and computer-readable storage medium | |
JP5171666B2 (en) | Video / audio recording device | |
JP2007122502A (en) | Frame buffer management program, program storage medium and management method | |
KR20010062018A (en) | Method and apparatus for editing motion picture | |
KR100686137B1 (en) | Digital broadcasting receiver, and captured image editing and saving method | |
JP2005237020A (en) | Digital video processing apparatus and method | |
JP2000138900A (en) | Dynamic image recording and reproducing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20080321 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20091023 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20091027 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100302 |