Image pickup apparatus, control method thereof, storage medium, and computer program product

By designing the generation and recording control unit in the camera equipment, recording using a common metadata structure under different moving image formats is achieved, solving the problems of compatibility and format conversion in the existing technology, and ensuring the flexibility and compatibility of recording sex.

CN118695092APending Publication Date: 2024-09-24CANON KK
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410327934.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-23
Filing Date
2024-03-21
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

It is difficult for the existing technology to maintain compatibility with existing devices when changing the metadata structure, and cannot record in different moving image formats using a common metadata structure.

Method used

A camera device is designed, which includes a generation unit and a recording control unit. The generation unit is responsible for recording metadata at least in units of frames. The recording control unit records the moving image data and the generated metadata in a file, and records them in multiple files. Metadata with the same content is recorded in different areas.

Benefits of technology

It is possible to use a common metadata structure to record in different moving image formats while maintaining compatibility with existing devices, ensuring compatibility and flexibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118695092A
    Figure CN118695092A
Patent Text Reader

Abstract

The invention provides an image pickup apparatus, a control method thereof, a storage medium, and a computer program product. The image capturing apparatus capable of capturing a moving image generates metadata to be recorded at least in units of frames, and records the generated metadata and moving image data in one file. The image pickup apparatus performs control such that metadata having the same content generated by the image pickup apparatus is recorded in a plurality of different regions of the one file.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to an imaging device, a control method thereof, and a storage medium. Background Art

[0002] Currently, devices with a moving image shooting function, such as digital cameras and smart phones, are widely used. The shot moving image is recorded as a file on a recording medium as video data with sound according to the moving image format to be recorded. At this time, various information related to the camera, lens, and video, called metadata, can be added to the file and recorded.

[0003] Japanese Patent Laid-Open No. 2020-161954 describes a technique in which shooting information for each frame having a short period and shooting information for each of multiple frames having a long period are recorded together with a video, and the leading frame of the shooting information having the long period is used as the leading frame of the edited video.

[0004] There is a need in the art to maintain compatibility with devices that reference existing metadata when changing metadata structures. There is also a need in the art to be able to record in different motion picture formats using a common metadata structure. Summary of the invention

[0005] The present disclosure has been made in view of the above circumstances, and provides a technique for recording using a common metadata structure even in different moving image formats while maintaining compatibility with existing devices.

[0006] In order to solve the above-mentioned problem, one aspect of the present disclosure provides a camera device, which includes a camera unit configured to shoot moving images, and the camera device also includes: a generation unit, which is configured to generate metadata to be recorded at least in units of frames; a recording control unit, which is configured to record the moving image data and the metadata generated by the generation unit in one file, wherein the recording control unit controls so that the metadata with the same content generated by the generation unit is recorded in multiple different areas of the one file.

[0007] Another aspect of the present disclosure provides a control method for a camera device, the camera device including a camera unit configured to capture moving images, the control method including: generating metadata to be recorded at least in units of frames; and recording the moving image data and the metadata generated in the generation in one file, wherein the recording includes: controlling so that the metadata with the same content generated in the generation is recorded in multiple different areas of the one file.

[0008] Yet another aspect of the present disclosure provides a computer-readable storage medium, comprising instructions for performing a control method for a camera device, wherein the camera device comprises a camera unit configured to capture moving images, the control method comprising: generating metadata to be recorded at least in units of frames; and recording the moving image data and the metadata generated in the generation in one file, wherein the recording comprises: controlling so that the metadata with the same content generated in the generation is recorded in multiple different areas of the one file.

[0009] According to the present disclosure, it is possible to perform recording using a common metadata structure even in different moving image formats while maintaining past compatibility with existing devices.

[0010] Further features of the present disclosure will become apparent from the following description of exemplary embodiments (with reference to the attached drawings). BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 is a block diagram of the configuration of the imaging device in the embodiment.

[0012] Figure 2A It is the configuration diagram of the MXF file.

[0013] Figure 2B It is a metadata configuration diagram of the system item in the MXF file.

[0014] Figure 2C It is a metadata configuration diagram of the data item in the MXF file.

[0015] Figure 2D It is a detailed metadata configuration diagram of the system items in the MXF file.

[0016] Figure 2E-1 and Figure 2E-2 It is a detailed metadata configuration diagram of the data items in the MXF file.

[0017] Figure 2F It is a related diagram of the metadata of system items and data items.

