JP4821462B2 - Recording apparatus and method, reproducing apparatus and method, and program - Google Patents

Recording apparatus and method, reproducing apparatus and method, and program Download PDF

Info

Publication number
JP4821462B2
JP4821462B2 JP2006180102A JP2006180102A JP4821462B2 JP 4821462 B2 JP4821462 B2 JP 4821462B2 JP 2006180102 A JP2006180102 A JP 2006180102A JP 2006180102 A JP2006180102 A JP 2006180102A JP 4821462 B2 JP4821462 B2 JP 4821462B2
Authority
JP
Japan
Prior art keywords
metadata
file
content
dynamic
static
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 - Fee Related
Application number
JP2006180102A
Other languages
Japanese (ja)
Other versions
JP2008011235A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP2006180102A priority Critical patent/JP4821462B2/en
Publication of JP2008011235A publication Critical patent/JP2008011235A/en
Application granted granted Critical
Publication of JP4821462B2 publication Critical patent/JP4821462B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Devices (AREA)

Description

本発明は記録装置および方法、再生装置および方法、並びにプログラムに関し、特に、メタデータを記録するか、またはメタデータを再生する記録装置および方法、再生装置および方法、並びにプログラムに関する。   The present invention relates to a recording apparatus and method, a reproducing apparatus and method, and a program, and more particularly, to a recording apparatus and method, a reproducing apparatus and method, and a program for recording metadata or reproducing metadata.

静止画像や動画像などのコンテンツを記録する場合、同時にコンテンツに関連するメタデータを記録する装置が利用されている。   When recording a content such as a still image or a moving image, an apparatus that records metadata related to the content at the same time is used.

EXIF(Exchangeable Image File Format)方式で記録された静止画像の場合、APP1に存在するIFD領域に、メタデータとして撮影日時や画像データに関する情報が記録される。近年、このメタデータを活用したアプリケーションが多数開発されている。   In the case of a still image recorded by the EXIF (Exchangeable Image File Format) method, information relating to shooting date and time and image data is recorded as metadata in an IFD area existing in APP1. In recent years, many applications utilizing this metadata have been developed.

特許文献1では、コンテンツの編集を迅速に行うことにメタデータを活用することが開示されている。さらに、特許文献2では、メタデータを利用したコンテンツの検索に関するアプリケーションが開示されている。   Japanese Patent Application Laid-Open No. H10-228561 discloses utilizing metadata for quickly editing content. Further, Patent Document 2 discloses an application related to content search using metadata.

特開2004−319077号公報JP 2004-319077 A

特開2006−18551号公報JP 2006-18551 A

従来、メタデータは、EXIF形式の静止画のように1ファイルの中に画像データとともに記録されていた。つまり、メタデータを利用する際には、ファイルをオープンしてメタデータを抽出し、所望の処理にそのメタデータが使用できるか否かを判定し、ファイルをクローズして、次のファイルをオープンして、同様に、抽出した次のメタデータが所望の処理に使用できるか否かを判定し、ファイルをクローズするという処理が繰り返し行われていた。このように、記録媒体に多くのファイルが記録され、そのファイルについてメタデータを利用したい場合には、メタデータの使用の可否の判定に多くの時間が費やされることとなる。   Conventionally, metadata is recorded together with image data in one file like an EXIF still image. In other words, when using metadata, open the file, extract the metadata, determine whether the metadata can be used for the desired processing, close the file, and open the next file Similarly, the process of determining whether the extracted next metadata can be used for a desired process and closing the file has been repeatedly performed. As described above, when a large number of files are recorded on the recording medium and it is desired to use the metadata for the file, a lot of time is spent in determining whether or not the metadata can be used.

さらに、近年、例えば、動画像ファイルや静止画像ファイルなど、異なる種別のファイルに共通して付加される、撮影日時などのメタデータも多い。これらのメタデータを利用したアプリケーションの場合、一般的に、動画像ファイルへのメタデータの記録方式と静止画ファイルへのメタデータの記録方式とは異なるため、メタデータの読込みは異なるシステムで行うこととなり、動画像や静止画像など異なる種別のコンテンツについてのメタデータの使用の可否の判定にはさらに多くの時間が費やされることとなる。   Furthermore, in recent years, there are many metadata such as shooting date and time that are commonly added to different types of files such as moving image files and still image files. In the case of an application using these metadata, generally, the metadata recording method to the moving image file and the metadata recording method to the still image file are different, so the metadata is read by a different system. In other words, more time is spent in determining whether or not metadata can be used for different types of content such as moving images and still images.

本発明は、このような状況に鑑みてなされたものであり、コンテンツの種別によらず、より迅速にメタデータを使用することができるようにするものである。   The present invention has been made in view of such a situation, and makes it possible to use metadata more quickly regardless of the type of content.

本発明の第1の側面の記録装置は、動的コンテンツに関係する動的メタデータを前記動的コンテンツ毎に所定の構造で格納した動的メタファイルを第2のディレクトリに記録させるように制御する第1の記録制御手段と、前記動的コンテンツまたは静的コンテンツに関係する静的メタデータを前記所定の構造と同じ構造1つのファイルに格納した静的メタファイルを第1のディレクトリに記録させるように制御する第2の記録制御手段とを備える。 The recording apparatus according to the first aspect of the present invention controls to record in a second directory a dynamic metafile storing dynamic metadata related to dynamic content in a predetermined structure for each dynamic content. And recording a static metafile in which static metadata related to the dynamic content or the static content is stored in one file in the same structure as the predetermined structure in the first directory. And a second recording control means for controlling so as to make it happen.

前記第1のディレクトリは、前記第2のディレクトリより上位階層にあるようにすることができる。 The first directory may be higher in the hierarchy than the second directory .

前記動的メタファイルは、前記動的メタデータを再生するための情報として、前記動的メタデータの時間またはランダムアクセス情報を含むようにすることができる The dynamic metafile may include time or random access information of the dynamic metadata as information for reproducing the dynamic metadata .

前記動的コンテンツまたは前記静的コンテンツ毎の管理情報を格納する管理ファイルの記録を制御する第3の記録制御手段を設け、前記第3の記録制御手段には、前記管理情報として、前記動的コンテンツまたは前記静的コンテンツへのリンクを示す第1のリンク情報と、前記動的コンテンツまたは前記静的コンテンツに関係する前記静的メタデータへのリンクを示す第2のリンク情報とを格納する前記管理ファイル前記第1のディレクトリ下への記録を制御させることができる。 Third recording control means for controlling recording of a management file that stores management information for each of the dynamic contents or the static contents is provided, and the third recording control means includes the dynamic information as the management information. Storing first link information indicating a link to content or the static content, and second link information indicating a link to the static metadata related to the dynamic content or the static content Recording of the management file under the first directory can be controlled.

前記第1の記録制御手段には、格納した前記動的メタデータに関係する前記動的コンテンツを再生させるためのコンテンツファイルの名称と、拡張子を除き同じ名称の前記動的メタファイルを記録させることができる。The first recording control unit records the name of the content file for reproducing the dynamic content related to the stored dynamic metadata and the dynamic metafile having the same name except for an extension. be able to.

前記第1のディレクトリ下のファイルおよびディレクトリに関する表示が禁止されるようにすることができる。   The display regarding the files and directories under the first directory can be prohibited.

本発明の第1の側面の記録方法は、動的コンテンツに関係する動的メタデータを前記動的コンテンツ毎に所定の構造で格納した動的メタファイルを第2のディレクトリに記録させるように制御し、前記動的コンテンツまたは静的コンテンツに関係する静的メタデータを前記所定の構造と同じ構造1つのファイルに格納した静的メタファイルを第1のディレクトリに記録させるように制御するステップを含む。 The recording method according to the first aspect of the present invention controls to record in a second directory a dynamic metafile storing dynamic metadata related to dynamic content in a predetermined structure for each dynamic content. And controlling to record in the first directory a static metafile in which static metadata related to the dynamic content or static content is stored in one file with the same structure as the predetermined structure. Including.

本発明の第1の側面のプログラムは、動的コンテンツに関係する動的メタデータを前記動的コンテンツ毎に所定の構造で格納した動的メタファイルを第2のディレクトリに記録させるように制御し、前記動的コンテンツまたは静的コンテンツに関係する静的メタデータを前記所定の構造と同じ構造1つのファイルに格納した静的メタファイルを第1のディレクトリに記録させるように制御するステップをコンピュータに実行させる。 The program according to the first aspect of the present invention controls to record in a second directory a dynamic metafile storing dynamic metadata related to dynamic content in a predetermined structure for each dynamic content. A step of controlling to record in a first directory a static metafile in which static metadata related to the dynamic content or static content is stored in one file with the same structure as the predetermined structure To run.

本発明の第2の側面の再生装置は、動的コンテンツに関係する動的メタデータであって、前記動的コンテンツ毎の動的メタファイルに所定の構造で第2のディレクトリに格納されている動的メタデータの再生を制御する第1の再生制御手段と、前記動的コンテンツまたは静的コンテンツに関係する静的メタデータであって、静的メタファイルに前記所定の構造と同じ構造により1つのファイル第1のディレクトリに格納されている静的メタデータの再生を制御する第2の再生制御手段とを備える。 The playback apparatus according to the second aspect of the present invention is dynamic metadata related to dynamic content, and is stored in a second directory with a predetermined structure in a dynamic metafile for each dynamic content. First reproduction control means for controlling reproduction of dynamic metadata, and static metadata related to the dynamic content or the static content, wherein the static metadata file has the same structure as the predetermined structure. And second reproduction control means for controlling reproduction of static metadata stored in the first directory in one file .

前記第1のディレクトリは、前記第2のディレクトリより上位階層にあるようにすることができる。 The first directory may be higher in the hierarchy than the second directory .

前記動的メタファイルは、前記動的メタデータを再生するための情報として、前記動的メタデータの時間またはランダムアクセス情報を含むようにすることができる The dynamic metafile may include time or random access information of the dynamic metadata as information for reproducing the dynamic metadata .

前記動的コンテンツまたは前記静的コンテンツ毎の管理情報であって、管理ファイルに格納されている管理情報の再生を制御する第3の再生制御手段を設け、前記第3の再生制御手段には、前記管理情報として前記第1のディレクトリ下の前記管理ファイルに格納されている、前記動的コンテンツまたは前記静的コンテンツへのリンクを示す第1のリンク情報と、前記動的コンテンツまたは前記静的コンテンツに関係する前記静的メタデータへのリンクを示す第2のリンク情報との再生を制御させることができる。 There is provided third playback control means for controlling the playback of the management information stored in the management file , which is management information for each dynamic content or static content, and the third playback control means includes: First link information indicating a link to the dynamic content or the static content, and the dynamic content or the static content stored in the management file under the first directory as the management information It is possible to control the reproduction with the second link information indicating the link to the static metadata related to the.

前記第1の再生制御手段には、前記動的コンテンツを再生させるためのコンテンツファイルの名称と、拡張子を除き同じ名称の前記動的メタファイルに格納されている、前記動的コンテンツに関係する前記動的メタデータの再生を制御させることができる。The first reproduction control unit relates to the dynamic content stored in the dynamic metafile having the same name except for the name of the content file for reproducing the dynamic content and the extension. The reproduction of the dynamic metadata can be controlled.

前記第1のディレクトリ下のファイルおよびディレクトリに関する表示が禁止されるようにすることができる。   The display regarding the files and directories under the first directory can be prohibited.

本発明の第2の側面の再生方法は、動的コンテンツに関係する動的メタデータであって、前記動的コンテンツ毎の動的メタファイルに所定の構造で第2のディレクトリに格納されている動的メタデータの再生を制御し、前記動的コンテンツまたは静的コンテンツに関係する静的メタデータであって、静的メタファイルに前記所定の構造と同じ構造により1つのファイル第1のディレクトリに格納されている静的メタデータの再生を制御するステップを含む。 The reproduction method according to the second aspect of the present invention is dynamic metadata related to dynamic content, and is stored in a second directory with a predetermined structure in a dynamic metafile for each dynamic content. Static metadata related to dynamic content or static content, which controls reproduction of dynamic metadata, and the first directory in a single file with the same structure as the predetermined structure in the static metadata file comprising the step of controlling reproduction of static metadata stored in.

本発明の第2の側面のプログラムは、動的コンテンツに関係する動的メタデータであって、前記動的コンテンツ毎の動的メタファイルに所定の構造で第2のディレクトリに格納されている動的メタデータの再生を制御し、前記動的コンテンツまたは静的コンテンツに関係する静的メタデータであって、静的メタファイルに前記所定の構造と同じ構造により1つのファイル第1のディレクトリに格納されている静的メタデータの再生を制御するステップをコンピュータに実行させる。 The program according to the second aspect of the present invention is dynamic metadata related to dynamic content, and the dynamic metadata stored in the second directory in a predetermined structure in the dynamic metafile for each dynamic content. Static metadata related to the dynamic content or the static content, wherein the static metadata is the same structure as the predetermined structure, and one file is stored in the first directory. Causing the computer to execute a step of controlling the reproduction of the stored static metadata.

本発明の第1の側面においては、動的コンテンツに関係する動的メタデータを動的コンテンツ毎に所定の構造で格納した動的メタファイルの第2のディレクトリへの記録が制御され、前記動的コンテンツまたは静的コンテンツに関係する静的メタデータを所定の構造と同じ構造1つのファイルに格納した静的メタファイルの第1のディレクトリへの記録が制御される。 In the first aspect of the present invention, the recording of the dynamic metadata related to the dynamic content in the second directory in which the dynamic metadata related to the dynamic content is stored in a predetermined structure for each dynamic content is controlled. The recording of the static metadata related to the static content or the static content in the first directory having the same structure as the predetermined structure stored in one file is controlled.

本発明の第2の側面においては、動的コンテンツに関係する動的メタデータであって、前記動的コンテンツ毎の動的メタファイルに所定の構造で第2のディレクトリに格納されている動的メタデータの再生が制御され、前記動的コンテンツまたは静的コンテンツに関係する静的メタデータであって、静的メタファイルに所定の構造と同じ構造により1つのファイル第1のディレクトリに格納されている静的メタデータの再生が制御される。 In the second aspect of the present invention, dynamic metadata relating to dynamic content, which is stored in a second directory with a predetermined structure in a dynamic metafile for each dynamic content. The reproduction of metadata is controlled, and is static metadata related to the dynamic content or the static content, and the static metafile is stored in the first directory as one file with the same structure as the predetermined structure. Static metadata playback is controlled.

以上のように、本発明の第1の側面によれば、メタデータを記録することができる。   As described above, according to the first aspect of the present invention, metadata can be recorded.

また、本発明の第1の側面によれば、コンテンツの種別によらず、より迅速にメタデータを使用することができるようにメタデータを記録することができる。   Also, according to the first aspect of the present invention, metadata can be recorded so that the metadata can be used more quickly regardless of the type of content.

本発明の第2の側面によれば、メタデータを使用することができる。   According to the second aspect of the present invention, metadata can be used.

また、本発明の第2の側面によれば、コンテンツの種別によらず、より迅速にメタデータを使用することができる。   Further, according to the second aspect of the present invention, metadata can be used more quickly regardless of the type of content.

図1は、本発明の一実施の形態のデジタルカメラ11の構成を示すブロック図である。デジタルカメラ11は、カメラ部31と、カメラDSP(Digital Signal Processor)32と、SDRAM(Synchronous Dynamic Random Access Memory)33と、媒体インタフェース(以下、媒体I/Fという。)34と、記録媒体35と、制御部36と、操作部37と、LCDコントローラ38と、LCD39と、外部インタフェース(以下、外部I/Fという。)40と、通信インタフェース(以下、通信I/Fという。)41と、GPS(Global Positioning System)信号受信部42とを備える。   FIG. 1 is a block diagram showing a configuration of a digital camera 11 according to an embodiment of the present invention. The digital camera 11 includes a camera unit 31, a camera DSP (Digital Signal Processor) 32, an SDRAM (Synchronous Dynamic Random Access Memory) 33, a medium interface (hereinafter referred to as medium I / F) 34, and a recording medium 35. , Control unit 36, operation unit 37, LCD controller 38, LCD 39, external interface (hereinafter referred to as external I / F) 40, communication interface (hereinafter referred to as communication I / F) 41, GPS (Global Positioning System) signal receiving unit 42.

記録媒体35は、着脱可能に構成されている、データまたはプログラムなどを記録する媒体である。記録媒体35として、半導体メモリを用いたいわゆるメモリーカード、記録可能なDVD(Digital Versatile Disc)や記録可能なCD(Compact Disc)等の光記録媒体、磁気ディスクなどの種々のものを用いるようにすることが考えられるが、この実施の形態においては、記録媒体35として例えば半導体メモリまたはハードディスクドライブが内蔵されているメモリーカードを用いるものとして説明する。   The recording medium 35 is a medium for recording data or a program that is configured to be detachable. As the recording medium 35, a so-called memory card using a semiconductor memory, an optical recording medium such as a recordable DVD (Digital Versatile Disc) or a recordable CD (Compact Disc), a magnetic disk, or the like is used. However, in this embodiment, a description will be given assuming that, for example, a memory card incorporating a semiconductor memory or a hard disk drive is used as the recording medium 35.

そして、カメラ部31は、光学ブロック61、CCD(Charge Coupled Device)62、前処理回路63、光学ブロック用ドライバ64、CCD用ドライバ65、タイミング生成回路66とを備えたものである。ここで、光学ブロック61は、レンズ、フォーカス機構、シャッター機構、絞り(アイリス)機構などを備えたものである。   The camera unit 31 includes an optical block 61, a CCD (Charge Coupled Device) 62, a preprocessing circuit 63, an optical block driver 64, a CCD driver 65, and a timing generation circuit 66. Here, the optical block 61 includes a lens, a focus mechanism, a shutter mechanism, a diaphragm (iris) mechanism, and the like.

また、制御部36は、CPU(Central Processing Unit)81、RAM(Random Access Memory)82、フラッシュROM(Read Only Memory)83、時計回路84が、システムバス85を通じて接続されて構成されている。制御部36は、例えば、汎用の組み込み型のマイクロコンピュータまたは専用のシステムLSI(Large Scale Integrated circuit)などからなる。制御部36は、デジタルカメラ11の各部を制御する。   The control unit 36 includes a CPU (Central Processing Unit) 81, a RAM (Random Access Memory) 82, a flash ROM (Read Only Memory) 83, and a clock circuit 84 connected through a system bus 85. The control unit 36 includes, for example, a general-purpose embedded microcomputer or a dedicated system LSI (Large Scale Integrated circuit). The control unit 36 controls each unit of the digital camera 11.

ここで、RAM82は、処理の途中結果を一時記憶するなど主に作業領域として用いられるものである。また、フラッシュROM83は、CPU81において実行する種々のプログラムや、処理に必要になるデータなどを記憶したものである。また、時計回路84は、現在年月日、現在曜日、現在時刻を提供することができるとともに、撮影日時などを提供するなどのことができるものである。   Here, the RAM 82 is mainly used as a work area, such as temporarily storing intermediate results of processing. The flash ROM 83 stores various programs executed by the CPU 81 and data necessary for processing. The clock circuit 84 can provide the current date, the current day of the week, and the current time, as well as the shooting date and time.

そして、画像の撮影時においては、光学ブロック用ドライバ64は、制御部36からの制御に応じて、光学ブロック61を動作させるようにする駆動信号を形成し、これを光学ブロック61に供給して、光学ブロック61を動作させるようにする。光学ブロック用ドライバ64からの駆動信号に応じて、光学ブロック61のフォーカス機構、シャッター機構、絞り機構が制御され、光学ブロック61は、被写体の光学的な画像を取り込んで、これをCCD62に結像させる。   At the time of shooting an image, the optical block driver 64 forms a drive signal for operating the optical block 61 according to the control from the control unit 36, and supplies this to the optical block 61. Then, the optical block 61 is operated. In accordance with the drive signal from the optical block driver 64, the focus mechanism, shutter mechanism, and aperture mechanism of the optical block 61 are controlled. The optical block 61 captures an optical image of the subject and forms it on the CCD 62. Let

CCD62は、光学ブロック61からの光学的な画像を光電変換して、変換により得られた画像の電気信号を出力する。すなわち、CCD62は、CCDドライバ65からの駆動信号に応じて動作し、光学ブロック61からの光学的な被写体の画像を取り込むとともに、制御部36によって制御されるタイミング生成回路66からのタイミング信号に基づいて、取り込んだ被写体の画像(画像情報)を電気信号として前処理回路63に供給する。   The CCD 62 photoelectrically converts the optical image from the optical block 61 and outputs an electrical signal of the image obtained by the conversion. That is, the CCD 62 operates in accordance with the drive signal from the CCD driver 65, captures an optical subject image from the optical block 61, and based on the timing signal from the timing generation circuit 66 controlled by the control unit 36. Then, the captured image of the subject (image information) is supplied to the preprocessing circuit 63 as an electrical signal.

