[go: up one dir, main page]

JP2008113111A - Recording device - Google Patents

Recording device Download PDF

Info

Publication number
JP2008113111A
JP2008113111A JP2006293584A JP2006293584A JP2008113111A JP 2008113111 A JP2008113111 A JP 2008113111A JP 2006293584 A JP2006293584 A JP 2006293584A JP 2006293584 A JP2006293584 A JP 2006293584A JP 2008113111 A JP2008113111 A JP 2008113111A
Authority
JP
Japan
Prior art keywords
file
scene
moving image
recording
image file
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.)
Withdrawn
Application number
JP2006293584A
Other languages
Japanese (ja)
Inventor
Masamine Maeda
昌峰 前田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2006293584A priority Critical patent/JP2008113111A/en
Publication of JP2008113111A publication Critical patent/JP2008113111A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)

Abstract

【課題】
映像ストリームのファイル名をとびとびにする。
【解決手段】
最新記録シーンの管理情報を読込み、ファイル番号nを検出する(S3)。最新記録シーンの記録時間t(min)を検出する(S4)。次に記録するシーンのファイル名のファイル番号N(=t+n+1)をセットする(S5)。ファイル番号Nを含むファイル名で次のシーンを記録し(S6〜S9)、同じファイル番号を含むオブジェクト情報ファイルを作成する(S10)。
【選択図】 図3
【Task】
The file name of the video stream is skipped.
[Solution]
The management information of the latest recorded scene is read and the file number n is detected (S3). The recording time t (min) of the latest recording scene is detected (S4). Next, the file number N (= t + n + 1) of the file name of the scene to be recorded is set (S5). The next scene is recorded with a file name including the file number N (S6 to S9), and an object information file including the same file number is created (S10).
[Selection] Figure 3

Description

本発明は、シーン毎に映像をファイル化して記録する装置に関する。   The present invention relates to an apparatus for recording video as a file for each scene.

近年、デジタルビデオカメラでは、磁気テープを映像記録媒体として用いる物に加え、ランダムアクセスが可能な記録媒体、例えば、不揮発性メモリを使用するメモリカード、ハードディスク装置又は光ディスク等を使用する製品が実用化されている。ランダムアクセスが可能であると、記録映像をその記録位置に関わらず、瞬時に頭出し可能である。また、先に記録した映像に上書き記録してしまうことを防止する措置が、ファイル管理上に用意されている。   In recent years, in digital video cameras, products that use magnetic tape as a video recording medium, as well as recording media that can be accessed randomly, such as a memory card using a non-volatile memory, a hard disk device, or an optical disk, have been put into practical use. Has been. If random access is possible, it is possible to find the recorded video instantly regardless of the recording position. In addition, a measure for preventing overwriting on the previously recorded video is provided in the file management.

また、記録の際、事後に、コンテンツの編集が容易になるように、動画データをシーン毎に独立したストリームファイルとして記録媒体に記録することが提案されている(例えば、特許文献1参照)。記録映像は、撮影後に、パーソナルコンピュータ、DVD(Digital Versatile Disk)記録機能付きの映像記録再生装置等に転送され、編集の後に、長期の保存に適したDVDなどに記録されるのが、一般的である。   In addition, it has been proposed to record moving image data on a recording medium as an independent stream file for each scene so that the content can be easily edited after recording (for example, see Patent Document 1). The recorded video is generally transferred to a personal computer, a video recording / reproducing apparatus with a DVD (Digital Versatile Disk) recording function, etc. after shooting, and recorded on a DVD suitable for long-term storage after editing. It is.

メモリカードを記録媒体とする場合の記録フォーマットとして、図9に示すようなSD−Videoフォーマットが知られている。ユーザが1シーンを撮影するごとに、映像ストリームファイルとオブジェクト情報ファイルが記録される。映像ストリームファイルの拡張子はMODであり、オブジェクト情報ファイルの拡張子はMOIである。映像ストリームファイルのファイル名は、例えば、MOVxxx.MODとなり、オブジェクト情報ファイルのファイル名はMOVxxx.MOIファイルとなり、「xxx」の3桁部分に一連の16進数のシリアル番号が割り当てられる。   An SD-Video format as shown in FIG. 9 is known as a recording format when a memory card is used as a recording medium. Each time a user shoots one scene, a video stream file and an object information file are recorded. The extension of the video stream file is MOD, and the extension of the object information file is MOI. The file name of the video stream file is, for example, MOVxxx. MOD, and the file name of the object information file is MOVxxx. It becomes a MOI file, and a series of hexadecimal serial numbers are assigned to the three-digit portion of “xxx”.

図9では、メモリカードの記録領域のルートディレクトリの下に動画に関する情報を格納するフォルダSD_VIDEOが置かれる。フォルダSD_VIDEOの下には、管理情報ファイルを収納する管理情報フォルダMNG_INFOと、プログラム単位で動画データを格納するプログラムフォルダPRG001が置かれる。   In FIG. 9, a folder SD_VIDEO for storing information relating to moving images is placed under the root directory of the recording area of the memory card. Under the folder SD_VIDEO, a management information folder MNG_INFO that stores management information files and a program folder PRG001 that stores moving image data in units of programs are placed.

管理情報フォルダMNG_INFOには、全体のバージョン情報及びテキスト情報を格納している管理データファイルMGR_DATA、全体のプログラム数、再生時間及び属性等の情報を格納するプログラム管理ファイルPRG_MGR、及び、プレイリストの管理情報を格納するプレイリスト管理ファイルPLST_MGRが格納される。   In the management information folder MNG_INFO, a management data file MGR_DATA storing overall version information and text information, a program management file PRG_MGR storing information such as the total number of programs, playback time and attributes, and playlist management A playlist management file PLST_MGR for storing information is stored.

プログラムフォルダPRG001の下には、圧縮動画データを格納するストリームファイル(MOV)と、タイムスタンプ等のオブジェクト情報を格納するオブジェクト情報ファイル(MOI)が、シーン毎に対で格納される。プログラム情報ファイル(PGI)には、1プログラム内のシーン数等が格納される。   Under the program folder PRG001, a stream file (MOV) for storing compressed moving image data and an object information file (MOI) for storing object information such as a time stamp are stored in pairs for each scene. The program information file (PGI) stores the number of scenes in one program.

この記録方式では、記録されたデータを他のメディアに記録する場合、希望のシーンに対応する1又は複数のファイルのみを読み出して転送すれば良い。この記録方式は、シーン毎にストリームが別ファイルとなるので、巨大ファイルができにくく、また、ファイルサイズに制限のあるシステムとの親和性がよい、という利点がある。   In this recording method, when recording the recorded data on another medium, only one or a plurality of files corresponding to the desired scene may be read and transferred. This recording method has an advantage that since a stream is a separate file for each scene, it is difficult to form a huge file, and the compatibility with a system with a limited file size is good.

一方、DVD−VR形式のように、動画データを1つのストリームファイルに格納し、チャプタ・タイトル等のシーンの識別情報を別の管理情報ファイルに記録するファイリング方式で、同様の編集をしようとすると、大きなサイズの1つのストリームファイルから必要な部分をシーク操作で切り出す必要がある。
特開2003−022434号公報
On the other hand, when the same editing is attempted in a filing method in which moving image data is stored in one stream file and scene identification information such as chapters and titles is recorded in another management information file as in the DVD-VR format. It is necessary to cut out a necessary part from one stream file of a large size by a seek operation.
JP 2003-022434 A

SD−Videoフォーマットのように、シーンとファイルが1対1で対応する記録形式では、ファイル名が重複しないようにする必要がある。   In a recording format in which a scene and a file correspond one-on-one like the SD-Video format, it is necessary to avoid duplication of file names.

前述のように、撮影した順にファイル番号を一つづつ加えながら画像データを記録した場合、記録された画像データは記録された順にファイル番号が連続することになる。   As described above, when image data is recorded while adding file numbers one by one in the order of shooting, the recorded image data has consecutive file numbers in the recorded order.

しかしながら、例えば、図9に例示するように、ファイルMOV001.MOD,MOV002.MOD,MOV003.MODで3つのシーンが記録されている場合に、2番目のシーンであるファイルMOV002.MODを2つのシーンに分割しようとする場合、分割後の一方のファイル名をどうすべきかが問題になる。   However, for example, as illustrated in FIG. MOD, MOV002. MOD, MOV003. When three scenes are recorded in the MOD, the file MOV002. When dividing the MOD into two scenes, the problem is what to do with one of the divided file names.