[0018] Figure 3A and Figure 3B It is a flowchart for storing metadata with the same meaning in multiple places.

[0019] Figure 4A It is a configuration diagram with reference to the metadata of the system item.

[0020] Figure 4B It is a configuration diagram in the case of referencing metadata of a data item. DETAILED DESCRIPTION

[0021] Hereinafter, the embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments are not intended to limit the scope of the present disclosure. A plurality of features are described in the embodiments, but the present disclosure is not limited to requiring all such features, and a plurality of such features may be appropriately combined. In addition, in the accompanying drawings, the same reference numerals are assigned to the same or similar configurations, and redundant descriptions thereof are omitted.

[0022] Figure 1 1 is a block diagram of a configuration of an imaging apparatus typified by a digital camera and a digital video camera applicable to the embodiment. Note that a device having a function related to imaging such as a smartphone may be used.

[0023] exist Figure 1 , the imaging device 100 includes a control unit 10, an image compression / decompression unit 11, an imaging unit 12, an image processing unit 13, a metadata control unit 14, a display unit 15, an operation unit 16, a ROM 17, a RAM 18, and a recording medium I / F (19). The control unit 10 and the respective components can exchange data with each other.

[0024] The control unit 10 is a system control unit configured to control the overall system of the image pickup apparatus 100, and includes a CPU and the like. The control unit 10 controls the various components by expanding a program recorded in the ROM 17 in the RAM 18 and executing the program, and performs processing according to a flowchart to be described below. The ROM 17 is a nonvolatile recording medium, and stores the program executed by the control unit 10. However, the ROM 17 may be an electrically rewritable element. Typically, it is an EEPROM.

[0025] The RAM 18 is a volatile recording medium used as a working memory of the control unit 10. In addition, the RAM 18 is also used as a VRAM for temporarily storing image data captured by the imaging unit 12 and image-processed by the image processing unit 13 or image data read from the recording medium 20, so as to perform compression processing or decompression processing on the image data by the image compression / decompression unit 11 or display the image data on the display unit 15. Furthermore, the RAM 18 is also used for temporarily storing additional information to be recorded in association with the captured image.

[0026] A removable recording medium 20 such as an SD card for recording image data can be mounted to the imaging apparatus 100. For this purpose, the imaging apparatus 100 includes a recording medium I / F 19 for mounting the recording medium 20. The recording medium I / F 19 is a slot into which a removable recording medium such as a memory card can be inserted. Figure 1An example is shown in which the recording medium 20 is mounted on the recording medium I / F 19. Note that the image pickup apparatus 100 is described here as having a configuration in which image data is recorded on the removable recording medium 20, but the image data may be recorded in a memory that is not removable and built in the image pickup apparatus 100.

[0027] The imaging unit 12 includes a photographing lens (including a zoom lens and a focus lens), an imaging element, and an A / D converter, and is configured to perform photoelectric conversion on an optical image formed on the imaging element to generate an electric signal, and obtain digital data through the A / D converter. Then, the imaging unit 12 outputs the obtained digital data as image data (still image, moving image) under the control of the control unit 10.

[0028] The image processing unit 13 performs predetermined pixel interpolation, resizing processing, and color conversion processing on the image data supplied from the imaging unit 12. In addition, the image processing unit 13 performs predetermined calculation processing using the captured image data, and the control unit 10 performs various controls related to imaging by the imaging unit 12 (exposure control, automatic white balance control, etc.) based on the obtained calculation results.

[0029] The image compression / decompression unit 11 performs a process of compressing (encoding) image data subjected to image processing by the image processing unit 13 and a process of decompressing (decoding) image data read from the removable recording medium 20 .

[0030] The display unit 15 is a display for displaying various setting states, images captured by the imaging unit 12, images read and reproduced from the removable recording medium 20, etc. based on the control of the control unit 10. The display unit 15 is configured as a display in an endoscope type viewfinder or a variable angle liquid crystal monitor or the like.

[0031] The operation unit 16 includes a power switch for supplying power to the camera device 100, a recording start button, and a mode switching button capable of switching to a camera mode (shooting mode) or a reproduction mode, etc. Then, the operation unit 16 receives an operation from the user and notifies the control unit 10 of the operation content. In addition, the operation unit 16 may include a touch panel. In this case, the control unit 10 detects the following operations on the touch panel and notifies the control unit 10 of the operation content and coordinates. The operation content includes: touching the touch panel with a finger or a pen (hereinafter referred to as touch-down); being in a state of touching the touch panel with a finger or a pen (hereinafter referred to as touch-on); and releasing the finger or pen that has touched the touch panel (hereinafter referred to as touch-off). In the case of a touch-down or touch-on operation, the operation unit 16 notifies the control unit 10 of the operation and its coordinates.