なお、CCD62に代えて、CMOS(Complementary Metal-Oxide Semiconductor)センサなどの光電変換デバイスを用いるようにしてもよい。   Note that a photoelectric conversion device such as a CMOS (Complementary Metal-Oxide Semiconductor) sensor may be used instead of the CCD 62.

また、上述のように、タイミング生成回路66は、制御部36からの制御に応じて、所定のタイミングを提供するタイミング信号を形成するものである。また、CCDドライバ65は、タイミング生成回路66からのタイミング信号に基づいて、CCD62に供給する駆動信号を形成するものである。   In addition, as described above, the timing generation circuit 66 forms a timing signal that provides a predetermined timing in accordance with the control from the control unit 36. The CCD driver 65 forms a drive signal to be supplied to the CCD 62 based on the timing signal from the timing generation circuit 66.

前処理回路63は、CCD62から供給された電気信号の画像情報に対して、CDS(Correlated Double Sampling)処理を行って、S/N比を良好に保つようにするとともに、AGC(Automatic Gain Control)処理を行って、利得を制御し、そして、A/D(Analog/Digital)変換を行って、デジタル信号とされた画像データを形成する。   The pre-processing circuit 63 performs CDS (Correlated Double Sampling) processing on the image information of the electrical signal supplied from the CCD 62 so as to maintain a good S / N ratio and AGC (Automatic Gain Control). Processing is performed to control the gain, and A / D (Analog / Digital) conversion is performed to form digital image data.

前処理回路63においてデジタル信号とされた画像データは、カメラDSP32に供給される。カメラDSP32は、供給された画像データに対して、AF(Auto Focus)、AE(Auto Exposure)、AWB(Auto White Balance)などのカメラ信号処理を施す。このようにして種々の調整がされた画像データは、例えば、JPEG(Joint Photographic Experts Group)またはJPEG2000などの所定の符号化方式で符号化され、システムバス85、媒体I/F34を通じて、デジタルカメラ11に装着されている記録媒体35に供給され、後述するように記録媒体35にファイルとして記録される。また、画像データ群をMPEG(Motion Picture Experts Group)等の動画像を符号化するための符号化方式を用いて符号化することにより、動画像ファイルを生成し記録媒体35に記録することもできる。   The image data converted into a digital signal in the preprocessing circuit 63 is supplied to the camera DSP 32. The camera DSP 32 performs camera signal processing such as AF (Auto Focus), AE (Auto Exposure), and AWB (Auto White Balance) on the supplied image data. The image data subjected to various adjustments in this way is encoded by a predetermined encoding method such as JPEG (Joint Photographic Experts Group) or JPEG 2000, and the digital camera 11 through the system bus 85 and the medium I / F 34. Is supplied to the recording medium 35 and is recorded as a file on the recording medium 35 as described later. Also, a moving image file can be generated and recorded on the recording medium 35 by encoding the image data group using an encoding method for encoding moving images such as MPEG (Motion Picture Experts Group). .

なお、静止画像または動画像は、コンテンツの一例である。また、静止画像または動画像のデータを格納するファイルは、コンテンツファイルの一例である。   A still image or a moving image is an example of content. A file that stores still image data or moving image data is an example of a content file.

また、記録媒体35に記録された画像データは、タッチパネルやコントロールキーなどからなる操作部37を通じて受け付けたユーザーからの操作入力に応じて、目的とする画像データが媒体I/F34を通じて記録媒体35から読み出され、これがカメラDSP32に供給される。   Also, the image data recorded on the recording medium 35 is transferred from the recording medium 35 through the medium I / F 34 according to the operation input from the user received through the operation unit 37 including a touch panel and control keys. This is read out and supplied to the camera DSP 32.

カメラDSP32は、記録媒体35から読み出され、媒体I/F34を通じて供給された符号化されている画像データを復号し、復号後の画像データをシステムバス85を通じて、LCDコントローラ38に供給する。LCDコントローラ38は、これに供給された画像データからLCD39に供給する画像信号を形成し、これをLCD39に供給する。これにより、記録媒体35に記録されている画像データに応じた画像が、LCD39の表示画面に表示される。   The camera DSP 32 decodes the encoded image data read from the recording medium 35 and supplied through the medium I / F 34, and supplies the decoded image data to the LCD controller 38 through the system bus 85. The LCD controller 38 forms an image signal to be supplied to the LCD 39 from the image data supplied thereto, and supplies this to the LCD 39. As a result, an image corresponding to the image data recorded on the recording medium 35 is displayed on the display screen of the LCD 39.

また、この実施の形態のデジタルカメラ11には、外部I/F40が設けられている。この外部I/F40を通じて、例えば外部のパーソナルコンピュータと接続して、パーソナルコンピュータから画像データの供給を受けて、これをデジタルカメラ11に装着された記録媒体35に記録したり、また、デジタルカメラ11に装着された記録媒体35に記録されている画像データを外部のパーソナルコンピュータ等に供給したりすることもできるものである。   Further, the digital camera 11 of this embodiment is provided with an external I / F 40. The external I / F 40 is connected to, for example, an external personal computer, receives image data supplied from the personal computer, and records it on the recording medium 35 attached to the digital camera 11, or the digital camera 11 It is also possible to supply the image data recorded on the recording medium 35 attached to the external personal computer or the like.

また、通信I/F41は、いわゆるネットワークインターフェースカード(NIC)などからなり、ネットワークに接続して、ネットワークを通じて種々の画像データやその他の情報を取得する。   The communication I / F 41 includes a so-called network interface card (NIC) or the like, and is connected to the network and acquires various image data and other information through the network.

さらに、GPS信号受信部42は、GPSの人工衛星から送信されてくる信号を受信して、現在の位置を示すGPSデータを制御部36に供給する。   Further, the GPS signal receiving unit 42 receives a signal transmitted from a GPS artificial satellite and supplies GPS data indicating the current position to the control unit 36.

また、外部のパーソナルコンピュータやネットワークを通じて取得し、記録媒体に記録した画像データなどの情報についても、上述したように、この実施の形態のデジタルカメラ11において読み出して再生し、LCD39に表示してユーザーが利用することももちろんできるようにされている。   Further, as described above, information such as image data acquired through an external personal computer or network and recorded on a recording medium is read out and reproduced by the digital camera 11 of this embodiment and displayed on the LCD 39 to be displayed by the user. Of course it can be used.

なお、通信I/F41は、IEEE(Institute of Electrical and Electronic Engineers)1394またはUSB(Universal Serial Bus)などの規格に準拠した有線用インタフェースとして設けることも可能であるし、IEEE802.11a,IEEE802.11b,IEEE802.11g、またはブルートゥースの規格に準拠した光や電波による無線インタフェースとして設けることも可能である。すなわち、通信I/F41は、有線、無線のいずれのインタフェースであってもよい。   The communication I / F 41 can be provided as a wired interface conforming to a standard such as IEEE (Institute of Electrical and Electronic Engineers) 1394 or USB (Universal Serial Bus), or IEEE802.11a or IEEE802.11b. , IEEE802.11g, or as a wireless interface using light or radio waves conforming to the Bluetooth standard. That is, the communication I / F 41 may be a wired or wireless interface.

図2は、記録媒体35におけるディレクトリの構造と、記録媒体35に記録されるファイルとを説明する図である。   FIG. 2 is a diagram for explaining the directory structure in the recording medium 35 and the files recorded in the recording medium 35.

図2のrootは、記録媒体35を示すノードである。rootの下には、動画像のコンテンツを配置するための2つのディレクトリ、静止画像のコンテンツを配置するための1つのディレクトリ、およびコンテンツに関係する情報を配置するための1つのディレクトリが生成される。   A root in FIG. 2 is a node indicating the recording medium 35. Under the root, two directories for arranging moving image content, one directory for arranging still image content, and one directory for arranging information related to the content are generated. .

動画像のコンテンツを格納するための2つのディレクトリのうち、一方の名称は、MOVIE1とされる。MOVIE1であるディレクトリには、ストリーム、プレイリスト、および画像管理情報からなるコンテンツであって、ストリーム、プレイリスト、および画像管理情報がそれぞれ別個のファイルに格納されるコンテンツがファイルとして配置される。   One of the two directories for storing the content of the moving image is named MOVIE1. In the directory that is MOVIE1, content that is composed of a stream, a playlist, and image management information and that stores the stream, playlist, and image management information in separate files is arranged as a file.

プレイリストは、例えば、所定のコンテンツの再生における、所定のストリームの再生の開始点または終了点などを示す。画像管理情報は、ストリームの符号化方式を示す情報、ストリームの読み出しまたは復号を制御するための情報である。ストリームは、動画像のデータである。   The playlist indicates, for example, a start point or an end point of reproduction of a predetermined stream in reproduction of predetermined content. The image management information is information indicating a stream encoding method and information for controlling the reading or decoding of the stream. The stream is moving image data.

MOVIE1であるディレクトリの下には、その名称がPLAYINFであるディレクトリ、その名称がCODECINFであるディレクトリ、およびその名称がSTREAMであるディレクトリが生成される。   Below the directory MOVIE1, a directory whose name is PLAYINF, a directory whose name is CODECINF, and a directory whose name is STREAM are generated.

PLAYINFであるディレクトリには、プレイリストを格納したファイルが配置される。プレイリストを格納したファイルの名称の拡張子は、plaとされる。CODECINFであるディレクトリには、画像管理情報を格納したファイルが配置される。画像管理情報を格納したファイルの名称の拡張子は、codとされる。さらに、STREAMであるディレクトリには、ストリームを格納したファイルが配置される。ストリームを格納したファイルの名称の拡張子は、strとされる。   A file storing a playlist is arranged in the directory PLAYINF. The extension of the name of the file storing the playlist is pla. A file storing image management information is arranged in a directory which is CODECINF. The extension of the name of the file storing the image management information is cod. Further, a file storing the stream is arranged in the directory which is STREAM. The extension of the name of the file storing the stream is str.

画像管理情報を格納したファイルの名称と、ストリームを格納したファイルの名称とは、拡張子を除いて、同じとされ、画像管理情報を格納したファイルとストリームを格納したファイルとが関係付けられる。   The name of the file storing the image management information and the name of the file storing the stream are the same except for the extension, and the file storing the image management information and the file storing the stream are related to each other.

また、動画像のコンテンツを格納するための2つのディレクトリのうち、他方の名称は、MOVIE2とされる。MOVIE2であるディレクトリには、1つのファイルに格納される動画像であるコンテンツが格納される。1つのファイルに格納される動画像であるコンテンツは、例えば、MPEG(Moving Pictures Experts Group)4方式で符号化されている。MPEG4方式で符号化されている、動画像であるコンテンツを格納したファイルの名称の拡張子は、mp4とされる。   The other name of the two directories for storing moving image content is MOVIE2. A directory that is MOVIE2 stores content that is a moving image stored in one file. Content that is a moving image stored in one file is encoded by, for example, MPEG (Moving Pictures Experts Group) 4 system. The extension of the name of the file storing the content that is a moving image encoded by the MPEG4 system is mp4.

静止画像のコンテンツを配置するためのディレクトリの名称は、STILLとされる。静止画像のコンテンツは、例えば、JPEG(Joint Photographic Experts Group)方式で符号化されている。JPEG方式で符号化されている、静止画像であるコンテンツを格納したファイルの名称の拡張子は、jpgとされる。   The name of the directory for placing the still image content is STILL. The content of the still image is encoded by, for example, JPEG (Joint Photographic Experts Group) method. The extension of the name of the file storing the content that is a still image encoded by the JPEG method is jpg.

以下、プレイリストを格納したファイル(以下、プレイリストファイルと称する)、画像管理情報を格納したファイル(以下、画像管理情報ファイルと称する)、ストリームを格納したファイル(以下、ストリームファイルと称する)、動画像であるコンテンツを格納したファイル、および静止画像であるコンテンツを格納したファイル(以下、静止画像ファイルと称する)を、コンテンツファイルと総称する。   Hereinafter, a file storing a playlist (hereinafter referred to as a playlist file), a file storing image management information (hereinafter referred to as an image management information file), a file storing a stream (hereinafter referred to as a stream file), A file storing content that is a moving image and a file storing content that is a still image (hereinafter referred to as a still image file) are collectively referred to as a content file.

コンテンツに関係する情報を配置するためのディレクトリの名称は、AV_INFOとされる。AV_INFOであるディレクトリには、プロパティファイル、サムネイルファイルおよびメタデータファイルが配置される。プロパティファイル、サムネイルファイルおよびメタデータファイルは、それぞれ、コンテンツに関係する情報を格納する。   The name of the directory for placing information related to the content is AV_INFO. In the AV_INFO directory, a property file, a thumbnail file, and a metadata file are arranged. Each of the property file, thumbnail file, and metadata file stores information related to the content.

プロパティファイルは、必須のファイルであり、コンテンツに関係する情報のうち、コンテンツの読み出しに必要な情報、動画像、静止画像、または音声などコンテンツの種別を示す情報、サムネイルファイルまたはメタデータファイルの読み出しに必要な情報、対応するコンテンツが動画像の場合、その動画像を前回再生し停止した動画像上の位置(以下、リジュームポイントと称する)を示す位置情報、その他コンテンツに関する属性情報などを格納する。また、サムネイルファイルは、コンテンツが動画像または静止画像である場合、コンテンツに関係する情報のうち、サムネイル画像の画像データを格納する。   A property file is an indispensable file. Among information related to content, information necessary for reading content, information indicating the type of content such as moving image, still image, or audio, thumbnail file or metadata file reading If the corresponding content is a moving image, position information indicating the position (hereinafter referred to as a resume point) on the moving image where the moving image was reproduced and stopped last time, other attribute information about the content, and the like are stored. . In addition, when the content is a moving image or a still image, the thumbnail file stores image data of a thumbnail image among information related to the content.

さらに、メタデータファイルは、コンテンツに関係する情報のうち、サムネイル画像の画像データ以外のメタデータを格納する。より詳細には、メタデータファイルは、コンテンツに関係する情報のうち、コンテンツのメタデータであって、時間的な系列でないメタデータを格納する。   Further, the metadata file stores metadata other than the image data of the thumbnail image among the information related to the content. More specifically, the metadata file stores metadata that is content metadata and is not a temporal sequence among information related to the content.

例えば、時間的な系列でないメタデータは、コンテンツが静止画像である場合、その静止画像の撮影における、絞り、シャッタスピード、若しくはISO感度などの撮影条件、静止画像のサイズ、または静止画像の符号化における圧縮率の指示値などを示す。また、時間的な系列でないメタデータは、コンテンツが動画像である場合、その動画像の撮影における、撮影において変化しない感度若しくはいわゆる交換レンズである光学ブロック61の名称などの撮影条件、動画像のサイズ、または動画像の符号化における圧縮率の指示値などを示す。   For example, when the content is a still image, metadata that is not a temporal sequence is a still image shooting condition such as aperture, shutter speed, or ISO sensitivity, still image size, or still image encoding. Indicates the indication value of the compression ratio at. In addition, when the content is a moving image, the metadata that is not a time series includes shooting conditions such as sensitivity of the moving image that is not changed or the name of the optical block 61 that is a so-called interchangeable lens, Indicates the size or the indication value of the compression rate in the moving image encoding.

以下、プロパティファイル、サムネイルファイルおよびメタデータファイルを、コンテンツ管理ファイルと総称する。   Hereinafter, the property file, the thumbnail file, and the metadata file are collectively referred to as a content management file.

さらにまた、AV_INFOであるディレクトリの下には、その名称がTIMEMETAであるディレクトリが生成される。TIMEMETAであるディレクトリには、コンテンツに関係する情報のうち、コンテンツのメタデータであって、時間的な系列のメタデータを格納するタイムドメタデータファイルが配置される。   Furthermore, a directory with the name TIMEMETA is created under the directory with AV_INFO. In the directory that is TIMEMETA, a timed metadata file that stores content-related metadata, which is content metadata, of information related to the content is arranged.

ここで、AV_INFOであるディレクトリの下にTIMEMETAであるディレクトリを作成したのは、AV_INFO下のファイルは、コンテンツを管理するためのデータを格納するファイルであり、直接使用者に可視状態にする必要のないデータであるため、AV_INFO下のファイルをまとめて使用者に不可視状態にする場合、AV_INFOであるディレクトリを不可視にすることにより、AV_INFO下のファイルを一度にまとめて不可視状態に設定することを可能とするためである。   Here, the directory under TIMEMETA was created under the directory under AV_INFO. The file under AV_INFO is a file that stores data for managing content, and it must be directly visible to the user. If the files under AV_INFO are made invisible to the user as a result, the files under AV_INFO can be made invisible at once by making the directory in AV_INFO invisible. This is because.

ここで、ファイルまたはディレクトリを不可視状態に設定するとは、ファイルまたはディレクトリの名称またはアイコンが表示されないなど、ファイルおよびディレクトリに関する表示が禁止されることをいう。   Here, setting a file or directory to an invisible state means that display of the file or directory is prohibited, for example, the name or icon of the file or directory is not displayed.

このようにするのは、特に記録媒体35がハードディスクドライブ(HDD)である場合、HDDカメラであるデジタルカメラ11がUSB(Universal Serial Bus)でマスストレージとしてパーソナルコンピュータ(PC)に接続されたとき、コンテンツ管理ファイル等の重要なファイルが使用者に削除されるのを防ぐというのが大きな理由である。さらにTIMEMETAであるディレクトリを、AV_INFOであるディレクトリの一階層下に作成したのは、タイムドメタデータファイルの使用の頻度が、コンテンツ管理ファイルの使用の頻度より低く、仮に、コンテンツ管理ファイルとタイムドメタデータファイルとを同じディレクトリに混在させて配置すると、コンテンツ管理ファイル自体へのアクセスの速度が低下してしまうので、そのようなことを防止するためである。   This is because, particularly when the recording medium 35 is a hard disk drive (HDD), when the digital camera 11 as an HDD camera is connected to a personal computer (PC) as a mass storage by USB (Universal Serial Bus), The main reason is to prevent users from deleting important files such as content management files. Furthermore, the directory that is TIMEMETA was created one level below the AV_INFO directory because the frequency of use of the timed metadata file is lower than the frequency of use of the content management file. If the metadata files are mixed and arranged in the same directory, the access speed to the content management file itself is reduced, so that this is prevented.

不可視状態の設定の具体的な方法は、例えば、記録媒体35がハードディスクドライブ(HDD)である場合、ファイルシステムの対象となるディレクトリエントリを不可視にするフラグをオンにすることである。   For example, when the recording medium 35 is a hard disk drive (HDD), a specific method for setting the invisible state is to turn on a flag that makes the directory entry subject to the file system invisible.

さらに不可視状態に設定するタイミングとして、例えば、デジタルカメラ11がUSB経由でパーソナルコンピュータに接続された場合、すなわち、デジタルカメラ11がマスストレージとしてパーソナルコンピュータに接続された場合、デジタルカメラ11が接続を感知したとき(接続が正しく行えたという信号をホストであるパーソナルコンピュータから受信したとき)に、ファイルシステムの対象となるディレクトリエントリを不可視にするフラグがオンされる。   Further, as a timing for setting the invisible state, for example, when the digital camera 11 is connected to a personal computer via USB, that is, when the digital camera 11 is connected to the personal computer as mass storage, the digital camera 11 senses the connection. (When a signal indicating that the connection has been successfully made is received from the personal computer as the host), a flag for making the directory entry subject to the file system invisible is turned on.

例えば、時間的な系列のメタデータは、コンテンツが動画像である場合、撮影している動画像のフレームのうちの所定の時間間隔のフレームとされるか、または、動画像を撮影している位置、その動画像の撮影中に変化する絞り若しくはシャッタスピードなどの撮影条件、若しくは動画像とともに記録している音声のレベルなどを示す。   For example, when the content is a moving image, the time-series metadata is a frame at a predetermined time interval among the frames of the moving image being shot, or the moving image is shot. A position, a shooting condition such as an aperture or a shutter speed that changes during shooting of the moving image, a level of sound recorded together with the moving image, and the like are shown.

タイムドメタデータファイルの名称は、格納されているメタデータが関係する、動画像であるコンテンツを格納したファイルの名称と同じとされている。より詳細には、例えば、タイムドメタデータファイルの名称のうち、拡張子を除いた部分は、MOVIE2であるディレクトリに配置されている、動画像であるコンテンツを格納したファイルの名称のうちの、拡張子を除いた部分と同じとされている。また、例えば、タイムドメタデータファイルの名称のうち、拡張子を除いた部分は、MOVIE1であるディレクトリに配置されている、ストリームを格納したファイルの名称のうちの、拡張子を除いた部分と同じとされている。   The name of the timed metadata file is the same as the name of the file that stores the content that is a moving image and related to the stored metadata. More specifically, for example, in the name of the timed metadata file, the part excluding the extension is arranged in the directory that is MOVIE2, and the name of the file that stores the content that is a moving image, It is the same as the part excluding the extension. Also, for example, the part of the name of the timed metadata file excluding the extension is the part of the name of the file storing the stream arranged in the MOVIE1 directory and excluding the extension. It is the same.