例えば、連続するシリアル番号になるファイル名MOV003.MODを使用できれば、シーンの連続性が明確になるが、図9の場合では、既にファイル名MOV003.MODは、使用済みである。使用済みのファイル名MOV003.MOD以降のファイル名のシリアル番号部分を繰り下げれば、ファイル名の衝突を避け得るが、シーン数が多い場合には、現実的ではない。また、未使用のシリアル番号を含むファイル名、例えば、MOV004.MODを使用すれば、分割後の前半のファイルMOV002.MODと後半のファイルとの間の番号が不連続になってしまう。そのため、ファイル番号だけでは、これら二つのファイルが元々一つのファイルであり、関連しているファイルであるということがわかりづらくなってしまう。   For example, the file name MOV003. If the MOD can be used, the continuity of the scene becomes clear, but in the case of FIG. 9, the file name MOV003. MOD has been used. Used file name MOV003. If the serial number portion of the file name after MOD is carried down, file name collision can be avoided, but this is not practical when the number of scenes is large. In addition, a file name including an unused serial number, for example, MOV004. If MOD is used, the first half of the file MOV002. The number between the MOD and the second half file becomes discontinuous. Therefore, it becomes difficult to understand that these two files are originally one file and related files only by the file number.

例えば、記録済のデータを他の記録媒体にコピーする場合、分割された複数のファイルをまとめてコピーしたい場合がある。   For example, when copying recorded data to another recording medium, it may be desired to copy a plurality of divided files together.

しかし、分割後の複数のファイル番号が離れてしまっている場合、ファイル番号からファイル番号だけでは分割された複数のファイルを想定することは困難であり、各ファイルの内容を再生して確認する必要がある。   However, when multiple file numbers after division are separated, it is difficult to assume multiple files divided only from the file number, and it is necessary to play back and check the contents of each file There is.

そこで、本発明は、上記の問題点に鑑み、シーンとファイルが1対1で対応し、シーン順にファイル名が与えられる記録形フォーマットに準拠しつつ、シーンの分割した場合でも、分割後の複数のファイルが関連するファイルであることを容易に認識可能な装置を提示することを目的とする。   Therefore, in view of the above-described problems, the present invention is based on a recording format in which a scene and a file have a one-to-one correspondence and file names are given in order of scenes. It is an object of the present invention to provide a device that can easily recognize that the file is a related file.

上記の目的を達成するために、本発明に係る記録装置は、画像データを予め決められたファイル形式に従って記録媒体に記録する記録手段と、記録開始から記録停止までの間に前記記録媒体に記録される一連の動画像データを一つの動画像ファイルとして管理すると共に、前記動画像ファイルに対して番号を含むファイル名を付与してファイル管理を行う管理手段とを備え、前記管理手段は、第1のシーンの前記動画像ファイルに係る予め決められた条件に応じた数を前記第1のシーンの動画像ファイルの番号に加えた番号を、前記第1のシーンの動画像ファイルの記録の後に記録する第2のシーンの前記動画像ファイルに対して付与することを特徴とする。   In order to achieve the above object, a recording apparatus according to the present invention includes recording means for recording image data on a recording medium in accordance with a predetermined file format, and recording on the recording medium between recording start and recording stop. A management unit that manages the series of moving image data as a single moving image file and assigns a file name including a number to the moving image file to manage the file. After recording the moving image file of the first scene, a number obtained by adding a number according to a predetermined condition relating to the moving image file of the first scene to the moving image file number of the first scene is recorded. It is added to the moving image file of the second scene to be recorded.

請求項2に係る記録装置は、前記予め決められた条件は、前記第1のシーンの記録時間であることを特徴とする。   The recording apparatus according to claim 2 is characterized in that the predetermined condition is a recording time of the first scene.

請求項3に係る記録装置は、前記予め決められた条件は、前記第1のシーンの動画像ファイルのファイルサイズであることを特徴とする。   The recording apparatus according to a third aspect is characterized in that the predetermined condition is a file size of a moving image file of the first scene.

請求項4に係る記録装置は、前記動画像データを出力する撮像手段を備え、前記撮像手段は、絞りとシャッタースピードを被写体の明るさに応じて自動的に調整する自動露出調整手段を有し、前記予め決められた条件は、前記第1のシーン記録中に前記自動露出調整手段が検出する前記被写体の明るさの変化量が所定値以上となる回数であることを特徴とする。   A recording apparatus according to a fourth aspect includes an imaging unit that outputs the moving image data, and the imaging unit includes an automatic exposure adjustment unit that automatically adjusts an aperture and a shutter speed according to the brightness of the subject. The predetermined condition is the number of times the amount of change in brightness of the subject detected by the automatic exposure adjusting means during the first scene recording becomes a predetermined value or more.

請求項5に係る記録装置は、前記動画像データを出力する撮像手段を備え、前記撮像手段は、光源の色温度を検出し、撮像した画像のホワイトバランスを自動的に調整する自動ホワイトバランス調整手段を有し、前記予め決められた条件は、前記第1のシーン撮影中に前記ホワイトバランス調整手段が検出する前記色温度の変化量が所定以上となる部分であることを特徴とする。   The recording apparatus according to claim 5 includes an imaging unit that outputs the moving image data, and the imaging unit detects a color temperature of a light source and automatically adjusts a white balance of the captured image. And the predetermined condition is a portion where the amount of change in the color temperature detected by the white balance adjusting means during the first scene shooting is greater than or equal to a predetermined value.

請求項6に係る記録装置は、前記記録手段は更に、入力された音声データを前記動画像データと共に記録し、前記予め決められた条件は、前記第1のシーン記録中に前記入力された音声データのレベルの変化量が所定以上となるかまたは前記音声レベルが所定以下となることであることを特徴とする。   The recording apparatus according to claim 6, wherein the recording unit further records the input audio data together with the moving image data, and the predetermined condition is that the input audio is recorded during the first scene recording. The amount of change in the data level is a predetermined value or more, or the sound level is a predetermined value or less.

請求項7に記録装置は、前記動画像ファイルに対応して、記録時刻またはファイル管理のための管理情報を記録した管理情報ファイルが生成され、前記動画像ファイルに付与される番号と同じ番号を有するファイル名を有する事で、前記動画像ファイルと前記管理情報ファイルが組みで管理される事を特徴とする。   The recording apparatus according to claim 7, wherein a management information file in which management information for recording time or file management is recorded is generated corresponding to the moving image file, and the same number as the number assigned to the moving image file is set. By having the file name, the moving image file and the management information file are managed as a set.

請求項8に係る記録装置は、前記管理手段は、前記予め決められた条件に応じて決定した数が予め決められた最大値を超える場合、前記第1のシーンの動画像ファイルの番号に対し、前記最大値を加えた番号を前記第2の動画像ファイルに付与することを特徴とする。   The recording apparatus according to claim 8, wherein the management means determines the number of the moving image file of the first scene when the number determined according to the predetermined condition exceeds a predetermined maximum value. The number added with the maximum value is assigned to the second moving image file.

請求項9に係る記録装置は、一つの前記動画像ファイルを2つのファイルに分割する分割指示に応じて、前記管理手段は、前記分割指示によって前記第1のシーンの動画像ファイルを分割した場合、分割後に生成された2つの動画像ファイルのうち前部分のファイルには元々の分割前のファイル名と同一のファイル名を付与し、後部分のファイルに対し、分割前の前記動画像ファイルの番号とその次のシーンの動画像ファイルの番号の間の番号を付与することを特徴とする。   The recording apparatus according to claim 9, wherein the management unit divides the moving image file of the first scene according to the dividing instruction in response to a dividing instruction to divide one moving image file into two files. Of the two moving image files generated after the division, the file name of the previous part is given the same file name as the original file name before the division, and the file of the moving image file before the division is assigned to the file of the rear part. A number between the number and the number of the moving image file of the next scene is assigned.

請求項10に係る記録装置は、前記管理手段は、分割前の前記第1の動画像ファイルにおける分割位置と、前記第1のシーンの動画像ファイルの番号と前記第2のシーンの動画像ファイルの番号の差とに基づいて、前記後部分のファイルに対して付与する番号を決定することを特徴とする。   The recording apparatus according to claim 10, wherein the management unit includes a division position in the first moving image file before dividing, a moving image file number of the first scene, and a moving image file of the second scene. The number to be assigned to the file in the subsequent portion is determined based on the difference between the numbers.

請求項11に係る記録装置は、前記第1のシーンの動画像ファイルの番号と前記第2のシーンの動画像ファイルの番号の差が1の場合は、前記第1のシーンの動画像ファイルの分割を禁止する事を特徴とする。   When the difference between the number of the moving image file of the first scene and the number of the moving image file of the second scene is 1, the recording apparatus according to claim 11 stores the moving image file of the first scene. It is characterized by prohibiting division.