[0032] The control unit 10 determines what kind of operation is performed on the touch panel based on the notified information. For example, for the moving operation of the position change in the touch continuous state, the moving direction of the finger or pen on the touch panel can also be determined based on the change of the position coordinates for each of the vertical component and the horizontal component on the touch panel. In addition, in the case where the touch panel is touched and stopped (touch-up) from the touch by a certain movement, the control unit 10 can be determined to have drawn a stroke. In particular, the operation of quickly drawing a stroke is called flicking. Flicking refers to the operation of quickly moving a finger on the touch panel by a certain distance while touching the touch panel and releasing the finger as it is (in other words, the operation of quickly tracking the touch panel as flicking with a finger). When it is detected that a movement of more than a predetermined distance is performed at a predetermined speed or more and the touch stop is detected as it is, it can be determined that a flick is performed. In addition, when it is detected that a movement of more than a predetermined distance is performed at a speed lower than a predetermined speed, the control unit 10 determines that a drag is performed. As a touch panel, any type of touch panel in various types of touch panels (such as resistive film type, capacitive type, surface acoustic wave type, infrared type, electromagnetic induction type, image recognition type and optical sensor type, etc.) can be used.

[0033] The metadata control unit 14 generates metadata (time code, recording time, etc.) related to the image data captured by the camera unit 12 under the control of the control unit 10. In addition, the metadata includes information related to the shooting lens of the camera unit 12 and camera posture information. Then, the metadata control unit 14 stores or calls the metadata in the RAM. In addition, the metadata control unit 14 also records the metadata in a clip to be recorded on the recording medium 20.

[0034] The metadata includes metadata unique to each clip determined at the start of recording (hereinafter referred to as clip unit metadata) and metadata determined for each frame (hereinafter referred to as frame synchronization metadata). In addition, frame synchronization metadata is recorded for one or both of the system items and the data items according to the standard of each region.

[0035] Figure 2A The container structure of the material exchange format (MXF) is shown. The header 200 indicates the start of the file and records metadata related to the file. For example, when recording image data, metadata such as resolution and frame rate to be recorded is recorded in the area of ​​the header 200. The frame 201 (hereinafter referred to as frame information) represents the data of each frame, and includes a system item 203, image data 204, audio data 205, and a data item 206. The system item 203 is a frame synchronization metadata including metadata related to the data item 206 from the image data 204. The data item 206 is a frame synchronization metadata including metadata whose values ​​are updated for each frame, such as a time code and lens information. The trailer 202 is information indicating the end of the file.

[0036] The frame number is recorded in the system item 203 area with the start frame being 0. The data item 206 includes a standard definition metadata area and a manufacturer's unique definition metadata area, and records information corresponding to the respective areas.

[0037] Figure 2B An example of metadata recording in the system item of MXF is shown. System item 210 is a metadata structure defined by "Society Of Motion Picture and Television Engineers (SMPTE 379)". Public area 211 is an area where the data structure is used for public purposes. Manufacturer-specific area 212 is a manufacturer-specifically defined metadata area in public area 211, and metadata as various information related to the camera, lens, and video is recorded in the metadata area. Therefore, the manufacturer-specific area 212 can be defined within the range defined in the public area 211. Here, although focus information and zoom information are described as examples, this is an example and the present disclosure is not limited to this.

[0038] Figure 2CAn example of metadata recording in a data item of MXF is shown. Data item 213 is a metadata structure defined in "SMPTE 379". "Public area 1" 214 is an area whose data structure is made public, and the public area 1 includes a public area 2 and a manufacturer-specific area. "Public area 2" 215 is an area within the public area 1 and whose data structure is made public. The manufacturer-specific area 216 is an area within the public area 1 and uniquely defined by the manufacturer. In each of these metadata areas, metadata as various information related to the camera, lens, and video is recorded. Therefore, the "public area 2" 215 and the manufacturer-specific area 216 can be defined within the range defined in the "public area 1" 214. Here, although focus information and zoom information are described as an example, this is an example and the present disclosure is not limited thereto. Note that the "public area 2" 215 included in the "public area 1" 214 is an area excluding the manufacturer-specific area 216, and thus can also be referred to as a "non-manufacturer-specific area".