これにより、タイムドメタデータファイルとコンテンツを格納したファイルとが関係付けられている。   As a result, the timed metadata file is associated with the file storing the content.

タイムドメタデータファイルの名称の拡張子は、MTIとされる。   The extension of the name of the timed metadata file is MTI.

時間的な系列のメタデータは、動的メタデータと称し、時間的な系列でないメタデータは、静的メタデータと称する。また、動画像または音声などの、時間方向の長さのあるコンテンツ、換言すれば時間的な系列のコンテンツを動的コンテンツと称し、静止画像など時間方向に長さのないコンテンツ、換言すれば時間的な系列でないコンテンツを静的コンテンツと称する。   The time series metadata is referred to as dynamic metadata, and the non-time series metadata is referred to as static metadata. Also, content with a length in the time direction, such as moving images or sound, in other words, time-series content is called dynamic content, and content with no length in the time direction, such as still images, in other words, time. Content that is not a typical series is called static content.

図3は、プログラムを実行するCPU81により実現される機能を示すブロック図である。CPU81がプログラムを実行することにより、記録制御部101、再生制御部102、および表示制御部103が実現される。   FIG. 3 is a block diagram illustrating functions implemented by the CPU 81 that executes a program. When the CPU 81 executes the program, the recording control unit 101, the reproduction control unit 102, and the display control unit 103 are realized.

記録制御部101は、記録媒体35への、コンテンツまたはコンテンツに関係する情報の記録を制御する。記録制御部101は、プロパティファイル記録制御部111、サムネイルファイル記録制御部112、メタデータファイル記録制御部113、コンテンツファイル記録制御部114、およびタイムドメタデータファイル記録制御部115から構成される。   The recording control unit 101 controls recording of content or information related to the content on the recording medium 35. The recording control unit 101 includes a property file recording control unit 111, a thumbnail file recording control unit 112, a metadata file recording control unit 113, a content file recording control unit 114, and a timed metadata file recording control unit 115.

プロパティファイル記録制御部111は、記録媒体35への、プロパティファイルの記録を制御する。サムネイルファイル記録制御部112は、記録媒体35への、サムネイルファイルの記録を制御する。メタデータファイル記録制御部113は、記録媒体35への、メタデータファイルの記録を制御する。   The property file recording control unit 111 controls the recording of the property file on the recording medium 35. The thumbnail file recording control unit 112 controls recording of thumbnail files on the recording medium 35. The metadata file recording control unit 113 controls recording of the metadata file on the recording medium 35.

コンテンツファイル記録制御部114は、記録媒体35への、コンテンツファイルの記録を制御する。   The content file recording control unit 114 controls recording of the content file on the recording medium 35.

タイムドメタデータファイル記録制御部115は、記録媒体35への、タイムドメタデータファイルの記録を制御する。タイムドメタデータファイル記録制御部115は、タイムドメタデータファイル生成部121を含む。   The timed metadata file recording control unit 115 controls recording of the timed metadata file on the recording medium 35. The timed metadata file recording control unit 115 includes a timed metadata file generation unit 121.

タイムドメタデータファイル生成部121は、タイムドメタデータファイルを生成する。さらに、タイムドメタデータファイル生成部121は、sample生成部131およびmoviebox生成部132を含む。sample生成部131は、タイムドメタデータファイルのうち、時間的な系列のメタデータのそれぞれを格納するサンプル(sample)を生成する。moviebox生成部132は、タイムドメタデータファイルのうち、タイムドメタデータファイルのうち、サンプルの読み出しに必要なデータが配置されているムービーボックス(moviebox)を生成する。サンプルおよびムービーボックスの詳細は後述する。   The timed metadata file generation unit 121 generates a timed metadata file. Further, the timed metadata file generation unit 121 includes a sample generation unit 131 and a moviebox generation unit 132. The sample generation unit 131 generates a sample (sample) for storing each of the temporal series of metadata in the timed metadata file. The moviebox generating unit 132 generates a moviebox (moviebox) in which data necessary for reading the sample is placed in the timed metadata file among the timed metadata files. Details of the sample and movie box will be described later.

再生制御部102は、記録媒体35に記録されているコンテンツまたはコンテンツに関係する情報の再生を制御する。再生制御部102は、検索部141、プロパティファイル再生制御部142、サムネイルファイル再生制御部143、メタデータファイル再生制御部144、コンテンツファイル再生制御部145、およびタイムドメタデータファイル再生制御部146から構成される。   The reproduction control unit 102 controls reproduction of content recorded on the recording medium 35 or information related to the content. The playback control unit 102 includes a search unit 141, a property file playback control unit 142, a thumbnail file playback control unit 143, a metadata file playback control unit 144, a content file playback control unit 145, and a timed metadata file playback control unit 146. Composed.

検索部141は、プロパティファイル、メタデータファイル、またはタイムドメタデータファイルに格納されている各種のデータを検索する。   The search unit 141 searches various data stored in the property file, metadata file, or timed metadata file.

プロパティファイル再生制御部142は、記録媒体35に記録されているプロパティファイルの再生を制御する。サムネイルファイル再生制御部143は、記録媒体35に記録されているサムネイルファイルの再生を制御する。   The property file playback control unit 142 controls playback of the property file recorded on the recording medium 35. The thumbnail file playback control unit 143 controls playback of thumbnail files recorded on the recording medium 35.

メタデータファイル再生制御部144は、記録媒体35に記録されているメタデータファイルの再生を制御する。コンテンツファイル再生制御部145は、記録媒体35に記録されているコンテンツファイルの再生を制御する。   The metadata file reproduction control unit 144 controls reproduction of the metadata file recorded on the recording medium 35. The content file playback control unit 145 controls playback of the content file recorded on the recording medium 35.

タイムドメタデータファイル再生制御部146は、記録媒体35に記録されているタイムドメタデータファイルの再生を制御する。   The timed metadata file reproduction control unit 146 controls reproduction of the timed metadata file recorded on the recording medium 35.

タイムドメタデータファイル再生制御部146は、sample再生制御部151、moviebox再生制御部152、sample特定部153、および時刻計算部154を含む。   The timed metadata file playback control unit 146 includes a sample playback control unit 151, a moviebox playback control unit 152, a sample specifying unit 153, and a time calculation unit 154.

sample再生制御部151は、タイムドメタデータファイルのうちの、時間的な系列のメタデータのそれぞれを格納するサンプル(sample)の再生を制御する。moviebox再生制御部152は、タイムドメタデータファイルのうちのサンプルの読み出しに必要なデータが配置されているムービーボックス(moviebox)の再生を制御する。   The sample reproduction control unit 151 controls reproduction of a sample (sample) storing each temporal series of metadata in the timed metadata file. The moviebox playback control unit 152 controls playback of a movie box (moviebox) in which data necessary for reading a sample in the timed metadata file is arranged.

sample特定部153は、タイムドメタデータファイルに格納されているタイムドメタデータに応じた画像がLCD39に表示されている場合、表示されている画像のうち、使用者に指示された画像に応じた、時間的な系列のメタデータが格納されているサンプルを特定する。   When the image corresponding to the timed metadata stored in the timed metadata file is displayed on the LCD 39, the sample specifying unit 153 responds to the image instructed by the user among the displayed images. In addition, a sample in which time-series metadata is stored is specified.

時刻計算部154は、特定されたサンプルに応じた、コンテンツにおける時刻を計算する。   The time calculation unit 154 calculates the time in the content according to the specified sample.

表示制御部103は、コンテンツである動画像若しくは静止画像、またはコンテンツに関係する情報に応じた画像のLCD39への表示を制御する。   The display control unit 103 controls the display on the LCD 39 of a moving image or a still image that is content or an image corresponding to information related to the content.

次に、図4および図5を参照して、コンテンツ管理ファイルについて説明する。   Next, the content management file will be described with reference to FIG. 4 and FIG.

図4で示されるように、コンテンツ管理ファイルとしての、プロパティファイル、サムネイルファイル、およびメタデータファイルは、1つの記録媒体35について、それぞれ1つずつその記録媒体35に記録される。記録媒体35に複数のコンテンツファイルが記録されている場合でも、それぞれ1つの、プロパティファイル、サムネイルファイル、およびメタデータファイルが記録媒体35に記録される。   As shown in FIG. 4, a property file, a thumbnail file, and a metadata file as a content management file are recorded on the recording medium 35 one by one for each recording medium 35. Even when a plurality of content files are recorded on the recording medium 35, one property file, thumbnail file, and metadata file are recorded on the recording medium 35, respectively.

プロパティファイルには、1つのプロパティファイルヘッダおよび1または複数のファイルエントリが配置される。   In the property file, one property file header and one or a plurality of file entries are arranged.

プロパティファイルヘッダには、プロパティスロット、サムネイルスロット、メタデータスロットのそれぞれのデータ量、対応するサムネイルファイルの名称、および対応するメタデータファイルの名称などが記述される。複数のサムネイルファイルまたは複数のメタデータファイルが存在する場合、サムネイルファイルの名称、またはメタデータファイルの名称によって、そのプロパティファイルと共にコンテンツ管理ファイルを構成するサムネイルファイルまたはメタデータファイルが特定される。   In the property file header, the data amount of each of the property slot, thumbnail slot, and metadata slot, the name of the corresponding thumbnail file, the name of the corresponding metadata file, and the like are described. When there are a plurality of thumbnail files or a plurality of metadata files, the thumbnail file or the metadata file constituting the content management file together with the property file is specified by the name of the thumbnail file or the name of the metadata file.

ファイルエントリには、プロパティスロットを単位として、コンテンツファイル、サムネイルファイル、またはメタデータファイルを読み出すためのデータなどが配置される。すなわち、1つのファイルエントリは、1または複数のプロパティスロットに格納される。プロパティスロットは、固定の記録容量の記録領域である。すなわち、プロパティファイルに、複数のプロパティスロットが設けられる場合、そのプロパティスロットの記録容量は同じである。   In the file entry, data for reading a content file, a thumbnail file, or a metadata file is arranged in units of property slots. That is, one file entry is stored in one or a plurality of property slots. The property slot is a recording area having a fixed recording capacity. That is, when a plurality of property slots are provided in the property file, the recording capacity of the property slots is the same.

ここで、ファイルエントリは、ファイルエントリを構成するプロパティスロットのうちプライマリースロットのプロパティファイル内における物理的な記録順序で識別される。ファイルエントリとプライマリースロットとの関係の詳細は後述する。   Here, the file entry is identified by the physical recording order in the property file of the primary slot among the property slots constituting the file entry. Details of the relationship between the file entry and the primary slot will be described later.

サムネイルファイルには、サムネイルスロットを単位として、サムネイル画像の画像データが格納される。サムネイルスロットは、固定の記録容量の記録領域である。すなわち、サムネイルファイルに、複数のサムネイルスロットが設けられる場合、そのサムネイルスロットの記録容量は同じである。   The thumbnail file stores image data of thumbnail images in units of thumbnail slots. The thumbnail slot is a recording area having a fixed recording capacity. That is, when a plurality of thumbnail slots are provided in the thumbnail file, the recording capacity of the thumbnail slots is the same.

メタデータファイルには、メタデータスロットを単位として、コンテンツのメタデータであって、時間的な系列でないメタデータが格納される。メタデータスロットは、固定のデータ量の記録領域である。すなわち、メタデータファイルに、複数のメタデータスロットが設けられる場合、そのメタデータスロットの記録容量は同じである。   The metadata file stores metadata of content that is not a time series in units of metadata slots. The metadata slot is a recording area with a fixed amount of data. That is, when a plurality of metadata slots are provided in the metadata file, the recording capacity of the metadata slots is the same.

なお、プロパティスロットの記録容量、サムネイルスロットの記録容量、およびメタデータスロットの記録容量は、同じであってもよく、異なっていてもよい。   Note that the recording capacity of the property slot, the recording capacity of the thumbnail slot, and the recording capacity of the metadata slot may be the same or different.

以下、プロパティスロット、サムネイルスロット、またはメタデータスロットを個々に区別する必要がないとき、単にスロットと称する。   Hereinafter, when there is no need to distinguish property slots, thumbnail slots, or metadata slots, they are simply referred to as slots.

このように、プロパティスロット、サムネイルスロット、およびメタデータスロットは、それぞれ、固定の記録容量の記録領域であり、それぞれ、プロパティファイル、サムネイルファイル、またはメタデータファイルに順に配置されている。プロパティファイルにおけるそれぞれのプロパティスロット、サムネイルファイルにおけるそれぞれのサムネイルスロット、およびメタデータファイルにおけるそれぞれのメタデータスロットは、それらファイル内における物理的な記録順序(以下、記録順序を番号と称する)で識別される。つまり、それぞれのスロットにおいてスロットを識別するための識別IDは記録されていない。これはコンテンツの追加、または削除に伴い各スロットの追加、または削除が行われた場合、プロパティファイル、サムネイルファイル、またはメタデータファイル内において、識別IDを再度振り直したり、重複しないような識別IDの管理を行わないようにするためである。   As described above, the property slot, the thumbnail slot, and the metadata slot are recording areas each having a fixed recording capacity, and are sequentially arranged in the property file, the thumbnail file, or the metadata file. Each property slot in the property file, each thumbnail slot in the thumbnail file, and each metadata slot in the metadata file are identified by their physical recording order (hereinafter, the recording order is referred to as a number). The That is, the identification ID for identifying the slot in each slot is not recorded. This is an identification ID that can be reassigned or not duplicated in the property file, thumbnail file, or metadata file when each slot is added or deleted as content is added or deleted This is to prevent the management of the above.

これにより、より迅速に、プロパティスロット、サムネイルスロット、またはメタデータスロットにアクセスできるようになる。   This makes it possible to access property slots, thumbnail slots, or metadata slots more quickly.

ファイルエントリのプロパティスロットには、サムネイルスロットインデックス、メタデータスロットインデックス、ファイルアイデンティファイア、またはクリエーションタイムなどが配置される。ファイルアイデンティファイアは、ファイルエントリで示されるコンテンツファイルの記録されている位置を示し、例えば、記録媒体35におけるコンテンツファイルのパスを示す。サムネイルスロットインデックスは、ファイルエントリで示されるコンテンツファイルに格納されているコンテンツのサムネイル画像の画像データが格納されているサムネイルスロットの番号を示す。メタデータスロットインデックスは、ファイルエントリで示されるコンテンツファイルに格納されているコンテンツのメタデータが格納されているメタデータスロットの番号を示す。   A thumbnail slot index, a metadata slot index, a file identifier, a creation time, or the like is arranged in the property slot of the file entry. The file identifier indicates the position where the content file indicated by the file entry is recorded, for example, indicates the path of the content file in the recording medium 35. The thumbnail slot index indicates the number of the thumbnail slot in which the image data of the thumbnail image of the content stored in the content file indicated by the file entry is stored. The metadata slot index indicates the number of a metadata slot in which metadata of content stored in the content file indicated by the file entry is stored.

クリエーションタイムは、ファイルエントリで示されるコンテンツファイルが生成された日付および時刻を示す。   The creation time indicates the date and time when the content file indicated by the file entry is generated.

1つのプロパティスロットに、ファイルエントリが格納しきれない場合、プロパティファイルに新たにプロパティスロットが確保され、複数のプロパティスロットに、ファイルエントリが格納される。この場合、元のプロパティスロットに、新たなプロパティスロットの番号が格納される。   When a file entry cannot be stored in one property slot, a new property slot is secured in the property file, and the file entry is stored in a plurality of property slots. In this case, the new property slot number is stored in the original property slot.

サムネイルスロットおよびメタデータスロットも同様である。   The same applies to thumbnail slots and metadata slots.

このようにすることで、プロパティスロット、サムネイルスロット、またはメタデータスロットの記録容量によらず、所望のデータ量のデータを格納することができる。   In this way, a desired amount of data can be stored regardless of the recording capacity of the property slot, thumbnail slot, or metadata slot.

図5は、複数のプロパティスロットに格納される1つのファイルエントリ、および複数のメタデータスロットに格納される、1つのコンテンツに対するメタデータの例を示す図である。   FIG. 5 is a diagram illustrating an example of metadata for one file entry stored in a plurality of property slots and one content stored in a plurality of metadata slots.

図5に示されるように、プロパティスロットのそれぞれは、番号(番号とはプロパティファイル内における物理的な記録の順序をいう)で管理されている。図5に示される例において、1つのファイルエントリは、図5の左上のプロパティスロットと、図5の左下のプロパティスロットとに格納されている。   As shown in FIG. 5, each of the property slots is managed by a number (the number means a physical recording order in the property file). In the example shown in FIG. 5, one file entry is stored in the upper left property slot in FIG. 5 and the lower left property slot in FIG.

図5の左上のプロパティスロットにおけるネクストエクステンドスロットナンバーは、そのプロパティスロットに続いてファイルエントリを格納する、図5の左下のプロパティスロットの番号を示す。   The next extended slot number in the upper left property slot in FIG. 5 indicates the number of the lower left property slot in FIG. 5 in which the file entry is stored following the property slot.

ここで、図5の左上のプロパティスロットおよび左下のプロパティスロットのうち、プライマリースロットは、左上のプロパティスロットである。上述したように、ファイルエントリは、ファイルエントリを構成するプロパティスロットのうちプライマリースロットのプロパティファイル内における物理的な記録順序で識別される。例えば、図5の左上のプロパティスロットの番号が1であり、左下のプロパティスロットの番号が2である場合、図5の左上のプロパティスロットと左下のプロパティスロットとに格納されるファイルエントリは、1である番号で識別され管理される。   Here, of the upper left property slot and the lower left property slot in FIG. 5, the primary slot is the upper left property slot. As described above, the file entry is identified by the physical recording order in the property file of the primary slot among the property slots constituting the file entry. For example, when the number of the upper left property slot in FIG. 5 is 1 and the number of the lower left property slot is 2, the file entries stored in the upper left property slot and the lower left property slot in FIG. Is identified and managed by a number.

また、例えば、図示は省略するが、プロパティファイルに配置されている、1である番号のプロパティスロット、2である番号のプロパティスロット、および3である番号のプロパティスロットに1つのファイルエントリが格納される場合、3である番号のプロパティスロットにおけるネクストエクステンドスロットナンバーが、1であり、1である番号のプロパティスロットにおけるネクストエクステンドスロットナンバーが、2であるとき、プライマリースロットは、3である番号のプロパティスロットなので、1である番号のプロパティスロット、2である番号のプロパティスロット、および3である番号のプロパティスロットに格納されるファイルエントリは、3である番号で識別され管理される。   For example, although not shown, one file entry is stored in the property slot with the number 1, the property slot with the number 2, and the property slot with the number 3, which are arranged in the property file. When the next extended slot number in the property slot with the number 3 is 1, and the next extended slot number in the property slot with the number 1 is 2, the primary slot has the number property with the number 3. Since it is a slot, file entries stored in a property slot with a number of 1, a property slot with a number of 2, and a property slot with a number of 3 are identified and managed with a number of 3.

また、メタデータスロットのそれぞれは、番号(番号とはメタデータファイル内における物理的な記録の順序をいう)で管理されている。。図5に示される例において、1つのコンテンツに対するメタデータは、図5の右上のメタデータスロットと、図5の右下のメタデータスロットとに格納されている。   Further, each metadata slot is managed by a number (number means a physical recording order in the metadata file). . In the example shown in FIG. 5, the metadata for one content is stored in the upper right metadata slot in FIG. 5 and the lower right metadata slot in FIG.

図5のメタデータスロットにおける、上側のデータユニットサイズ(data unit size)、メタデータID#1、上側のランゲージ(language)、および上側のエンコーディングタイプ(encoding type)は、メタデータ(metadata)1についてのデータであり、下側のデータユニットサイズ、メタデータID#2、下側のランゲージ、および下側のエンコーディングタイプは、メタデータ2についてのデータである。すなわち、上側のデータユニットサイズ、メタデータID#1、上側のランゲージ、上側のエンコーディングタイプ、およびメタデータ1は、1つの構造とされ、下側のデータユニットサイズ、メタデータID#2、下側のランゲージ、下側のエンコーディングタイプ、およびメタデータ2は、1つの構造とされている。   The upper data unit size (data unit size), metadata ID # 1, upper language (language), and upper encoding type (encoding type) in the metadata slot of FIG. The lower data unit size, metadata ID # 2, lower language, and lower encoding type are data for metadata 2. That is, the upper data unit size, metadata ID # 1, upper language, upper encoding type, and metadata 1 have one structure, the lower data unit size, metadata ID # 2, lower The language, the lower encoding type, and metadata 2 have a single structure.