本発明によれば、前シーンの撮影時間等の情報で次シーンでのファイル番号のスキップ数を規定している。長時間撮るほど後の分割編集で分割が行われる確率が上がると考えられるので、それに見合った分割編集が可能なビデオカメラを提供することができる。   According to the present invention, the number of skips of the file number in the next scene is defined by information such as the shooting time of the previous scene. Since it is considered that the longer the time taken, the higher the probability that division will be performed in later division editing, a video camera capable of division editing corresponding to that can be provided.

また、前シーン撮影時の露出設定の変化点などカメラ撮影情報によって次シーンでのファイル番号のスキップ数を規定することが出来るため、撮影中に屋外、室内を移動した場合など、後の編集で分割したくなると予測できる数となり、分割編集に好都合なビデオカメラを提供することができる。   In addition, since the number of skips of the file number in the next scene can be specified by camera shooting information such as the change point of the exposure setting at the time of previous scene shooting, it can be edited later when moving outdoors or indoors during shooting. When it is desired to divide, it becomes a predictable number, and a video camera convenient for divided editing can be provided.

さらに、前記分割編集によって分割された後も、前シーンと後シーンそれぞれのファイル番号の間のファイル番号が、分割ファイルによって発生するファイルに付与されるため、分割編集後でもユーザにシーンの時系列の並びが把握しやすい。   Furthermore, since the file number between the file numbers of the previous scene and the subsequent scene is assigned to the file generated by the divided file even after being divided by the divided editing, the time series of the scene can be displayed to the user even after the divided editing. It is easy to grasp the lineup.

以下、図面を参照して、本発明の実施例を詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

図1は、本発明の一実施例を適用した撮像装置の概略構成ブロック図である。撮像装置10は、具体的には、動画記録媒体としてメモリカード、HDD又は記録可能光ディスク等のランダムアクセス可能な記録媒体を使用するデジタルビデオカメラ又はデジタルスチルカメラ等である。ただし、実線は画像データ又は音声データの流れを示し、破線は制御信号を示す。   FIG. 1 is a schematic configuration block diagram of an imaging apparatus to which an embodiment of the present invention is applied. Specifically, the imaging device 10 is a digital video camera, a digital still camera, or the like that uses a randomly accessible recording medium such as a memory card, an HDD, or a recordable optical disk as a moving image recording medium. However, a solid line indicates the flow of image data or audio data, and a broken line indicates a control signal.

撮像装置10は、撮像レンズ12、絞り14、CCD撮像素子16、CDS(相関二重サンプリング)/AGC(自動利得制御)回路18、デジタル信号処理回路20、フレームメモリ22、画素数調整回路24、データバス26、マイクロフォン28、増幅器30、A/D変換器32、液晶ディスプレイ(LCD)34、LCD駆動装置36、MPEGコーデック38、ビデオ出力端子40、NTSCエンコーダ42、記録媒体44、記録再生装置46、ストリームバッファ48、USB端子50及びUSBコントローラ52を具備する。   The imaging device 10 includes an imaging lens 12, an aperture 14, a CCD imaging device 16, a CDS (correlated double sampling) / AGC (automatic gain control) circuit 18, a digital signal processing circuit 20, a frame memory 22, a pixel number adjustment circuit 24, Data bus 26, microphone 28, amplifier 30, A / D converter 32, liquid crystal display (LCD) 34, LCD driving device 36, MPEG codec 38, video output terminal 40, NTSC encoder 42, recording medium 44, recording / reproducing device 46 A stream buffer 48, a USB terminal 50, and a USB controller 52.

撮像装置10は、更に、操作キー60、メインマイクロコンピュータ(メインマイコン)62、RAM64、EEPROM66、制御信号を伝送する制御バス68を具備する。   The imaging device 10 further includes an operation key 60, a main microcomputer (main microcomputer) 62, a RAM 64, an EEPROM 66, and a control bus 68 for transmitting control signals.

撮影レンズ12は被写体の光学像をCCD撮像素子16の撮像面上に結像する。絞り14は被写体の光量を調節する。CCD撮像素子16は、撮像レンズ12及び絞り14による光学像を電気画像信号に変換する。CDS/AGC回路18は、CCD撮像素子16からの画像信号をサンプルホールドし、ノイズを除去し、信号レベルを調整する。デジタル信号処理回路20は、CDS/AGC回路18からの画像信号をアナログ形式からデジタル形式に変換し、カメラで周知の信号処理(例えば、ガンマ補正、色バランス調整、輝度/色分離)等を施す。   The taking lens 12 forms an optical image of the subject on the image pickup surface of the CCD image pickup device 16. The aperture 14 adjusts the amount of light of the subject. The CCD image sensor 16 converts an optical image from the imaging lens 12 and the diaphragm 14 into an electric image signal. The CDS / AGC circuit 18 samples and holds the image signal from the CCD image pickup device 16, removes noise, and adjusts the signal level. The digital signal processing circuit 20 converts the image signal from the CDS / AGC circuit 18 from an analog format to a digital format, and performs known signal processing (for example, gamma correction, color balance adjustment, luminance / color separation) and the like in the camera. .

フレームメモリ22は、デジタル信号処理回路20からのデジタル画像信号をフレーム順に一時記憶する。画素数調整回路24は、フレームメモリ22に格納される画像データの画素数を所定画素数に調整する。データバス26は、DMAコントローラ(不図示)と一体に機能して、画像データ及び音声データを転送するのに使用される。   The frame memory 22 temporarily stores digital image signals from the digital signal processing circuit 20 in the order of frames. The pixel number adjustment circuit 24 adjusts the number of pixels of the image data stored in the frame memory 22 to a predetermined number of pixels. The data bus 26 functions integrally with a DMA controller (not shown) and is used to transfer image data and audio data.

マイクロフォン28は、周囲の音声を取込み、電気音声信号に変換する。増幅器30は、マイクロフォン28からの音声信号を適当なレベルまで増幅する。A/D変換器32は、増幅器30のアナログ出力音声信号をデジタル信号に変換する。   The microphone 28 takes in surrounding sounds and converts them into electric sound signals. The amplifier 30 amplifies the audio signal from the microphone 28 to an appropriate level. The A / D converter 32 converts the analog output audio signal of the amplifier 30 into a digital signal.

液晶ディスプレイ(LCD)34は、LCD駆動装置36により駆動されて、撮影時には、画素数調整回路24からの画像データ(いわゆるカメラ画像信号)に従う画像を表示する。また、再生時には、MPEGコーデック38からの画像データ(いわゆる再生画像データ)に従う画像を表示する。本実施例では、グラフィックベースのGUI(Graphical User Interface)又は文字ベースのCUI(Character-based User Interface)の画面をLCD34の画面上に表示可能である。   The liquid crystal display (LCD) 34 is driven by the LCD driving device 36 and displays an image according to image data (so-called camera image signal) from the pixel number adjusting circuit 24 at the time of photographing. At the time of reproduction, an image according to the image data from the MPEG codec 38 (so-called reproduction image data) is displayed. In this embodiment, a graphic-based GUI (Graphical User Interface) or a character-based CUI (Character-based User Interface) screen can be displayed on the screen of the LCD 34.

MPEGコーデック38は、MPEG2の圧縮符号化方式に従い、画素数調整回路24からの画像データ及びA/D変換器32からの音声データを圧縮し、記録媒体44から再生された圧縮データを伸長する。他の動画圧縮方式として、Motion JPEG、JPEG2000及びMPEG4等を利用可能である。   The MPEG codec 38 compresses the image data from the pixel number adjustment circuit 24 and the audio data from the A / D converter 32 in accordance with the MPEG2 compression encoding method, and decompresses the compressed data reproduced from the recording medium 44. As other moving image compression methods, Motion JPEG, JPEG2000, MPEG4, and the like can be used.

NTSCエンコーダ42は、液晶ディスプレイ34で画像表示される画像信号をNTSC形式のアナログ信号に変換して、ビデオ出力端子40に出力する。記録再生装置46は、MPEGコーデック32による圧縮データを記録媒体44に記録し、また記録媒体44に記録される圧縮データを読み出す。   The NTSC encoder 42 converts an image signal displayed on the liquid crystal display 34 into an NTSC format analog signal and outputs the analog signal to the video output terminal 40. The recording / reproducing apparatus 46 records the compressed data by the MPEG codec 32 on the recording medium 44 and reads the compressed data recorded on the recording medium 44.

記録媒体44は、不揮発性のフラッシュメモリカード、HDD又はDVD等のランダムアクセス記録媒体である。また、記録媒体44には、図2に示すようなディレクトリ構造でファイルが格納される。このディレクトリ構成は、後で説明する。   The recording medium 44 is a random access recording medium such as a nonvolatile flash memory card, HDD, or DVD. The recording medium 44 stores files in a directory structure as shown in FIG. This directory structure will be described later.