[0039] Figure 2D Detailed recording examples of metadata in the manufacturer specific area 212 mainly in the system item of MXF are shown in . These metadata are information related to shooting settings (various setting states of the digital video camera at the time of shooting) when shooting moving image data.

[0040] The focus information 220 includes an identification ID 221 and a focus information group 222. In the identification ID 221, identification information indicating each information (in the illustrated case, an ID indicating the focus information) is recorded. In the focus information group 222, information indicating a focus value is recorded.

[0041] The zoom information 223 includes an identification ID 221 and a zoom information group 224. In the zoom information group 224, 35 mm converted focal length information and information indicating a value obtained by dividing the electronic zoom by 10 are recorded.

[0042] The lens operation mode information 225 includes an identification ID 221 and a lens operation mode information group 226. In the lens operation mode information group 226, focus mode information, anti-vibration mode information, iris mode information, and information indicating a reserved area are recorded.

[0043] The shutter speed information 227 includes the identification ID 221 and a shutter speed information group 228. In the shutter speed information group 228, information indicating shutter speed information is recorded.

[0044] The shutter setting value information 229 includes the identification ID 221 and a shutter setting value information group 230. In the shutter setting value information group 230, shutter mode information, information indicating a reserved area, and information indicating a shutter setting value are recorded.

[0045] The aperture information 231 includes the identification ID 221 and an aperture information group 232. In the aperture information group 232, information indicating the aperture value is recorded.

[0046] The 35 mm converted focal length information 233 includes the identification ID 221 and a 35 mm converted focal length information group 234. In the 35 mm converted focal length information group 234, information indicating the 35 mm converted focal length is recorded.

[0047] Figure 2E-1 and Figure 2E-2 A detailed recording example of metadata in a data item of MXF is shown. First, metadata recording of the "public area 2" 214 will be described in detail.

[0048] The focus information 250 includes an identification ID 251, a data length 252 of an information group in which actual data is recorded, and a focus information group 253. In the identification ID 251, identification information indicating each information (in the illustrated case, an ID indicating the focus information) is recorded. In the focus information group 253, information indicating a focus value is recorded.

[0049] The lens operation mode information 254 includes an identification ID 251, a data length 252 of a field in which actual data is recorded, and a lens operation mode field 255. In the lens operation mode field 255, information indicating focus mode information is recorded.

[0050] The shutter speed information 256 includes an identification ID 251, a data length 252 of a field in which actual data is recorded, and a shutter speed field 257. In the shutter speed field 257, information indicating shutter speed information is recorded.

[0051] The shutter setting value information 258 includes an identification ID 251, a data length 252 of a group of information in which actual data is recorded, and a shutter setting value (angle) 259 related to a shutter speed. Similarly, the shutter setting value information 258 includes an identification ID 251, a data length 252 of a group of information in which actual data is recorded, and a shutter setting value (time) 260 related to a shutter time.

[0052] The aperture information 261 includes an identification ID 251, a data length 252 of an information group in which actual data is recorded, and an aperture information group 262. In the aperture information group 262, information indicating an aperture value is recorded.

[0053] Next, metadata recording in the manufacturer specific area 216 will be described in detail.

[0054] In the focus information 270, an identification ID 251, a data length 252 of an information group in which actual data is recorded, and a focus information group 271 are recorded. In the identification ID 251, identification information indicating each information (in the illustrated case, an ID indicating the focus information) is recorded. In the focus information group 271, information indicating a focus value is recorded.

[0055] The zoom information 272 includes an identification ID 251, a data length 252 of a field in which actual data is recorded, and a zoom information field 273. In the zoom information field 273, information indicating an electronic zoom value is recorded.

[0056] The lens operation mode information 274 includes the identification ID 251, the data length 252 of the information group in which the actual data is recorded, and the anti-vibration mode information 275. In addition, the lens operation mode information 274 includes the identification ID 251, the data length 252 of the information group in which the actual data is recorded, and the aperture mode information 276.

[0057] In the shutter setting value information 277, there are recorded the identification ID 251, the data length 252 of the field in which the actual data is recorded, and the shutter setting value field 278. In the shutter setting value field 278, information indicating the shutter setting value (frequency) 278 is recorded.