図5の右上のメタデータスロットにおける、上側のデータユニットサイズは、そのデータユニットサイズ、メタデータID#1、上側のランゲージ、上側のエンコーディングタイプ、およびメタデータ1のデータ量を示す。メタデータID#1は、メタデータ1のタイプを特定する。上側のランゲージは、メタデータ1を記述する言語を特定する。上側のエンコーディングタイプは、メタデータ1の符号化の方式を示す。メタデータ1は、コンテンツに関係する所定のメタデータである。   The upper data unit size in the upper right metadata slot in FIG. 5 indicates the data unit size, metadata ID # 1, upper language, upper encoding type, and data amount of metadata 1. Metadata ID # 1 specifies the type of metadata 1. The upper language specifies the language in which the metadata 1 is described. The upper encoding type indicates a method of encoding metadata 1. Metadata 1 is predetermined metadata related to content.

図5の右上のメタデータスロットにおける、下側のデータユニットサイズは、そのデータユニットサイズ、メタデータID#2、下側のランゲージ、下側のエンコーディングタイプ、およびメタデータ2のデータ量を示す。メタデータID#2は、メタデータ2のタイプを特定する。下側のランゲージは、メタデータ2を記述する言語を特定する。下側のエンコーディングタイプは、メタデータ2の符号化の方式を示す。メタデータ2は、図5の右上のメタデータスロットおよび図5の右下のメタデータスロットに分割して格納されているメタデータであって、コンテンツに関係する所定のメタデータである。メタデータ2は、メタデータ1と異なるメタデータである。   The lower data unit size in the upper right metadata slot in FIG. 5 indicates the data unit size, metadata ID # 2, lower language, lower encoding type, and metadata 2 data amount. Metadata ID # 2 specifies the type of metadata 2. The lower language specifies the language in which the metadata 2 is described. The lower encoding type indicates a method of encoding metadata 2. The metadata 2 is metadata that is divided and stored in the upper right metadata slot in FIG. 5 and the lower right metadata slot in FIG. 5, and is predetermined metadata related to the content. The metadata 2 is metadata different from the metadata 1.

図5に示される例において、左上のプロパティスロットにおけるメタデータスロットインデックスは、図5の右上のメタデータスロットの番号を示し、左下のプロパティスロットにおけるメタデータスロットインデックスは、図5の右下のメタデータスロットの番号を示す。   In the example shown in FIG. 5, the metadata slot index in the upper left property slot indicates the number of the upper right metadata slot in FIG. 5, and the metadata slot index in the lower left property slot is the lower right metadata slot in FIG. Indicates the data slot number.

このように、メタデータファイルは、データユニットサイズ、メタデータID、ランゲージ、エンコーディングタイプ、およびメタデータを構成要素とした構造を有する。   As described above, the metadata file has a structure including data unit size, metadata ID, language, encoding type, and metadata as components.

次に、図6および図7を参照して、タイムドメタデータファイルについて説明する。タイムドメタデータファイルは、ISO(International Organization for Standardization)/IEC(International Electrotechnical Commission)14496の規定に準拠したファイルフォーマット(以下、MP4ファイルフォーマットと称する)とされている。   Next, a timed metadata file will be described with reference to FIGS. The timed metadata file has a file format (hereinafter referred to as an MP4 file format) conforming to the regulations of ISO (International Organization for Standardization) / IEC (International Electrotechnical Commission) 14496.

図6は、所定の時刻における位置を示す、時間的な系列のメタデータを格納するタイムドメタデータファイルの構造を示す図である。   FIG. 6 is a diagram illustrating the structure of a timed metadata file that stores time-series metadata indicating a position at a predetermined time.

タイムドメタデータファイルは、ムービーボックス(movie box)およびメディアデータ(media data)から構成される。   The timed metadata file is composed of a movie box and media data.

ムービーボックスは、MP4ファイルフォーマットにおけるmoov boxと同様の構造とされ、階層的な構造とされている。ムービーボックスには、タイムドメタデータファイルに格納されているメタデータの読み出しを制御するための各種の制御情報が配置されている。   The movie box has the same structure as the moov box in the MP4 file format, and has a hierarchical structure. Various control information for controlling reading of metadata stored in the timed metadata file is arranged in the movie box.

メディアデータは、MP4ファイルフォーマットにおけるmdat box(Media data container)と同様の構造とされている。メディアデータには、メタデータが配置されている。   The media data has the same structure as an mdat box (Media data container) in the MP4 file format. Metadata is arranged in the media data.

ムービーボックスには、メディアボックス(media box)とユーザボックス(user box)とからなるトラックボックス(track box)が配置されている。   In the movie box, a track box composed of a media box and a user box is arranged.

トラックボックスは、制御するメタデータの種類に応じて作成され、MP4ファイルフォーマットにおけるtrak boxと同様の構造とされている。図6に示される例において、メタデータからなる1つのtrackのみが存在し、trackとしてのメタデータを制御することができるようになり、より迅速にメタデータを読み書きすることができるようになる。   The track box is created according to the type of metadata to be controlled, and has the same structure as the trak box in the MP4 file format. In the example shown in FIG. 6, there is only one track made up of metadata, so that metadata as a track can be controlled, and metadata can be read and written more quickly.

また、メディアボックスは、MP4ファイルフォーマットにおけるmdia boxと同様の構造とされている。さらに、ユーザボックスは、MP4ファイルフォーマットにおけるtrak boxのuuid boxに相当する。uuid boxは、ユーザのプライベートな拡張をするためのboxである。   The media box has the same structure as the mdia box in the MP4 file format. Further, the user box corresponds to a uuid box of a trak box in the MP4 file format. The uuid box is a box for private expansion of the user.

メディアボックスには、メタデータ再生情報およびランダムアクセス情報など、メディアデータに配置されているメタデータをランダムアクセスするための情報などが配置されている。   In the media box, information for randomly accessing metadata arranged in media data, such as metadata reproduction information and random access information, is arranged.

例えば、メディアボックスには、MP4ファイルフォーマットにおけるminf boxのstbl boxのstts boxと同様の構造とされているメタデータ再生情報が配置される。メタデータ再生情報は、例えば、後述するメディアデータの各サンプルの時間を示す。すなわち、メタデータ再生情報は、それぞれサンプルとして格納されている、時間的な系列のメタデータのそれぞれの時間であって、メタデータが関係するコンテンツにおける時間を示す。   For example, in the media box, metadata reproduction information having the same structure as the stts box of the stbl box of the minf box in the MP4 file format is arranged. The metadata reproduction information indicates, for example, the time of each sample of media data to be described later. That is, the metadata reproduction information is each time of time series metadata stored as a sample, and indicates the time in the content related to the metadata.

より具体的には、例えば、メタデータ再生情報は、1つめのサンプルのメタデータの時間が0.5秒であり、2つめのサンプルのメタデータの時間が1.0秒であり、3つめのサンプルのメタデータの時間が0.8秒であり、同様に、n個めのサンプルのメタデータの時間がa秒であることを示す。これにより、例えば、動画像であるコンテンツを再生している場合、コンテンツの先頭から1.6秒を経過した時点に対応するメタデータが、3つめのサンプルに格納されていることがわかる。   More specifically, for example, in the metadata reproduction information, the metadata time of the first sample is 0.5 seconds, and the metadata time of the second sample is 1.0 seconds. This indicates that the metadata time of the second sample is 0.8 seconds, and similarly, the metadata time of the nth sample is a seconds. Thus, for example, when content that is a moving image is being played back, it can be seen that metadata corresponding to a point in time when 1.6 seconds have elapsed from the beginning of the content is stored in the third sample.

すなわち、メタデータ再生情報を参照することにより、動画像であるコンテンツに関係する、時間的な系列のメタデータのうち、そのコンテンツにおける時間上の所定の時刻に応じたメタデータを特定することができる。   That is, by referring to the metadata reproduction information, it is possible to specify metadata corresponding to a predetermined time in the content among the time-series metadata related to the content that is a moving image. it can.

また、逆に、メタデータ再生情報を参照することにより、動画像であるコンテンツに関係する、時間的な系列のメタデータのうち、1つのメタデータが指定されると、指定されたメタデータに応じた、そのコンテンツにおける時間上の時刻を特定することができる。   Conversely, by referring to the metadata reproduction information, when one metadata among temporal series of metadata related to the content that is a moving image is specified, the specified metadata is changed to the specified metadata. In response, the time in the content can be specified.

例えば、メディアボックスには、MP4ファイルフォーマットにおけるminf boxのstbl boxのstsz boxと同様の構造とされているランダムアクセス情報が配置される。ランダムアクセス情報は、例えば、後述するメディアデータの各サンプルのデータ量を示す。   For example, random access information having the same structure as the stsz box of the stbl box of the minf box in the MP4 file format is arranged in the media box. The random access information indicates, for example, the data amount of each sample of media data to be described later.

ランダムアクセス情報を参照することにより、例えば、動画像であるコンテンツに関係する、時間的な系列のメタデータのうち、そのコンテンツにおける時間上の所定の時刻に応じたメタデータを迅速にランダムアクセスすることができる。   By referring to the random access information, for example, among the time-series metadata related to the content that is a moving image, the metadata corresponding to a predetermined time on the content is quickly and randomly accessed. be able to.

ユーザボックスは、メタデータボックス(meta data box)を含むように構成される。メタデータボックスには、順に、データユニットサイズ(data unit size)、データタイプID(data type ID)、ランゲージ(language)、エンコーディングタイプ(encoding type)、メタデータ(metadata)、データユニットサイズ(data unit size)、データタイプID(data type ID)、ランゲージ(language)、エンコーディングタイプ(encoding type)、メタデータ(metadata)が配置される。   The user box is configured to include a metadata data box. The metadata box contains, in order, data unit size, data type ID, language, language, encoding type, metadata, and data unit size. size), data type ID (data type ID), language (language), encoding type (encoding type), and metadata (metadata) are arranged.

メタデータボックスにおける、上側のデータユニットサイズ、上側のデータタイプID、上側のランゲージ、および上側のエンコーディングタイプは、上側のメタデータについてのデータであり、下側のデータユニットサイズ、下側のメタデータID、下側のランゲージ、および下側のエンコーディングタイプは、下側のメタデータについてのデータである。すなわち、上側のデータユニットサイズ、上側のデータタイプID、上側のランゲージ、上側のエンコーディングタイプ、および上側のメタデータは、1つの構造を有し、下側のデータユニットサイズ、下側のデータタイプID、下側のランゲージ、下側のエンコーディングタイプ、および下側のメタデータは、1つの構造を有する。   The upper data unit size, upper data type ID, upper language, and upper encoding type in the metadata box are data for the upper metadata, the lower data unit size, and the lower metadata. The ID, lower language, and lower encoding type are data about the lower metadata. That is, the upper data unit size, upper data type ID, upper language, upper encoding type, and upper metadata have one structure, lower data unit size, lower data type ID. The lower language, the lower encoding type, and the lower metadata have one structure.

メタデータボックスにおける上側のデータユニットサイズは、そのデータユニットサイズ、上側のデータタイプID、上側のランゲージ、上側のエンコーディングタイプ、および上側のメタデータのデータ量を示す。上側のデータタイプIDは、例えば、0000000Ahとされ、メタデータボックスにおける上側のメタデータが、このトラックがサンプルとして配置されている、時間的な系列のメタデータを制御するためのトラックであることを示したメタデータであることを示す。   The upper data unit size in the metadata box indicates the data unit size, the upper data type ID, the upper language, the upper encoding type, and the data amount of the upper metadata. The upper data type ID is, for example, 0000000Ah, and the upper metadata in the metadata box is a track for controlling time-series metadata in which this track is arranged as a sample. Indicates that the metadata is shown.

上側のランゲージは、上側のメタデータを記述する言語を特定する。上側のエンコーディングタイプは、上側のメタデータの符号化の方式を示す。上側のメタデータは、サンプルであるトラックとして配置されている、時間的な系列のメタデータを制御するためのトラックであることを示すメタデータである。   The upper language specifies the language that describes the upper metadata. The upper encoding type indicates a method of encoding the upper metadata. The upper metadata is metadata indicating that it is a track for controlling time-series metadata arranged as a sample track.

メタデータボックスにおける下側のデータユニットサイズは、そのデータユニットサイズ、下側のデータタイプID、下側のランゲージ、および下側のエンコーディングタイプ、および下側のメタデータのデータ量を示す。下側のデータタイプIDは、例えば、0000000Bhとされ、メタデータボックスにおける下側のメタデータが、サンプルであるトラックとして配置されている、時間的な系列のメタデータを具体的に制御するためのメタデータであることを示す。   The lower data unit size in the metadata box indicates the data unit size, the lower data type ID, the lower language, the lower encoding type, and the data amount of the lower metadata. The lower data type ID is, for example, 0000000Bh, and the lower metadata in the metadata box is arranged as a sample track, specifically for controlling temporal series metadata. Indicates metadata.

下側のランゲージは、下側のメタデータを記述する言語を特定する。下側のエンコーディングタイプは、下側のメタデータの符号化の方式を示す。下側のメタデータは、サンプルであるトラックとして配置されている、時間的な系列のメタデータを制御するためのトラックである。   The lower language specifies the language that describes the lower metadata. The lower encoding type indicates a method of encoding the lower metadata. The lower metadata is a track for controlling temporal metadata arranged as a sample track.

例えば、0000001Ahである下側のメタデータは、サンプルであるトラックとして配置されている、時間的な系列のメタデータが所定の時刻における位置を示すデータであることを示す。   For example, the lower metadata of 0000001Ah indicates that the temporal series of metadata arranged as a sample track is data indicating a position at a predetermined time.

例えば、0000002Ahである下側のメタデータは、サンプルであるトラックとして配置されている、時間的な系列のメタデータが、所定の時刻における、絞り、シャッタスピード、またはズームなどのカメラ情報であることを示す。   For example, the lower metadata, which is 0000002Ah, is arranged as a sample track, and the temporal series of metadata is camera information such as aperture, shutter speed, or zoom at a predetermined time. Indicates.

例えば、0000003Ahである下側のメタデータは、サンプルであるトラックとして配置されている、時間的な系列のメタデータが、所定の時刻における、GOPの最初の音声のレベルを示すデータであることを示す。   For example, the lower metadata, which is 0000003Ah, is arranged as a sample track, and the temporal series of metadata is data indicating the first audio level of the GOP at a predetermined time. Show.

メディアデータは、1または複数のサンプル(sample)から構成される。サンプルは、トラックで制御される最小の単位である。   The media data is composed of one or a plurality of samples. A sample is the smallest unit controlled by a track.

それぞれのサンプルは、データユニットサイズ、データタイプID、ランゲージ、エンコーディングタイプ、およびメタデータからなる。すなわち、それぞれのサンプルは、データユニットサイズ、データタイプID、ランゲージ、エンコーディングタイプ、およびメタデータからなる構造を有する。   Each sample consists of data unit size, data type ID, language, encoding type, and metadata. That is, each sample has a structure including a data unit size, a data type ID, a language, an encoding type, and metadata.

サンプルにおけるデータユニットサイズは、サンプルのデータ量を示す。サンプルにおけるデータタイプIDは、例えば、0000001Ahとされ、サンプルにおけるメタデータが、所定の時刻における位置を示すデータであることを示す。   The data unit size in the sample indicates the data amount of the sample. The data type ID in the sample is, for example, 0000001Ah, and indicates that the metadata in the sample is data indicating a position at a predetermined time.

サンプルにおけるランゲージは、サンプルにおけるメタデータを記述する言語を特定する。サンプルにおけるエンコーディングタイプは、サンプルにおけるメタデータの符号化の方式を示す。サンプルにおけるメタデータは、時間的な系列のメタデータのうちの、所定の時刻におけるメタデータである。なお、サンプルにおけるメタデータは、時間的な系列のメタデータのうちの、所定の時間のメタデータであるとも言える。   The language in the sample specifies the language that describes the metadata in the sample. The encoding type in the sample indicates a method of encoding metadata in the sample. The metadata in the sample is metadata at a predetermined time among the time-series metadata. Note that the metadata in the sample can be said to be metadata for a predetermined period of time-series metadata.

図7は、動画像であるコンテンツを構成するフレームのうち、所定の時間毎のフレームのデータである、時間的な系列のメタデータを格納するタイムドメタデータファイルの構造を示す図である。   FIG. 7 is a diagram showing the structure of a timed metadata file that stores temporal series of metadata, which is frame data for each predetermined time among frames constituting content that is a moving image.

動画像のフレームのうち、所定の時間毎のフレームのデータを格納するタイムドメタデータファイルは、図6の場合と同様に、ムービーボックス(movie box)およびメディアデータ(media data)から構成される。ムービーボックスには、タイムドメタデータファイルに格納されているメタデータの読み出しを制御するためのデータが配置されている。メディアデータには、メタデータが配置されている。   A timed metadata file that stores frame data of a predetermined time among moving image frames is composed of a movie box and media data as in the case of FIG. . In the movie box, data for controlling reading of the metadata stored in the timed metadata file is arranged. Metadata is arranged in the media data.

ムービーボックスには、メディアボックス(media box)とユーザボックス(user box)とからなるトラックボックス(track box)が配置されている。メディアボックスには、メディアデータに配置されているメタデータをランダムアクセスするための情報などが配置されている。   In the movie box, a track box composed of a media box and a user box is arranged. In the media box, information for randomly accessing the metadata arranged in the media data is arranged.

ユーザボックスは、メタデータボックス(meta data box)を含むように構成される。メタデータボックスには、順に、データユニットサイズ(data unit size)、データタイプID(data type ID)、ランゲージ(language)、エンコーディングタイプ(encoding type)、メタデータ(metadata)が配置される。   The user box is configured to include a metadata data box. In the metadata box, a data unit size, a data type ID, a language, an encoding type, and metadata are arranged in this order.

動画像のフレームのうち、所定の時間毎のフレームのデータを格納するタイムドメタデータファイルにおけるメタデータボックスの、データユニットサイズ、データタイプID、ランゲージ、およびエンコーディングタイプは、メタデータについてのデータである。すなわち、動画像のフレームのうち、所定の時間毎のフレームのデータを格納するタイムドメタデータファイルにおけるメタデータボックスの、データユニットサイズ、データタイプID、ランゲージ、エンコーディングタイプ、およびメタデータは、1つの構造を有する。   Among the video frames, the data unit size, data type ID, language, and encoding type of the metadata box in the timed metadata file that stores the frame data for each predetermined time are data about the metadata. is there. That is, the data unit size, data type ID, language, encoding type, and metadata of the metadata box in the timed metadata file that stores the data of the frames at predetermined intervals among the frames of the moving image are 1 Has one structure.

動画像のフレームのうち、所定の時間毎のフレームのデータを格納するタイムドメタデータファイルにおけるメタデータボックスのデータユニットサイズは、そのデータユニットサイズ、データタイプID、ランゲージ、エンコーディングタイプ、およびメタデータのデータ量を示す。データタイプIDは、例えば、0000000Chとされ、メタデータボックスにおけるメタデータが、動画像のフレームのうち、所定の時間毎のフレームのデータを制御するためのメタデータであることを示す。   The data unit size, data type ID, language, encoding type, and metadata of the metadata box in the timed metadata file that stores the frame data for each predetermined time frame of the moving image Indicates the amount of data. The data type ID is, for example, 0000000Ch, and indicates that the metadata in the metadata box is metadata for controlling the data of frames at predetermined intervals among the frames of moving images.

ランゲージは、メタデータを記述する言語を特定する。エンコーディングタイプは、メタデータの符号化の方式を示す。   The language specifies a language for describing metadata. The encoding type indicates a metadata encoding method.

動画像のフレームのうち、所定の時間毎のフレームのデータを格納するタイムドメタデータファイルにおけるメタデータボックスのメタデータは、動画像のフレームのうち、所定の時間毎のフレームのデータを制御するためのメタデータである。すなわち、メタデータボックスのメタデータによって、トラックとして、動画像のフレームのうち、所定の時間毎のフレームのデータであるJPEGデータが格納されていることがわかる。   The metadata in the metadata box in the timed metadata file that stores the data of frames at predetermined intervals among the frames of moving images controls the data of the frames at predetermined intervals among the frames of moving images. Metadata. That is, it can be seen from the metadata in the metadata box that JPEG data, which is frame data at predetermined time intervals, is stored as a track.

メディアデータは、1または複数のサンプル(sample)から構成される。サンプルは、トラックで制御される最小の単位である。   The media data is composed of one or a plurality of samples. A sample is the smallest unit controlled by a track.

それぞれのサンプルは、JPEGデータからなる。サンプルにおけるJPEGデータは、JPEG方式で符号化されている、動画像のフレームのうち、所定の時間毎のフレームのデータである。   Each sample consists of JPEG data. The JPEG data in the sample is data of a frame for every predetermined time among the frames of the moving image encoded by the JPEG method.

