Recording apparatus, control method of recording apparatus, and storage medium
By setting the input supplementary information as recording supplementary information at the end of motion picture file recording, the problem of difficulty in properly responding to input supplementary information during recording in the prior art is solved, and stable and efficient processing is achieved during motion picture file recording.
Patent Information
- Application Number
- CN202210712345.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2021-06-29
- Filing Date
- 2022-06-22
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2042-06-22
AI Technical Summary
When additional information is input during the recording of motion picture files, existing technologies struggle to respond to the input information at appropriate timing, which may result in the additional information file being overwritten or affect the recording speed of motion picture data.
A recording device is provided, including an input unit, a control unit, and a recording control unit. By setting additional information input at the end of motion image file recording as additional recording information, the device avoids overwriting during recording and updates the recording metadata after the motion image file recording is completed.
This ensures that even if additional information is entered during motion picture file recording, it can be processed at appropriate timings, preventing the overwriting of additional information files, avoiding complex recording processes, and minimizing the impact on motion picture data recording speed.
Smart Images

Figure CN115550584B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a recording apparatus for recording additional information files related to motion picture files on a recording medium. Background Technology
[0002] In recent years, the rise of social networking services (SNS) such as Twitter has led to expectations that media outlets, including radio stations and news organizations, can deliver more accurate information faster than ever before from the scene. Therefore, image processing devices such as digital cameras and camcorders are utilizing not only moving image files but also supplementary information files containing various metadata about the moving image files to deliver news flashes more quickly and easily. For example, metadata such as the format and recording length of the moving image can be recorded along with the captured moving image in the supplementary information file. Furthermore, reporting information such as the report title and location can be written into the supplementary information file via communication between a mobile terminal and the digital camcorder at the reporting site. For instance, the supplementary information file can be used to facilitate searching for desired moving image files on moving image file servers. During the search, the format and recording length of the moving image file can be understood by viewing its various metadata.
[0003] Japanese Patent Application Publication No. 2013-98658 discusses a technique in which, when a user inputs the contents of an additional information file associated with a motion picture into a communication device, the content is prevented from being recorded as an incorrect motion picture file.
[0004] The metadata (additional information) recorded in the additional information file associated with the motion picture file includes not only user-defined additional information, but also additional information updated at the start of recording and at the end of recording. Therefore, if the additional information file being recorded is updated during motion picture file recording in response to input of additional information to be recorded, the additional information recorded at the start of recording can be overwritten, potentially resulting in the additional information file lacking the additional information recorded at the start of recording.
[0005] Furthermore, during motion picture file recording, motion picture data is recorded on the recording medium. Therefore, if additional information files are updated during motion picture data recording, the processing required for recording on the recording medium becomes complex, and the recording speed of the motion picture data is also affected. Summary of the Invention
[0006] The present invention aims to provide a recording device that can respond appropriately to additional information input at appropriate timing, even when additional information is input during the recording of a motion picture file.
[0007] According to one aspect of the present invention, a recording apparatus is provided, the recording apparatus comprising: an input unit configured to input additional information; a control unit configured to, in response to the input unit inputting the additional information, set the input additional information as recording additional information to be recorded together with a motion picture file; and a recording control unit configured to record motion picture data as the motion picture file in a recording medium, and to record an additional information file including the recording additional information set by the control unit in association with the motion picture file in the recording medium, wherein, when the input unit inputs the additional information during the recording of the motion picture file in the recording medium, the control unit sets the input additional information as the recording additional information at the end of the recording of the motion picture file, rather than setting the input additional information as the recording additional information in response to the input unit inputting the additional information.
[0008] Other features of the invention will become apparent from the following description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description
[0009] Figure 1 This is a block diagram of a digital camcorder.
[0010] Figure 2 An example of an Extensible Markup Language (XML) file format is illustrated.
[0011] Figure 3 The illustration shows an example of a menu screen for selecting to open / close XML file records.
[0012] Figure 4 The illustration shows an example of a menu screen for selecting the XML file record format.
[0013] Figure 5 This is a flowchart of XML file record processing according to a first exemplary embodiment.
[0014] Figure 6 This is a flowchart of settings update and information display processing.
[0015] Figure 7A , Figure 7B and Figure 7C Examples of notification message display are shown in the illustrations.
[0016] Figure 8 This is a flowchart of XML file record processing according to a second exemplary embodiment. Detailed Implementation
[0017] Figure 1The illustration shows a digital camera 100 according to a first exemplary embodiment as an example of a video image recording device to which the present invention can be applied.
[0018] exist Figure 1 In this unit, the components connected to the control unit 101 are an image compression / expansion unit 102, a camera unit 103, an image processing unit 104, a wireless communication unit 105, a display unit 106, an operation unit 107, a read-only memory (ROM) 108, a random access memory (RAM) 109, a recording medium interface (I / F) 110, and an Extensible Markup Language (XML) file generation unit 112. The control unit 101 can exchange data with each of these components.
[0019] Control unit 101 is a system control unit that controls the entire system of digital camera 100, such as a central processing unit (CPU). Control unit 101 loads programs stored in ROM 108 into RAM 109 and executes the loaded programs, thereby controlling each component and performing calculations, and executing the flowcharts to be described. ROM 108 is a non-volatile recording medium that stores programs to be executed by control unit 101 and various settings. RAM 109 is a volatile recording medium that serves as the working memory of control unit 101. RAM 109 also serves as video RAM (VRAM), temporarily storing image data acquired by camera unit 103 and processed by image processing unit 104, or image data read from recording medium 111, for compression or expansion processing of image data in image compression / expansion unit 102, or for displaying image data on display unit 106. RAM 109 also serves as RAM, temporarily storing XML files to be recorded in association with captured images and metadata to be written into the XML files. The XML files to be recorded can be received from wireless communication unit 105. The control unit 101 also generates display data for the display unit 106 and controls the display timing, thus also functioning as a display control unit. Furthermore, the control unit 101 controls the recording and reading of data relative to the recording medium 111 via the recording medium I / F 110, thus also functioning as a recording control unit. The control unit 101 can be configured with multiple processors, or it can be integrated with other components (e.g., image compression / expansion unit 102 or image processing unit 104) to have the functions of those components, or it can have some of the functions of other components.
[0020] Recording medium 111 for recording image data can be attached to digital camera 100. Therefore, digital camera 100 has recording medium I / F 110. Recording medium I / F 110 has a slot for inserting a removable recording medium 111, such as a memory card. Figure 1An example of recording medium 111 being attached to recording medium I / F 110 is illustrated. The digital camera 100 is described as having a configuration in which image data is recorded in a removable recording medium 111, but it may also have a configuration in which image data is recorded in a non-removable recording medium built into the digital camera 100.
[0021] The image processing unit 104 performs predetermined processing on the image data acquired by the camera unit 103, including pixel interpolation, size adjustment, and color conversion. Furthermore, the image processing unit 104 performs predetermined calculations using the acquired image data, and the control unit 101 performs various types of camera-related controls (such as exposure control and automatic white balance control) based on the obtained calculation results.
[0022] The image compression / expansion unit 102 performs processing for compressing image data processed by the image processing unit 104, and processing for expanding image data read from the recording medium 111.
[0023] The camera unit 103 has a camera lens (including a zoom lens and a focus lens) and an image sensor. It captures images of the subject based on the control of the control unit 101 and acquires image data such as still image data or moving image data.
[0024] Display unit 106 is a display device used to display various setting states, images captured by camera unit 103, images read from and played back from recording media, etc., based on the control of control unit 101. Display unit 106 is configured as a display device inside a perspective viewfinder, a variable angle liquid crystal display (LCD) monitor, etc.
[0025] The operation unit 107 includes a power switch for supplying power to the digital camcorder 100, an image capture start button, and a mode switch button for switching between camera mode (image capture mode) and playback mode, and accepts user input. When a touch panel is included in the operation unit 107, the control unit 101 can detect operations on the touch panel. Any of various types of touch panels can be used, including resistive film, capacitive, surface acoustic wave, infrared, electromagnetic induction, image recognition, and optical sensor types.
[0026] The wireless communication unit 105, based on the control unit 101, transmits data wirelessly to and receives data from external devices such as external cameras, personal computers, smartphones, or tablets. The wireless communication unit 105 can transmit information such as setting and operation information of the digital camera 100 to external devices, and can receive commands for operating the digital camera 100, XML files to be recorded along with image data, etc., from external devices. Received data is stored in RAM 109. The data that can be transmitted and received includes digital image data and analog video signals.
[0027] The XML file generation unit 112, based on the control of the control unit 101, generates an XML file (moving image file) to be recorded in association with the captured image. The XML file is generated using metadata (additional information) included in an XML file received from an external device by the wireless communication unit 105 or an XML file recorded on the recording medium 111, as well as metadata that can be obtained at the start or end of recording. (Refer to...) Figure 2 Describe the details of the metadata configuration included in the XML file.
[0028] In response to operation of the menu buttons included in the operation unit 107, the control unit 101 displays on the display unit 106. Figure 3 The menu 300 is shown. The user can operate the selection cursor 301 using the crosshair included in the operation unit 107 to select "On" or "Off" from the items in the menu 300 as an indication of whether to record the XML file. The control unit 101 records the user-selected XML file recording settings in RAM 109 or ROM 108. Furthermore, regarding the format of the XML file to be recorded in association with the motion picture file, the user can use the selection cursor 401 to select from... Figure 4 Menu 400 (same as in menu 300) shows the selection of an XML file format. In menu 400, the user can choose between "News Metadata" and "Raw" as the XML file format setting. Selecting "News Metadata" records the XML file in NewsML-G2 format, while selecting "Raw" records the XML file in user-defined memo format. The control unit 101 also stores the XML file format setting selected in menu 400 in RAM 109 or ROM 108.
[0029] Figure 2An example of metadata (additional information) configuration included in an XML file to be associated with a motion picture file is illustrated in this exemplary embodiment. The XML file 200 consists of metadata 201 recorded based on information acquired at the start of recording, metadata 202 set by the user, and metadata 203 recorded based on information acquired at the end of recording. Metadata 201 contains information determined at the start of recording the motion picture file (motion picture data), and this is additional information that does not change after the start of recording. This information includes creation date and time, file name, clip identification information, file format, and audio information. Metadata 202 contains additional information as user-set information, and this information includes clip title, camera information, photographer, keywords, category, genre, language information, contributor, and permission information. Metadata 203 contains additional information determined at the end of motion picture data recording of the motion picture file, and this information cannot be acquired at the start of motion picture data recording, and includes update date and time, as well as clip recording length (such as recording time or number of frames).
[0030] Since metadata 202 contains additional information set by the user, it is desirable to input metadata 202 into the digital camera 100. In this exemplary embodiment, the user sets metadata 202 in an external device, and the external device generates a setting XML file including the metadata 202 set in the external device, and inputs the generated setting XML file into the digital camera 100. The setting XML file generated in the external device can be input into the digital camera 100 via the wireless communication unit 105 or the recording medium 111. When the setting XML file is input into the digital camera 100 via the wireless communication unit 105, the user sets metadata 202 in the external device and provides a transmission instruction to the external device to transmit the set metadata 202 to the digital camera 100. The external device generates a setting XML file including the user-set metadata 202, and transmits the generated setting XML file to the digital camera 100 in response to the transmission instruction. The wireless communication unit 105 of the digital camera 100 receives the setting XML file transmitted from the external device, thereby the digital camera 100 acquires the metadata 202 set by the user in the external device. When a setting XML file is input into the digital camera 100 via the recording medium 111, the setting XML file describing the metadata 202 in the external device is recorded in the recording medium 111. The user attaches the recording medium 111 containing the setting XML file to the recording medium I / F 110 of the digital camera 100. Subsequently, the recording medium I / F 110 reads the setting XML file, thereby allowing the digital camera 100 to obtain the metadata 202 set by the user in the external device. When the user sets the use of the metadata in the setting XML file recorded in the recording medium 111 through the operation unit 107 of the digital camera 100, the setting XML file is read from the recording medium 111 and the metadata 202 is obtained. In the digital camera 100 of this exemplary embodiment, the use of the setting XML file in the recording medium 111 cannot be set during the recording of a moving image file, but the settings for the recording metadata can be updated by receiving the setting XML file from the external device.
[0031] The settings XML file generated by the external device includes at least the metadata 202 information of the user settings. Alternatively, the external device can describe the metadata in the same format as the XML file to be generated and recorded by the digital camera 100 along with the motion picture file. In this case, metadata 201 and metadata 203 cannot be determined by the external device and therefore have blank or values such as 0.
[0032] As described above, when the digital camera 100 acquires a setting XML file, the control unit 101 sets the metadata included in the setting XML file as recording metadata (recording additional information). Furthermore, the set recording metadata is stored in ROM 108 or RAM 109. When the XML file is recorded in association with a moving image file, the metadata set as recording metadata is recorded as metadata of the XML file. Recording metadata is set for each XML file format. In other words, in this exemplary embodiment, recording metadata in NewsML-G2 format and recording metadata in user memo format can be set separately. Therefore, the control unit 101 switches between setting recording metadata in NewsML-G2 format and setting recording metadata in user memo format depending on whether the format of the setting XML file input to the digital camera is NewsML-G2 format or user memo format.
[0033] Next, we will refer to Figure 5 and Figure 6 This exemplary embodiment describes the processing of recording and setting XML files. Control unit 101 reads the program stored in ROM 108 and loads the read program into RAM 109, thereby performing control over each component and performing computational processing to achieve… Figure 5 and Figure 6 Each step of the flowchart in each of the above. When the digital camera 100 is set to camera mode (image capture mode) by the user's operation of the operation unit 107, the control unit 101 begins... Figure 5 The processing in the process.
[0034] Figure 5 This is a flowchart illustrating the XML file recording process in the digital camera 100 of the first exemplary embodiment.
[0035] When set to camera mode, firstly, the control unit 101 reads the user's settings from ROM 108. Figure 3 and Figure 4 The settings are selected from the menu. Then, with XML file recording set to "On", the control unit 101 reads the recording metadata corresponding to the user-selected XML file format setting from ROM 108 and stores the read recording metadata in RAM 109. Afterwards, the control unit 101 executes the processing in and after step S500. If the XML file recording settings, XML file format settings, or recording metadata settings are changed during operation in camera mode, the control unit 101 updates each setting recorded in ROM 108 and the recording metadata stored in RAM 109.
[0036] In step S500, the control unit 101 determines whether a setting XML file has been received from an external device via the wireless communication unit 105. If the control unit 101 determines that a setting XML file has been received (yes in step S500), the process proceeds to step S501. If the control unit 101 determines that no setting XML file has been received (no in step S500), the process proceeds to step S503. Since no motion image file is recorded in step S500, the control unit 101 can also determine whether the use of the setting XML file recorded on the recording medium 111 has been set through operation on the operation unit 107. If the control unit 101 determines that the user has set the use of the setting XML file stored on the recording medium 111, the control unit 101 reads the setting XML file from the recording medium 111 via the recording medium I / F 110 and proceeds to step S501. If the use of the setting XML file recorded on the recording medium 111 has not been set, the process proceeds to step S503.
[0037] In step S501, the XML file generation unit 112 analyzes the setup XML file received in step S500 (or the setup XML file read from the recording medium 111 in step S500). Then, the metadata required to generate the XML file to be recorded in association with the motion picture file is set as recording metadata, and the recording metadata is stored in RAM 109. Since the metadata is set as recording metadata and stored in RAM 109, the metadata is recorded as metadata in the XML file to be recorded along with the motion picture file.
[0038] In step S502, the control unit 101 executes a setting update and information display process, which consists of a setting update process accompanied by a change in record metadata settings and an information display process regarding the setting change. The following will refer to... Figure 6 Describe the details of the processing.
[0039] In step S503, the control unit 101 determines whether a recording start command for starting motion image recording has been input by issuing a motion image recording start command to the operation unit 107. If the control unit 101 determines that a recording start command has been input (yes in step S503), the process proceeds to step S504. If the control unit 101 determines that no recording start command has been input (no in step S503), the process returns to step S500. In other words, steps S501 and S502 are repeated until a recording start command is input and motion image recording processing begins. Although not shown in the flowchart, the control unit 101 starts motion image file recording processing in response to the input of a recording start command. During motion image file recording processing, firstly, the control unit 101 generates a motion image file, stores the motion image file in the recording medium 111, and records motion image data acquired by the camera unit 103 and processed by the image processing unit 104 and the image compression / expansion unit 102 in the motion image file. When a recording end command is input through the operation unit 107, the control unit 101 records the motion image data acquired before the recording end command is input into the motion image file, and generates or updates the header of the motion image file, thereby completing the motion image file recording process.
[0040] In step S504, the control unit 101 determines whether the XML file record setting is "On". If the control unit 101 determines that it is set to "On" ("Yes" in step S504), the process proceeds to step S505. If the control unit 101 determines that the setting is not "On" ("No" in step S504), the process proceeds to step S507.
[0041] In step S505, the XML file generation unit 112 generates recording start information metadata based on information obtainable at the start of recording of the motion picture file (motion picture data). Subsequently, the XML file generation unit 112 uses the generated recording start information metadata and the recording metadata stored in RAM 109 to generate an XML file. In other words, the recording start information metadata is used as... Figure 2 The metadata of XML file 200 is used as 201 and the record metadata is used as Figure 2 The metadata 202 of the XML file 200 is used to generate an XML file. In this process, an XML file can be generated with blanks or 0 as metadata 203 for each piece of information, or an XML file can be generated without metadata 203.
[0042] In step S506, the control unit 101 records the XML file generated in step S505 and the motion picture file together in the recording medium 111 via the recording medium I / F 110.
[0043] In step S507, similar to step S500, the control unit 101 determines whether a setting XML file has been received. If the control unit 101 determines that a setting XML file has been received ("Yes" in step S507), the process proceeds to step S508. If the control unit 101 determines that no setting XML file has been received ("No" in step S507), the process proceeds to step S509. Since a motion picture file (motion picture data) is being recorded in step S507, unlike step S500, it is not determined whether the use of the setting XML file recorded on the recording medium 111 has been set.
[0044] In step S508, the settings received in step S507 are temporarily stored in RAM 109 using an XML file.
[0045] In step S509, the control unit 101 determines whether a recording end command to terminate the recording of the motion picture file has been input via an operation on the operation unit 107. If the control unit 101 determines that a recording end command has been received (yes in step S509), the process proceeds to step S510. If the control unit 101 determines that no recording end command has been received (no in step S509), the process returns to step S507, and steps S507 and S508 are repeated until a recording end command is input.
[0046] In step S510, similar to step S504, the control unit 101 determines whether the XML file record setting is "On". If the control unit 101 determines that it is set to "On" ("Yes" in step S510), the process proceeds to step S511. If the control unit 101 determines that the setting is not "On" ("No" in step S510), the process proceeds to step S512.
[0047] In step S511, the XML file generation unit 112 generates record end information metadata based on information obtainable at the end of the record. Then, the XML file recorded in the recording medium 111 in step S506 is read, the metadata 203 in the XML file is updated with the record end information metadata, and the updated XML file is recorded in the recording medium 111. If the metadata 203 is not recorded in the XML file, the record end information metadata is added as metadata 203 and recorded in the recording medium 111. Since not every piece of information in the metadata 203 determined at the end of the record is recorded in the XML file recorded in the recording medium 111 in step S506, this is a state where the XML file does not include the information to be recorded. Therefore, in step S511, an XML file describing each piece of information in the metadata 203 is generated, and the generated XML file is recorded in the recording medium 111 (overwriting), thus completing the recording of the XML file. Step S511 is executed when the timing for generating recording end information metadata is available without waiting for the recording of the motion picture file to be completed. That is, step S511 is executed when the timing for recording motion picture data is completed and the information on the clip recording time is available. Therefore, the recording of the XML file can be completed before the recording of the motion picture file is completed.
[0048] In step S512, the control unit 101 determines whether to temporarily store the setting XML file in RAM 109 by executing step S508. If the control unit 101 determines that the setting XML file has been stored ("Yes" in step S512), the process proceeds to step S513. If the control unit 101 determines that the setting XML file has not been stored ("No" in step S512), the process returns to step S500.
[0049] In step S513, the XML file generation unit 112 analyzes the setup XML file temporarily stored in RAM 109. Then, the metadata required to generate the XML file to be recorded in association with the motion picture file is set as recording metadata, and the recording metadata is stored in RAM 109. The recording metadata is used to generate the XML file associated with the motion picture file to be recorded next time.
[0050] Steps S513 and S514 are executed after the motion picture file recording is completed. In this exemplary embodiment, the setting XML file can still be received even during motion picture file recording, but the settings of the recording metadata are changed after the motion picture file recording is completed. Therefore, when recording motion picture files again, the XML file including the recording metadata after the setting changes is recorded together with the motion picture file.
[0051] In step S514, similar to step S502, the control unit 101 performs a setting update and information display process consisting of a setting update process accompanied by a change in the recording metadata settings and an information display process regarding the setting change.
[0052] repeat Figure 5 The process continues until the camera mode ends or the digital camcorder is powered off.
[0053] Figure 6 This is a flowchart illustrating the process of setting update and information display, which consists of setting update processing accompanied by changes in record metadata settings and information display processing regarding the setting changes.
[0054] First, in step S600, the control unit 101 determines whether the XML file record setting is "On". If the control unit 101 determines that it is set to "On" ("Yes" in step S600), the process proceeds to step S601. If the control unit 101 determines that the setting is not "On" ("No" in step S600), the process proceeds to step S605.
[0055] In step S601, the control unit 101 compares the XML file format settings with the metadata format described in the XML file received from the external device before entering this process, and determines whether these formats are the same. If the control unit 101 determines that the formats are the same ("Yes" in step S601), the process proceeds to step S602. If the control unit 101 determines that the formats are different ("No" in step S601), the process proceeds to step S603.
[0056] In step S602, since the record metadata was set and updated based on the settings in the XML file before entering this process, the control unit 101 displays information on the display unit 106 to notify the user that the record metadata settings have been updated. For example, in Figure 7A The notification information 401a is displayed on the screen shown in screen 400.
[0057] In step S603, the control unit 101 changes the XML file format setting to a format corresponding to the metadata included in the received setting XML file. Subsequently, in step S604, the control unit 101 displays information on the display unit 106 to notify the user of the XML file format setting change. For example, it displays... Figure 7B The notification information shown is 401b.
[0058] In step S605, the control unit 101 changes the XML file recording setting to "On". Subsequently, in step S606, the control unit 101 displays information on the display unit 106 to notify the user that the XML file recording setting has been changed to "On". For example, it displays... Figure 7C The notification information shown is 401c.
[0059] As described above, according to the first exemplary embodiment, a setup XML file can be received from an external device even during motion picture file recording. When a setup XML file is received during motion picture file recording, the received setup XML file is temporarily stored in RAM 109 without setting recording metadata based on the setup XML file upon receipt. Subsequently, after motion picture file recording is completed, the recording metadata is set based on the received setup XML file, thereby preventing unwanted error values from being written into the XML file associated with the recording motion picture file, thus preventing the XML file from becoming an erroneous XML file.
[0060] For example, an XML file could be updated based on settings during motion picture file recording. However, in this case, the processing during recording on the recording medium could be complex, and the recording speed of the motion picture data might be affected. Therefore, in this exemplary embodiment, after the motion picture file recording is completed, the recording metadata is set using an XML file based on the received settings, and the recording metadata is applied to the next motion picture file. Thus, the recording metadata can be set using an XML file based on the received settings without requiring complex recording processing and without affecting the recording speed.
[0061] Furthermore, after a motion picture file recording is complete, the recording metadata settings are changed, and information notifying the user of the change is displayed. Therefore, the user can recognize the changed recording metadata settings in the next motion picture file recording.
[0062] The second exemplary embodiment will now be described. The digital camera 100, which is a video image recording device, has a configuration similar to that of the first exemplary embodiment, and therefore its description will be omitted.
[0063] Figure 8 The illustration shows a flowchart of the XML file record processing procedure in this exemplary embodiment. Control unit 101 reads the program stored in ROM 108 and loads the read program into RAM 109, thereby executing control over each component and performing computational processing to achieve… Figure 8 Each step of the flowchart in the document. Figure 8 The partial processing of the flowchart in the first exemplary embodiment is different. Figure 5 The flowchart processing is shared within the same framework. Assigned to... Figure 5 The same steps in the flowchart are the same as Figure 5 The same labels will be used, and their descriptions will be omitted. (And...) Figure 5 The process Figure 1 Similarly, when the digital camera 100 is set to camera mode (image capture mode) through the user's operation of the operation unit 107, it begins... Figure 8 The processing of the flowchart in the document. Subsequently, with... Figure 5 Similar to the processing in the previous example, when the XML file record is set to "on", the record metadata corresponding to the user-selected XML file format setting is read from ROM 108 and stored in RAM 109.
[0064] Steps S500 to S503 are similar to those in the first exemplary embodiment.
[0065] If the control unit 101 determines that a recording start command has been input ("Yes" in step S503), in step S800, the XML file generation unit 112 generates recording start information metadata based on information that can be obtained at the start of recording, and temporarily stores the recording start information metadata in RAM 109.
[0066] Then, similar to the first exemplary embodiment, steps S504 to S509 are performed.
[0067] If the control unit 101 determines that a recording end command has been input ("Yes" in step S509), then in step S801, the control unit 101 determines whether the setting XML file has been temporarily stored in RAM 109 by executing step S508. If the control unit 101 determines that the setting XML file has been temporarily stored ("Yes" in step S801), then the process proceeds to step S802. If the control unit 101 determines that the setting XML file has not been temporarily stored ("No" in step S801), then the process proceeds to step S806.
[0068] In step S802, the XML file generation unit 112 analyzes the setup XML file temporarily stored in RAM 109 in step S508. Subsequently, the metadata required for generating the XML file to be recorded in association with the motion picture file is set as recording metadata, and the recording metadata is stored in RAM 109. Steps S801 and S802 are similar to steps S512 and S512 in the first exemplary embodiment, but differ in execution timing. In the second exemplary embodiment, these steps are performed before the XML file recording is completed.
[0069] In step S803, the XML file generation unit 112 generates record end information metadata based on information obtainable at the end of the record. Using the record start information metadata stored in RAM 109 in step S800, the generated record end information metadata, and the record metadata set and stored in RAM 109 in step S802, the XML file is generated again.
[0070] In step S804, the control unit 101 deletes the XML file recorded in the recording medium 111 in step S506 via the recording medium I / F 110, and records the XML file regenerated in step S803 in the recording medium 111, thereby completing the XML file recording.
[0071] In step S805, since the record metadata was updated in step S802, the control unit 101 performs a setting update and information display process consisting of a setting update process accompanied by a setting change in the record metadata and an information display process regarding the setting change (similar to...). Figure 6 (The process in step S805). After executing step S805, the process returns to step S500.
[0072] In step S806, the control unit 101 determines whether the XML file recording setting is "on". If the control unit 101 determines that it is set to "on" ("yes" in step S806), the process proceeds to step S807. If the control unit 101 determines that the setting is not "on" ("no" in step S806), the process returns to step S500. In step S807, the XML file generation unit 112 generates recording end information metadata based on information that can be obtained at the end of recording. Subsequently, the XML file recorded in the recording medium 111 in step S506 is read, the metadata 203 in the XML file is updated with the generated metadata, and the updated XML file is recorded in the recording medium 111. This completes the XML file recording, and the process returns to step S500. Steps S806 and S807 are similar to steps S510 and S511 of the first exemplary embodiment, but differ in execution timing.
[0073] As described above, according to the second exemplary embodiment, even while recording motion picture files in the digital camera 100, a setting XML file can still be received from an external device via the wireless communication unit 105. If a setting XML file is received during motion picture file recording, the setting XML file is temporarily stored, and the recording metadata is updated when the motion picture file (motion picture data) recording ends. Additionally, at the start of motion picture file recording, recording start information metadata is stored in RAM 109. At the end of motion picture file recording, the XML file is regenerated using the recording metadata with settings changed by receiving the setting XML file, the recording start information metadata stored in RAM 109, and the recording end information metadata obtained at the end of recording, and the regenerated XML file is recorded in the recording medium 111. This process enables the recording of an XML file reflecting the metadata of the received setting XML file as an XML file to be recorded in association with the currently recorded motion picture file, even when a setting XML file is received during motion picture file recording.
[0074] In this exemplary embodiment, when a setting XML file is received during motion picture file recording, the receiving timing is included in the time during motion picture data recording, and the processing load of the digital camera 100 is high, so the recording metadata is not updated. For example, during motion picture data recording, the recording metadata and XML file can be updated based on the received setting XML file; however, in this case, the recording process on the recording medium can be complex, and the recording speed of the motion picture data may be affected. Therefore, in this exemplary embodiment, after the motion picture data recording is completed, at the end of the motion picture file recording, the recording metadata is updated (set) based on the received setting XML file. Therefore, the recording metadata can be set and the XML file updated (regenerated and recorded on the recording medium) based on the received setting XML file, without requiring complex recording processing and without affecting the recording speed. In this exemplary embodiment, the recording metadata and XML file are updated at the end of the motion picture file recording. However, even during motion picture data recording, the recording metadata can be updated during the receiving timing. However, even in this case, the XML file may be updated at the end of the recording.
[0075] When the entire XML file to be recorded (an XML file with the same format as the XML file being recorded) is input as a settings XML file during motion picture file recording, the recording of the supplementary information file can be updated using the input settings XML file. However, if the recording of the supplementary information file is updated using the input settings XML file, the start-of-recording metadata is overwritten, resulting in the loss of start-of-recording metadata. Therefore, in this exemplary embodiment, the start-of-recording metadata is temporarily stored at the start of recording, and when the settings XML file is received during motion picture file recording, the supplementary information file is regenerated at the end of recording using the temporarily stored start-of-recording metadata, the settings supplementary information file, and the end-of-recording metadata. Therefore, even when the entire XML file is input as a settings supplementary information file, metadata can still be reliably recorded without losing the start-of-recording metadata.
[0076] Other embodiments
[0077] The embodiments of the present invention can also be implemented by providing software (programs) that perform the functions of the above embodiments to a system or device via a network or various storage media, and the computer or central processing unit (CPU) or microprocessor unit (MPU) of the system or device reads out and executes the program.
[0078] Although the invention has been described with reference to exemplary embodiments, it should be understood that the invention is not limited to the disclosed exemplary embodiments. The appended claims should be interpreted in the broadest possible sense to cover all such modifications and equivalent structures and functions.
Claims
1. A recording device, the recording device comprising: An input unit configured to input additional information; A control unit configured to, in response to input of the additional information by the input unit, set the input additional information as recording additional information to be recorded together with the motion picture file; as well as A recording control unit is configured to record motion image data as a motion image file in a recording medium, and to record an additional information file, including additional recording information set by the control unit, in association with the motion image file in the recording medium. Wherein, when the input unit inputs the additional information during the recording of the motion image file on the recording medium, the control unit sets the input additional information as the recording additional information at the end of the recording of the motion image file, rather than setting the input additional information as the recording additional information in response to the input unit inputting the additional information.
2. The recording device according to claim 1, wherein, When the motion image file is not being recorded, the control unit sets the input additional information as the recording additional information in response to the input unit inputting the additional information. When the motion image file is being recorded, the control unit temporarily stores the input additional information instead of setting the input additional information as the recording additional information in response to the input unit inputting the additional information, and sets the input additional information as the recording additional information when the motion image file recording ends.
3. The recording apparatus according to claim 1, further comprising a display control unit configured to control a display unit to display a notification regarding the settings of the additional information.
4. The recording device according to claim 1, wherein, The recording control unit records the additional information file, including the additional recording information, in the recording medium at the start of the motion image file recording, and updates the information about the motion image file in the additional information file recorded in the recording medium at the end of the motion image file recording.
5. The recording device according to claim 4, wherein, At the start of the motion picture file recording, the recording control unit records the additional information file generated based on the additional recording information and the first additional information determined at the start of the motion picture file recording.
6. The recording device according to claim 4, wherein, The information about the motion picture file that is to be updated at the end of the recording of the motion picture file is a second additional information determined in response to the completion of the recording of the motion picture data of the motion picture file.
7. The recording device according to claim 6, wherein, The second additional information is information indicating the recording length of the motion picture data recorded in the motion picture file.
8. The recording device according to claim 5, in, The input unit inputs a file from an external device that describes the additional information in the same format as the additional information file recorded on the recording medium by the recording control unit. The file describing the additional information includes the items in the first additional information.
9. The recording device according to claim 1, wherein, When the input unit inputs the additional information while recording the motion image data on the recording medium, the control unit sets the input additional information as the recording additional information when the motion image file recording is completed, thereby recording the additional information file including the input additional information together with the motion image file to be recorded next.
10. The recording device according to claim 1, in, At the start of motion image file recording, the recording control unit generates an additional information file based on the additional recording information set by the control unit and the first additional information determined at the start of motion image file recording, records the generated additional information file in the recording medium, and temporarily stores the first additional information. Wherein, when the input unit inputs the additional information during the recording of the motion image file on the recording medium, the recording control unit, upon completion of the motion image file recording, generates an additional information file again based on the input additional information, temporarily stored first additional information, and second additional information determined when the motion image data recording of the motion image file is completed, and records the regenerated additional information file on the recording medium, and the control unit sets the input additional information as the recording additional information, and If the input unit does not input the additional information during the recording of the motion image file on the recording medium, the recording control unit updates the additional information file recorded on the recording medium with the second additional information when the recording of the motion image file ends.
11. The recording device according to claim 1, further comprising a setting unit configured to set whether to record the additional information file. in, The setting unit changes the settings for recording the additional information file in response to the input unit not inputting the additional information during the recording of the motion picture file.
12. The recording apparatus according to claim 11, wherein, When the input unit inputs the additional information during the recording of the motion picture file, the setting unit changes the settings for recording the additional information file when the recording of the motion picture file is completed.
13. The recording device according to claim 1, further comprising a setting unit configured to set whether to record the additional information file. in, When the input unit inputs the additional information during the recording of the motion picture file, the recording control unit records the additional information file, including the input additional information, in the recording medium, regardless of the settings of the setting unit.
14. The recording device according to claim 1, in, The input unit is a receiving unit configured to receive additional information transmitted from an external device, and The control unit, in response to the receiving unit receiving the additional information, sets the received additional information as the recorded additional information.
15. The recording apparatus according to claim 1, wherein, During the recording of the motion picture file on the recording medium, the input unit inputs a setting additional information file describing the additional information in the same format as the additional information file recorded in association with the motion picture file, and the control unit sets the input additional information as the recording additional information when the recording of the motion picture file ends.
16. The recording apparatus according to claim 1, wherein, The additional information file is a file in Extensible Markup Language (XML) format.
17. The recording apparatus according to claim 16, wherein, The additional information file is a NewsML-G2 format file.
18. The recording device according to claim 1, further comprising a camera unit, in, The recording control unit records the motion image data acquired by the camera unit as the motion image file.
19. A control method for a recording device, the control method comprising: Enter additional information; In response to the input of the additional information, the input additional information is set as the recording additional information to be recorded along with the motion picture file; as well as Recording control is performed to record motion image data as a motion image file on a recording medium, and an additional information file, including set additional recording information, is recorded in association with the motion image file on the recording medium. Wherein, if the additional information is input during the recording of the motion picture file on the recording medium, the input additional information is set as the recording additional information at the end of the recording of the motion picture file, rather than setting the input additional information as the recording additional information in response to the input additional information.
20. A non-transitory computer-readable storage medium storing a program that enables a computer to execute the control method according to claim 19.
Citation Information
Patent Citations
Content management apparatus, recording apparatus, operating apparatus, content management system and control method for them
JP2013098658A
Recording / Reproducing device and recording / Reproducing method
JP2000113591A
Imaging apparatus, control method for imaging apparatus, and program
JP2017050801A