[0058] The aperture information 279 includes an identification ID 251, a data length 252 of an information group in which actual data is recorded, and an aperture information group 280. In the aperture information group 280, information indicating an aperture value 280 is recorded.

[0059] In the 35 mm converted focal length information 281, the identification ID 251, the data length 252 of the field in which the actual data is recorded, and the 35 mm converted focal length field 282 are recorded. In the 35 mm converted focal length field 282, information indicating the focal length converted to 35 mm is recorded.

[0060] Figure 2F An example of correlation of metadata in the manufacturer private area of ​​the system item of MXF, the public area 2 of the data item, and the manufacturer private area of ​​the data item is shown.

[0061] In the manufacturer-specific area 290 of the system item, the data items and data sizes recorded in the system item are described. In the "public area 2" 291 of the data item, the presence or absence of the same data definition as the system item and the data size are described. In the manufacturer-specific area 292 of the data item, the presence or absence of the addition of data definition, the data size and the reason are described for the manufacturer-specific area of ​​the data item. Each item will be described below.

[0062] In the manufacturer-specific area of ​​the system item, the focusing information is defined with a data size of 4 bytes. In addition, although the same data definition exists in the "public area 2" of the data item, the data size is 2 bytes, which is lower in precision than the focusing information of the system item. Therefore, in an embodiment, a data size of 4 bytes (with the same precision as the data size of the system item) is added to the manufacturer-specific area in the public area 1 of the data item. The reason for the addition is that compared with the data in the public area 2 of the data item, the data recorded in the manufacturer-specific area of ​​the system item has a larger data size, the expression range of the focusing information is wider, and high precision can be recorded.

[0063] The 35mm conversion focal length of the zoom information is recorded in the manufacturer-specific area of ​​the system item with a data size of 2 bytes. In addition, the same data definition already exists in the public area 2 of the data item, and the data size is the same 2 bytes. In other words, the two areas are defined with the same precision. Therefore, if metadata is required, only the information defined in the public area 2 of the data item needs to be used, so that metadata is not added to the manufacturer-specific area of ​​the data item.

[0064] Regarding the electronic zoom of the zoom information, a value obtained by dividing the electronic zoom by 10 is recorded in the manufacturer-specific area of ​​the system item with a data size of 2 bytes. The same data definition does not exist in the public area 2 of the data item (undefined). Therefore, in the embodiment, the data definition is added to the manufacturer-specific area of ​​the public area 2 of the data item, and the data size (precision) is 4 bytes. The reason for adding is: because the data recorded in the manufacturer-specific area of ​​the system item is a value divided by 10, the size of the information to be recorded in the manufacturer-specific area of ​​the data item is expanded from 2 bytes to 4 bytes, so that the information can be recorded with high precision without performing a division process.

[0065] Regarding the focus mode information of the lens information, the information is recorded in the manufacturer-specific area of ​​the system item with a data size of 2 bits. In addition, the same data definition exists in the public area 2 of the data item. As a result, it is not necessary to necessarily add data definition for the manufacturer-specific area of ​​the data item, and only the information defined in the public area 2 of the data item needs to be used.

[0066] Regarding the anti-vibration mode information of the lens information, the information is recorded in the manufacturer-specific area of ​​the system item with a data size of 2 bits. In addition, the same data definition does not exist in the public area 2 of the data item. Therefore, a data definition is added for the manufacturer-specific area of ​​the data item, and its data size is set to 1 byte. The reason for adding is that although the data recorded in the manufacturer-specific area of ​​the system item is recorded in 2 bits, the size of the information to be recorded in the manufacturer-specific area of ​​the data item is expanded from 2 bits to 1 byte, and operations in bytes are easier to handle than operations in bits.

[0067] Likewise, regarding the aperture mode information of the lens information, the information is recorded in the manufacturer-specific area of ​​the system item with a data size of 1 bit. In addition, the same data definition does not exist in the public area 2 of the data item. Therefore, similarly to the anti-vibration mode information of the lens information, a data definition is added for the manufacturer-specific area of ​​the data item, and its data size is set to 1 byte. The reason for extending from 1 bit to 1 byte is because operations in byte units are easier to handle.

[0068] Regarding the shutter speed information, the information is recorded in the manufacturer-specific area of ​​the system item with a data size of 4 bytes. In addition, the same data definition exists in the public area 2 of the data item. As a result, it is not necessary to necessarily add data definition for the manufacturer-specific area of ​​the data item, and only the information defined in the public area 2 of the data item needs to be used.