より具体的には、例えば、動画像のストリームがMPEG4方式で符号化されている場合、サンプルにおけるJPEGデータは、動画像のフレームのうち、GOP(Group of Pictures)の間隔毎に、それぞれのGOPから1つ抽出されたフレームのデータが、JPEG方式で符号化されたものである。   More specifically, for example, when a moving image stream is encoded in the MPEG4 format, the JPEG data in the sample is the GOP for each GOP (Group of Pictures) interval in the moving image frame. The data of one frame extracted from is encoded by the JPEG method.

このように、タイムドメタデータファイルは、ムービーボックス、メディアデータ、トラックボックス、メディアボックス、ユーザボックス、データユニットサイズ、メタデータID、ランゲージ、エンコーディングタイプ、およびメタデータを構成要素とした構造を有する。   As described above, the timed metadata file has a structure including a movie box, media data, track box, media box, user box, data unit size, metadata ID, language, encoding type, and metadata. .

データユニットサイズ、メタデータID、ランゲージ、エンコーディングタイプ、およびメタデータに注目すると、タイムドメタデータファイルは、メタデータファイルと同様の構造を有していると言える。   Focusing on the data unit size, metadata ID, language, encoding type, and metadata, it can be said that the timed metadata file has the same structure as the metadata file.

タイムドメタデータファイルとメタデータファイルとが同様の構造とされることで、タイムドメタデータファイルおよびメタデータファイルの記録および読み出し(再生)の手続きが同様になり、記録または読み出しのためのハードウェアまたはプログラムを共用したり共通にしたりすることができるようになる。   Since the timed metadata file and the metadata file have the same structure, the procedure for recording and reading (reproducing) the timed metadata file and the metadata file is the same, and the hardware for recording or reading is reduced. Hardware or programs can be shared or shared.

以下、時間的な系列のメタデータをタイムドメタデータと称する。また、メタデータのうち、タイムドメタデータの他のメタデータ、すなわち、時間的な系列とならないメタデータを静的メタデータと称する。   Hereinafter, temporal series of metadata is referred to as timed metadata. Among metadata, other metadata of timed metadata, that is, metadata that does not form a time series is referred to as static metadata.

次に、記録の処理について説明する。   Next, the recording process will be described.

図8は、動画像の記録を開始した場合、実行される、動画像および静的メタデータの記録の処理を説明するフローチャートである。ステップS11において、記録制御部101のコンテンツファイル記録制御部114は、カメラDSP32から、所定の間隔で画像、すなわち、動画像を構成するフレームを取得する。   FIG. 8 is a flowchart for explaining a moving image and static metadata recording process that is executed when recording of a moving image is started. In step S <b> 11, the content file recording control unit 114 of the recording control unit 101 acquires images, that is, frames constituting a moving image at predetermined intervals from the camera DSP 32.

ステップS12において、コンテンツファイル記録制御部114は、操作部37からの使用者の操作に応じた信号を基に、動画像の撮影が終了したか否かを判定し、動画像の撮影が終了していないと判定された場合、ステップS11に戻り、画像の取得の処理を繰り返す。   In step S12, the content file recording control unit 114 determines whether or not the shooting of the moving image has ended based on a signal corresponding to the user's operation from the operation unit 37, and the shooting of the moving image is ended. If it is determined that it is not, the process returns to step S11 to repeat the image acquisition process.

ステップS12において、動画像の撮影が終了したと判定された場合、ステップS13に進み、サムネイルファイル記録制御部112は、ステップS11で取得された画像のうち、所定の画像からサムネイル画像を生成する。例えば、サムネイルファイル記録制御部112は、動画像の最初のフレーム、シーンチェンジしたときのフレーム、または音声のレベルが予め定めた閾値を超えたときのフレームなどからサムネイル画像を生成する。   If it is determined in step S12 that shooting of a moving image has ended, the process proceeds to step S13, and the thumbnail file recording control unit 112 generates a thumbnail image from a predetermined image among the images acquired in step S11. For example, the thumbnail file recording control unit 112 generates a thumbnail image from the first frame of the moving image, the frame when the scene is changed, or the frame when the audio level exceeds a predetermined threshold.

なお、サムネイルファイル記録制御部112は、ステップS11における画像の取得の処理と並列に、サムネイル画像を生成する処理を実行するようにしてもよい。   Note that the thumbnail file recording control unit 112 may execute a process of generating a thumbnail image in parallel with the image acquisition process in step S11.

ステップS14において、コンテンツファイル記録制御部114は、画像管理情報およびプレイリストを生成し、画像管理情報、プレイリスト、および撮影した動画像のストリームがそれぞれ格納された画像管理情報ファイル、プレイリストファイル、およびストリームファイルを、所定のディレクトリに記録する。   In step S14, the content file recording control unit 114 generates image management information and a playlist, and includes an image management information file, a playlist file, and an image management information, a playlist, and a captured moving image stream stored therein, respectively. The stream file is recorded in a predetermined directory.

例えば、コンテンツファイル記録制御部114は、画像管理情報が格納された画像管理情報ファイルを、記録媒体35の、ディレクトリ名がMOVIE1であるディレクトリの下の、ディレクトリ名がCODECINFであるディレクトリに記録する。コンテンツファイル記録制御部114は、プレイリストが格納されたプレイリストファイルを、記録媒体35の、ディレクトリ名がMOVIE1であるディレクトリの下の、ディレクトリ名がPLAYINFであるディレクトリに記録する。   For example, the content file recording control unit 114 records the image management information file in which the image management information is stored in the directory on the recording medium 35 under the directory whose directory name is MOVIE1 and whose directory name is CODECINF. The content file recording control unit 114 records the playlist file in which the playlist is stored in the directory having the directory name PLAYINF under the directory having the directory name MOVIE1 on the recording medium 35.

さらに、コンテンツファイル記録制御部114は、動画像のストリームが格納されたストリームファイルを、記録媒体35の、ディレクトリ名がMOVIE1であるディレクトリの下の、ディレクトリ名がSTREAMであるディレクトリに記録する。   Further, the content file recording control unit 114 records the stream file storing the moving image stream in the directory having the directory name STREAM under the directory having the directory name MOVIE1 on the recording medium 35.

なお、例えば、動画像のデータがMPEG4方式で符号化され、動画像が1つのファイルに格納されるコンテンツとして記録される場合、コンテンツファイル記録制御部114は、動画像であるコンテンツを格納したファイルを、記録媒体35の、ディレクトリ名がMOVIE2であるディレクトリに記録する。   For example, when moving image data is encoded in the MPEG4 format and the moving image is recorded as content stored in one file, the content file recording control unit 114 stores the content that is the moving image. Are recorded in a directory of the recording medium 35 whose directory name is MOVIE2.

ステップS15において、記録制御部101のプロパティファイル記録制御部111は、プレイリストを格納するプレイリストファイルに対応するファイルエントリを生成して、コンテンツ管理ファイルのプロパティファイルに、プレイリストファイルに対応するファイルエントリを追加する。   In step S15, the property file recording control unit 111 of the recording control unit 101 generates a file entry corresponding to the playlist file storing the playlist, and the file corresponding to the playlist file is generated in the property file of the content management file. Add an entry.

例えば、プロパティファイル記録制御部111は、記録媒体35の、ディレクトリ名がAV_INFOであるディレクトリに配置されているプロパティファイルに、プロパティスロットを単位とするファイルエントリであって、プレイリストを格納するプレイリストファイルに対応するファイルエントリを追加する。   For example, the property file recording control unit 111 stores a playlist, which is a file entry in units of property slots, in a property file arranged in a directory having the directory name AV_INFO on the recording medium 35. Add a file entry corresponding to the file.

なお、プロパティファイル記録制御部111は、動画像のストリームを格納するストリームファイルに対応するファイルエントリを生成して、コンテンツ管理ファイルのプロパティファイルに、動画像のストリームを格納するストリームファイルに対応するファイルエントリを追加するようにしてもよい。   The property file recording control unit 111 generates a file entry corresponding to a stream file that stores a moving image stream, and a file corresponding to the stream file that stores the moving image stream in the property file of the content management file. An entry may be added.

ステップS16において、記録制御部101のサムネイルファイル記録制御部112は、コンテンツ管理ファイルのサムネイルファイルに、撮影した動画像の所定の位置の画像のサムネイル画像のエントリを追加する。すなわち、サムネイルファイル記録制御部112は、サムネイルファイルのサムネイルスロットに、ステップS13で生成したサムネイル画像の画像データを格納する。   In step S16, the thumbnail file recording control unit 112 of the recording control unit 101 adds a thumbnail image entry of an image at a predetermined position of the captured moving image to the thumbnail file of the content management file. That is, the thumbnail file recording control unit 112 stores the image data of the thumbnail image generated in step S13 in the thumbnail slot of the thumbnail file.

ステップS17において、記録制御部101のメタデータファイル記録制御部113は、コンテンツ管理ファイルのメタデータファイルに、撮影した動画像に付随する静的メタデータのエントリを追加して、処理は終了する。すなわち、メタデータファイル記録制御部113は、メタデータファイルのメタデータスロットに、撮影した動画像の静的メタデータを格納する。   In step S17, the metadata file recording control unit 113 of the recording control unit 101 adds an entry of static metadata accompanying the captured moving image to the metadata file of the content management file, and the process ends. That is, the metadata file recording control unit 113 stores the static metadata of the captured moving image in the metadata slot of the metadata file.

このように、動画像が記録されると共に、プロパティファイルにファイルエントリが追加され、サムネイルファイルにサムネイル画像の画像データが格納され、メタデータファイルに、撮影した動画像の静的メタデータ、すなわち、時間的な系列でないメタデータが格納される。   In this way, a moving image is recorded, a file entry is added to the property file, image data of the thumbnail image is stored in the thumbnail file, and static metadata of the captured moving image is stored in the metadata file, that is, Stores non-temporal metadata.

次に、動画像の記録を開始した場合、図8の動画像および静的メタデータの記録の処理と並列に実行されるタイムドメタデータファイルの記録の処理について説明する。図9は、タイムドメタデータファイルの記録の処理を説明するフローチャートである。   Next, a description will be given of a timed metadata file recording process that is executed in parallel with the moving image and static metadata recording process of FIG. 8 when recording of a moving image is started. FIG. 9 is a flowchart for explaining processing for recording a timed metadata file.

ステップS31において、記録制御部101のタイムドメタデータファイル記録制御部115は、所定の時刻で、時間的に変化するメタデータ、すなわち、時間的な系列のメタデータを取得する。   In step S31, the timed metadata file recording control unit 115 of the recording control unit 101 acquires time-varying metadata, that is, time-series metadata, at a predetermined time.

例えば、タイムドメタデータファイル記録制御部115は、所定の時刻で、現在の位置を示すGPSデータをGPS信号受信部42から取得することにより、現在の位置を緯度および経度で表すメタデータを取得する。   For example, the timed metadata file recording control unit 115 acquires GPS data indicating the current position from the GPS signal receiving unit 42 at a predetermined time, thereby acquiring metadata representing the current position by latitude and longitude. To do.

また、例えば、タイムドメタデータファイル記録制御部115は、動画像および静的メタデータの記録の処理によって記録されている動画像から、所定の時刻のフレームを抽出することにより、動画像であるコンテンツを構成するフレームのうち、所定の時間毎のフレームのデータであるメタデータを取得する。この場合、タイムドメタデータファイル記録制御部115は、所定の時間毎のフレームのデータであるメタデータを、カメラDSP32にJPEG方式で符号化させて、JPEGデータとする。   Further, for example, the timed metadata file recording control unit 115 is a moving image by extracting a frame at a predetermined time from a moving image recorded by the moving image and static metadata recording process. Among the frames constituting the content, metadata that is data of frames at predetermined intervals is acquired. In this case, the timed metadata file recording control unit 115 causes the camera DSP 32 to encode metadata, which is frame data for each predetermined time, by the JPEG method, to obtain JPEG data.

ステップS32において、タイムドメタデータファイル記録制御部115は、取得したメタデータを1つのサンプル(sample)として記録する。すなわち、タイムドメタデータファイル記録制御部115のタイムドメタデータファイル生成部121のsample生成部131は、取得したメタデータを格納した1つのサンプルを生成する。   In step S32, the timed metadata file recording control unit 115 records the acquired metadata as one sample. That is, the sample generation unit 131 of the timed metadata file generation unit 121 of the timed metadata file recording control unit 115 generates one sample storing the acquired metadata.

例えば、sample生成部131は、現在の位置を緯度および経度で表すGPSデータを、図6で示される、データユニットサイズ、データタイプID、ランゲージ、エンコーディングタイプ、およびメタデータからなるサンプルに格納する。この場合、現在の位置を緯度および経度で表すGPSデータは、データユニットサイズ、データタイプID、ランゲージ、エンコーディングタイプ、およびメタデータからなるサンプルのメタデータとして、サンプルに格納される。   For example, the sample generation unit 131 stores GPS data representing the current position by latitude and longitude in a sample including a data unit size, a data type ID, a language, an encoding type, and metadata shown in FIG. In this case, GPS data representing the current position by latitude and longitude is stored in the sample as sample metadata including a data unit size, a data type ID, a language, an encoding type, and metadata.

また、例えば、sample生成部131は、所定の時間毎のフレームのJPEGデータを、図7で示される、メタデータとしてサンプルに格納する。   Further, for example, the sample generation unit 131 stores JPEG data of frames at predetermined time intervals in a sample as metadata shown in FIG.

ステップS33において、タイムドメタデータファイル記録制御部115は、動画像の撮影が終了したか否かを判定し、動画像の撮影が終了していないと判定された場合、ステップS31に進み、時間的な系列のメタデータを取得して、サンプルに格納する処理を繰り返す。   In step S33, the timed metadata file recording control unit 115 determines whether or not moving image shooting has ended. If it is determined that moving image shooting has not ended, the process proceeds to step S31, and the timed metadata file recording control unit 115 proceeds to step S31. The process of acquiring the metadata of a typical series and storing it in the sample is repeated.

ステップS33において、動画像の撮影が終了したと判定された場合、これ以上、時間的な系列のメタデータは取得されないので、ステップS34に進み、タイムドメタデータファイル記録制御部115のタイムドメタデータファイル生成部121のmoviebox生成部132は、メタデータ再生情報およびランダムアクセス情報を生成する。   If it is determined in step S33 that the shooting of the moving image has ended, no further time series metadata is acquired, so the process proceeds to step S34, where the timed metadata of the timed metadata file recording control unit 115 is acquired. The moviebox generation unit 132 of the data file generation unit 121 generates metadata reproduction information and random access information.

例えば、moviebox生成部132は、メタデータを取得した時刻に応じた、動画像における時間上の、それぞれのメタデータの時間の長さを示すメタデータ再生情報を生成する。また、例えば、moviebox生成部132は、それぞれのサンプルのデータ量を示すランダムアクセス情報を生成する。   For example, the moviebox generation unit 132 generates metadata reproduction information indicating the length of time of each metadata on the time in the moving image according to the time when the metadata is acquired. In addition, for example, the moviebox generation unit 132 generates random access information indicating the data amount of each sample.

ステップS35において、moviebox生成部132は、メタデータ再生情報およびランダムアクセス情報を含むmovie boxを生成する。   In step S35, the moviebox generation unit 132 generates a movie box including metadata reproduction information and random access information.

ステップS36において、タイムドメタデータファイル生成部121は、movie boxとサンプルとを格納した1つのタイムドメタデータファイルを生成する。ステップS37において、タイムドメタデータファイル記録制御部115は、拡張子を除いた、タイムドメタデータファイルのファイル名を、撮影した動画像のストリームが格納されているファイル名と同様とする。タイムドメタデータファイルのファイル名の拡張子は、予め定められ、例えば、MTIとされる。   In step S36, the timed metadata file generation unit 121 generates one timed metadata file storing a movie box and a sample. In step S <b> 37, the timed metadata file recording control unit 115 sets the file name of the timed metadata file excluding the extension to be the same as the file name in which the captured moving image stream is stored. The extension of the file name of the timed metadata file is predetermined, for example, MTI.

なお、タイムドメタデータファイル記録制御部115は、拡張子を除いた、タイムドメタデータファイルのファイル名を、撮影した動画像のストリームについてのプレイリストが格納されているファイル名と同様とするようにしてもよい。   The timed metadata file recording control unit 115 sets the file name of the timed metadata file, excluding the extension, to be the same as the file name in which the playlist for the captured moving image stream is stored. You may do it.

ステップS38において、タイムドメタデータファイル記録制御部115は、タイムドメタデータファイルを、記録媒体35のAV_INFOであるディレクトリの下のTIMEMETAであるディレクトリなど、所定のディレクトリに記録して、処理は終了する。   In step S38, the timed metadata file recording control unit 115 records the timed metadata file in a predetermined directory, such as a directory that is TIMEMETA under the directory that is AV_INFO of the recording medium 35, and the process ends. To do.

このように、撮影した動画像に応じた、時間的な系列のメタデータが、タイムドメタデータファイルに格納される。   In this way, temporal series of metadata corresponding to the captured moving image is stored in the timed metadata file.

次に、静止画像を記録する処理について説明する。   Next, processing for recording a still image will be described.

図10は、静止画像が撮影されると実行される、静止画像および静的メタデータの記録の処理を説明するフローチャートである。ステップS51において、サムネイルファイル記録制御部112は、撮影した静止画像のサムネイル画像を生成する。   FIG. 10 is a flowchart for explaining still image and static metadata recording processing executed when a still image is captured. In step S51, the thumbnail file recording control unit 112 generates a thumbnail image of the captured still image.

ステップS52において、コンテンツファイル記録制御部114は、撮影した静止画像の画像データが格納されたファイルを所定のディレクトリに記録する。例えば、コンテンツファイル記録制御部114は、撮影した静止画像の画像データが格納されたファイルを、記録媒体35の、ディレクトリ名がSTILLであるディレクトリに記録する。   In step S52, the content file recording control unit 114 records a file storing image data of a captured still image in a predetermined directory. For example, the content file recording control unit 114 records a file in which image data of a captured still image is stored in a directory of the recording medium 35 whose directory name is STILL.

ステップS53において、記録制御部101のプロパティファイル記録制御部111は、静止画像の画像データが格納されたファイルに対応するファイルエントリを生成して、コンテンツ管理ファイルのプロパティファイルに、静止画像の画像データが格納されたファイルに対応するファイルエントリを追加する。   In step S53, the property file recording control unit 111 of the recording control unit 101 generates a file entry corresponding to the file in which the image data of the still image is stored, and stores the image data of the still image in the property file of the content management file. Add a file entry corresponding to the file where is stored.

例えば、プロパティファイル記録制御部111は、記録媒体35の、ディレクトリ名がAV_INFOであるディレクトリに配置されているプロパティファイルに、プロパティスロットを単位とするファイルエントリであって、静止画像の画像データが格納されたファイルに対応するファイルエントリを追加する。   For example, the property file recording control unit 111 stores the image data of a still image as a file entry in units of property slots in a property file arranged in a directory whose directory name is AV_INFO on the recording medium 35. Add a file entry corresponding to the specified file.

ステップS54において、記録制御部101のサムネイルファイル記録制御部112は、コンテンツ管理ファイルのサムネイルファイルに、撮影した静止画像のサムネイル画像のエントリを追加する。すなわち、サムネイルファイル記録制御部112は、サムネイルファイルのサムネイルスロットに、ステップS51で生成したサムネイル画像の画像データを格納する。   In step S54, the thumbnail file recording control unit 112 of the recording control unit 101 adds a thumbnail image entry of the captured still image to the thumbnail file of the content management file. That is, the thumbnail file recording control unit 112 stores the image data of the thumbnail image generated in step S51 in the thumbnail slot of the thumbnail file.

ステップS55において、記録制御部101のメタデータファイル記録制御部113は、コンテンツ管理ファイルのメタデータファイルに、撮影した静止画像に付随する静的メタデータのエントリを追加して、処理は終了する。すなわち、メタデータファイル記録制御部113は、メタデータファイルのメタデータスロットに、撮影した静止画像の静的メタデータを格納する。   In step S55, the metadata file recording control unit 113 of the recording control unit 101 adds an entry of static metadata accompanying the captured still image to the metadata file of the content management file, and the process ends. That is, the metadata file recording control unit 113 stores the static metadata of the captured still image in the metadata slot of the metadata file.

このように、静止画像が記録されると共に、プロパティファイルにファイルエントリが追加され、サムネイルファイルにサムネイル画像の画像データが格納され、メタデータファイルに、撮影した静止画像の静的メタデータ、すなわち、時間的な系列でないメタデータが格納される。   In this way, a still image is recorded, a file entry is added to the property file, image data of the thumbnail image is stored in the thumbnail file, and static metadata of the captured still image, that is, a metadata file, that is, Stores non-temporal metadata.

