Imaging apparatus and method for controlling the same, and program
The imaging device addresses the challenge of maintaining metadata compatibility and recording different video formats by controlling metadata to be recorded in multiple areas of a file, ensuring seamless integration with existing devices and future applications.
Patent Information
- Application Number
- JP2023046967
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2024-10-04
AI Technical Summary
Existing technologies face challenges in maintaining compatibility with devices that refer to existing metadata when changing the metadata structure and recording different video formats using a common metadata structure.
An imaging device with recording control means that controls metadata to be recorded in multiple areas of a file, including both manufacturer-specific and public areas, ensuring compatibility with existing devices while allowing different video formats to use a common metadata structure.
Enables the recording of different video formats with a common metadata structure while maintaining compatibility with existing devices, ensuring seamless integration and compatibility with both current and future products and software applications.
Smart Images

Figure 2024136020000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an imaging apparatus, and a control method and program thereof. [Background technology]
[0002] Nowadays, devices with video recording capabilities, such as digital video cameras and smartphones, are widely used. The recorded video is recorded as a file on a recording medium as video data with audio according to the video format used for recording. At this time, various pieces of information about the camera, lens, and video, called metadata, can be added to the file.
[0003] Patent document 1 describes a technology in which short-period shooting information for each frame and long-period shooting information for each multiple frames are recorded together with video, and the first frame of the long-period shooting information is made the first frame of the edited video. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2020-161954 A Summary of the Invention [Problem to be solved by the invention]
[0005] However, the technology described in the above Patent Document 1 has a problem of how to maintain compatibility with devices that refer to existing metadata when changing the metadata structure, and also a problem of how to record in a common metadata structure across different video formats.
[0006] The present invention has been made in view of the above problems, and aims to provide a technique for recording different video formats in a common metadata structure while maintaining compatibility with existing devices. [Means for solving the problem]
[0007] In order to solve this problem, for example, an imaging device according to the present invention has the following configuration. An imaging device having an imaging means for capturing a moving image, A generating means for generating metadata to be recorded at least on a frame-by-frame basis; a recording control means for recording the metadata and video data generated by the generating means in one file; having The recording control means controls so that metadata having the same content generated by the generating means is recorded in a plurality of different areas of the single file. Effect of the Invention
[0008] According to the present invention, it is possible to record different video formats in a common metadata structure while maintaining backward compatibility with existing devices. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a block diagram showing the configuration of an imaging apparatus according to an embodiment. [Figure 2(a)] Diagram of MXF file structure. [Figure 2(b)] A diagram of the metadata structure of System Items in an MXF file. [Figure 2(c)] Metadata structure diagram of Data Item in an MXF file. [Figure 2(d)] A detailed diagram of the metadata structure of System Item in an MXF file. [Figure 2(e)] A detailed metadata structure diagram of Data Item in an MXF file. [Figure 2(f)] Correlation diagram of metadata between SystemItem and Data Item. [Diagram 3] 13 is a flowchart showing how to store metadata with the same meaning in multiple locations. [Figure 4(a)]Configuration diagram for referencing System Item metadata. [Figure 4(b)] Configuration diagram for referencing metadata of Data Item. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, the embodiments will be described in detail with reference to the attached drawings. Note that the following embodiments do not limit the invention according to the claims. Although the embodiments describe a number of features, not all of these features are essential to the invention, and the features may be combined in any manner. Furthermore, in the attached drawings, the same reference numbers are used for the same or similar configurations, and duplicated descriptions are omitted.
[0011] 1 is a block diagram of an image capture device, typically a digital camera or digital video camera, to which the embodiment is applied. Note that the image capture device may also be a smartphone or other device having an image capture function.
[0012] 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 each of the components are configured to be able to exchange data with each other.
[0013] The control unit 10 is a system control unit that controls the entire system of the digital video camera 100, and is composed of a CPU and the like. The control unit 10 controls each component by expanding a program recorded in the ROM 17 into the RAM 18 and executing it, and executes the process related to the flowchart described below. The ROM 17 is a non-volatile recording medium, and stores the program executed by the control unit 10. However, the ROM 17 may be an electrically rewritable element, and is typically an EEPROM.
[0014] The RAM 18 is a volatile recording medium used as a work memory for the control unit 10. The RAM 18 is also used as a VRAM for temporarily storing image data captured by the imaging unit 12 and processed by the image processing unit 13, and image data read from the recording medium 20, in order to compress or expand the image data in the image compression / expansion unit 11, or to display the image on the display unit 15. The RAM 18 is also used for temporarily storing additional information to be recorded in association with the captured image.
[0015] A removable recording medium 20 such as an SD card can be attached to the imaging device 100 for recording image data. To this end, the imaging device 100 has 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. FIG. 1 illustrates an example in which the recording medium 20 is mounted to the recording medium I / F 19. Note that, although the imaging device 100 has been described here as having a configuration in which image data is recorded to the removable recording medium 20, the imaging device 100 may also be configured to record image data in a non-removable memory built into the imaging device 100.
[0016] The imaging unit 12 has a photographing lens (including a zoom lens and a focus lens), an imaging element, and an A / D converter, and photoelectrically converts the optical image formed on the imaging element to generate an electrical signal, and obtains digital data from the A / D converter. Then, under the control of the control unit 10, the imaging unit 12 outputs the obtained digital data as image data (still image, video).
[0017] 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. The image processing unit 13 also performs predetermined calculation processing using the captured image data, and the control unit 10 performs various controls (exposure control, auto white balance control, etc.) related to the imaging by the imaging unit 12 based on the obtained calculation results.
[0018] The image compression / decompression unit 11 performs a process of compressing (encoding) image data after image processing by the image processing unit 13 and a process of decompressing (decoding) image data read from the removable recording medium 20 .
[0019] The display unit 15 is a display for displaying various setting states, images captured by the imaging unit 12, images read and played back 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 within a peering finder, a vari-angle liquid crystal monitor, etc.
[0020] The operation unit 16 includes a power switch for supplying power to the imaging device 100, a recording start button, and a mode switching button for switching between a camera mode (photographing mode) and a playback mode. The operation unit 16 accepts an operation from a user and notifies the control unit 10 of the operation content. The operation unit 16 may also 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 pen (hereinafter referred to as touch down), being in a state where the touch panel is touched with a finger or pen (hereinafter referred to as touch on), and releasing the finger or pen that has been touching the touch panel (hereinafter referred to as touch off). In the case of touch down and touch on operations, the operation unit 16 notifies the control unit 10 of the operation including the coordinates.
[0021] The control unit 10 judges what kind of operation has been performed on the touch panel based on the notified information. For example, for a move operation in which the position changes in a touch-on state, the moving direction of a finger or pen moving on the touch panel can be judged for each vertical and horizontal component on the touch panel based on the change in position coordinates. In addition, the control unit 10 can judge that a stroke has been drawn when a touch-up is performed after a certain move from touch-down on the touch panel. In particular, an operation of drawing a stroke quickly is called a flick. A flick is an operation in which a finger is moved quickly for a certain distance while touching the touch panel, and then released as it is. In other words, it is an operation of quickly tracing the touch panel with a finger as if flicking it. When a move of a predetermined distance or more at a predetermined speed or more is detected and a touch-up is detected as it is, it can be judged that a flick has been performed. In addition, the control unit 10 judges that a drag has been performed when a move of a predetermined distance or more at less than a predetermined speed is detected. The touch panel may be of any of various types, such as a resistive film type, a capacitive type, a surface acoustic wave type, an infrared type, an electromagnetic induction type, an image recognition type, or an optical sensor type.
[0022] The metadata control unit 14, under the control of the control unit 10, generates metadata (time code, recording time, etc.) related to image data captured by the imaging unit 12. This metadata also includes information on the photographing lens of the imaging unit 12 and camera attitude information. The metadata control unit 14 stores or calls up this metadata in RAM. Furthermore, the metadata control unit 14 also records the metadata in clips to be recorded on the recording medium 20.
[0023] Metadata includes metadata that is unique to each clip and is determined at the start of recording (hereafter referred to as per-clip metadata), and metadata that is determined for each frame (hereafter referred to as frame-synchronized metadata). Furthermore, frame-synchronized metadata is recorded in either or both of the System Item and Data Item according to the standards for each area.
[0024] 2(a) shows the container structure of MXF (Material Exchange Format). A header 200 indicates the start of a file, and metadata related to the file is recorded. For example, when recording image data, metadata such as the recording resolution and frame rate are recorded in the area of this header 200. A frame 201 (hereinafter, frame information) indicates data of each frame, and is composed of a system item 203, image data 204, audio data 205, and a data item 206. The system item 203 is frame-synchronized metadata including metadata related to the image data 204 to the data item 206. The data item 206 is frame-synchronized metadata including metadata whose values are updated for each frame, such as a time code and lens information. A footer 202 is information indicating the end of the file.
[0025] Frame numbers are recorded in the System Item 203 area, with the start frame being 0. Data Item 206 includes a standard-defined metadata area and a manufacturer-defined metadata area, and the corresponding information is recorded in each area.
[0026] FIG. 2(b) shows an example of metadata recording in an MXF System Item. System Item 210 is a metadata structure defined by "SMPTE (Society Of Picture and Television Engineers) 379". Public area 211 is an area whose data structure is intended to be public. Manufacturer's unique area 212 is a manufacturer's unique metadata area in public area 211, and metadata that is various information related to cameras, lenses, and images is recorded in each of these metadata areas. Therefore, manufacturer's unique area 212 can be defined within the range defined in public area 211. Here, focus information and zoom information are described as an example, but this is merely an example and is not limited to this.
[0027] FIG. 2(c) shows an example of metadata recording in a Data Item of MXF. Data Item 213 has a metadata structure defined by “SMPTE379”. “Public area 1” 214 is an area in which the data structure is public, and this public area 1 includes public area 2 and manufacturer's unique area. “Public area 2” 215 is an area in public area 1, and the data structure is public. “Manufacturer's unique area 216” is an area in public area 1, and is an area defined uniquely by the manufacturer. These metadata areas each record metadata, which is various information related to the camera, lens, and image. Therefore, it is possible to define “Public area 2” 215 and manufacturer's unique area 216 within the range defined in “Public area 1” 214. Here, focus information and zoom information are described as an example, but this is only an example and is not limited to this. “Public area 2” 215 included in “Public area 1” 214 can also be called a “non-manufacturer's unique area” because it is an area that excludes the manufacturer's unique area 216.
[0028] 2(d) shows a detailed example of metadata recorded in an MXF System Item, mainly in the manufacturer's proprietary area 212. This metadata is information related to the shooting settings when the video data was shot (various settings of the digital video camera at the time of shooting).
[0029] The focus information 220 includes an identification ID 221 and a focus information group 222. In the identification ID 221, identification information representing each piece of information (in the illustrated example, an ID indicating that it is focus information) is recorded. In the focus information group 222, information representing a focus value is recorded.
[0030] The zoom information 220 includes an identification ID 221 and a zoom information group 224. In the zoom information group 224, 35 mm equivalent focal length information and information indicating a value obtained by dividing the electronic zoom by 10 are recorded.
[0031] 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-shake mode information, aperture mode information, and information indicating a reserved area are recorded.
[0032] The shutter speed information 227 includes an identification ID 221 and a shutter speed information group 228. In the shutter speed information group 228, information representing the shutter speed information is recorded.
[0033] The shutter setting value information 229 includes an identification ID 221 and a shutter setting value information group 230. In the shutter setting value information group 230, shutter mode information, information representing a reserved area, and information representing a shutter setting value are recorded.
[0034] The aperture information 231 includes an identification ID 221 and an aperture information group 232. In the aperture information group 232, information indicating an aperture value is recorded.
[0035] The 35 mm equivalent focal length information 233 includes an identification ID 221 and a 35 mm equivalent focal length information group 234. The 35 mm equivalent focal length information group 234 records information indicating a 35 mm equivalent focal length.
[0036] 2(e) shows a detailed example of metadata recorded in an MXF Data Item. First, the details of metadata recorded in "public area 2" 214 will be described.
[0037] 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 representing each piece of information (in the illustrated example, an ID indicating that it is focus information) is recorded. In the focus information group 253, information representing a focus value is recorded.
[0038] The lens operation mode information 254 includes an identification ID 251, a data length 252 of an information group in which actual data is recorded, and a lens operation mode information group 255. In the lens operation mode information group 255, information representing focus mode information is recorded.
[0039] The shutter speed information 256 includes an identification ID 251, a data length 252 of an information group in which actual data is recorded, and a shutter speed information group 257. In the shutter speed information group 257, information representing shutter speed information is recorded.
[0040] The shutter setting value information 258 includes an identification ID 251 relating to the shutter speed, a data length 252 of an information group in which actual data is recorded, and a shutter setting value (angle) 259. Similarly, the shutter setting value information 258 includes an identification ID 251 relating to the shutter time, a data length 252 of an information group in which actual data is recorded, and a shutter setting value (time) 260.
[0041] 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.
[0042] Next, the details of metadata recording in the manufacturer's unique area 216 will be described.
[0043] 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 representing each piece of information (in the illustrated example, an ID indicating that it is focus information) is recorded. In the focus information group 271, information representing a focus value is recorded.
[0044] The zoom information 272 includes an identification ID 251, a data length 252 of an information group in which actual data is recorded, and a zoom information group 273. In the zoom information group 273, information indicating an electronic zoom value is recorded.
[0045] The lens operation mode information 274 includes an identification ID 251, a data length 252 of an information group in which actual data is recorded, and vibration isolation mode information 275. The lens operation mode information 274 also includes an identification ID 251, a data length 252 of an information group in which actual data is recorded, and aperture mode information 276.
[0046] The shutter setting value information 277 records an identification ID 251, a data length 252 of an information group in which actual data is recorded, and a shutter setting value information group 278. In the shutter setting value information group 278, information representing a shutter setting value (frequency) 278 is recorded.
[0047] 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.
[0048] The 35 mm equivalent focal length information 281 records an identification ID 251, a data length 252 of an information group in which actual data is recorded, and a 35 mm equivalent focal length information group 282. The 35 mm equivalent focal length information group 282 records information indicating a focal length converted into a 35 mm film.
[0049] FIG. 2(f) shows an example of metadata correlation between the manufacturer's proprietary area of an MXF System Item, the public area 2 of a Data Item, and the manufacturer's proprietary area of a Data Item.
[0050] The manufacturer's unique area 290 of a System Item records the data items and data size recorded in the System Item. The "public area 2" 291 of a Data Item records whether or not there is the same data definition as in the System Item, and the data size. The manufacturer's unique area 292 of a Data Item records whether or not a data definition has been added to the manufacturer's unique area of the Data Item, the data size, and the reason. Each item is explained below.
[0051] The focus information is defined in the manufacturer's proprietary area of the System Item with a data size of 4 bytes. Also, although the same data definition exists in the "public area 2" of the Data Item, its data size is 2 bytes, and its accuracy is lower than that of the focus information of the System Item. Therefore, in the embodiment, it is added to the manufacturer's proprietary area in the public area 1 of the Data Item with a data size of 4 bytes, which has the same accuracy as the System Item. The reason for the addition is that the data recorded in the manufacturer's proprietary area of the System Item has a larger data size than the data in public area 2 of the Data Item, has a wider range of expression for focus information, and can be recorded with high accuracy.
[0052] The 35mm equivalent focal length of the zoom information is recorded with a data size of 2 bytes in the manufacturer's proprietary area of the System Item. The same data definition already exists in public area 2 of the Data Item, and the data size is also 2 bytes. In other words, it is defined with the same precision in both areas. Therefore, if this metadata is required, it is sufficient to use the information defined in public area 2 of the Data Item, and so this metadata will not be added to the manufacturer's proprietary area of the Data Item.
[0053] Regarding the electronic zoom of the zoom information, a value obtained by dividing the electronic zoom by 10, with a data size of 2 bytes, is recorded in the manufacturer's proprietary area of the System Item. Furthermore, the same data definition does not exist (it is undefined) in public area 2 of the Data Item. Therefore, in this embodiment, a data definition is added to the manufacturer's proprietary area of public area 2 of the Data Item, and its data size (precision) is 4 bytes. The reason for the addition is that, as the data recorded in the manufacturer's proprietary area of the System Item recorded a value divided by 10, the size of the information recorded in the manufacturer's proprietary area of the Data Item is expanded from 2 bytes to 4 bytes, making it possible to record with high precision without performing a division process.
[0054] Regarding the focus mode information of the lens information, the information is recorded in a data size of 2 bits in the manufacturer's proprietary area of the System Item. Also, the same data definition exists in public area 2 of the Data Item. As a result, there is no need to add a data definition to the manufacturer's proprietary area of the Data Item, and it is sufficient to use the information defined in public area 2 of the Data Item.
[0055] The image stabilization mode information in the lens information is recorded in a data size of 2 bits in the manufacturer's proprietary area of the System Item. Furthermore, the same data definition does not exist in public area 2 of the Data Item. Therefore, a data definition has been added to the manufacturer's proprietary area of the Data Item, with a data size of 1 byte. The reason for the addition is that while the data recorded in the manufacturer's proprietary area of the System Item was recorded in 2 bits, the size of the information recorded in the manufacturer's proprietary area of the Data Item has been expanded from 2 bits to 1 byte, making it easier to handle operations in bytes rather than operations in bits.
[0056] The aperture mode information in lens information is also recorded in the manufacturer's proprietary area of the system item with a data size of 1 bit. Furthermore, the same data definition does not exist in public area 2 of the data item. Therefore, just like the image stabilization mode information in lens information, a data definition is added to the manufacturer's proprietary area of the data item, and the data size is set to 1 byte. The reason for expanding from 1 bit to 1 byte is that calculations in bytes are easier to handle.
[0057] Shutter speed information is recorded in the manufacturer's proprietary area of the System Item with a data size of 4 bytes. The same data definition also exists in public area 2 of the Data Item. As a result, there is no need to add a data definition to the manufacturer's proprietary area of the Data Item; it is sufficient to use the information defined in public area 2 of the Data Item.
[0058] Regarding shutter setting value information, the information is recorded in the manufacturer's proprietary area of the System Item with a data size of 4 bytes. Also, some of the same data definitions exist in public area 2 of the Data Item, but some do not. Therefore, for the shutter setting value (angle) and shutter setting value (time) defined in public area 2 of the Data Item, there is no need to add a data definition to the manufacturer's proprietary area of the Data Item; it is sufficient to use the information defined in public area 2 of the Data Item. Also, for the shutter setting value (frequency) that is not defined in public area 2 of the Data Item, a definition is added as information to be recorded in the manufacturer's proprietary area of the Data Item, and the data size is 4 bytes. The reason for the addition is that by defining a shutter setting value (frequency) that is not defined in public area 2 of the Data Item, it becomes possible to record information equivalent to that in the manufacturer's proprietary area of the System Item.
[0059] Aperture information is recorded in the manufacturer's own area of the System Item with a data size of 4 bytes. The same data definition exists in public area 2 of the Data Item with a data size of 2 bytes. However, the information recorded in public area 2 of the Data Item can express information with a precision up to an F-number of 2.81, but the calculation method is complicated. As a result, although the precision is lower, such as an F-number of 2.8, 4-byte information is also recorded in the manufacturer's own area of the Data Item, just like the information recorded in the manufacturer's own area of the System Item.
[0060] The 35mm equivalent focal length information is recorded with a data size of 4 bytes in the manufacturer's proprietary area of the System Item. The same data definition already exists in public area 2 of the Data Item, but the data size is 2 bytes, resulting in low precision. For this reason, a 4-byte data definition has been added to the manufacturer's proprietary area of the Data Item, and the information will be recorded with the same precision as the data expression range of the manufacturer's proprietary area of the System Item.
[0061] FIG. 3 is a flowchart showing a video recording process in the MXF format by the control unit 10 of the imaging device 100 of this embodiment. More specifically, it shows a process of recording a clip in which metadata of the same meaning (type) is recorded in the System Item and Data Item from the start to the end of recording of video image data to the removable recording medium 20. In the following description, when recording a video image, various image processes are performed on the image captured by the imaging unit 12 in units of frames by the image processing unit 13, and the image compression / expansion unit 11 compresses and encodes the image, and the encoded data is stored in the RAM 18. In addition, it is assumed that audio data acquired from a microphone (not shown) is also encoded in advance and stored in the RAM 19. In addition, it is assumed that the metadata control unit 14 sequentially stores metadata generated in synchronization with the frames in the RAM 19. The storage process from acquisition of the encoded image data and audio data to the RAM and the storage process of the metadata in the RAM are not the main focus of this application, and therefore the description thereof will be omitted.
[0062] In S300, the control unit 10 generates (allocates) a container for the moving image to be recorded in the RAM 18. Next, in S301, the control unit 10 acquires from the RAM 18 the per-clip metadata generated by the metadata control unit 14. Here, the per-clip metadata may be, but is not limited to, a clip name and a resolution. In S302, the control unit 10 records the per-clip metadata acquired in S302 in an area for recording the per-clip metadata in the moving image container generated in S300.
[0063] In S303, the control unit 10 acquires image data or audio data from the data synchronized with the frame from the RAM 18, and also 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 executed for each frame until a recording stop request is received.
[0064] In S304, the control unit 10 judges whether the type of metadata acquired from the metadata control unit 14 in S303 indicates metadata to be recorded in the Data Item. If the control unit 10 judges that the type of metadata is to be recorded in the Data Item, the process proceeds to S305. In S305, the control unit 10 judges 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. If the control unit 10 judges that the type of metadata acquired is metadata to be recorded in the public area of the Data Item, the process proceeds to S306. In S306, the control unit 10 converts the metadata into a format to be recorded 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 RAM 18.
[0065] In 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 unique area. If the control unit 10 determines that the acquired metadata is metadata to be recorded in the manufacturer's unique area, the process proceeds to S309. In S309, the control unit 10 converts the acquired metadata into a format for recording in the manufacturer's unique area of the Data Item. Then, in S310, the control unit 10 records the metadata obtained by the conversion in S309 in the manufacturer's unique area of the Data Item secured in RAM 18.
[0066] 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. If the control unit 10 determines that the acquired metadata is metadata to be recorded in the System Item, the process proceeds 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 RAM 18.
[0067] In S314, the control unit 10 judges whether or not recording of all metadata acquired in one frame in each area is completed. If the control unit 10 judges that recording of all metadata acquired in one frame in each area is incomplete, the control unit 10 returns the process to S304. On the other hand, if the control unit 10 judges that recording of all metadata acquired in one frame in each area is completed, the control unit 10 advances the process to S315. In this S315, the control unit 10 multiplexes one frame's worth of image data and audio data stored in the RAM 18, and the metadata (System Item, Data Item data) generated as described above, and records the multiplexed data on the recording medium 20. Then, in S316, the control unit 10 judges whether or not a recording stop request has been received from the operation unit 16, that is, whether or not the user has performed an operation to stop recording of a moving image. If the control unit 10 judges that a recording stop request has been received, the control unit 10 advances the process to S317. In this S317, the control unit 10 stops recording of the moving image, and performs a process required when stopping recording of the moving image, such as footer recording. Then, in S318, the control unit 10 generates FooterMetaData indicating the end of the container, and records it on the recording medium 20. On the other hand, if the control unit 10 determines in S316 that a recording stop request has not been received, the process returns to S303, and recording processing of the next frame is performed.
[0068] In the above explanation, each time one frame's worth of data (System Item, image data, audio data, Data Item) is generated, it is recorded on a recording medium. However, it is also possible to store the data in an output buffer and record it on a recording medium once a certain amount of data has accumulated in the output buffer.
[0069] Next, with reference to Figures 4(a) and (b), a description will be given of a device or software application that references metadata information recorded in a System Item or a Data Item.
[0070] FIG. 4(a) shows an example of a device or software application 401 that references metadata in a manufacturer's unique area of a System Item. This is an example of a general imaging device or software application available on the market that references the manufacturer's unique area of a System Item to display information or perform control. General imaging devices can only reference the manufacturer's unique area of a System Item. For this reason, if the manufacturer's unique area of a System Item were eliminated and only metadata information recorded in a Data Item was left, there is a possibility that the general imaging device or software application would not be able to be controlled correctly.
[0071] 4(b) shows an example of a device or software application 402 that references metadata in public area 1, public area 2, and manufacturer's proprietary area of a Data Item. If the metadata information recorded in a Data Item is known in advance, such as the imaging device 100 of this embodiment (or a device after updating the firmware) or a future software application (or an application after updating), it will be possible to display and control information by referring only to the metadata in the Data Item.
[0072] As shown in Figures 4(a) and 4(b), by recording metadata information in the System Item or Data Item area, and further by operating with a common Data Item metadata structure for each video format, it is possible to record a common metadata structure for each video format while maintaining compatibility with the existing metadata structure, including existing products and software applications as well as future products and software applications.
[0073] Although the present invention has been described in detail based on the embodiments, the present invention is not limited to these specific embodiments, and various forms within the scope of the present invention are also included in the present invention. Parts of the above-described embodiments may be combined as appropriate.
[0074] The present invention also includes cases where a software program that realizes the functions of the above-described embodiments is supplied to a system or device having a computer capable of executing the program directly from a recording medium or via wired / wireless communication, and the program is executed.
[0075] In the above-mentioned embodiment, the present invention is applied to an imaging device such as a digital video camera, but the present invention is not limited to this example. That is, the present invention may be applied to any device equipped with an imaging element. That is, the present invention is applicable to any device capable of capturing images, such as a mobile phone terminal, a portable image viewer, a television equipped with a camera, a digital photo frame, a music player, a game machine, an electronic book reader, and the like.
[0076] (Other Examples) The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.
[0077] The disclosure of this specification includes the following imaging device, and a control method and program thereof. (Item 1) An imaging device having an imaging means for capturing a moving image, A generating means for generating metadata to be recorded at least on a frame-by-frame basis; a recording control means for recording the metadata and video data generated by the generating means in one file; having The recording control means controls so that the metadata having the same content generated by the generating means is recorded in a plurality of different areas of the single file. 1. An imaging device comprising: (Item 2) 2. The imaging device according to item 1, wherein the recording control means controls so that the metadata having the same content is recorded in both a manufacturer-specific area and a public area. (Item 3) The recording control means Controlling the metadata and video data generated by the generating means so as to be recorded as a file having a container structure of MXF (Material Exchange Format); Controlling the recording of the same metadata in both the System Item area and the Data Item area. 2. The imaging device according to item 1, (Item 4) The imaging device according to item 3, wherein the recording control means controls so that the metadata of the same content is recorded in both a manufacturer-specific area in the System Item area and a public area intended for public disclosure in the Data Item area. (Item 5) 2. The imaging device according to item 1, wherein the generating means generates information regarding shooting settings of the video image data as the metadata. (Item 6) The recording control means When the type of metadata of interest generated by the generating means is defined as a type to be stored in a manufacturer-specific area in the System Item area and is undefined in a first area intended for publication in the public area in the Data Item area, control is performed so that the metadata of interest is recorded in both the manufacturer-specific area in the System Item area and a second area for storing manufacturer-specific information in the public area in the Data Item area. 4. The imaging device according to item 3, (Item 7) The recording control means When the type of metadata of interest generated by the generating means is defined in both the manufacturer's unique area in the System Item area and the first area in the public area in the Data Item area, and the precision in these two areas is the same, control is performed so that the metadata of interest is not recorded in the second area in the public area in the Data Item area. 7. The imaging device according to item 6, (Item 8) The recording control means If the type of metadata of interest generated by the generating means is defined in both a manufacturer's unique area in the System Item area and the first area in the public area in the Data Item area, and if the precision defined in the manufacturer's unique area in the System Item area is higher than the precision defined in the first area, the metadata of interest is recorded in the second area of the public area in the Data Item area with the precision defined in the manufacturer's unique area in the System Item area. 8. The imaging device according to item 6 or 7, (Item 9) the recording control means includes a conversion means for converting the metadata generated by the generation means into a format corresponding to an area to store the metadata; The metadata obtained by the conversion by the conversion means is stored in a corresponding area. 9. The imaging device according to any one of items 6 to 8, (Item 10) A method for controlling an imaging device having an imaging means for capturing a moving image, comprising the steps of: a generating step of generating metadata to be recorded at least on a frame-by-frame basis; a recording control step of recording the metadata and video data generated in the generating step in one file; having The recording control step controls so that the metadata having the same content generated in the generating step is recorded in a plurality of different areas of the single file. 23. A method for controlling an imaging apparatus comprising the steps of: (Item 11) A program that, when read and executed by a computer, causes the computer to function as each of the means possessed by the device described in any one of items 1 to 9.
[0078] The invention is not limited to the above-described embodiments, and various modifications and variations are possible without departing from the spirit and scope of the invention. Accordingly, the following claims are appended to apprise the public of the scope of the invention. [Explanation of symbols]
[0079] 10...control unit, 11...image compression / decompression unit, 12...imaging unit, 13...image processing unit, 14...metadata control unit, 15...display unit, 16...operation unit, 17...ROM, 18...RAM, 19...recording medium I / F, 20...recording medium, 100...imaging device
Claims
1. An imaging device having an imaging means for capturing a moving image, A generating means for generating metadata to be recorded at least on a frame-by-frame basis; a recording control means for recording the metadata and video data generated by the generating means in one file; having The recording control means controls so that the metadata having the same content generated by the generating means is recorded in a plurality of different areas of the single file.
1. An imaging device comprising:
2. 2. The imaging apparatus according to claim 1, wherein the recording control means controls so that the metadata having the same contents is recorded in both a manufacturer's unique area and a public area.
3. The recording control means Controlling the metadata and video data generated by the generating means so as to be recorded as a file having a container structure of MXF (Material Exchange Format); The metadata of the same content is controlled so as to be recorded in both the System Item area and the Data Item area.
2. The imaging device according to claim 1 .
4. 4. The imaging device according to claim 3, wherein the recording control means controls so that the metadata having the same content is recorded in both a manufacturer's unique area in a System Item area and a public area for the purpose of public disclosure in a Data Item area.
5. 2. The imaging apparatus according to claim 1, wherein the generating means generates information regarding shooting settings of the video image data as the metadata.
6. The recording control means When the type of the metadata of interest generated by the generating means is defined as a type to be stored in a manufacturer-specific area in the System Item area and is undefined in a first area intended for the public area in the Data Item area, the metadata of interest is controlled to be recorded in both the manufacturer-specific area in the System Item area and a second area for storing manufacturer-specific information in the public area in the Data Item area.
4. The imaging device according to claim 3.
7. The recording control means When the type of metadata of interest generated by the generating means is defined in both the manufacturer's unique area in the System Item area and the first area in the public area in the Data Item area, and the accuracy in these two areas is the same, control is performed so that the metadata of interest is not recorded in the second area in the public area in the Data Item area.
7. The imaging device according to claim 6.
8. The recording control means If the type of metadata of interest generated by the generating means is defined in both a manufacturer's unique area in the System Item area and the first area in the public area in the Data Item area, and if the precision of the definition in the manufacturer's unique area in the System Item area is higher than the precision of the definition in the first area, the metadata of interest is recorded in the second area in the public area in the Data Item area with the precision of the manufacturer's unique area in the System Item area.
7. The imaging device according to claim 6.
9. the recording control means includes a conversion means for converting the metadata generated by the generation means into a format corresponding to an area to store the metadata; The metadata obtained by the conversion by the conversion means is stored in a corresponding area.
7. The imaging device according to claim 6.
10. A method for controlling an imaging device having an imaging means for capturing a moving image, comprising the steps of: a generating step of generating metadata to be recorded at least on a frame-by-frame basis; a recording control step of recording the metadata and the video data generated in the generating step in one file; having The recording control step controls so that the metadata having the same content generated in the generating step is recorded in a plurality of different areas of the single file.
23. A method for controlling an imaging apparatus comprising the steps of:
11. A program for causing a computer to execute each step of the method according to claim 10 when the program is read and executed by the computer.
Citation Information
Patent Citations
Identification, recording and playback information system
JP2003529877A
Combining video material and data
JP2004508777A
Method and device for recording digital data
JP2006304304A
MXF processing unit
JP2012084972A
Image processing device, imaging device, image processing method, and program
JP2020161954A