[0069] Regarding the shutter setting value information, the information is recorded in the manufacturer-specific area of ​​the system item with a data size of 4 bytes. In addition, a part of the same data definition exists in the public area 2 of the data item, while the other part does not exist. Therefore, in the shutter setting value (angle) or the shutter setting value (time) defined in the public area 2 of the data item, it is not necessary to add the data definition for the manufacturer-specific area of ​​the data item, and only the information defined in the public area 2 of the data item needs to be used. In addition, in the shutter setting value (frequency) that is not defined in the public area 2 of the data item, a definition is added as the information to be recorded in the manufacturer-specific area of ​​the data item, and the data size is set to 4 bytes. The reason for adding is that by defining the shutter setting value (frequency) that is not defined in the public area 2 of the data item, information equivalent to the manufacturer-specific area of ​​the system item can be recorded.

[0070] Regarding the aperture information, the information is recorded in the manufacturer-specific area of ​​the system item with a data size of 4 bytes. In addition, the same data definition exists in the public area 2 of the data item, and its data size is 2 bytes. However, the information recorded in the public area 2 of the data item can express the information even with the accuracy of F value 2.81, but the calculation method becomes complicated. Therefore, although the accuracy becomes rough as in F value 2.8, similar to the information recorded in the manufacturer-specific area of ​​the system item, 4 bytes of information are also recorded in the manufacturer-specific area of ​​the data item.

[0071] Regarding the 35mm converted focal length information, the information is recorded with a data size of 4 bytes in the manufacturer-specific area of ​​the system item. In addition, the same data definition already exists in the public area 2 of the data item, but the accuracy is reduced because the size of the data is 2 bytes. Therefore, the 4-byte data definition is added to the manufacturer-specific area of ​​the data item, and is recorded with an accuracy equivalent to the data representation range of the manufacturer-specific area of ​​the system item.

[0072] Figure 3A and Figure 3B 1 is a flowchart showing a moving image recording process related to the MXF format performed by the control unit 10 of the camera apparatus 100 of the present embodiment. More specifically, the process of recording a clip having metadata having the same meaning (type) recorded in the system item and the data item on the removable recording medium 20 from the start to the end of recording of the moving image data is shown. In the following description, it is assumed that when recording a moving image, various image processes are performed on the image captured by the camera unit 12 in units of frames in the image processing unit 13, and compression encoding is performed in the image compression / decompression unit 11, and the encoded data is stored in the RAM 18. In addition, it is assumed that preset encoding is also applied to audio data acquired from a microphone (not shown), and the audio data is stored in the RAM 19. In addition, the metadata control unit 14 sequentially stores metadata generated in synchronization with the frame in the RAM 19. The storage process from acquiring the encoded image data and the audio data to the RAM, and the storage process of the metadata to the RAM are not the subject of the present application, and thus the description thereof will be omitted.

[0073] In S300, the control unit 10 generates (secures) a container of a moving image to be recorded in the RAM 18. Next, in S301, the control unit 10 acquires the clip unit metadata generated by the metadata control unit 14 from the RAM 18. Here, the clip unit metadata may be a clip name or a resolution, etc., but is not limited thereto. In S302, the control unit 10 records the clip unit metadata acquired in S302 in the area where the clip unit metadata in the moving image container generated in S300 is recorded.

[0074] In step S303, the control unit 10 acquires image data or audio data from the RAM 18 in data synchronized with the frame, and acquires metadata (metadata whose value is updated for each frame) generated by the metadata control unit 14 from the RAM 18. These operations are repeatedly performed for each frame until a recording stop request is made.

[0075] In S304, the control unit 10 determines whether the type of metadata acquired from the metadata control unit 14 in S303 indicates metadata to be recorded in the data item. Then, in the case of determining that it is metadata of a type to be recorded in the data item, the control unit 10 advances the processing to S305. In S305, the control unit 10 determines whether the type of metadata acquired by the metadata control unit 14 is metadata to be recorded in the public area of ​​the data item. Then, in the case of determining that the type of metadata acquired is metadata to be recorded in the public area of ​​the data item, the control unit 10 advances the processing to S306. In S306, the control unit 10 converts the metadata into a format for recording metadata in the public area of ​​the data item. Then, in S307, the control unit 10 records the metadata obtained by the conversion in S306 in the public area of ​​the data item secured in the RAM 18.