なお、タイムドメタデータファイル記録制御部115は、静止画像が撮影される場合、タイムドメタデータファイルを記録しない。   Note that the timed metadata file recording control unit 115 does not record a timed metadata file when a still image is captured.

図11は、メタデータの検索の処理を説明するフローチャートである。ステップS71において、再生制御部102の検索部141は、検索しようとするメタデータに応じたキーワードを操作部37から取得することにより、メタデータの検索を開始する。ステップS72において、メタデータファイル再生制御部144は、メタデータファイルをオープンする。   FIG. 11 is a flowchart illustrating metadata search processing. In step S <b> 71, the search unit 141 of the playback control unit 102 starts searching for metadata by acquiring a keyword corresponding to the metadata to be searched from the operation unit 37. In step S72, the metadata file reproduction control unit 144 opens the metadata file.

ステップS73において、検索部141は、全てのメタデータスロットの検索を終了したか否かを判定し、全てのメタデータスロットの検索を終了していないと判定された場合、ステップS74に進み、キーワードでメタデータスロットを検索して、カウンタの現在のカウンタ値で示される番号のメタデータスロット内でメタデータがヒットしたか否かを判定する。   In step S73, the search unit 141 determines whether or not the search for all metadata slots has been completed. If it is determined that the search for all metadata slots has not been completed, the search unit 141 proceeds to step S74. The metadata slot is searched for to determine whether or not the metadata hits in the metadata slot having the number indicated by the current counter value of the counter.

ステップS74において、メタデータがヒットしたと判定された場合、ステップS75に進み、検索部141は、メタデータがヒットしたメタデータスロットの番号を記録する。   If it is determined in step S74 that the metadata has been hit, the process proceeds to step S75, and the search unit 141 records the number of the metadata slot in which the metadata was hit.

ステップS74において、メタデータがヒットしないと判定された場合、ステップS75はスキップされる。   If it is determined in step S74 that the metadata does not hit, step S75 is skipped.

ステップS76において、検索部141は、カウンタを1だけインクリメントすることにより、メタデータスロットの番号をカウントアップして、ステップS73に戻り、メタデータスロットの検索の処理を繰り返す。   In step S76, the search unit 141 increments the counter by 1 to increment the metadata slot number, returns to step S73, and repeats the metadata slot search process.

ステップS73において、全てのメタデータスロットの検索を終了したと判定された場合、ステップS77に進み、プロパティファイル再生制御部142は、プロパティファイルをオープンする。ステップS78において、検索部141は、ヒットしたスロットの番号を含むファイルエントリを検索して、処理は終了する。   If it is determined in step S73 that all metadata slots have been searched, the process proceeds to step S77, and the property file playback control unit 142 opens the property file. In step S78, the search unit 141 searches for a file entry including the hit slot number, and the process ends.

検索されたファイルエントリから、キーワードに応じたメタデータが付されたコンテンツを格納するコンテンツファイルを開いて、そのコンテンツを再生することができる。   From the retrieved file entry, it is possible to open a content file that stores content to which metadata corresponding to the keyword is attached, and reproduce the content.

次に、動画像を撮影しているときの位置を示すタイムドメタデータを格納するタイムドメタデータファイルを利用した動画像であるコンテンツの再生の処理の例について説明する。   Next, an example of a process of reproducing content that is a moving image using a timed metadata file that stores timed metadata indicating a position when the moving image is captured will be described.

例えば、動画像であるコンテンツを再生する場合、サムネイルファイル再生制御部143は、コンテンツ管理ファイルのサムネイルファイルに格納されているサムネイル画像を読み出して、表示制御部103に供給する。すると、表示制御部103は、例えば、図12に示すように、それぞれ動画像に対応する、6つのサムネイル画像をLCD39に表示させる。   For example, when playing back a content that is a moving image, the thumbnail file playback control unit 143 reads out the thumbnail image stored in the thumbnail file of the content management file and supplies the thumbnail image to the display control unit 103. Then, for example, as shown in FIG. 12, the display control unit 103 displays six thumbnail images corresponding to the moving images on the LCD 39.

使用者は、操作部37を操作することにより、LCD39に表示されたサムネイル画像のうち、1つのサムネイル画像を指示する。   The user operates the operation unit 37 to instruct one thumbnail image among the thumbnail images displayed on the LCD 39.

図13は、図12のサムネイル画像が指示された場合に実行される、表示の処理の例を説明するフローチャートである。ステップS101において、再生制御部102は、1つのサムネイル画像を指示する使用者の操作に応じた操作部37からの信号を取得して、指示されたサムネイル画像の画像データが格納されている、サムネイルファイルのサムネイルスロットの番号を記憶する。   FIG. 13 is a flowchart illustrating an example of display processing that is executed when the thumbnail image of FIG. 12 is designated. In step S101, the reproduction control unit 102 acquires a signal from the operation unit 37 according to the operation of the user who designates one thumbnail image, and stores the image data of the designated thumbnail image. Stores the thumbnail slot number of the file.

例えば、LCD39にサムネイル画像が表示されると、再生制御部102は、LCD39に表示されているサムネイル画像を特定する番号と、サムネイル画像の画像データが格納されているサムネイルスロットの番号との対応を示すテーブルを生成する。再生制御部102は、使用者に操作された操作部37からサムネイル画像の番号を示す信号が供給されると、その信号で示されるサムネイル画像の番号に対応するサムネイルスロットの番号をテーブルから抽出して、そのサムネイルスロットの番号を記憶する。   For example, when a thumbnail image is displayed on the LCD 39, the playback control unit 102 associates the number for specifying the thumbnail image displayed on the LCD 39 with the number of the thumbnail slot in which the image data of the thumbnail image is stored. Generate the table shown. When a signal indicating a thumbnail image number is supplied from the operation unit 37 operated by the user, the playback control unit 102 extracts a thumbnail slot number corresponding to the thumbnail image number indicated by the signal from the table. Then, the number of the thumbnail slot is stored.

ステップS102において、プロパティファイル再生制御部142は、プロパティファイルを開く。ステップS103において、検索部141は、ステップS101で記憶したサムネイルスロットの番号を含むファイルエントリを検索する。   In step S102, the property file playback control unit 142 opens the property file. In step S103, the search unit 141 searches for a file entry including the thumbnail slot number stored in step S101.

ステップS104において、コンテンツファイル再生制御部145は、検索されたファイルエントリで示される、ストリームを格納するファイルであるストリームファイルを開く。ステップS105において、検索部141は、拡張子を除いて、開いたストリームファイルの名称と同じ名称のタイムドメタデータファイルを検索する。   In step S104, the content file playback control unit 145 opens a stream file that is a file storing a stream indicated by the searched file entry. In step S105, the search unit 141 searches for a timed metadata file having the same name as the name of the opened stream file, excluding the extension.

ステップS106において、タイムドメタデータファイル再生制御部146は、検索したタイムドメタデータファイルを開く。ステップS107において、表示制御部103は、開いたタイムドメタデータファイルのサンプルのGPSデータで示される範囲の地図をLCD39に表示させる。   In step S106, the timed metadata file reproduction control unit 146 opens the searched timed metadata file. In step S107, the display control unit 103 causes the LCD 39 to display a map in the range indicated by the sample GPS data of the opened timed metadata file.

すなわち、sample再生制御部151は、開いたタイムドメタデータファイルのサンプルに格納されている、位置を示すメタデータであるGPSデータを読み出して、再生し、表示制御部103に供給する。表示制御部103は、予め記録媒体35に記録されている地図のデータを基に、位置を示すGPSデータで示される範囲の地図をLCD39に表示させる。例えば、GPSデータによって東京駅周辺の位置が示されている場合、表示制御部103は、東京駅周辺の地図をLCD39に表示させる。   That is, the sample playback control unit 151 reads out GPS data that is metadata indicating the position stored in the sample of the opened timed metadata file, plays it back, and supplies it to the display control unit 103. The display control unit 103 causes the LCD 39 to display a map in the range indicated by the GPS data indicating the position based on the map data recorded in the recording medium 35 in advance. For example, when the position around Tokyo station is indicated by the GPS data, the display control unit 103 causes the LCD 39 to display a map around Tokyo station.

ステップS108において、表示制御部103は、GPSデータで示される位置を表す画像を地図の画像に重畳してLCD39に表示させ、処理は終了する。すなわち、表示制御部103は、地図上のGPSデータで示される位置に、GPSデータで示される位置を表す画像を配置するように、GPSデータで示される位置を表す画像を地図の画像に重畳してLCD39に表示させる。   In step S108, the display control unit 103 superimposes an image representing the position indicated by the GPS data on the map image and displays it on the LCD 39, and the process ends. That is, the display control unit 103 superimposes the image representing the position indicated by the GPS data on the map image so that the image representing the position indicated by the GPS data is arranged at the position indicated by the GPS data on the map. Display on the LCD 39.

表示の処理が実行されると、例えば、図14で示されるように、メタデータであるGPSデータで示される位置を表す画像と地図とが重畳された画像がLCD39に表示されることになる。   When the display process is executed, for example, as shown in FIG. 14, an image in which an image representing a position indicated by GPS data that is metadata and a map is superimposed is displayed on the LCD 39.

図14の右側に示される、LCD39に表示される画像の例において、右上がりの太線は、GPSデータで示される位置を表す画像である。時間的な系列のメタデータであるGPSデータは、動画像を記録している間、所定の間隔で取得されてタイムドメタデータファイルとして記録されるので、動画像を記録しながら移動すると、そのGPSデータによって、動画像を記録しながら移動した経路を地図上に表示することができる。   In the example of the image displayed on the LCD 39 shown on the right side of FIG. 14, the bold line rising to the right is an image representing the position indicated by the GPS data. GPS data, which is metadata in time series, is acquired at a predetermined interval and recorded as a timed metadata file while recording a moving image. The route traveled while recording a moving image can be displayed on the map by using the GPS data.

そして、地図上に表示された位置を指示することによって、動画像のストリームを、その位置で記録されたところから再生することができる。   By instructing the position displayed on the map, the moving image stream can be reproduced from the position recorded at the position.

図15は、ストリームの再生の処理の例を説明するフローチャートである。ステップS121において、タイムドメタデータファイル再生制御部146のsample特定部153は、位置を指示する使用者の操作に応じた操作部37からの信号を取得して、指示された画像の位置を示すGPSデータのサンプルを特定する。   FIG. 15 is a flowchart for explaining an example of stream reproduction processing. In step S121, the sample specifying unit 153 of the timed metadata file reproduction control unit 146 acquires a signal from the operation unit 37 according to the operation of the user who indicates the position, and indicates the position of the instructed image. Identify samples of GPS data.

例えば、GPSデータで示される位置を表す画像がLCD39に表示されると、sample特定部153は、GPSデータで示される位置を表す画像の位置であってLCD39の画面上の位置と、GPSデータであるメタデータが格納されているサンプルを特定する番号との対応を示すテーブルを生成する。sample特定部153は、LCD39の上に設けられたタッチパネルである操作部37から、使用者に指示された画面上の位置を示す信号が供給されると、その信号で示される画面上の位置に対応するサンプルを特定する番号をテーブルから抽出することにより、指示された画像の位置を示すGPSデータのサンプルを特定する。   For example, when an image representing the position indicated by the GPS data is displayed on the LCD 39, the sample specifying unit 153 uses the position of the image representing the position indicated by the GPS data on the screen of the LCD 39 and the GPS data. A table indicating the correspondence with a number for specifying a sample in which certain metadata is stored is generated. When a signal indicating the position on the screen instructed by the user is supplied from the operation unit 37 which is a touch panel provided on the LCD 39, the sample specifying unit 153 is placed at the position on the screen indicated by the signal. A sample of GPS data indicating the position of the instructed image is identified by extracting a number identifying the corresponding sample from the table.

ステップS122において、タイムドメタデータファイル再生制御部146の時刻計算部154は、特定されたサンプルに応じた、ストリーム上の時刻を計算する。   In step S122, the time calculation unit 154 of the timed metadata file reproduction control unit 146 calculates the time on the stream according to the specified sample.

すなわち、タイムドメタデータファイル再生制御部146のmoviebox再生制御部152は、media boxに格納されているメタデータ再生情報を読み出して、再生する。図14で示されるように、メタデータ再生情報は、それぞれサンプルとして格納されている、時間的な系列のメタデータのそれぞれの時間であって、メタデータが関係するコンテンツにおける時間を示すので、時刻計算部154は、メタデータ再生情報を参照して、特定されたサンプルに応じた、コンテンツであるストリーム上の時刻を計算する。   That is, the moviebox playback control unit 152 of the timed metadata file playback control unit 146 reads out and plays back the metadata playback information stored in the media box. As shown in FIG. 14, the metadata reproduction information is each time of the time series metadata stored as a sample, and indicates the time in the content related to the metadata. The calculating unit 154 refers to the metadata reproduction information and calculates the time on the stream that is the content according to the specified sample.

ステップS123において、コンテンツファイル再生制御部145は、計算したストリーム上の時刻から、コンテンツファイルに格納されているストリームの再生を開始させて、処理は終了する。表示制御部103は、画面上で指示された地図上の位置で撮影されたところから動画像をLCD39に表示させる。   In step S123, the content file playback control unit 145 starts playback of the stream stored in the content file from the calculated time on the stream, and the process ends. The display control unit 103 causes the LCD 39 to display a moving image from a location photographed at a position on the map instructed on the screen.

このように、簡単に、所望の位置で撮影された動画像を表示させることができる。   In this way, it is possible to easily display a moving image shot at a desired position.

図16は、図12のサムネイル画像が指示された場合に実行される、表示の処理の他の例を説明するフローチャートである。ステップS141乃至ステップS143のそれぞれは、図13のステップS101乃至ステップS103のそれぞれと同様なので、その説明は省略する。   FIG. 16 is a flowchart for explaining another example of the display process executed when the thumbnail image of FIG. 12 is designated. Since each of step S141 thru | or step S143 is the same as each of step S101 thru | or step S103 of FIG. 13, the description is abbreviate | omitted.

ステップS144において、検索部141は、検索されたファイルエントリで示される、プレイリストを格納するファイルであるプレイリストファイルを検索する。ステップS145において、コンテンツファイル再生制御部145は、検索されたプレイリストファイルを開く。ステップS146において、コンテンツファイル再生制御部145は、プレイリストに対応付けられている、画像管理情報を格納するファイルである画像管理情報ファイルを開く。ステップS147において、コンテンツファイル再生制御部145は、拡張子を除いて、画像管理情報ファイルの名称と同じ名称のストリームファイルを開く。   In step S144, the search unit 141 searches for a playlist file, which is a file storing a playlist, indicated by the searched file entry. In step S145, the content file playback control unit 145 opens the searched playlist file. In step S146, the content file playback control unit 145 opens an image management information file that is associated with the playlist and stores image management information. In step S147, the content file playback control unit 145 opens a stream file having the same name as the name of the image management information file except for the extension.

ステップS148乃至ステップS151のそれぞれは、図13のステップS105乃至ステップS108のそれぞれと同様なので、その説明は省略する。   Steps S148 to S151 are the same as steps S105 to S108 in FIG.

このように、コンテンツが、ストリーム、プレイリスト、および画像管理情報からなる場合であっても、メタデータであるGPSデータで示される位置を表す画像と地図とが重畳された画像を表示することができる。   As described above, even when the content is composed of a stream, a playlist, and image management information, it is possible to display an image in which an image representing a position indicated by GPS data that is metadata and a map are superimposed. it can.

次に、撮影している動画像のフレームのうち、所定の時間毎のフレームのJPEGデータであるタイムドメタデータを格納するタイムドメタデータファイルを利用した動画像であるコンテンツの再生の処理の例について説明する。   Next, among the frames of the moving image being shot, the process of reproducing the content that is a moving image using the timed metadata file that stores the timed metadata that is the JPEG data of the frame every predetermined time An example will be described.

図17は、図12のサムネイル画像が指示された場合に実行される、表示の処理のさらに他の例を説明するフローチャートである。ステップS171乃至ステップS176のそれぞれは、図13のステップS101乃至ステップS106のそれぞれと同様なので、その説明は省略する。   FIG. 17 is a flowchart for explaining still another example of the display process executed when the thumbnail image of FIG. 12 is designated. Steps S171 to S176 are the same as steps S101 to S106 in FIG.

ステップS177において、表示制御部103は、ストリームファイルに格納されているストリームによる画像をLCD39に表示させる。すなわち、コンテンツファイル再生制御部145は、ストリームファイルに格納されているストリームを再生し、表示制御部103は、再生されたストリームによる画像をLCD39に表示させる。   In step S177, the display control unit 103 causes the LCD 39 to display an image based on the stream stored in the stream file. That is, the content file playback control unit 145 plays back the stream stored in the stream file, and the display control unit 103 causes the LCD 39 to display an image based on the played back stream.

ステップS178において、表示制御部103は、ストリームの画像に、開いたタイムドメタデータファイルのサンプルのJPEGデータによる画像を重畳してLCD39に表示させ、処理は終了する。   In step S178, the display control unit 103 superimposes the image of the opened timed metadata file sample JPEG data on the stream image and causes the image to be displayed on the LCD 39, and the process ends.

すなわち、sample再生制御部151は、開いたタイムドメタデータファイルのサンプルに格納されている、動画像のフレームのうち、所定の時間毎のフレームのデータであるJPEGデータを読み出して、再生し、表示制御部103に供給する。表示制御部103は、JPEGデータによる画像を時系列に配列するとともに、ストリームの画像に重畳させて、LCD39に表示させる。   That is, the sample playback control unit 151 reads out and plays back JPEG data, which is frame data for each predetermined time among the frames of the moving image stored in the sample of the opened timed metadata file, This is supplied to the display control unit 103. The display control unit 103 arranges images based on JPEG data in time series, and superimposes the images on the stream to display them on the LCD 39.

例えば、表示制御部103は、GOPの間隔、1秒間隔、または5秒間隔など、所定の時間毎のフレームに相当するJPEGデータの画像をLCD39に表示させる。   For example, the display control unit 103 causes the LCD 39 to display an image of JPEG data corresponding to a frame every predetermined time, such as a GOP interval, a 1-second interval, or a 5-second interval.

図17のフローチャートで示される表示の処理が実行されると、例えば、図18で示されるように、メタデータであるJPEGデータで示される所定の時間毎のフレームの画像とストリームの画像とが重畳された画像がLCD39に表示されることになる。   When the display process shown in the flowchart of FIG. 17 is executed, for example, as shown in FIG. 18, a frame image and a stream image for each predetermined time indicated by JPEG data as metadata are superimposed. The displayed image is displayed on the LCD 39.

図18の右側に示される、LCD39に表示される画像の例において、その画像のうちの下に部分に配置される7つの画像は、メタデータであるJPEGデータで示される所定の時間毎のフレームの画像である。メタデータであるJPEGデータで示される所定の時間毎のフレームの画像は、いわゆるフィルムロールとして表示される。   In the example of the image displayed on the LCD 39 shown on the right side of FIG. 18, seven images arranged in the lower part of the image are frames at predetermined time intervals indicated by JPEG data as metadata. It is an image. An image of a frame every predetermined time indicated by JPEG data as metadata is displayed as a so-called film roll.

例えば、メタデータであるJPEGデータは、動画像のフレームのうち、GOPの間隔毎に、それぞれのGOPから1つ抽出されたフレームのデータが、JPEG方式で符号化されたものである。   For example, JPEG data, which is metadata, is obtained by encoding one frame of data extracted from each GOP at every GOP interval from among the frames of a moving image.

また、これに限らず、所望の間隔、例えば、1秒間隔のフレームのデータをJPEG方式で符号化して、メタデータであるJPEGデータを生成するようにしてもよい。さらに、動画像のフレームを、画素を間引きするなどして、画像のサイズを小さくしてから、JPEG方式で符号化して、メタデータであるJPEGデータを生成するようにしてもよい。   In addition, the present invention is not limited to this, and JPEG data that is metadata may be generated by encoding data of frames at a desired interval, for example, 1 second by the JPEG method. Furthermore, the frame of the moving image may be encoded by the JPEG method after reducing the size of the image by thinning out pixels or the like to generate JPEG data as metadata.

そして、JPEGデータで示される所定の時間毎のフレームの画像を指示することによって、動画像のストリームを、そのフレームから再生することができる。   Then, by instructing an image of a frame every predetermined time indicated by the JPEG data, a moving image stream can be reproduced from the frame.

図19は、ストリームの再生の処理の他の例を説明するフローチャートである。ステップS191において、タイムドメタデータファイル再生制御部146のsample特定部153は、LCD39に表示されている、JPEGデータで示される画像であって、所定の時間毎のフレームの画像を指示する使用者の操作に応じた操作部37からの信号を取得して、指示された画像を表示させるJPEGデータのサンプルを特定する。   FIG. 19 is a flowchart for explaining another example of stream reproduction processing. In step S191, the sample specifying unit 153 of the timed metadata file playback control unit 146 indicates an image displayed by the JPEG data displayed on the LCD 39 and indicating a frame image at every predetermined time. A signal from the operation unit 37 corresponding to the operation is acquired, and a sample of JPEG data for displaying the instructed image is specified.