記録再生装置46は、MPEGコーデック38からの圧縮データを記録媒体44に記録し、記録媒体44からの圧縮データを再生する。ストリームバッファ48は、MPEGコーデック38からの圧縮データを記録媒体44に記録する前に一時的に記録・保持する。   The recording / reproducing device 46 records the compressed data from the MPEG codec 38 on the recording medium 44 and reproduces the compressed data from the recording medium 44. The stream buffer 48 temporarily records and holds the compressed data from the MPEG codec 38 before recording it on the recording medium 44.

USB端子50は、USBコントローラ52からのデータを出力する。USBコントローラ52は、メインマイコン62で指定されたデータ、例えば、記録媒体44から再生された圧縮データを、USB端子50に出力する。   The USB terminal 50 outputs data from the USB controller 52. The USB controller 52 outputs data designated by the main microcomputer 62, for example, compressed data reproduced from the recording medium 44, to the USB terminal 50.

操作キー60は、撮像装置10の動作モード等、及び、記録先、例えば、記録媒体44をメインマイコン62に指示するのに使用される。更に、図示していないが、操作キー60は、撮像スイッチ、記録スイッチ、停止スイッチ及び再生スイッチを具備し、これらはそれぞれ撮像モード、記録モード及び再生モードで使用される。操作キー60は十字キーと決定キーを具備し、これらは、各種の選択操作と決定操作に使用される。   The operation key 60 is used to instruct the main microcomputer 62 of the operation mode of the imaging apparatus 10 and the recording destination, for example, the recording medium 44. Further, although not shown, the operation key 60 includes an imaging switch, a recording switch, a stop switch, and a reproduction switch, which are used in an imaging mode, a recording mode, and a reproduction mode, respectively. The operation key 60 includes a cross key and a determination key, which are used for various selection operations and determination operations.

メインマイコン62は、操作キー60の操作に応じて、撮像装置10の全体を制御する。メインマイコン62は、一時的なデータをRAM64に保管する。EEPROM66は不揮発性メモリであり、後述する管理情報(自動初期化、ファイナライズ、セットアップ後の動作)を記憶する。制御バス68は、メインマイコン62からの制御信号と操作キー60からの制御信号を伝送する。   The main microcomputer 62 controls the entire imaging apparatus 10 according to the operation of the operation key 60. The main microcomputer 62 stores temporary data in the RAM 64. The EEPROM 66 is a non-volatile memory and stores management information (operations after automatic initialization, finalization, and setup) described later. The control bus 68 transmits a control signal from the main microcomputer 62 and a control signal from the operation key 60.

撮像装置10の撮像、記録及び再生の基本動作を説明する。動画カメラモードでは、撮影レンズ12は被写体の光学像をCCD撮像素子16の撮像面上に結像する。CCD撮像素子16は撮像面上の光学像に対応する被写体の画像信号を出力する。CDS/AGC回路18は、CCD撮像素子16からの画像信号のノイズを除去し、画像信号を所定レベルに増幅する。デジタル信号処理回路20は、CDS/AGC回路18の出力画像信号をデジタル信号に変換し、所定のカメラ信号処理の後、順にフレームメモリ22に記憶する。フレームメモリ22は、記録順に画像データを画素数調整回路24に出力する。画素数調整回路24は、フレームメモリ22からの画像データの画素数を調整し、データバス26を介してLCD駆動装置36に印加する。LCD駆動装置36は、画素数調整回路24の出力画像信号に従い液晶ディスプレイ34を駆動する。これにより、ユーザは、被写体の範囲と構図を確認できる。   A basic operation of imaging, recording and reproduction of the imaging apparatus 10 will be described. In the moving image camera mode, the photographic lens 12 forms an optical image of the subject on the imaging surface of the CCD image sensor 16. The CCD image sensor 16 outputs a subject image signal corresponding to the optical image on the imaging surface. The CDS / AGC circuit 18 removes noise of the image signal from the CCD image pickup device 16 and amplifies the image signal to a predetermined level. The digital signal processing circuit 20 converts the output image signal of the CDS / AGC circuit 18 into a digital signal, and sequentially stores it in the frame memory 22 after predetermined camera signal processing. The frame memory 22 outputs the image data to the pixel number adjustment circuit 24 in the recording order. The pixel number adjusting circuit 24 adjusts the number of pixels of the image data from the frame memory 22 and applies it to the LCD driving device 36 via the data bus 26. The LCD driving device 36 drives the liquid crystal display 34 in accordance with the output image signal of the pixel number adjusting circuit 24. Thereby, the user can confirm the range and composition of the subject.

記録モードでは、MPEGコーデック38は、画素数調整回路24からの画像データを圧縮符号化し、圧縮画像データを記録再生装置46に転送する。記録再生装置46は、圧縮画像データを記録媒体44に記録する。このようにして、撮影された画像の圧縮画像データが記録媒体44に格納される。   In the recording mode, the MPEG codec 38 compresses and encodes the image data from the pixel number adjustment circuit 24 and transfers the compressed image data to the recording / reproducing device 46. The recording / reproducing device 46 records the compressed image data on the recording medium 44. In this way, the compressed image data of the photographed image is stored in the recording medium 44.

再生モードでは、記録再生装置46は、記録媒体44から指定の画像の圧縮画像データを読み出し、MPEGコーデック38に転送する。MPEGコーデック38は、記録再生装置46からの圧縮画像データを伸長して画像データを復元する。復元された画像データは、LCD駆動装置36を介して液晶ディスプレイ34に印加される。これにより、再生画像が液晶ディスプレイ34の画面に表示される。   In the playback mode, the recording / playback device 46 reads the compressed image data of the designated image from the recording medium 44 and transfers it to the MPEG codec 38. The MPEG codec 38 decompresses the compressed image data from the recording / reproducing device 46 and restores the image data. The restored image data is applied to the liquid crystal display 34 via the LCD driving device 36. As a result, the reproduced image is displayed on the screen of the liquid crystal display 34.

ここで、図2を参照して、記録媒体44のディレクトリ構成とファイル名の決定法を説明する。図2は、記録媒体44のディレクトリ構成である。   Here, with reference to FIG. 2, the directory structure of the recording medium 44 and the method of determining the file name will be described. FIG. 2 shows a directory structure of the recording medium 44.

図2において、ルートディレクトの直下に、動画に関する情報を格納するフォルダSD_VIDEOが置かれる。フォルダSD_VIDEOの下には、管理情報ファイルを収納する管理情報フォルダMNG_INFOと、プログラム単位で動画データを格納するプログラムフォルダPRG001が置かれる。   In FIG. 2, a folder SD_VIDEO for storing information relating to a moving image is placed directly under the root directory. Under the folder SD_VIDEO, a management information folder MNG_INFO that stores management information files and a program folder PRG001 that stores moving image data in units of programs are placed.

管理情報フォルダMNG_INFOには、全体のバージョン情報及びテキスト情報を格納している管理データファイルMGR_DATA、全体のプログラム数、再生時間及び属性等の情報を格納するプログラム管理ファイルPRG_MGR、及び、プレイリストの管理情報を格納するプレイリスト管理ファイルPLST_MGRが格納される。ここまでは、従来例(図9)と同じ同じである。   In the management information folder MNG_INFO, a management data file MGR_DATA storing overall version information and text information, a program management file PRG_MGR storing information such as the total number of programs, playback time and attributes, and playlist management A playlist management file PLST_MGR for storing information is stored. Up to this point, it is the same as the conventional example (FIG. 9).

プログラムフォルダPRG001の下には、圧縮動画データを格納するストリームファイル(MOV)と、タイムスタンプ等のオブジェクト情報を格納するオブジェクト情報ファイル(MOI)が、シーン毎に対で格納される。但し、本実施例では、ストリームファイルとオブジェクト情報ファイルのファイル名の3桁の16進数部分で、とびとびの値を採用する。ファイル名の生成規則は、後述する。図2に示す例では、拡張子部分を除いたファイル名本体として、ファイル分割に備えて、MOV001,MOV005,MOV008,・・・というようにとびとびの文字列にする。なお、プログラム情報ファイル(PGI)には、従来例と同様に、1プログラム内のシーン数等が格納される。   Under the program folder PRG001, a stream file (MOV) for storing compressed moving image data and an object information file (MOI) for storing object information such as a time stamp are stored in pairs for each scene. However, in this embodiment, a discrete value is adopted in the 3-digit hexadecimal part of the file names of the stream file and the object information file. The file name generation rule will be described later. In the example shown in FIG. 2, the file name body excluding the extension portion is made into a string of characters such as MOV001, MOV005, MOV008,... In preparation for file division. The program information file (PGI) stores the number of scenes in one program as in the conventional example.