[0076] In step S308, the control unit 10 determines whether the metadata acquired by the metadata control unit 14 is metadata to be recorded in the manufacturer's specific area. In the case where it is determined that the acquired metadata is metadata to be recorded in the manufacturer's specific area, the control unit 10 causes the process to proceed to S309. In S309, the control unit 10 converts the acquired metadata into a format to be recorded in the manufacturer's specific area of ​​the data item. Then, in S310, the control unit 10 records the metadata obtained by the conversion in S309 to the manufacturer's specific area of ​​the data item secured in the RAM 18.

[0077] In S311, the control unit 10 determines whether the metadata acquired by the metadata control unit 14 is metadata to be recorded in the system item. In the case where it is determined that the acquired metadata is determined to be metadata to be recorded in the system item, the control unit 10 causes the process to proceed to S312. In S312, the control unit 10 converts the acquired metadata into a format to be recorded in the system item. Then, in S313, the control unit 10 records the metadata obtained by the conversion in the system item secured in the RAM 18.

[0078] In S314, the control unit 10 determines whether the recording of all metadata acquired in one frame in each area is completed. In the case where it is determined that the recording of all metadata acquired in one frame in each area is not completed, the control unit 10 returns the processing to S304. On the other hand, in the case where it is determined that the recording of all metadata acquired in one frame in each area is completed, the control unit 10 causes the processing to proceed to S315. In S315, the control unit 10 multiplexes the image data and audio data of one frame stored in the RAM 18 and the metadata (data of system items and data items) generated as described above, and records the multiplexed metadata in the recording medium 20. Then, in S316, the control unit 10 determines whether a recording stop request has been made from the operation unit 16 (that is, whether the user has performed a recording stop operation of the moving image). In the case where it is determined that the recording stop request has been received, the control unit 10 causes the processing to proceed to S317. In step S317, the control unit 10 stops the recording of the moving image and performs processing required when the moving image recording is stopped, such as tail recording. Then, in S318, the control unit 10 generates FooterMetaData indicating the end of the container, and records the FooterMetaData in the recording medium 20. On the other hand, if it is determined in S316 that the recording stop request has not been received, the control unit 10 returns the process to S303 and performs recording processing for the next frame.

[0079] In the above description, each time data of a frame (system items, image data, audio data, and data items) is generated, it is recorded on the recording medium, but it can also be stored in the output buffer and recorded on the recording medium when a certain amount of data is accumulated in the output buffer.

[0080] Next, we will refer to Figure 4A and Figure 4B A device or software application that describes the metadata information recorded in a reference system item or data item.

[0081] Figure 4A An example of a device or software application 401 that refers to the metadata of the manufacturer-specific area of ​​the system item is shown. This is an example of a case where a general camera device or software application sold on the market refers to the manufacturer-specific area of ​​the system item and performs information display and control. The general camera device can only refer to the manufacturer-specific area of ​​the system item. Therefore, if the manufacturer-specific area of ​​the system item is eliminated and only the metadata information recorded in the data item is used, there is a possibility that the general camera device or software application cannot be properly controlled.

[0082] Figure 4BAn example of a device or software application 402 that refers to metadata of the public area 1, public area 2, and manufacturer-specific area of ​​a data item is shown. When metadata information recorded in a data item is known in advance (such as the camera 100 of the present embodiment (or the device after firmware update) or a future software application (or an application after update), information display and control can be performed by referring only to the metadata of the data item.

[0083] according to Figure 4A and Figure 4B In a case where metadata information is recorded in an area of ​​a system item or a data item and is used for a metadata structure of a common data item of each motion image format, the common metadata structure can be recorded in each motion image format while maintaining compatibility with existing metadata structures including existing products or software applications and future products or software applications.

[0084] Although the present disclosure has been described in detail based on the embodiments, the present disclosure is not limited to these specific embodiments, and various forms within the scope not departing from the gist of the present disclosure are also included in the present disclosure.Parts of the aforementioned embodiments may be appropriately combined.

[0085] In addition, the present disclosure also includes the case where a program of software realizing the functions of the above-described embodiments is supplied directly from a recording medium to a system or device having a computer capable of executing the program, or is supplied to the system or device via wired / wireless communication, and the program is executed.

[0086] Note that in the above-mentioned embodiments, the case where the present disclosure is applicable to an image pickup device such as a digital camera is described as an example, but this example is not the only case. That is, the present disclosure can be applied to any device having an image pickup element. That is, as long as a device such as a mobile phone terminal, a portable image viewer, a TV with a camera, a digital photo frame, a music player, a game console, or an e-book reader can capture an image, the present invention is applicable.

[0087] Other embodiments

[0088] The embodiments of the present invention may also be implemented by providing software (program) for performing the functions of the above-described embodiments to a system or device via a network or various storage media, and a computer or a central processing unit (CPU) or a microprocessing unit (MPU) of the system or device reads and executes the program.

[0089] While the present disclosure has been described with reference to exemplary embodiments, it is to be understood that the present disclosure is not limited to the disclosed exemplary embodiments.The scope of the following claims is to be accorded the broadest interpretation so as to encompass all such modifications and equivalent structures and functions.

Claims

1. A camera device, comprising a camera unit configured to capture a moving image, the camera device further comprising: a generating unit configured to generate metadata to be recorded at least in units of frames; a recording control unit configured to record the moving image data and the metadata generated by the generating unit in one file, The recording control unit controls so that the metadata with the same content generated by the generation unit is recorded in a plurality of different areas of the one file.

2. The imaging device according to claim 1, wherein: The recording control unit controls so that metadata having the same content is recorded in both the manufacturer private area and the public area.

3. The imaging device according to claim 1, wherein: The recording control unit: Controlling so that the moving image data and the metadata generated by the generating unit are recorded as a file having a container structure of a material exchange format (MXF), and Control is performed so that metadata having the same content is recorded in both the system item area and the data item area.

4. The imaging device according to claim 3, wherein: The recording control unit controls so that metadata having the same content is recorded in both the manufacturer's private area of ​​the system item area and the public area intended to make the data item area public.

5. The imaging device according to claim 1, wherein: The generation unit generates information related to shooting settings of the moving image data as the metadata.

6. The imaging device according to claim 3, wherein: The recording control unit controls so that, in a case where the type of the metadata of interest generated by the generating unit is defined as a type to be stored in the manufacturer-specific area of ​​the system item area and is not defined in a first area intended to make the public area in the data item area public, the metadata of interest is recorded in each of the following areas: the manufacturer-specific area of ​​the system item area; and a second area of ​​the public area in the data item area for storing manufacturer proprietary information.

7. The imaging device according to claim 6, wherein: In a case where the type of metadata of interest generated by the generation unit is defined in both the manufacturer-specific area of ​​the system item area and the first area of ​​the public area of ​​the data item area, and the precision in these two areas is the same, the recording control unit controls so that the metadata of interest is not recorded in the second area of ​​the public area of ​​the data item area.

8. The imaging device according to claim 6, wherein: In a case where the type of metadata of interest generated by the generation unit is defined in both the manufacturer-specific area of ​​the system item area and the first area of ​​the public area in the data item area, and the definition accuracy of the manufacturer-specific area of ​​the system item area is higher than the accuracy defined in the first area, the recording control unit records the metadata of interest in the second area of ​​the public area in the data item area with the accuracy in the manufacturer-specific area of ​​the system item area.

9. The imaging device according to claim 6, wherein: The record control unit includes a conversion unit configured to convert the metadata generated by the generation unit into a format corresponding to a storage area, and Metadata obtained through conversion by the conversion unit is stored in a corresponding area.

10. A control method for a camera device, the camera device comprising a camera unit configured to capture a moving image, the control method comprising: generating metadata to be recorded at least in units of frames; as well as recording the moving image data and the metadata generated in the generating process in one file, The recording includes: controlling so that the metadata with the same content generated in the generating is recorded in a plurality of different areas of the one file.

11. A computer-readable storage medium comprising instructions for performing a control method of a camera device, the camera device comprising a camera unit configured to capture a moving image, the control method comprising: generating metadata to be recorded at least in units of frames; as well as recording the moving image data and the metadata generated in the generating process in one file, The recording includes: controlling so that the metadata with the same content generated in the generating is recorded in a plurality of different areas of the one file.

12. A computer program product, comprising a program for causing a computer to execute a control method of an imaging device, the imaging device comprising an imaging unit configured to capture a moving image, the control method comprising: generating metadata to be recorded at least in units of frames; as well as recording the moving image data and the metadata generated in the generating process in one file, The recording includes: controlling so that the metadata with the same content generated in the generating is recorded in a plurality of different areas of the one file.