例えば、GPSデータで示される位置を表す画像がLCD39に表示されると、sample特定部153は、JPEGデータで示される画像の位置であってLCD39の画面上の位置と、JPEGデータであるメタデータが格納されているサンプルを特定する番号との対応を示すテーブルを生成する。sample特定部153は、LCD39の上に設けられたタッチパネルである操作部37から、使用者に指示された画面上の位置を示す信号が供給されると、その信号で示される画面上の位置に対応するサンプルを特定する番号をテーブルから抽出することにより、指示された画像を表示させるJPEGデータのサンプルを特定する。   For example, when an image representing the position indicated by the GPS data is displayed on the LCD 39, the sample specifying unit 153 displays the position of the image indicated by the JPEG data on the screen of the LCD 39 and the metadata that is the JPEG data. A table indicating the correspondence with the number specifying the sample in which is stored is generated. When a signal indicating the position on the screen instructed by the user is supplied from the operation unit 37 which is a touch panel provided on the LCD 39, the sample specifying unit 153 is placed at the position on the screen indicated by the signal. By extracting the number for identifying the corresponding sample from the table, the sample of JPEG data for displaying the instructed image is identified.

ステップS192およびステップS193は、それぞれ、図15のステップS122およびステップS123のそれぞれと同様なので、その説明は省略する。   Since step S192 and step S193 are the same as step S122 and step S123 of FIG. 15, respectively, description thereof is omitted.

このように、所望のフレームから動画像を表示させることができる。   Thus, a moving image can be displayed from a desired frame.

次に、複数のタイムドメタデータファイルを利用して、複数のコンテンツのうちの、所望のコンテンツを再生する処理について説明する。   Next, processing for reproducing desired content among a plurality of contents using a plurality of timed metadata files will be described.

図20は、表示の処理のさらに他の例を説明するフローチャートである。ステップS201において、プロパティファイル再生制御部142は、プロパティファイルを開く。   FIG. 20 is a flowchart for explaining still another example of the display process. In step S201, the property file playback control unit 142 opens the property file.

ステップS202において、検索部141は、開いたプロパティファイルに含まれるファイルエントリを検索する。ステップS203において、再生制御部102は、検索されたファイルエントリに格納されている情報を基に、検索されたファイルエントリがストリームファイルを示すか否かを判定する。   In step S202, the search unit 141 searches for a file entry included in the opened property file. In step S203, the reproduction control unit 102 determines whether or not the searched file entry indicates a stream file based on information stored in the searched file entry.

ステップS203において、ファイルエントリがストリームファイルを示すと判定された場合、ストリームファイルに応じたタイムドメタデータファイルが記録されているので、ステップS204に進み、検索部141は、ファイルエントリで示されるストリームファイルを検索する。ステップS205において、検索部141は、拡張子を除いて、検索されたストリームファイルの名称と同じ名称のタイムドメタデータファイルを検索する。   If it is determined in step S203 that the file entry indicates a stream file, a timed metadata file corresponding to the stream file is recorded, and thus the process proceeds to step S204, where the search unit 141 displays the stream indicated by the file entry. Search for a file. In step S205, the search unit 141 searches for a timed metadata file having the same name as the name of the searched stream file, excluding the extension.

ステップS206において、タイムドメタデータファイル再生制御部146は、検索したタイムドメタデータファイルを開き、ステップS207に進む。   In step S206, the timed metadata file reproduction control unit 146 opens the searched timed metadata file, and proceeds to step S207.

一方、ステップS203において、ファイルエントリがストリームファイルを示していないと判定された場合、そのファイルエントリで示されるファイルは静止画像ファイルであり、静止画像ファイルに応じたタイムドメタデータファイルは記録されていないので、ステップS204乃至ステップS206はスキップされて、手続きは、ステップS207に進む。   On the other hand, if it is determined in step S203 that the file entry does not indicate a stream file, the file indicated by the file entry is a still image file, and a timed metadata file corresponding to the still image file is recorded. Since there is not, step S204 thru | or step S206 are skipped and a procedure progresses to step S207.

ステップS207において、サムネイルファイル再生制御部143は、ファイルエントリで示されるサムネイル画像を読み出す。すなわち、サムネイルファイル再生制御部143は、ファイルエントリで示されるサムネイルスロットに格納されているサムネイル画像の画像データを再生する。また、ステップS207において、メタデータファイル再生制御部144は、ファイルエントリで示される静的メタデータを読み出す。すなわち、メタデータファイル再生制御部144は、ファイルエントリで示されるメタデータスロットに格納されている静的メタデータを再生する。   In step S207, the thumbnail file playback control unit 143 reads the thumbnail image indicated by the file entry. That is, the thumbnail file reproduction control unit 143 reproduces the image data of the thumbnail image stored in the thumbnail slot indicated by the file entry. In step S207, the metadata file reproduction control unit 144 reads out static metadata indicated by the file entry. That is, the metadata file playback control unit 144 plays back the static metadata stored in the metadata slot indicated by the file entry.

ステップS208において、再生制御部102は、開いたプロパティファイルに含まれる全てのファイルエントリを検索したか否かを判定し、全てのファイルエントリを検索していないと判定された場合、ステップS202に戻り、次のファイルエントリについて、上述した処理を繰り返す。   In step S208, the playback control unit 102 determines whether all file entries included in the opened property file have been searched. If it is determined that all file entries have not been searched, the process returns to step S202. The above processing is repeated for the next file entry.

ステップS208において、全てのファイルエントリを検索したと判定された場合、ステップS209に進み、表示制御部103は、開かれたタイムドメタデータファイルのサンプルのGPSデータおよぴGPSデータである静的メタデータで示される範囲の地図をLCD39に表示させる。   If it is determined in step S208 that all the file entries have been searched, the process proceeds to step S209, and the display control unit 103 sets the sampled GPS data and GPS data of the opened timed metadata file as static. A map in the range indicated by the metadata is displayed on the LCD 39.

すなわち、タイムドメタデータファイル再生制御部146のsample再生制御部151は、開いたタイムドメタデータファイルのサンプルに格納されている、位置を示すメタデータであるGPSデータを読み出して、再生し、表示制御部103に供給する。また、メタデータファイル再生制御部144は、ステップS207で読み出された静的メタデータのうち、GPSデータである静的メタデータを表示制御部103に供給する。   That is, the sample playback control unit 151 of the timed metadata file playback control unit 146 reads out and plays back the GPS data that is the metadata indicating the position stored in the sample of the opened timed metadata file, This is supplied to the display control unit 103. Further, the metadata file reproduction control unit 144 supplies the display control unit 103 with static metadata that is GPS data among the static metadata read in step S207.

そして、表示制御部103は、再生制御部102から供給されたGPSデータで示される範囲の地図をLCD39に表示させる。   Then, the display control unit 103 causes the LCD 39 to display a map in the range indicated by the GPS data supplied from the reproduction control unit 102.

ステップS210において、表示制御部103は、GPSデータで示される位置を表す画像を地図の画像に重畳してLCD39に表示させる。すなわち、表示制御部103は、地図上のGPSデータで示される位置に、GPSデータで示される位置を表す画像を配置するように、GPSデータで示される位置を表す画像を地図の画像に重畳してLCD39に表示させる。   In step S210, the display control unit 103 causes the LCD 39 to display an image representing the position indicated by the GPS data on the map image. That is, the display control unit 103 superimposes the image representing the position indicated by the GPS data on the map image so that the image representing the position indicated by the GPS data is arranged at the position indicated by the GPS data on the map. Display on the LCD 39.

ステップS211において、表示制御部103は、地図上の、タイムドメタデータファイルのサンプルのGPSデータで示される位置に、サムネイル画像を重畳して表示させる。すなわち、サムネイルファイル再生制御部143は、サムネイルファイルからサムネイル画像の画像データを読み出して、表示制御部103に供給し、表示制御部103は、供給された画像データを基に、サムネイル画像を地図に重畳して表示させる。   In step S211, the display control unit 103 causes the thumbnail image to be superimposed and displayed at the position indicated by the sample GPS data of the timed metadata file on the map. That is, the thumbnail file playback control unit 143 reads out the image data of the thumbnail image from the thumbnail file and supplies it to the display control unit 103. The display control unit 103 uses the supplied image data as a map for the thumbnail image. Overlay and display.

この場合、地図上の位置を示しているGPSデータを格納するタイムドメタデータファイルの名称と同じ名称のコンテンツファイルに関係するサムネイルファイルからサムネイル画像が読み出される。   In this case, a thumbnail image is read from the thumbnail file related to the content file having the same name as the name of the timed metadata file that stores the GPS data indicating the position on the map.

すなわち、所定のコンテンツについて、地図上に位置が示されるとともに、そのサムネイル画像が表示されることになる。   That is, for a predetermined content, the position is shown on the map and the thumbnail image is displayed.

ステップS212において、表示制御部103は、地図上の、GPSデータである静的メタデータで示される位置に、サムネイル画像を重畳して表示させ、処理は終了する。   In step S212, the display control unit 103 causes the thumbnail image to be superimposed and displayed at the position indicated by the static metadata that is GPS data on the map, and the process ends.

この場合、地図上の位置を示しているGPSデータである静的メタデータを格納するメタデータファイルに関係するコンテンツファイルに関係するサムネイルファイルからサムネイル画像が読み出される。   In this case, a thumbnail image is read out from a thumbnail file related to a content file related to a metadata file that stores static metadata that is GPS data indicating a position on a map.

すなわち、この場合も、所定のコンテンツについて、地図上に位置が示されるとともに、そのサムネイル画像が表示されることになる。   That is, also in this case, the position of the predetermined content is shown on the map and the thumbnail image is displayed.

以上のように、例えば、図21で示されるように、静止画像または動画像である複数のコンテンツについて、地図上に位置が示されるとともに、そのサムネイル画像が表示される。   As described above, for example, as shown in FIG. 21, positions of a plurality of contents that are still images or moving images are displayed on the map and thumbnail images thereof are displayed.

図21に示される、LCD39に表示される画像の例において、右上がりの太線および水平の太線は、動画像の撮影とともに記録されたタイムドメタデータファイルのGPSデータで示される撮影の位置を表す画像であり、また、黒丸は、静止画像の撮影とともに記録されたGPSデータである静的メタデータで示される撮影の位置を表す画像である。   In the example of the image displayed on the LCD 39 shown in FIG. 21, the bold line that rises to the right and the horizontal thick line represent the shooting position indicated by the GPS data of the timed metadata file that is recorded together with the moving image. The black circle is an image representing a shooting position indicated by static metadata which is GPS data recorded together with the shooting of a still image.

図21に示される、LCD39に表示される画像の例において、星印または黒丸に付された四角は、動画像または静止画像の代表画像であるサムネイル画像を示し、特に星印に付された四角は、動画像が撮影された位置及び時刻における動画像のサムネイル画像を示す。例えば、太線の途中の星印は、対応する動画像のコンテンツのリジュームポイント、つまり前回再生し停止した動画像上の位置を表す。リジュームポイントは、位置情報として、対応するファイルエントリに格納されている。   In the example of the image displayed on the LCD 39 shown in FIG. 21, a square attached to a star mark or a black circle represents a thumbnail image that is a representative image of a moving image or a still image, and in particular, a square attached to the star mark. Indicates a thumbnail image of the moving image at the position and time at which the moving image was captured. For example, an asterisk in the middle of a thick line represents a resume point of the corresponding moving image content, that is, a position on the moving image that has been played and stopped last time. The resume point is stored in the corresponding file entry as position information.

そして、地図上に表示された位置を指示することによって、動画像のストリームを、その位置で記録されたところから再生することができる。また、サムネイル画像を指示することによって、動画像を再生するか、または静止画像を再生することができる。   By instructing the position displayed on the map, the moving image stream can be reproduced from the position recorded at the position. In addition, by instructing a thumbnail image, a moving image can be reproduced or a still image can be reproduced.

図22は、地図上に表示された位置が指示されるか、またはサムネイル画像が指示されると実行される、ストリームの再生または静止画像の表示の処理を説明するフローチャートである。ステップS231において、再生制御部102は、サムネイル画像が指示されたか否かを判定し、サムネイル画像が指示されていないと判定された場合、ステップS232に進み、位置を示す画像が指示されたか否かを判定する。   FIG. 22 is a flowchart for explaining a stream reproduction process or a still image display process that is executed when a position displayed on a map is designated or a thumbnail image is designated. In step S231, the playback control unit 102 determines whether or not a thumbnail image has been instructed. If it is determined that a thumbnail image has not been instructed, the process proceeds to step S232, and whether or not an image indicating a position has been instructed. Determine.

ステップS232において、位置を示す画像が指示されたと判定された場合、ステップS233に進み、再生制御部102は、タイムドメタデータファイルのサンプルのGPSデータで示される位置を示す画像が指示されたか否かを判定する。ステップS233において、タイムドメタデータファイルのサンプルのGPSデータで示される位置を示す画像が指示されたと判定された場合、ステップS234に進み、検索部141は、指示された画像の位置を示すGPSデータのサンプルを格納するタイムドメタデータファイルの名称と同じ名称のストリームファイルを検索する。   If it is determined in step S232 that an image indicating a position has been instructed, the process proceeds to step S233, and the reproduction control unit 102 determines whether an image indicating the position indicated by the GPS data of the sample of the timed metadata file has been instructed. Determine whether. If it is determined in step S233 that an image indicating the position indicated by the GPS data of the sample of the timed metadata file has been specified, the process proceeds to step S234, and the search unit 141 includes the GPS data indicating the position of the specified image. A stream file having the same name as the name of the timed metadata file that stores the sample is searched.

ステップS235において、コンテンツファイル再生制御部145は、検索されたストリームファイルを開く。ステップS236において、タイムドメタデータファイル再生制御部146のsample特定部153は、ステップS121と同様の処理で、位置を指示する使用者の操作に応じた操作部37からの信号を基に、指示された画像の位置を示すGPSデータのサンプルを特定する。   In step S235, the content file playback control unit 145 opens the searched stream file. In step S236, the sample specifying unit 153 of the timed metadata file reproduction control unit 146 performs an instruction based on a signal from the operation unit 37 in accordance with a user operation indicating a position in the same process as in step S121. A sample of GPS data indicating the location of the captured image is identified.

ステップS237において、タイムドメタデータファイル再生制御部146の時刻計算部154は、ステップS122と同様の処理で、特定されたサンプルに応じた、ストリーム上の時刻を計算する。   In step S237, the time calculation unit 154 of the timed metadata file reproduction control unit 146 calculates the time on the stream according to the specified sample by the same process as in step S122.

ステップS238において、コンテンツファイル再生制御部145は、計算したストリーム上の時刻から、コンテンツファイルに格納されているストリームの再生を開始させて、処理は終了する。表示制御部103は、画面上で指示された地図上の位置で撮影されたところから動画像をLCD39に表示させる。   In step S238, the content file playback control unit 145 starts playback of the stream stored in the content file from the calculated time on the stream, and the process ends. The display control unit 103 causes the LCD 39 to display a moving image from a location photographed at a position on the map instructed on the screen.

また、ステップS233において、タイムドメタデータファイルのサンプルのGPSデータで示される位置を示す画像が指示されていないと判定された場合、GPSデータである静的メタデータで示される位置を示す画像が指示されたので、ステップS239に進み、検索部141は、プロパティファイルから、指示された画像の位置を示す静的メタデータを格納するメタデータスロットを示すファイルエントリを検索する。   In step S233, if it is determined that an image indicating the position indicated by the GPS data of the sample of the timed metadata file is not indicated, an image indicating the position indicated by the static metadata that is GPS data is obtained. In step S239, the search unit 141 searches the property file for a file entry indicating a metadata slot that stores static metadata indicating the position of the specified image.

ステップS240において、検索部141は、検索されたファイルエントリで示されるコンテンツファイルであって、静止画像の画像データを格納する静止画像ファイルを検索する。ステップS241において、コンテンツファイル再生制御部145は、検索されたコンテンツファイルである静止画像ファイルを開いて、格納されている静止画像の画像データを再生する。コンテンツファイル再生制御部145は、再生した画像データを表示制御部103に供給する。   In step S240, the search unit 141 searches for a still image file that stores the image data of the still image that is the content file indicated by the searched file entry. In step S241, the content file playback control unit 145 opens the still image file that is the searched content file, and plays back the stored still image image data. The content file reproduction control unit 145 supplies the reproduced image data to the display control unit 103.

ステップS242において、表示制御部103は、LCD39に静止画像を表示させて、処理は終了する。   In step S242, the display control unit 103 displays a still image on the LCD 39, and the process ends.

一方、ステップS231において、サムネイル画像が指示されたと判定された場合、ステップS243に進み、検索部141は、プロパティファイルから、指示されたサムネイル画像の画像データを格納するサムネイルスロットを示すファイルエントリを検索する。   On the other hand, if it is determined in step S231 that a thumbnail image has been specified, the process proceeds to step S243, and the search unit 141 searches the property file for a file entry indicating a thumbnail slot for storing the image data of the specified thumbnail image. To do.

ステップS244において、検索部141は、検索されたファイルエントリで示されるコンテンツファイルであって、静止画像の画像データまたは動画像のストリームを格納するコンテンツファイル、すなわち、ストリームファイルまたは静止画像ファイルを検索する。ステップS245において、コンテンツファイル再生制御部145は、検索されたコンテンツファイルを開いて、格納されている静止画像の画像データを再生するか、または格納されているストリームである動画像の画像データを再生する。コンテンツファイル再生制御部145は、再生した画像データを表示制御部103に供給する。   In step S244, the search unit 141 searches for a content file indicated by the searched file entry and storing a content file storing still image data or a moving image stream, that is, a stream file or a still image file. . In step S245, the content file playback control unit 145 opens the searched content file and plays back the stored still image data or plays back the stored moving image data. To do. The content file reproduction control unit 145 supplies the reproduced image data to the display control unit 103.

ステップS242において、表示制御部103は、LCD39に静止画像または動画像を表示させて、処理は終了する。   In step S242, the display control unit 103 displays a still image or a moving image on the LCD 39, and the process ends.

ステップS232において、位置を示す画像が指示されていないと判定された場合、サムネイル画像も位置を示す画像も指示されていないので、そのまま処理は終了する。   If it is determined in step S232 that the image indicating the position is not instructed, neither the thumbnail image nor the image indicating the position is instructed, and thus the process ends.

このように、地図上に表示された位置が指示されると、動画像のストリームが、その位置で記録されたところから再生されるか、または、サムネイル画像が指示されると、動画像若しくは静止画像が再生される。   In this way, when the position displayed on the map is instructed, the moving image stream is reproduced from the position recorded at that position, or when the thumbnail image is instructed, the moving image or the still image is displayed. The image is played back.

以上のように、動画像、静止画像という異なるコンテンツ形態におけるメタデータの活用でも、コンテンツ管理ファイルでの一元管理による制御によって、より迅速に、所望のコンテンツを再生できるようになる。また、簡単な操作で、より迅速に、所望のコンテンツを所望の時点から再生できるようになる。   As described above, even in the use of metadata in different content forms such as moving images and still images, desired content can be reproduced more quickly by the control by the unified management in the content management file. In addition, it is possible to reproduce desired content from a desired time point more quickly with a simple operation.

このように、メタデータを所定の構造のファイルに格納するようにした場合には、メタデータを記録することができる。また、動的コンテンツに関係する動的メタデータを第1の構造で格納した第1のファイルの、動的コンテンツ毎の記録を制御し、動的コンテンツまたは静的コンテンツに関係する静的メタデータを第2の構造で格納した第2のファイルの記録を制御するようにした場合には、コンテンツの種別によらず、より迅速にメタデータを使用することができるようにメタデータを記録することができる。   As described above, when the metadata is stored in a file having a predetermined structure, the metadata can be recorded. In addition, it controls the recording for each dynamic content of the first file storing the dynamic metadata related to the dynamic content in the first structure, and static metadata related to the dynamic content or the static content. When the recording of the second file stored in the second structure is controlled, the metadata is recorded so that the metadata can be used more quickly regardless of the type of content. Can do.

さらに、所定の構造のファイルとして記録されているメタデータを再生するようにした場合には、メタデータを使用することができる。また、動的コンテンツに関係する動的メタデータであって、動的コンテンツ毎の第1のファイルに第1の構造で格納されている動的メタデータの再生を制御し、動的コンテンツまたは静的コンテンツに関係する静的メタデータであって、第2のファイルに第2の構造で格納されている静的メタデータの再生を制御するようにした場合には、コンテンツの種別によらず、より迅速にメタデータを使用することができる。   Furthermore, when the metadata recorded as a file having a predetermined structure is reproduced, the metadata can be used. In addition, the dynamic metadata related to the dynamic content, which controls the reproduction of the dynamic metadata stored in the first structure for each dynamic content in the first structure, If the reproduction of static metadata related to the target content and stored in the second file with the second structure is controlled, regardless of the type of content, Metadata can be used more quickly.