SD−Videoフォーマットでは、1つのプログラムフォルダに格納できるシーン数は99に限定されており、ファイル名のボディ部”MOVxxx”の”xxx”には、16進数表記で001〜FFFのうちの99通りの数字列を使用できる。   In the SD-Video format, the number of scenes that can be stored in one program folder is limited to 99, and “xxx” in the body part “MOVxxx” of the file name is 99 in hex numbers from 001 to FFF. Can be used.

図2乃至4を参照して、本実施例の動作を説明する。図3は、各シーンの映像ストリーム及びオブジェクト情報のファイル名生成と記録のフローチャートである。図4は各シーンの映像ストリームを示す図である。図3に示すフローでは、記録済みシーンの分割数を記録時間で定量的に評価し、ファイル名のファイル番号部分を、その分割数を賄える量だけジャンプさせるようにした。   The operation of this embodiment will be described with reference to FIGS. FIG. 3 is a flowchart of generation and recording of file names of video streams and object information of each scene. FIG. 4 is a diagram showing a video stream of each scene. In the flow shown in FIG. 3, the number of recorded scene divisions is quantitatively evaluated by the recording time, and the file number portion of the file name is jumped by an amount that can cover the number of divisions.

まず、ユーザがモードダイヤルにより動画撮影モードを指定するか、動画撮影モードで電源がオンになると、記録媒体44が認識され、記録シーンの管理情報が読み込まれ(S1)、シーンの記録があるかどうかが検出される(S2)。シーンの記録がないと(S2)、ファイル番号N=001とセットされる(S11)。   First, when the user designates the moving image shooting mode with the mode dial or the power is turned on in the moving image shooting mode, the recording medium 44 is recognized, the recording scene management information is read (S1), and the scene is recorded. Whether or not is detected (S2). If no scene is recorded (S2), the file number N = 001 is set (S11).

シーンの記録があると(S2)、直前に記録された最新記録シーンの管理情報が読み込まれ、ファイル名中のファイル番号nが検出される(S3)。最新記録シーンの管理情報から記録時間t(min)が分単位で検出され(S4)、ファイル番号N=t+n+1がセットされる(S5)。   When a scene is recorded (S2), the management information of the latest recorded scene recorded immediately before is read, and the file number n in the file name is detected (S3). The recording time t (min) is detected in minutes from the latest recording scene management information (S4), and the file number N = t + n + 1 is set (S5).

ユーザが動画像撮影スイッチを押下すると、記録が開始される(S6)。ファイル番号Nを含むファイル名の映像ストリームファイルMOV+(Nの16進数表記).MODがオープンされ、圧縮データが順次、書き込まれる(S7)。   When the user presses the moving image shooting switch, recording is started (S6). Video stream file MOV + with file name including file number N (hexadecimal notation of N). The MOD is opened and the compressed data is written sequentially (S7).

ユーザが停止スイッチを押下すると、記録動作が終了し(S8)、映像ストリームファイルMOV+(Nの16進数表記).MODがクローズされる(S9)。関連するオブジェクト情報ファイルMOV+(Nの16進数表記).MOIがオープンされ、タイムスタンプ等のオブジェクト情報が格納され、クローズされる(S10)。これにより、1シーンの記録が終了する。   When the user presses the stop switch, the recording operation ends (S8), and the video stream file MOV + (N hexadecimal notation). The MOD is closed (S9). Related object information file MOV + (N hexadecimal notation). The MOI is opened, and object information such as a time stamp is stored and closed (S10). Thereby, recording of one scene is completed.

図4に示す記録例を参照して、ファイル名の変遷を説明する。図4に示す例では、3つのシーンが記録されており、シーン1,2,3の記録時間は、それぞれ、3分、2分及び4分である。   The transition of the file name will be described with reference to the recording example shown in FIG. In the example shown in FIG. 4, three scenes are recorded, and the recording times of scenes 1, 2, and 3 are 3 minutes, 2 minutes, and 4 minutes, respectively.

図4に示す例で、シーン1は、記録シーンがない状態から記録を開始しているので、ファイル名の中のファイル番号Nは001となり、映像ストリームファイルMOV001.MODとオブジェクト情報ファイルMOV001.MOIが、図2及び図4に示すように記録される。   In the example shown in FIG. 4, since the scene 1 starts recording from the state where there is no recording scene, the file number N in the file name is 001, and the video stream file MOV001. MOD and object information file MOV001. The MOI is recorded as shown in FIGS.

シーン2に対しては、直前に記録されたシーン1の記録時間が3分であるので、t=3となり、ファイル名のファイル番号が001であるので、n=1となる。従って、シーン2に対するファイル名のファイル番号Nは、
N=t+n+1=3+1+1=5
となり、映像ストリームファイルMOV005.MODとオブジェクト情報ファイルMOV005.MOIが、記録される。
For scene 2, since the recording time of scene 1 recorded immediately before is 3 minutes, t = 3, and since the file number of the file name is 001, n = 1. Therefore, the file number N of the file name for the scene 2 is
N = t + n + 1 = 3 + 1 + 1 = 5
Video stream file MOV005. MOD and object information file MOV005. The MOI is recorded.

シーン3に対しては、直前に記録されたシーン2の記録時間が2分であるので、t=2となり、ファイル名のファイル番号が005であるので、n=5となる。従って、シーン3に対するファイル名のファイル番号Nは、
N=t+n+1=2+5+1=8
となり、映像ストリームファイルMOV008.MODとオブジェクト情報ファイルMOV008.MOIが、記録される。
For scene 3, since the recording time of scene 2 recorded immediately before is 2 minutes, t = 2, and since the file number of the file name is 005, n = 5. Therefore, the file number N of the file name for the scene 3 is
N = t + n + 1 = 2 + 5 + 1 = 8
Video stream file MOV008. MOD and object information file MOV008. The MOI is recorded.

ちなみに、シーン3の記録時間は4分であるので、次のシーン4に対するファイル名のファイル番号は、008+4+1=00Dとなり、映像ストリームファイルのファイル名はMOV00D.MODとなり、オブジェクト情報ファイルのファイル名はMOV00D.MOIとなる。   Incidentally, since the recording time of scene 3 is 4 minutes, the file number of the file name for the next scene 4 is 008 + 4 + 1 = 00D, and the file name of the video stream file is MOV00D. MOD, and the file name of the object information file is MOV00D. MOI.

図3に示すフローチャートでは、シーンの分割可能性として、1分程度での分割を想定している。より短い時間単位での分割を想定する場合には、記録時間tをより小さな時間単位で評価すれば良い。また、tの最大値を設定しておき、直前に記録したシーンの記録時間がその最大時間を越える場合には、最大値を使って、次のシーンのファイル番号を決定してもよい。   In the flowchart shown in FIG. 3, it is assumed that the scene can be divided in about one minute. When division in shorter time units is assumed, the recording time t may be evaluated in smaller time units. Alternatively, a maximum value of t may be set, and when the recording time of the scene recorded immediately before exceeds the maximum time, the file number of the next scene may be determined using the maximum value.

図2及び図4に示すファイル名の例では、シーン1とシーン2の間に、4つ分のファイル名の余裕がある。そのため、シーン1を最大、4つに分割した場合であっても、途中に他のシーンのファイルを含まずに、これら分割したファイルのファイル番号が順次増加することになる。シーン1を2分割した例を図5に示す。図5では、シーン1の2分目の位置で分割している。分割に伴ってストリームファイルMOV001.MOD及びオブジェクト情報ファイルMOV001.MOIも分割され、分割点より前部分には、同じファイル名が使用される。分割点より後部分のファイルのファイル名には、分割前の前後のシーンのファイル名のファイル番号として、シーン1の記録時間に対する分割位置で按分したファイル番号を設定する。図5に示す例では、シーン1のファイル番号が001、シーン2のファイル番号が005であるので、
(2/3)×((005−001)−001)+1=003
となり、分割点より後部分のストリームファイルにはMOV003.MOD、オブジェクト情報ファイルにはMOV003.MOIというファイル名が付与される。
In the example of file names shown in FIGS. 2 and 4, there are four file names between scene 1 and scene 2. Therefore, even when the scene 1 is divided into four at maximum, the file numbers of these divided files are sequentially increased without including files of other scenes in the middle. An example in which the scene 1 is divided into two is shown in FIG. In FIG. 5, the scene 1 is divided at the second position. Along with the division, stream file MOV001. MOD and object information file MOV001. The MOI is also divided, and the same file name is used before the division point. As the file name of the file after the division point, the file number prorated at the division position with respect to the recording time of the scene 1 is set as the file number of the file name of the scene before and after the division. In the example shown in FIG. 5, the file number of scene 1 is 001 and the file number of scene 2 is 005.
(2/3) × ((005-001) -001) + 1 = 003
And the stream file after the dividing point has MOV003. MOD, object information file contains MOV003. A file name of MOI is given.

記録シーンの分割数は、記録時間以外に、ファイルサイズによっても定量化できる。通常、予想される最短シーンのファイルサイズは、おおむね、事前に分かっているからである。従って、図3に示すフローで、記録時間の代わりにファイルサイズを使って、新規ファイルのファイル名に含まれるファイル番号Nを決定しても良い。例えば、100MBを単位としてファイルサイズの予想分割数tを設定し、ファイル番号Nを決定する。   The number of recording scene divisions can be quantified not only by recording time but also by file size. This is because the expected file size of the shortest scene is usually known in advance. Therefore, in the flow shown in FIG. 3, the file number N included in the file name of the new file may be determined using the file size instead of the recording time. For example, the expected division number t of the file size is set in units of 100 MB, and the file number N is determined.

また、上記の諸条件でファイル番号が進む場合、次シーンで実際にファイル番号が用いられるまでは、前記ファイル番号の進む数に制限がある構成としてもよい。   Further, when the file number advances under the above-mentioned various conditions, the number of advancement of the file number may be limited until the file number is actually used in the next scene.

なお、連続するシーン間に、ファイル名のファイル番号部分として利用可能なファイル番号が存在しない場合には、シーン分割を禁止する構成としてもよい。   If there is no file number that can be used as the file number portion of the file name between successive scenes, scene division may be prohibited.

実施例1では、映像ストリームの記録時間又はファイルサイズに着目したが、実施例2では、映像ストリームの露出量に着目する。例えば、露出が大きく変動する場合、編集の可能性が高いこと、特に、露出不足又は露出過剰部分を削除することが多いと考えられるからである。   In the first embodiment, attention is paid to the recording time or file size of the video stream, but in the second embodiment, attention is paid to the exposure amount of the video stream. For example, when the exposure fluctuates greatly, it is considered that the possibility of editing is high, and in particular, it is considered that an underexposed or overexposed part is often deleted.

図6は、実施例2の映像ストリームのファイル名生成と記録のフローチャートである。図7は、映像ストリームと露光量の関係の一例の模式図を示す。図8は、図7に示す例に対する映像ストリームのディレクトリ構成とファイル配置を示す図である。   FIG. 6 is a flowchart of file name generation and recording of a video stream according to the second embodiment. FIG. 7 is a schematic diagram showing an example of the relationship between the video stream and the exposure amount. FIG. 8 is a diagram showing the directory structure and file arrangement of the video stream for the example shown in FIG.

図6に示すフローは、そのステップS21〜S23,S26〜S31が、図3のステップS1〜S3,S6〜S11と同じ作用であり、ファイル番号Nを決定する部分(S24,S25)が、図3に示すフロートは異なる。   In the flow shown in FIG. 6, steps S21 to S23 and S26 to S31 are the same as steps S1 to S3 and S6 to S11 in FIG. 3, and the part (S24, S25) for determining the file number N is shown in FIG. The float shown in 3 is different.

まず、ユーザがモードダイヤルにより動画撮影モードを指定するか、動画撮影モードで電源がオンになると、記録媒体44が認識され、記録シーンの管理情報が読み込まれ(S21)、シーンの記録があるかどうかが検出される(S12)。シーンの記録がないと(S22)、ファイル番号N=001とセットされる(S31)。   First, when the user designates the moving image shooting mode with the mode dial or the power is turned on in the moving image shooting mode, the recording medium 44 is recognized, the recording scene management information is read (S21), and the scene is recorded. Whether or not is detected (S12). If no scene is recorded (S22), the file number N = 001 is set (S31).

シーンの記録があると(S22)、最新記録シーンの管理情報が読み込まれ、ファイル名中のファイル番号nが検出される(S23)。最新記録シーンに対し、EV値の変化回数xを検出し(S24)、ファイル番号N=t+n+1がセットされる(S25)。EV値の変化回数xは、例えば、10秒間にEV値が5以上、変化する回数で算出される。ステップS24の作用の詳細は、後述する。   When a scene is recorded (S22), the latest recorded scene management information is read, and the file number n in the file name is detected (S23). The number x of EV value changes is detected for the latest recorded scene (S24), and the file number N = t + n + 1 is set (S25). The EV value change count x is calculated, for example, by the number of times the EV value changes by 5 or more in 10 seconds. Details of the operation of step S24 will be described later.

ユーザが動画像撮影スイッチを押下すると、記録が開始される(S26)。ファイル番号Nを含むファイル名の映像ストリームファイルMOV+(Nの16進数表記).MODがオープンされ、圧縮データが順次、書き込まれる(S27)。   When the user presses the moving image shooting switch, recording is started (S26). Video stream file MOV + with file name including file number N (hexadecimal notation of N). The MOD is opened, and the compressed data is written sequentially (S27).

ユーザが停止スイッチを押下すると、記録動作が終了し(S28)、映像ストリームファイルMOV+(Nの16進数表記).MODがクローズされる(S29)。関連するオブジェクト情報ファイルMOV+(Nの16進数表記).MOIがオープンされ、タイムスタンプ等のオブジェクト情報が格納され、クローズされる(S30)。これにより、1シーンの記録が終了する。   When the user presses the stop switch, the recording operation ends (S28), and the video stream file MOV + (N hexadecimal notation). The MOD is closed (S29). Related object information file MOV + (N hexadecimal notation). The MOI is opened, and object information such as a time stamp is stored and closed (S30). Thereby, recording of one scene is completed.

ステップS24の動作を具体的に説明する。EV値は、被写体の明るさを示す数値であり、撮影時のシャッタ速度と絞り値に依存する。シャッタ速度が1秒で、絞り値Fが1.0のとき、EV=0である。シャッタ速度が遅い方向に1段進むか、または絞り値が小絞り側に1段進むごとに、値が1だけ増加する。例えば、シャッタ速度が1/2秒で絞り値Fが1.0のとき、EV=1となる。シャッタ速度が1秒で絞り値Fが1.4のときにも、EV=1となる。シャッタ速度が1/2秒で、絞り値Fが1.4では、EV=2となる。シャッタ速度が1/60で絞り値Fが4のとき、EV=1に対してシャッタ速度で6段高速になり、絞り値が4段開いているので、EV=10となる。   The operation in step S24 will be specifically described. The EV value is a numerical value indicating the brightness of the subject and depends on the shutter speed and the aperture value at the time of shooting. When the shutter speed is 1 second and the aperture value F is 1.0, EV = 0. The value increases by 1 each time the shutter speed advances one step in the slow direction or the aperture value advances one step toward the small aperture side. For example, when the shutter speed is 1/2 second and the aperture value F is 1.0, EV = 1. EV = 1 even when the shutter speed is 1 second and the aperture value F is 1.4. When the shutter speed is 1/2 second and the aperture value F is 1.4, EV = 2. When the shutter speed is 1/60 and the aperture value F is 4, EV = 10 because the shutter speed is 6 steps higher than EV = 1 and the aperture value is open 4 steps.

本実施例では、撮影中に1秒ごとのEV値が、オブジェクト情報ファイルに記録される。ステップS24では、最新記録シーンのオブジェクト情報ファイルから任意の10秒間にEV値が5以上変化している地点を検索し、その地点数を変数xに格納する。通常の撮影ではEV値はそれほど変動しないが、撮影を継続したまま、室内から屋外へ、又はその逆に出入りしたりするなど、撮影者が何らかの動きをした場合、EV値が大きく変動する。   In this embodiment, the EV value per second is recorded in the object information file during shooting. In step S24, a point where the EV value has changed by 5 or more in any 10 seconds is searched from the object information file of the latest recorded scene, and the number of points is stored in the variable x. In normal shooting, the EV value does not vary so much, but if the photographer makes some movements such as going in and out of the room or vice versa while continuing shooting, the EV value varies greatly.

図7では、3つのシーンを記録する例を示す。図7は、シーンの記録とEV値の時間的変化を時系列で示ししている。10秒間あたりEV値が5以上変化する変化点が、シーン1では2カ所あり、シーン2では1カ所あり、シーン3には存在しない。   FIG. 7 shows an example of recording three scenes. FIG. 7 shows the recording of the scene and the temporal change of the EV value in time series. There are two change points where the EV value changes by 5 or more per 10 seconds in scene 1, there is one change point in scene 2, and there is no change point in scene 3.

図7に示す例で、シーン1は最初のシーンであるので、ファイル番号Nは001となり、映像ストリームファイルMOV001.MODとオブジェクト情報ファイルMOV001.MOIが記録される。   In the example shown in FIG. 7, since the scene 1 is the first scene, the file number N is 001, and the video stream file MOV001. MOD and object information file MOV001. The MOI is recorded.

シーン2を記録しようとするとき、シーン1にはEV値の変化点が2カ所あるので、x=2であり、ファイル番号N=n+x+1=001+2+1=004となり、映像ストリームファイルのファイル名がMOV004.MODとなり、オブジェクト情報ファイルのファイル名がMOV004.MOIとなる。   When scene 2 is to be recorded, since there are two EV value change points in scene 1, x = 2, file number N = n + x + 1 = 001 + 2 + 1 = 004, and the file name of the video stream file is MOV004. MOD, and the file name of the object information file is MOV004. MOI.

シーン2には変化点が1カ所あるので、シーン3に対するファイル番号Nは004+1+1=006となり、映像ストリームファイルのファイル名がMOV006.MODとなり、オブジェクト情報ファイルのファイル名がMOV006.MOIとなる。   Since there is one change point in the scene 2, the file number N for the scene 3 is 004 + 1 + 1 = 006, and the file name of the video stream file is MOV006. MOD, and the file name of the object information file is MOV006. MOI.

シーン3にはEV値の変化点がないので、図示しないシーン4に対するファイル番号Nは006+1=007となり、映像ストリームファイルのファイル名がMOV007.MODとなり、オブジェクト情報ファイルのファイル名がMOV007.MOIとなる。   Since there is no EV value change point in scene 3, the file number N for scene 4 (not shown) is 006 + 1 = 007, and the file name of the video stream file is MOV007. MOD, and the file name of the object information file is MOV007. MOI.

この結果、図8に示すようなディレクトリ構成のファイル配置で、シーン1〜3の映像ストリームファイルMOV001.MOD,MOV004.MOD,MOV006.MOD及びオブジェクト情報ファイルMOV001.MOI,MOV004.MOI,MOV006.MOIが格納される。この例では、シーン1の映像ストリームを3つまで分割しても、時間順とファイル名順の対応を維持できる。   As a result, the video stream files MOV001. MOD, MOV004. MOD, MOV006. MOD and object information file MOV001. MOI, MOV004. MOI, MOV006. The MOI is stored. In this example, even if the video stream of scene 1 is divided up to three, the correspondence between the time order and the file name order can be maintained.

xの最大値を設定しておき、直前に記録したシーンの露出変化の回数がその最大値を越える場合には、最大値を使って、次のシーンのファイル番号を決定してもよい。   If the maximum value of x is set and the number of exposure changes of the scene recorded immediately before exceeds the maximum value, the file number of the next scene may be determined using the maximum value.

記録済みのシーンを分割した場合、分割点より後のファイルに対し、実施例1と同様に、記録時間又はファイルサイズに従いファイル番号を決定する。   When the recorded scene is divided, the file number is determined according to the recording time or the file size for the file after the dividing point, as in the first embodiment.

なお、本実施例では、前シーンの一定変化率以上のEV値の変化点1カ所につき1だけ、次シーンの撮影で用いられるファイル番号を大きくしているが、前シーンのオブジェクト情報ファイルにホワイトバランス検出による色温度又はマイクからの音声レベルを記録しておき、色温度又は音声レベルの一定変化率以上の変化の変化数だけ、次シーンの撮影で用いられるファイル番号を増加してもよい。例えば、10秒以内に2000°K以上の変化があった場合に、1回の変化とカウントし、その回数だけ、次シーンのファイル番号を大きくする。音声レベルの場合、最大レベルを0dBとして、例えば−30dB以下の音声レベルになった回数をカウントし、その回数だけ、次シーンのファイル番号を大きくする。   In this embodiment, the file number used for shooting the next scene is increased by one for each change point of the EV value that is equal to or higher than the constant change rate of the previous scene. The color temperature by the balance detection or the sound level from the microphone may be recorded, and the file number used in the shooting of the next scene may be increased by the number of changes of the color temperature or the sound level more than a certain change rate. For example, if there is a change of 2000 ° K or more within 10 seconds, it is counted as one change, and the file number of the next scene is increased by that number. In the case of the audio level, the maximum level is set to 0 dB, and the number of times when the audio level becomes, for example, −30 dB or less is counted, and the file number of the next scene is increased by that number.

また、上記の諸条件でファイル番号が進む場合、次シーンで実際にファイル番号が用いられるまでは、前記ファイル番号の進む数に制限がある構成としてもよい。   Further, when the file number advances under the above-mentioned various conditions, the number of advancement of the file number may be limited until the file number is actually used in the next scene.

さらに、前シーンのファイル番号と次シーンのファイル番号の差が001になっている場合など、シーンを分割して生成される後部分のファイルにファイル番号が与えられない場合は、前記分割編集を禁止する構成としてもよい。   Furthermore, when the file number is not given to the subsequent file generated by dividing the scene, such as when the difference between the file number of the previous scene and the file number of the next scene is 001, the divided editing is performed. It is good also as a structure to prohibit.

本発明の一実施例を適用した撮像装置の概略構成ブロック図である。1 is a block diagram of a schematic configuration of an imaging apparatus to which an embodiment of the present invention is applied. 記録媒体44のディレクトリ構成とファイル配置の例である。It is an example of the directory structure and file arrangement of the recording medium 44. 記録時間によりファイル番号を生成するファイル名生成と記録のフローチャートである。10 is a flowchart of file name generation and recording for generating a file number according to recording time. シーン1,2,3の映像ストリームを示す模式図である。It is a schematic diagram which shows the video stream of scenes 1, 2, and 3. FIG. 図4に示す例で、シーン1の映像ストリームの分割例である。In the example shown in FIG. 4, it is an example of dividing the video stream of scene 1. EV値の変化回数によりファイル番号を生成するファイル名生成と記録のフローチャートである。10 is a flowchart of file name generation and recording for generating a file number based on the number of EV value changes. 露光量と映像ストリームの関係の一例を示す模式図である。It is a schematic diagram which shows an example of the relationship between exposure amount and a video stream. 図7に示す例に対する映像ストリームのディレクトリ構成とファイル配置の例を示す図である。It is a figure which shows the example of a directory structure of a video stream and file arrangement | positioning with respect to the example shown in FIG. 従来のディレクトリ構成とファイル配置の模式図である。It is a schematic diagram of a conventional directory structure and file arrangement.

符号の説明Explanation of symbols

10 撮像装置
12 撮影レンズ
14 絞り
16 CCD撮像素子
18 CDS/AGC回路
20 デジタル信号処理回路
22 フレームメモリ
24 画素数調整回路
26 データバス
28 マイクロフォン
30 増幅器
32 A/D変換器
34 液晶ディスプレイ(LCD)
36 LCD駆動回路
38 MPEGコーデック
40 ビデオ出力端子
42 NTSCエンコーダ
44 記録媒体
46 記録再生装置
48 ストリームバッファ
50 USB端子
52 USBコントローラ
60 操作キー
62 メインマイコン
64 RAM
66 EEPROM
68 制御バス
DESCRIPTION OF SYMBOLS 10 Imaging device 12 Shooting lens 14 Aperture 16 CCD imaging device 18 CDS / AGC circuit 20 Digital signal processing circuit 22 Frame memory 24 Pixel number adjustment circuit 26 Data bus 28 Microphone 30 Amplifier 32 A / D converter 34 Liquid crystal display (LCD)
36 LCD drive circuit 38 MPEG codec 40 Video output terminal 42 NTSC encoder 44 Recording medium 46 Recording / playback device 48 Stream buffer 50 USB terminal 52 USB controller 60 Operation key 62 Main microcomputer 64 RAM
66 EEPROM
68 Control bus

Claims (11)

画像データを予め決められたファイル形式に従って記録媒体に記録する記録手段と、
記録開始から記録停止までの間に前記記録媒体に記録される一連の動画像データを一つの動画像ファイルとして管理すると共に、前記動画像ファイルに対して番号を含むファイル名を付与してファイル管理を行う管理手段とを備え、
前記管理手段は、第1のシーンの前記動画像ファイルに係る予め決められた条件に応じた数を前記第1のシーンの動画像ファイルの番号に加えた番号を、前記第1のシーンの動画像ファイルの記録の後に記録する第2のシーンの前記動画像ファイルに対して付与する
ことを特徴とする記録装置。
Recording means for recording image data on a recording medium in accordance with a predetermined file format;
A series of moving image data recorded on the recording medium from the start of recording to the stop of recording is managed as a single moving image file, and a file name including a number is assigned to the moving image file. Management means to perform,
The management means adds a number obtained by adding a number according to a predetermined condition relating to the moving image file of the first scene to the number of the moving image file of the first scene, and the moving image of the first scene A recording apparatus, characterized in that the recording apparatus adds the second scene to the moving image file to be recorded after the image file is recorded.
前記予め決められた条件は、前記第1のシーンの記録時間であることを特徴とする請求項1に記載の記録装置。   The recording apparatus according to claim 1, wherein the predetermined condition is a recording time of the first scene. 前記予め決められた条件は、前記第1のシーンの動画像ファイルのファイルサイズであることを特徴とする請求項1又は2に記載の記録装置。   The recording apparatus according to claim 1, wherein the predetermined condition is a file size of a moving image file of the first scene. 前記動画像データを出力する撮像手段を備え、
前記撮像手段は、絞りとシャッタースピードを被写体の明るさに応じて自動的に調整する自動露出調整手段を有し、
前記予め決められた条件は、前記第1のシーン記録中に前記自動露出調整手段が検出する前記被写体の明るさの変化量が所定値以上となる回数である
ことを特徴とする請求項1乃至3の何れか1項に記載の記録装置。
An imaging means for outputting the moving image data;
The imaging means has automatic exposure adjustment means for automatically adjusting the aperture and shutter speed according to the brightness of the subject,
2. The predetermined condition is the number of times that the amount of change in brightness of the subject detected by the automatic exposure adjustment unit during the first scene recording becomes a predetermined value or more. 4. The recording apparatus according to any one of items 3.
前記動画像データを出力する撮像手段を備え、
前記撮像手段は、光源の色温度を検出し、撮像した画像のホワイトバランスを自動的に調整する自動ホワイトバランス調整手段を有し、
前記予め決められた条件は、前記第1のシーン撮影中に前記ホワイトバランス調整手段が検出する前記色温度の変化量が所定以上となる部分である
ことを特徴とする請求項1乃至3の何れか1項に記載の記録装置。
An imaging means for outputting the moving image data;
The imaging unit includes an automatic white balance adjustment unit that detects the color temperature of the light source and automatically adjusts the white balance of the captured image;
4. The predetermined condition is a portion where a change amount of the color temperature detected by the white balance adjusting means during the first scene shooting is a predetermined amount or more. The recording apparatus according to claim 1.
前記記録手段は更に、入力された音声データを前記動画像データと共に記録し、
前記予め決められた条件は、前記第1のシーン記録中に前記入力された音声データのレベルの変化量が所定以上となるかまたは前記音声レベルが所定以下となることである
ことを特徴とする請求項1乃至5の何れか1項に記載の記録装置。
The recording means further records the input audio data together with the moving image data,
The predetermined condition is that the amount of change in the level of the audio data input during the recording of the first scene is greater than or equal to a predetermined value, or the audio level is less than or equal to a predetermined value. The recording apparatus according to claim 1.
前記動画像ファイルに対応して、記録時刻またはファイル管理のための管理情報を記録した管理情報ファイルが生成され、前記動画像ファイルに付与される番号と同じ番号を有するファイル名を有する事で、前記動画像ファイルと前記管理情報ファイルが組みで管理される事を特徴とする請求項1乃至6の何れか1項に記載の記録装置。   Corresponding to the moving image file, a management information file recording management information for recording time or file management is generated, and having a file name having the same number as the number assigned to the moving image file, The recording apparatus according to claim 1, wherein the moving image file and the management information file are managed as a set. 前記管理手段は、前記予め決められた条件に応じて決定した数が予め決められた最大値を超える場合、前記第1のシーンの動画像ファイルの番号に対し、前記最大値を加えた番号を前記第2の動画像ファイルに付与することを特徴とする請求項1乃至7に記載の記録装置。   When the number determined according to the predetermined condition exceeds a predetermined maximum value, the management means sets a number obtained by adding the maximum value to the moving image file number of the first scene. The recording apparatus according to claim 1, wherein the recording apparatus is attached to the second moving image file. 一つの前記動画像ファイルを2つのファイルに分割する分割指示に応じて、前記管理手段は、前記分割指示によって前記第1のシーンの動画像ファイルを分割した場合、分割後に生成された2つの動画像ファイルのうち前部分のファイルには元々の分割前のファイル名と同一のファイル名を付与し、後部分のファイルに対し、分割前の前記動画像ファイルの番号とその次のシーンの動画像ファイルの番号の間の番号を付与する
ことを特徴とする請求項1乃至8の何れか1項に記載の記録装置。
When the management unit divides the moving image file of the first scene according to the division instruction in accordance with a division instruction to divide one moving image file into two files, two moving images generated after the division are generated. The same file name as the original file name before the division is given to the file of the previous part of the image file, and the number of the moving image file before the division and the moving image of the next scene are assigned to the file of the rear part. The recording apparatus according to claim 1, wherein numbers between file numbers are assigned.
前記管理手段は、分割前の前記第1の動画像ファイルにおける分割位置と、前記第1のシーンの動画像ファイルの番号と前記第2のシーンの動画像ファイルの番号の差とに基づいて、前記後部分のファイルに対して付与する番号を決定することを特徴とする請求項9に記載の記録装置。   The management means, based on the division position in the first moving image file before dividing, the difference between the number of the moving image file of the first scene and the number of the moving image file of the second scene, The recording apparatus according to claim 9, wherein a number to be assigned to the subsequent file is determined. 前記第1のシーンの動画像ファイルの番号と前記第2のシーンの動画像ファイルの番号の差が1の場合は、前記第1のシーンの動画像ファイルの分割編集を禁止する事を特徴とする請求項9又は10に記載の記録装置。   When the difference between the number of the moving image file of the first scene and the number of the moving image file of the second scene is 1, division editing of the moving image file of the first scene is prohibited. The recording apparatus according to claim 9 or 10.
JP2006293584A 2006-10-30 2006-10-30 Recording device Withdrawn JP2008113111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006293584A JP2008113111A (en) 2006-10-30 2006-10-30 Recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006293584A JP2008113111A (en) 2006-10-30 2006-10-30 Recording device

Publications (1)

Publication Number Publication Date
JP2008113111A true JP2008113111A (en) 2008-05-15

Family

ID=39445408

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006293584A Withdrawn JP2008113111A (en) 2006-10-30 2006-10-30 Recording device

Country Status (1)

Country Link
JP (1) JP2008113111A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011021445A1 (en) * 2009-08-17 2011-02-24 Canon Kabushiki Kaisha Image processing apparatus and image processing method
JP2016059006A (en) * 2014-09-12 2016-04-21 キヤノン株式会社 Image recording device, method, and program

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011021445A1 (en) * 2009-08-17 2011-02-24 Canon Kabushiki Kaisha Image processing apparatus and image processing method
JP2011041154A (en) * 2009-08-17 2011-02-24 Canon Inc Image processing apparatus and image processing method
CN102474585A (en) * 2009-08-17 2012-05-23 佳能株式会社 Image processing apparatus and image processing method
US8538247B2 (en) 2009-08-17 2013-09-17 Canon Kabushiki Kaisha Image processing apparatus and image processing method
CN102474585B (en) * 2009-08-17 2015-01-21 佳能株式会社 Image processing apparatus and image processing method
JP2016059006A (en) * 2014-09-12 2016-04-21 キヤノン株式会社 Image recording device, method, and program

Similar Documents

Publication Publication Date Title
JP3912536B2 (en) RECORDING METHOD, RECORDING DEVICE, RECORDING MEDIUM, IMAGING DEVICE, AND IMAGING METHOD
US20050151859A1 (en) Moving image recording apparatus with a stream recording function of a moving image
JP5498064B2 (en) Imaging apparatus and control method thereof
JP5743512B2 (en) Imaging apparatus and control method thereof
US8417089B2 (en) Recording apparatus
WO2004114656A1 (en) Method for managing recording apparatus and recording medium
KR101385168B1 (en) Image data recording apparatus
JP4378325B2 (en) Apparatus and method for controlling recording of number of moving images and apparatus and method for reproducing still image
US20140178039A1 (en) Recording apparatus and control method thereof
JP5207943B2 (en) Imaging device
JP2005303336A (en) Video signal recording apparatus and video signal reproducing apparatus
JP2008113111A (en) Recording device
JP6278353B2 (en) RECORDING DEVICE, RECORDING METHOD, PROGRAM, AND IMAGING DEVICE
JP2013046125A (en) Imaging apparatus
US7869692B2 (en) Imaging apparatus
JP2004120367A (en) Digital camera
JP4164696B2 (en) Imaging apparatus and imaging method
JP2007200409A (en) Image pickup device, recording device, and recording method
JP2008219921A (en) RECORDING DEVICE, RECORDING METHOD, IMAGING DEVICE, AND IMAGING METHOD
JP6018687B2 (en) Video recording device
JP5683127B2 (en) Recording device
JP2008067117A (en) Video recording method, apparatus, and medium
JP2008160564A (en) Camera device and chapter data generation method in camera device
JP5951718B2 (en) Video recording device
JP5610495B2 (en) Video recording / reproducing apparatus and video recording / reproducing method

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20100105