なお、記録媒体35をDVDプレーヤまたはテレビジョン受像機などの据え置き式の機器に装着し、これらの機器が、メタデータの検索の処理、表示の処理、ストリームの再生の処理、ストリームの再生または静止画像の表示の処理を実行するようにしてもよい。   The recording medium 35 is mounted on a stationary device such as a DVD player or a television receiver, and these devices perform metadata search processing, display processing, stream playback processing, stream playback or stillness. Image display processing may be executed.

また、静止画像のコンテンツは、EXIF方式のファイルに格納するようにしてもよい。この場合、メタデータは、さらにAPP1のIFD領域に記録される。コンテンツを再生するコンテンツを再生する機器は、コンテンツ管理ファイルまたはEXIF方式のファイルのいずれかのメタデータを用いることができる。   Still image content may be stored in an EXIF file. In this case, the metadata is further recorded in the IFD area of APP1. A device that plays back content can use metadata of either a content management file or an EXIF file.

なお、コンテンツは、動画像または静止画像に限らず、音声またはデータなど、使用者にとって有用なものであればよい。   The content is not limited to a moving image or a still image, but may be anything useful for the user, such as sound or data.

また、本発明は、デジタルカメラに限らず、パーソナルコンピュータ、携帯電話機、携帯型レコーダ、または携帯型プレーヤなど、コンテンツを記録するか、またはコンテンツを再生する機器に適用することができる。   The present invention is not limited to a digital camera, and can be applied to a device that records content or reproduces content, such as a personal computer, a mobile phone, a portable recorder, or a portable player.

上述した一連の処理は、ハードウエアにより実行させることもできるし、ソフトウエアにより実行させることもできる。一連の処理をソフトウエアにより実行させる場合には、そのソフトウエアを構成するプログラムが、専用のハードウエアに組み込まれているコンピュータ、または、各種のプログラムをインストールすることで、各種の機能を実行することが可能な、例えば汎用のパーソナルコンピュータなどに、プログラム記録媒体からインストールされる。   The series of processes described above can be executed by hardware or can be executed by software. When a series of processing is executed by software, a program constituting the software executes various functions by installing a computer incorporated in dedicated hardware or various programs. For example, it is installed from a program recording medium in a general-purpose personal computer or the like.

コンピュータにインストールされ、コンピュータによって実行可能な状態とされるプログラムを格納するプログラム記録媒体は、図1に示すように、磁気ディスク(フレキシブルディスクを含む)、光ディスク(CD-ROM(Compact Disc-Read Only Memory),DVD(Digital Versatile Disc)を含む)、光磁気ディスクを含む)、もしくは半導体メモリなどよりなるパッケージメディアである記録媒体35、または、プログラムが一時的もしくは永続的に格納されるフラッシュROM83や、図示せぬハードディスクなどにより構成される。プログラム記録媒体へのプログラムの格納は、必要に応じてルータ、モデムなどのインタフェースである通信I/F41を介して、ローカルエリアネットワーク、インターネット、デジタル衛星放送といった、有線または無線の通信媒体を利用して行われる。   As shown in FIG. 1, a program recording medium for storing a program that is installed in a computer and can be executed by the computer is a magnetic disk (including a flexible disk), an optical disk (CD-ROM (Compact Disc-Read Only). Memory), DVD (Digital Versatile Disc) (including magneto-optical disk), or a recording medium 35 that is a package medium made of semiconductor memory, or a flash ROM 83 in which a program is temporarily or permanently stored The hard disk is not shown. The program is stored in the program recording medium using a wired or wireless communication medium such as a local area network, the Internet, or digital satellite broadcasting via a communication I / F 41 that is an interface such as a router or a modem as necessary. Done.

なお、本明細書において、プログラム記録媒体に格納されるプログラムを記述するステップは、記載された順序に沿って時系列的に行われる処理はもちろん、必ずしも時系列的に処理されなくとも、並列的あるいは個別に実行される処理をも含むものである。   In the present specification, the step of describing the program stored in the program recording medium is not limited to the processing performed in time series in the described order, but is not necessarily performed in time series. Or the process performed separately is also included.

なお、本発明の実施の形態は、上述した実施の形態に限定されるものではなく、本発明の要旨を逸脱しない範囲において種々の変更が可能である。   The embodiment of the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the gist of the present invention.

本発明の一実施の形態のデジタルカメラの構成を示すブロック図である。It is a block diagram which shows the structure of the digital camera of one embodiment of this invention. 記録媒体におけるディレクトリの構造と、記録媒体に記録されるファイルとを説明する図である。It is a figure explaining the structure of the directory in a recording medium, and the file recorded on a recording medium. プログラムを実行するCPUにより実現される機能を示すブロック図である。It is a block diagram which shows the function implement | achieved by CPU which performs a program. コンテンツ管理ファイルを説明する図である。It is a figure explaining a content management file. 複数のプロパティスロットに格納される1つのファイルエントリ、および複数のメタデータスロットに格納される、1つのコンテンツに対するメタデータの例を示す図である。It is a figure which shows the example of the metadata with respect to one content stored in several metadata slot and one file entry stored in several property slots. タイムドメタデータファイルを説明する図である。It is a figure explaining a timed metadata file. タイムドメタデータファイルを説明する図である。It is a figure explaining a timed metadata file. 動画像および静的メタデータの記録の処理を説明するフローチャートである。It is a flowchart explaining the recording process of a moving image and static metadata. タイムドメタデータファイルの記録の処理を説明するフローチャートである。It is a flowchart explaining the process of recording a timed metadata file. 静止画像および静的メタデータの記録の処理を説明するフローチャートである。It is a flowchart explaining the recording process of a still image and static metadata. メタデータの検索の処理を説明するフローチャートである。It is a flowchart explaining the search process of metadata. LCDに表示されるサムネイル画像の例を示す図である。It is a figure which shows the example of the thumbnail image displayed on LCD. 表示の処理の例を説明するフローチャートである。It is a flowchart explaining the example of a process of a display. LCDに表示される画像と動画像のストリームの再生とを説明する図である。It is a figure explaining the reproduction | regeneration of the image displayed on LCD, and the stream of a moving image. ストリームの再生の処理の例を説明するフローチャートである。It is a flowchart explaining the example of the process of reproduction | regeneration of a stream. 表示の処理の他の例を説明するフローチャートである。It is a flowchart explaining the other example of the process of a display. 表示の処理のさらに他の例を説明するフローチャートである。It is a flowchart explaining the further another example of the process of a display. LCDに表示される画像と動画像のストリームの再生とを説明する図である。It is a figure explaining the reproduction | regeneration of the image displayed on LCD, and the stream of a moving image. ストリームの再生の処理の例を説明するフローチャートである。It is a flowchart explaining the example of the process of reproduction | regeneration of a stream. 表示の処理のさらに他の例を説明するフローチャートである。It is a flowchart explaining the further another example of the process of a display. LCDに表示される画像を説明する図である。It is a figure explaining the image displayed on LCD. ストリームの再生または静止画像の表示の処理を説明するフローチャートである。It is a flowchart explaining the process of the reproduction | regeneration of a stream, or the display of a still image.

符号の説明Explanation of symbols

11 デジタルカメラ, 35 記録媒体, 36 制御部, 39 LCD, 42 GPS信号受信部, 81 CPU, 82 RAM, 83 フラッシュROM, 101 記録制御部, 102 再生制御部, 103 表示制御部, 111 プロパティファイル記録制御部, 112 サムネイルファイル記録制御部, 113 メタデータファイル記録制御部, 114 コンテンツファイル記録制御部, 115 タイムドメタデータファイル記録制御部, 121 タイムドメタデータファイル生成部, 131 sample生成部, 132 moviebox生成部, 141 検索部, 142 プロパティファイル再生制御部, 143 サムネイルファイル再生制御部, 144 メタデータファイル再生制御部, 145 コンテンツファイル再生制御部, 146 タイムドメタデータファイル再生制御部, 151 sample再生制御部, 152 moviebox再生制御部, 153 sample特定部, 154 時刻計算部   11 digital camera, 35 recording medium, 36 control unit, 39 LCD, 42 GPS signal receiving unit, 81 CPU, 82 RAM, 83 flash ROM, 101 recording control unit, 102 playback control unit, 103 display control unit, 111 property file recording Control unit, 112 thumbnail file recording control unit, 113 metadata file recording control unit, 114 content file recording control unit, 115 timed metadata file recording control unit, 121 timed metadata file generation unit, 131 sample generation unit, 132 moviebox generation unit, 141 search unit, 142 property file playback control unit, 143 thumbnail file playback control unit, 144 metadata file playback control unit, 145 content file playback control unit, 146 timed meta Data file playback control unit, 151 sample playback control unit, 152 moviebox playback control unit, 153 sample specifying unit, 154 time calculation unit

Claims (16)

動的コンテンツに関係する動的メタデータを前記動的コンテンツ毎に所定の構造で格納した動的メタファイルを第2のディレクトリに記録させるように制御する第1の記録制御手段と、
前記動的コンテンツまたは静的コンテンツに関係する静的メタデータを前記所定の構造と同じ構造1つのファイルに格納した静的メタファイルを第1のディレクトリに記録させるように制御する第2の記録制御手段と
を備える記録装置。
First recording control means for controlling dynamic metadata related to dynamic content to be recorded in a second directory, a dynamic metafile storing dynamic metadata related to the dynamic content in a predetermined structure;
Second recording for controlling to record in the first directory a static metafile in which static metadata related to the dynamic content or static content is stored in one file with the same structure as the predetermined structure And a recording device.
前記第1のディレクトリは、前記第2のディレクトリより上位階層にある
請求項1に記載の記録装置。
The recording apparatus according to claim 1, wherein the first directory is in a higher hierarchy than the second directory .
前記動的メタファイルは、前記動的メタデータを再生するための情報として、前記動的メタデータの時間またはランダムアクセス情報を含む
請求項2に記載の記録装置。
The recording apparatus according to claim 2, wherein the dynamic metafile includes time or random access information of the dynamic metadata as information for reproducing the dynamic metadata.
前記動的コンテンツまたは前記静的コンテンツ毎の管理情報を格納する管理ファイルの記録を制御する第3の記録制御手段を備え、
前記第3の記録制御手段は、前記管理情報として、前記動的コンテンツまたは前記静的コンテンツへのリンクを示す第1のリンク情報と、前記動的コンテンツまたは前記静的コンテンツに関係する前記静的メタデータへのリンクを示す第2のリンク情報とを格納する前記管理ファイルの前記第1のディレクトリ下への記録を制御する
請求項に記載の記録装置。
A third recording control means for controlling recording of a management file storing management information for each of the dynamic content or the static content;
The third recording control means includes, as the management information, first link information indicating a link to the dynamic content or the static content, and the static related to the dynamic content or the static content. The recording apparatus according to claim 3 , wherein recording of the management file storing second link information indicating a link to metadata is controlled under the first directory.
前記第1の記録制御手段は、格納した前記動的メタデータに関係する前記動的コンテンツを再生させるためのコンテンツファイルの名称と、拡張子を除き同じ名称の前記動的メタファイルの記録を制御する
請求項に記載の記録装置。
The first recording control means controls the recording of the dynamic metafile having the same name except for the name of the content file for reproducing the dynamic content related to the stored dynamic metadata and the extension. The recording apparatus according to claim 4 .
前記第1のディレクトリ下のファイルおよびディレクトリに関する表示が禁止される
請求項に記載の記録装置。
The recording apparatus according to claim 5 , wherein display relating to files and directories under the first directory is prohibited.
動的コンテンツに関係する動的メタデータを前記動的コンテンツ毎に所定の構造で格納した動的メタファイルを第2のディレクトリに記録させるように制御し、
前記動的コンテンツまたは静的コンテンツに関係する静的メタデータを前記所定の構造と同じ構造1つのファイルに格納した静的メタファイルを第1のディレクトリに記録させるように制御する
ステップを含む記録方法。
Controlling dynamic metadata related to dynamic content to be recorded in the second directory, a dynamic metafile storing a dynamic metadata for each dynamic content in a predetermined structure;
Recording including controlling to record in a first directory a static metafile in which static content related to the dynamic content or static content is stored in one file with the same structure as the predetermined structure Method.
動的コンテンツに関係する動的メタデータを前記動的コンテンツ毎に所定の構造で格納した動的メタファイルを第2のディレクトリに記録させるように制御し、
前記動的コンテンツまたは静的コンテンツに関係する静的メタデータを前記所定の構造と同じ構造1つのファイルに格納した静的メタファイルを第1のディレクトリに記録させるように制御する
ステップをコンピュータに実行させるプログラム。
Controlling dynamic metadata related to dynamic content to be recorded in the second directory, a dynamic metafile storing a dynamic metadata for each dynamic content in a predetermined structure;
A step of controlling the computer to record in the first directory a static metafile in which static content related to the dynamic content or static content is stored in one file in the same structure as the predetermined structure The program to be executed.
動的コンテンツに関係する動的メタデータであって、前記動的コンテンツ毎の動的メタファイルに所定の構造で第2のディレクトリに格納されている動的メタデータの再生を制御する第1の再生制御手段と、
前記動的コンテンツまたは静的コンテンツに関係する静的メタデータであって、静的メタファイルに前記所定の構造と同じ構造により1つのファイル第1のディレクトリに格納されている静的メタデータの再生を制御する第2の再生制御手段と
を備える再生装置。
First, which controls dynamic metadata related to dynamic content, the dynamic metadata stored in the second directory having a predetermined structure in the dynamic metafile for each dynamic content. Playback control means;
Static metadata related to the dynamic content or the static content, the static metadata stored in the first directory in a single file with the same structure as the predetermined structure in the static metafile And a second reproduction control means for controlling reproduction.
前記第1のディレクトリは、前記第2のディレクトリより上位階層にある
請求項に記載の再生装置。
The playback device according to claim 9 , wherein the first directory is in a higher hierarchy than the second directory .
前記動的メタファイルは、前記動的メタデータを再生するための情報として、前記動的メタデータの時間またはランダムアクセス情報を含む
請求項10に記載の再生装置。
The playback device according to claim 10 , wherein the dynamic metafile includes time or random access information of the dynamic metadata as information for playing back the dynamic metadata.
前記動的コンテンツまたは前記静的コンテンツ毎の管理情報であって、管理ファイルに格納されている管理情報の再生を制御する第3の再生制御手段を備え、
前記第3の再生制御手段は、前記管理情報として前記第1のディレクトリ下の前記管理ファイルに格納されている、前記動的コンテンツまたは前記静的コンテンツへのリンクを示す第1のリンク情報と、前記動的コンテンツまたは前記静的コンテンツに関係する前記静的メタデータへのリンクを示す第2のリンク情報との再生を制御する
請求項11に記載の再生装置。
A third reproduction control means for controlling reproduction of the management information stored in the management file, which is management information for each of the dynamic contents or the static contents;
The third reproduction control means includes first link information indicating a link to the dynamic content or the static content stored in the management file under the first directory as the management information; The playback apparatus according to claim 11 , wherein playback with second link information indicating a link to the static metadata related to the dynamic content or the static content is controlled.
前記第1の再生制御手段は、前記動的コンテンツを再生させるためのコンテンツファイルの名称と、拡張子を除き同じ名称の前記動的メタファイルに格納されている、前記動的コンテンツに関係する前記動的メタデータの再生を制御する
請求項12に記載の再生装置。
The first reproduction control means relates to the dynamic content stored in the dynamic metafile having the same name as the name of the content file for reproducing the dynamic content and the extension. The playback device according to claim 12 , wherein playback of dynamic metadata is controlled.
前記第1のディレクトリ下のファイルおよびディレクトリに関する表示が禁止される
請求項13に記載の再生装置。
The playback device according to claim 13 , wherein display relating to files and directories under the first directory is prohibited.
動的コンテンツに関係する動的メタデータであって、前記動的コンテンツ毎の動的メタファイルに所定の構造で第2のディレクトリに格納されている動的メタデータの再生を制御し、
前記動的コンテンツまたは静的コンテンツに関係する静的メタデータであって、静的メタファイルに前記所定の構造と同じ構造により1つのファイル第1のディレクトリに格納されている静的メタデータの再生を制御する
ステップを含む再生方法。
Dynamic metadata related to dynamic content, controlling the reproduction of dynamic metadata stored in the second directory in a predetermined structure in the dynamic metafile for each dynamic content;
Static metadata related to the dynamic content or the static content, the static metadata stored in the first directory in a single file with the same structure as the predetermined structure in the static metafile A playback method including a step of controlling playback.
動的コンテンツに関係する動的メタデータであって、前記動的コンテンツ毎の動的メタファイルに所定の構造で第2のディレクトリに格納されている動的メタデータの再生を制御し、
前記動的コンテンツまたは静的コンテンツに関係する静的メタデータであって、静的メタファイルに前記所定の構造と同じ構造により1つのファイル第1のディレクトリに格納されている静的メタデータの再生を制御する
ステップをコンピュータに実行させるプログラム。
Dynamic metadata related to dynamic content, controlling the reproduction of dynamic metadata stored in the second directory in a predetermined structure in the dynamic metafile for each dynamic content;
Static metadata related to the dynamic content or the static content, the static metadata stored in the first directory in a single file with the same structure as the predetermined structure in the static metafile A program that causes a computer to execute steps that control playback.
JP2006180102A 2006-06-29 2006-06-29 Recording apparatus and method, reproducing apparatus and method, and program Expired - Fee Related JP4821462B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006180102A JP4821462B2 (en) 2006-06-29 2006-06-29 Recording apparatus and method, reproducing apparatus and method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006180102A JP4821462B2 (en) 2006-06-29 2006-06-29 Recording apparatus and method, reproducing apparatus and method, and program

Publications (2)

Publication Number Publication Date
JP2008011235A JP2008011235A (en) 2008-01-17
JP4821462B2 true JP4821462B2 (en) 2011-11-24

Family

ID=39069029

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006180102A Expired - Fee Related JP4821462B2 (en) 2006-06-29 2006-06-29 Recording apparatus and method, reproducing apparatus and method, and program

Country Status (1)

Country Link
JP (1) JP4821462B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101711009B1 (en) 2010-08-26 2017-03-02 삼성전자주식회사 Apparatus to store image, apparatus to play image, method to store image, method to play image, recording medium, and camera
CN105528344B (en) 2014-09-28 2018-12-21 阿里巴巴集团控股有限公司 Determine the method and device that the affiliated media information of data is read in storage equipment
JP7214538B2 (en) 2019-03-29 2023-01-30 キヤノン株式会社 Imaging device and recording control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004363825A (en) * 2003-06-03 2004-12-24 Canon Inc Recording and reproducing device, recording and reproducing method, and recording medium and program therefor
JP4179262B2 (en) * 2004-10-06 2008-11-12 ソニー株式会社 Information processing apparatus and method, and program

Also Published As

Publication number Publication date
JP2008011235A (en) 2008-01-17

Similar Documents

Publication Publication Date Title
JP4293209B2 (en) Recording apparatus and method, imaging apparatus, reproducing apparatus and method, and program
JP4168837B2 (en) Information generating apparatus, recording apparatus, reproducing apparatus, recording / reproducing system, method thereof, and program
JP4912494B2 (en) Data recording system, data recording method, and data recording program
JP4656454B2 (en) Recording apparatus and method, reproducing apparatus and method, and program
JP2007082088A (en) Contents and meta data recording and reproducing device and contents processing device and program
KR20070082027A (en) Search apparatus and method, and program
JP5292399B2 (en) Content editing device
JP4937592B2 (en) Electronics
JP2007052626A (en) Metadata input device and content processor
JP4821462B2 (en) Recording apparatus and method, reproducing apparatus and method, and program
JP5369595B2 (en) Image processing apparatus, image processing method, imaging apparatus, and computer program
JP5990055B2 (en) Imaging apparatus and control method thereof
JP2007174503A (en) Music image reproducer, and method for managing music image information
JP4798215B2 (en) Electronics
JP2007281727A (en) Recording device and recording method
JP2006101155A (en) Image recording/reproducing device
JP2005135554A (en) Reproducing device and method
JP2014204235A (en) Content recording and reproducing device, content management method and program
JP2010015640A (en) Information processing apparatus, information processing method, and program
JP2007065897A (en) Imaging apparatus and its control method
JP2005005764A (en) Imaging apparatus
JP2006229822A (en) Image processor
JP2015035753A (en) Image processing device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20090608

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20101129

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101202

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110720

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110822

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

Free format text: PAYMENT UNTIL: 20140916

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees