Recording device, control method thereof, and program

The recording device addresses metadata overwriting and speed issues by controlling input timing and temporary storage during video recording, ensuring accurate metadata association and maintaining speed.

JP7752976B2Active Publication Date: 2025-10-14CANON KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021108054
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-29
Publication Date
2025-10-14
Estimated Expiration
2041-06-29

AI Technical Summary

Technical Problem

Existing recording devices face issues with overwriting or complicating the recording process when additional information files are updated during video file recording, leading to missing metadata and affecting recording speed.

Method used

A recording device that controls additional information input timing by temporarily storing input metadata during video recording and setting it after recording completion, ensuring accurate metadata association without impacting recording speed.

Benefits of technology

Ensures appropriate timing for additional information input, preventing overwriting and maintaining recording speed by temporarily storing metadata during video recording and applying it post-recording.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007752976000001
    Figure 0007752976000001
  • Figure 0007752976000002
    Figure 0007752976000002
  • Figure 0007752976000003
    Figure 0007752976000003
Patent Text Reader

Abstract

To provide a recording apparatus that appropriately responds to input additional information at appropriate timing, even in a case where the additional information is input during recording of a moving-image file.SOLUTION: A recording apparatus includes input means configured to input additional information; control means configured to set the input additional information as record additional information to be recorded together with a moving-image file, in response to the additional information having been input by the input means; and recording control means configured to perform control to record moving-image data in a recording medium as the moving-image file, and to record the additional information file including the record additional information set by setting means on the recording medium, in association with the moving-image file. If the additional information is input by the input means during recording of the moving-image file in the recording medium, the control means set the input additional information as the recording additional information at end of recording of the moving-image file, without setting the input additional information as the recording additional information in response to the additional information is input by the input means.SELECTED DRAWING: Figure 5
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates to a recording device for recording additional information files related to moving image files on a recording medium. [Background technology]

[0002] In recent years, the rise of social networking services (SNS) such as Twitter has created a demand for broadcasters, news agencies, and other news sites to deliver accurate information more quickly than ever before. Therefore, video processing devices such as digital still cameras and digital video cameras utilize not only video files but also additional information files containing various metadata about the video files, enabling faster and easier reporting with greater speed and speed. Additional information files can record metadata such as the video format and recording length along with the captured video. Furthermore, communication between mobile devices and digital video cameras can be used to write coverage information such as the title and location of coverage to the additional information file at the reporting site. Additional information files are used, for example, to facilitate easier searches for desired video files on video file servers. By viewing the various metadata of a video file, users can learn the format and recording length of the video file.

[0003] Patent Document 1 describes a technique for preventing a user from inputting the contents of an additional information file to be associated with a video from a communication device or the like and recording the information in association with a wrong target video file. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2013-98658 Summary of the Invention [Problem to be solved by the invention]

[0005] The metadata (additional information) recorded in an additional information file associated with a video file includes not only additional information set by the user, but also additional information updated at the start of recording and additional information updated at the end of recording. Therefore, if additional information to be recorded is input while a video file is being recorded and an attempt is made to update the additional information file being recorded, the additional information recorded at the start of recording may be overwritten, resulting in an additional information file that is missing the additional information recorded at the start of recording.

[0006] Furthermore, while a video file is being recorded, video data is being recorded onto the recording medium, and if an attempt is made to update the additional information file while recording video data, the process of recording onto the recording medium becomes complicated and also affects the recording speed of the video data.

[0007] Therefore, in consideration of the above-mentioned problems, the present invention aims to provide a recording device that applies additional information input at an appropriate timing, even if additional information is input while a video file is being recorded. [Means for solving the problem]

[0008] In order to achieve the above object, the recording device of the present invention comprises: a control means for controlling the setting means to set the additional information input by the input means in the recording device as recorded additional information to be recorded together with the moving image file, the recording control means for recording moving image data as a moving image file on the recording medium and for controlling the recording of an additional information file including the recorded additional information set by the setting means in association with the moving image file on the recording medium, and the control means for controlling the setting means to set the input additional information as recorded additional information in the recording device when the additional information is input by the input means when the moving image file is not being recorded on the recording medium, and for controlling the setting means to temporarily store the input additional information when the additional information is input by the input means during recording of the moving image file on the recording medium, without setting the input additional information as recorded additional information in the recording device by the setting means, and for controlling the setting means to set the temporarily stored additional information as recorded additional information in the recording device when recording of the moving image file is completed. [Effects of the Invention]

[0009] According to the present invention, it is possible to provide a recording device that adapts additional information input at an appropriate timing even when the additional information is input while a moving image file is being recorded. [Brief explanation of the drawings]

[0010] [Figure 1] FIG. 1 is a block diagram of a digital video camera 100. [Figure 2] This is an example of the XML file format. [Figure 3] 10 is a display example of a menu screen for selecting whether or not to record an XML file. [Figure 4] 10 is a display example of a menu screen for selecting the format of XML file recording. [Figure 5] 10 is a flowchart of an XML file recording process according to the first embodiment. [Figure 6] 10 is a flowchart of a setting update and information display process. [Figure 7] 10 is a display example of notification information. [Figure 8] 10 is a flowchart of an XML file recording process according to the second embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0011] First Embodiment FIG. 1 shows a digital video camera 100, which is an example of a video recording device to which the present invention can be applied.

[0012] 1, the following components are connected to a control unit 101: an image compression / decompression unit 102, an imaging unit 103, an image processing unit 104, a wireless communication unit 105, a display unit 106, an operation unit 107, a ROM 108, a RAM 109, a recording medium I / F 110, and an XML file generation unit 112. The control unit and each component are capable of exchanging data with each other.

[0013] The control unit 101 is a system control unit such as a CPU that controls the overall system of the digital video camera 100. The control unit 101 loads a program stored in a ROM 108 onto a RAM 109 and executes it to control each component, perform arithmetic processing, and execute the flowcharts described below. The ROM 108 is a non-volatile recording medium that stores the programs executed by the control unit 101 and various settings. The RAM 109 is a volatile recording medium used as a work memory for the control unit 101. The RAM 109 is also used as a VRAM that temporarily stores image data captured by the imaging unit 103 and processed by the image processing unit 104, as well as image data read from the recording medium 111, for compression or decompression processing by the image compression / decompression unit 102, or for display on the display unit 106. It is also used as a RAM that temporarily stores XML (Extensible MarkUp Language) files that are recorded in association with captured images and metadata to be written to the XML files. The XML files to be recorded can be received via a wireless communication unit 105. The control unit 101 also functions as a display control unit, since it generates display data for the display unit 106 and controls the display timing. The control unit 101 also functions as a recording control unit, since it controls recording and reading of data to the recording medium 111 via the recording medium I / F 110. The control unit 101 may be configured with multiple processors, or the control unit 101 may be configured integrally with the functions of other components (for example, the image compression / decompression unit 102 and the image processing unit 104), or some of the functions of the other components may be provided in the control unit 1010.

[0014] A recording medium 111 for recording image data can be attached to the digital video camera 100. To this end, the digital video camera 100 has an interface called a recording medium I / F 110. The recording medium I / F 110 has a slot into which a removable recording medium 111 such as a memory card can be inserted. FIG. 1 illustrates an example in which the recording medium 111 is attached to the recording medium I / F 110. Although the digital video camera 100 has been described as being configured to record image data on a removable recording medium 111, it is also possible to consider a configuration in which image data is recorded on a non-removable recording medium built into the digital video camera 100.

[0015] The image processing unit 104 performs predetermined pixel interpolation, resizing, and color conversion on the image data captured by the imaging unit 103. The image processing unit 104 also performs predetermined calculation processing using the captured image data, and the control unit 101 performs various controls (exposure control, auto white balance control, etc.) related to the imaging by the imaging unit 103 based on the obtained calculation results.

[0016] The image compression / decompression unit 102 compresses image data that has been image-processed by the image processing unit 104 and decompresses image data that has been read from the recording medium 111 .

[0017] The imaging unit 103 has a photographing lens (including a zoom lens and a focus lens) and an imaging element, and captures an image of a subject under the control of the control unit 101 to obtain image data such as still images and moving image data.

[0018] The display unit 106 is a display for displaying various setting states, images captured by the imaging unit 103, images read and played from a recording medium, etc., based on the control of the control unit 101. It is configured as a display within a peer-type finder, a vari-angle liquid crystal monitor, etc.

[0019] The operation unit 107 is an operation unit that accepts operations from the user and includes a power switch for supplying power to the digital video camera 100, a recording start button, and a mode switching button for switching between camera mode (recording mode) and playback mode. If the operation unit 107 includes a touch panel, the control unit 101 can detect the following operations on the touch panel. The touch panel may be any of various types, such as a resistive film type, a capacitance type, a surface acoustic wave type, an infrared type, an electromagnetic induction type, an image recognition type, or an optical sensor type.

[0020] The wireless communication unit 105 transmits and receives data to and from external devices such as an external camera, a personal computer, a smartphone, a tablet, etc. via wireless communication under the control of the control unit 101. The wireless communication unit 105 can transmit setting information and operation information for the digital video camera 100 to external devices, and can receive commands for operating the digital video camera 100 and XML files to be recorded together with image data from external devices. The received data is stored in RAM 109. Data that can be transmitted and received includes digital image data and analog video signals.

[0021] The XML file generation unit 112 generates an XML file to be recorded in association with the captured image (video file) under the control of the control unit 101. The XML file is generated using metadata (additional information) included in the XML file received from an external device by the wireless communication unit 105 or the XML file recorded in the recording medium I / F 110, and metadata that can be acquired at the start or end of recording. Details of the metadata configuration included in the XML file will be described later with reference to FIG. 2.

[0022] By operating a menu button included in the operation unit 107, the control unit 101 displays a menu 300 as shown in FIG. 3 on the display unit 106. The user can select an XML file recording setting (whether to record an XML file) from the menu 300 by operating a selection cursor 301 using a cross button included in the operation unit 107 to select "On" or "Off." The control unit 101 stores the XML file recording setting selected by the user in the RAM 109 or ROM 108. Furthermore, as with the menu 300, the format of the XML file to be recorded in association with the video file can also be selected from a menu 400 as shown in FIG. 4 using a selection cursor 401. The menu 400 allows the user to select either "News Metadata" or "Original" as the XML file format. If "News Metadata" is selected, an XML file in NewsML-G2 format will be recorded, and if "Original" is selected, an XML file in user memo format will be recorded. The control unit 101 also stores the XML file format setting selected in the menu 400 in the RAM 109 or ROM 108.

[0023] FIG. 2 shows an example of the structure of metadata (additional information) included in an XML file recorded in association with a video file in this embodiment. The XML file 200 includes metadata 201 recorded from information acquired at the start of recording, metadata 202 set by the user, and metadata 203 recorded from information acquired at the end of recording. Each piece of metadata 201 is additional information determined when recording of a video file (video data) begins and remains unchanged after recording begins. Examples of such information include creation date and time, file name, clip identification information, file format, and audio information. Each piece of metadata 202 is additional information set by the user, such as clip title, shooting information, photographer, keywords, category, genre, language information, contributors, and rights information. Each piece of metadata 203 is additional information determined when recording of video data in a video file ends and cannot be acquired when recording of the video data begins, such as update date and time and clip recording length (recording time or number of frames).

[0024] The metadata 202 is additional information set by the user, and therefore must be input to the digital video camera 100. In this embodiment, the user sets the metadata 202 in an external device, and the external device generates a settings XML file including the metadata 202 set in the external device and inputs it to the digital video camera 100. The settings XML file generated by the external device can be input to the digital video camera 100 via the wireless communication unit 105 or the recording medium 111. When inputting the settings XML file to the digital video camera 100 via the wireless communication unit 105, the user sets the metadata 202 in the external device and issues an instruction to transmit the set metadata to the digital video camera 100. In response to the transmission instruction, the external device generates a settings XML file including the metadata 202 set by the user and transmits it to the digital video camera 100. The wireless communication unit 105 of the digital video camera 100 receives the settings XML file transmitted from the external device, and the digital video camera 100 acquires the metadata 202 set by the user in the external device. When a settings XML file is input to the digital video camera 100 via the recording medium 111, the settings XML file describing metadata 202 is recorded on the recording medium 111 by an external device. The user attaches the recording medium 111 on which the settings XML file is recorded to the recording medium I / F 110 of the digital video camera 100. The digital video camera 100 can then acquire the metadata 202 set by the user on the external device by reading the settings XML file via the recording medium I / F. Note that when a user operates the operation unit 107 of the digital video camera 100 to set use of the metadata in the settings XML file recorded on the recording medium 111, the digital video camera 100 reads the settings XML file from the recording medium 111 to acquire the metadata 202. Note that while the digital video camera 100 of this embodiment is recording a video file, it is not possible to set use of the settings XML file in the recording medium 111, but it is possible to receive a settings XML file from an external device and update the settings of the recorded metadata.

[0025] The settings XML file generated by the external device includes at least the information set by the user in the metadata 202. Alternatively, the external device may write the metadata in exactly the same format as the XML file generated by the digital video camera 100 when recording together with the video file. In this case, the metadata 201 and metadata 203 cannot be determined by the external device, so they are left blank or set to values ​​such as 0.

[0026] As described above, when the digital video camera 100 acquires a settings XML file, the control unit 101 sets the metadata included in the settings XML file as recording metadata (recording additional information). The set recording metadata is then stored in the ROM 108 or RAM 109. The metadata set as recording metadata is recorded as metadata for the XML file when the XML file is recorded in association with a video file. Note that recording metadata is set for each XML file format. That is, in this embodiment, it is possible to set recording metadata in NewsML-G2 format and recording metadata in user memo format. 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 settings XML file input to the digital video camera is in NewsML-G2 format or user memo format.

[0027] Next, the process of recording and setting an XML file in this embodiment will be described with reference to Figures 5 and 6. Each process in the flowcharts of Figures 5 and 6 is realized by the control unit 101 reading out a program stored in ROM 108, expanding it in RAM 109, and executing control of each unit and calculation processing. When the user operates the operation unit 107 to set the digital video camera 100 to camera mode (shooting mode), the control unit 101 starts the process of Figure 5.

[0028] FIG. 5 is a flowchart showing the procedure for recording an XML file in the digital video camera 100 according to the first embodiment.

[0029] When the camera mode is set, the control unit 101 first reads from the ROM 108 the settings selected by the user in the menus of FIGS. 3 and 4. If the XML file recording setting is "On," the control unit 101 reads from the ROM 108 the recording metadata corresponding to the XML file format setting selected by the user and stores it in the RAM 109. Thereafter, the processing from S500 onwards is executed. Note that if the XML file recording setting, the XML file format setting, or the recording metadata setting is changed during operation in the camera mode, the control unit 101 updates the settings recorded in the ROM 108 and the recording metadata stored in the RAM 109.

[0030] In S500, the control unit 101 determines whether or not a settings XML file has been received from an external device via the wireless communication unit 105. If it is determined that the settings XML file has been received, the process proceeds to S501; if it is determined that the settings XML file has not been received, the process proceeds to S503. Note that, since a video file is not being recorded in S500, the control unit 101 may also determine whether the operation unit 107 has been operated to set use of the settings XML file recorded on the recording medium 111. If it is determined that use of the settings XML file on the recording medium 111 has been set by the user, the control unit 101 reads the settings XML file from the recording medium 111 via the recording medium I / F 110 and proceeds to S501. If use of the settings XML file recorded on the recording medium 111 has not been set, the process proceeds to S503.

[0031] In S501, the XML file generation unit 112 analyzes the settings XML file received in S500 (or the settings XML file read from the recording medium 111 in S500). Then, the XML file generation unit 112 sets the metadata required to generate an XML file to be recorded in association with the video file as recording metadata, and stores it in RAM 109. By setting it as recording metadata and storing it in RAM 109, it is recorded as metadata in the XML file that is recorded together with the video file.

[0032] In S502, the control unit 101 executes a setting update process in response to the change in the settings of the recorded metadata, and a process for displaying information related to the change in settings. Details of this process will be described later with reference to FIG.

[0033] In S503, the control unit 101 determines whether a video recording start instruction has been input via the operation unit 107, resulting in an instruction to start recording a video file. If it is determined that a video recording start instruction has been input, the process proceeds to S504; if it is determined that a video recording start instruction has not been input, the process returns to S500. That is, the processes of S501 and S502 are repeated until a video recording start instruction is input and video recording processing is started. Although not shown in this flowchart, the control unit 101 starts video file recording processing in response to input of a video recording start instruction. In video file recording processing, the control unit 101 first generates a video file on the recording medium 111, and records video data obtained by capturing an image using the imaging unit 103 and performing various processes in the image processing unit 104 and the image compression / decompression unit 102 into the video file. When the operation unit 107 is operated to input an instruction to stop recording, the control unit 101 records the video data captured up until the input of the recording stop instruction into the video file, generates or updates a header for the video file, and completes the video file recording processing.

[0034] In S504, the control unit 101 determines whether the XML file recording setting is set to record (ON). If it is determined that it is set to record, the process proceeds to S505, and if it is determined that it is set not to record, the process proceeds to S507.

[0035] In S505, the XML file generation unit 112 generates recording start information metadata from information that can be obtained when recording of the moving image file (moving image data) starts. Then, an XML file is generated using the generated recording start information metadata and the recording metadata set in RAM 109. That is, an XML file is generated by using the recording start information metadata as metadata 201 and the recording metadata as metadata 202 in the XML file of Fig. 2. At this time, the XML file may be generated by leaving each piece of information in metadata 203 blank or set to 0, or an XML file that does not include metadata 203 may be generated.

[0036] In S506, the control unit 101 records the XML file generated in S505 on the recording medium 111 via the recording medium I / F 110 in association with the video file.

[0037] In S507, the control unit 101 determines whether or not a settings XML file has been received, similar to S500. If it is determined that the file has been received, the process proceeds to S508, and if it is determined that the file has not been received, the process proceeds to S509. In S507, since a moving image file (moving image data) is being recorded, unlike S500, it is not determined whether or not use of the settings XML file recorded on the recording medium 111 has been set.

[0038] In S508, the setting XML file received in S507 is temporarily stored in the RAM 109.

[0039] In S509, the control unit 101 determines whether an instruction to end recording of the moving image file has been input by operating the operation unit 107. If it is determined that an instruction to end recording has been input, the process proceeds to S510. If it is determined that an instruction to end recording has not been input, the process returns to S507, and the processes of S507 and S508 are repeated until an instruction to end recording is input.

[0040] In S510, the control unit 101 determines whether the XML file recording setting is set to record (ON) as in S504. If it is determined that it is set to record, the process proceeds to S511, and if it is determined that it is set not to record, the process proceeds to S512.

[0041] In S511, the XML file generation unit 112 generates recording stop time information metadata from information that can be obtained when recording ends. Then, the XML file recorded on the recording medium 111 in S506 is read, the metadata 203 in the XML file is updated with the generated recording stop time information metadata, and the updated XML file is recorded on the recording medium 111. If the metadata 203 is not recorded in the XML file, the recording stop time information metadata is added as the metadata 203 and recorded on the recording medium 111. The XML file recorded on the recording medium 111 in S506 does not contain the information of the metadata 203 that is determined when recording ends, so the XML file does not contain any information that should be recorded. Therefore, in S511, an XML file containing the information of the metadata 203 is generated and recorded (overwritten) on the recording medium 111, thereby completing the recording of the XML file. Note that the processing of S511 is executed without waiting for the completion of recording of the video file, but when it becomes possible to generate the recording stop time information metadata, that is, when recording of the video data is completed and information on the recording time of the clip becomes available. Therefore, the recording of the XML file may be completed before the recording of the video file is completed.

[0042] In S512, the control unit 101 determines whether or not the setting XML file has been temporarily saved in the RAM 109 as a result of executing the process of S508. If it is determined that the setting XML file has been saved, the process proceeds to S513, and if it is determined that the setting XML file has not been saved, the process ends.

[0043] In S513, the XML file generation unit 112 analyzes the settings XML file temporarily stored in RAM 109. Then, the XML file generation unit 112 sets metadata required to generate an XML file to be recorded in association with the video file as recording metadata, and stores the recording metadata in RAM 109. This recording metadata will be used to generate an XML file to be associated with the video file to be recorded next and thereafter.

[0044] Note that the processes of S513 and S514 are executed after the recording of the video file is completed. In this embodiment, it is possible to receive a settings XML file even while the video file is being recorded, but the settings of the recording metadata are changed after the recording of the video file is completed. Therefore, from the next time the video file is recorded, an XML file containing the recording metadata after the settings change will be recorded together with the video file.

[0045] In S514, the control unit 101 executes the setting update process accompanying the change in the setting of the recorded metadata, and the process of displaying information related to the setting change, similarly to S502.

[0046] The process of FIG. 5 is repeatedly executed until the camera mode is ended or the digital video camera 100 is turned off.

[0047] FIG. 6 is a flowchart showing a setting update process accompanying a change in the settings of recorded metadata, and a process for displaying information related to the setting change.

[0048] First, in S600, the control unit 101 determines whether the XML file recording setting is set to record (ON). If it is determined that it is set to record, the process proceeds to S601, and if it is determined that it is not set to record, the process proceeds to S605.

[0049] In S601, the control unit 101 compares the XML file format setting with the format of the metadata described in the setting XML file received from the external device before entering this process, and determines whether they are the same format. If it is determined that they are the same format, the process proceeds to S602, and if it is determined that they are different formats, the process proceeds to S603.

[0050] In S602, since the control unit 101 has set the recording metadata from the setting XML file and updated the recording metadata settings before starting this process, the control unit 101 displays information for notifying the user that the recording metadata settings have been updated on the display unit 106. For example, notification information 401a is displayed on the display screen 400 shown in FIG. 7(a).

[0051] In 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. Then, in S604, the control unit 101 displays information for notifying the user that the XML file format setting has been changed on the display unit 106. For example, the control unit 101 displays notification information 401b shown in FIG. 7(b).

[0052] In S605, the control unit 101 changes the XML file recording setting to ON. Then, in S606, the control unit 101 displays information for notifying the user that the XML file recording setting has been changed to ON on the display unit 106. For example, the control unit 101 displays the notification information 401c shown in FIG. 7(c).

[0053] As described above, according to the first embodiment, it is possible to receive a settings XML file from an external device even while a video file is being recorded. When a settings XML file is received while a video file is being recorded, the settings XML file is temporarily saved in RAM 109 without setting the recording metadata based on the settings XML file at the time of reception. After the video file recording is completed, the recording metadata is set based on the received settings XML file, thereby preventing unintended invalid values ​​from being written to the XML file associated with the video file being recorded, resulting in an invalid XML file.

[0054] It is also possible to update the XML file based on the settings XML file while recording video data in a video file, for example. However, this would complicate the recording process to the recording medium and affect the video data recording speed. Therefore, in this embodiment, after recording of the video file is complete, recording metadata is set based on the received settings XML file and applied to the next video file. This allows recording metadata to be set based on the received settings XML file without requiring complex recording processing or affecting the recording speed.

[0055] After the video file has been recorded, the recording metadata settings are changed and information is displayed to notify the user that the changes have been made, so that the user knows that the recording metadata after the changes will be recorded from the next video file recording.

[0056] <Second embodiment> The second embodiment will be described. The digital video camera 100, which is a video recording device, has the same configuration as in the first embodiment, so a description thereof will be omitted.

[0057] FIG. 8 shows a flowchart of the XML file recording process procedure in this embodiment. Each process in the flowchart in FIG. 8 is realized by the control unit 101 reading out a program stored in ROM 108, loading it into RAM 109, and executing control and arithmetic processing of each unit. Note that the process in the flowchart in FIG. 8 is partially common to the process in the flowchart in FIG. 5 of the first embodiment. Processes that are the same as those in the flowchart in FIG. 5 are assigned the same numbers and will not be described again. Note that, like the flowchart in FIG. 5, the process in the flowchart in FIG. 8 also starts when the digital video camera 100 is set to camera mode (shooting mode) by a user's operation on the operation unit 107. Then, like the process in FIG. 5, when the XML file recording setting is "On," recording metadata corresponding to the XML file format setting selected by the user is read from ROM 108 and stored in RAM 109.

[0058] Steps S500 to S503 are the same processes as those in the first embodiment.

[0059] If it is determined in S503 that a recording start instruction has been input, in S800 the XML file generation unit 112 generates recording start information metadata from information that can be obtained at the start of recording, and temporarily stores it in the RAM 109.

[0060] Thereafter, the processes of S504 to S509 are carried out in the same manner as in the first embodiment.

[0061] If it is determined in S509 that a recording end instruction has been input, then in S801 the control unit 101 determines whether or not a setting XML file has been temporarily saved in the RAM 109 as a result of executing the process of S508. If it is determined that the file has been temporarily saved, the process proceeds to S802, and if it is determined that the file has not been temporarily saved, the process proceeds to S806.

[0062] In S802, the XML file generation unit 112 analyzes the settings XML file temporarily saved in RAM 109 in S508. Then, metadata required to generate an XML file to be recorded in association with the video file is set as recording metadata, and the recording metadata is stored in RAM 109. The processes of S801 and S802 are similar to those of S512 and S513 in the first embodiment, but the timing of their execution differs from that of the first embodiment. In the second embodiment, this process is executed before the recording of the XML file is completed.

[0063] In S803, the XML file generation unit 112 generates recording end metadata from information that can be obtained at the end of recording. The XML file is regenerated using the recording start information metadata saved in RAM 109 in S800, the generated recording end metadata, and the recording metadata set in S802 and saved in RAM 109.

[0064] In S804, the control unit 101 deletes the XML file recorded on the recording medium 111 in S506 via the recording I / F 110, and records the XML file regenerated in S804 on the recording medium 111, thereby completing the recording of the XML file.

[0065] In S805, since the control unit 101 updated the recorded metadata in S802, it executes a setting update process accompanying the change in the recorded metadata setting and a process for displaying information related to the setting change (the process in FIG. 6). After executing the process in S805, the process returns to S500.

[0066] In S806, the control unit 101 determines whether the XML file recording setting is set to record (ON). If it is determined that it is set to record, the process proceeds to S807; if it is determined that it is set to not record, the process returns to S500. In S807, the XML file generation unit 112 generates recording end metadata from information that can be obtained when recording ends. Then, the XML file recorded on the recording medium 111 in S506 is read, the metadata 203 in the XML file is updated with the generated metadata, and the updated XML file is recorded on the recording medium 111. This process completes the recording of the XML file, and the process returns to S500. Note that the processes of S806 and S807 are similar to those of S510 and S511 in the first embodiment, but the timing of executing the processes differs from that of the first embodiment.

[0067] As described above, according to the second embodiment, even while the digital video camera 100 is recording a video file, it is possible to receive a configuration XML file from an external device via the wireless communication unit 105. If a configuration XML file is received while recording a video file, the configuration XML file is temporarily saved, and the recording metadata is updated when recording of the video file (video data) ends. When recording of the video file starts, the recording start metadata is saved in RAM 109. When recording of the video file ends, an XML file is regenerated using the recording metadata changed upon receiving the configuration XML file, the recording start metadata saved in RAM 109, and the recording end metadata acquired at the end of recording, and the XML file is recorded on the recording medium. This process allows the metadata in the received configuration XML file to be reflected in the XML file to be recorded corresponding to the video file being recorded, even if the configuration XML file is received while recording a video file.

[0068] In this embodiment, if a setting XML file is received while a video file is being recorded, the recording metadata is not updated because the video data is being recorded and the processing load on the digital video camera 100 is high at the time of reception. For example, while it is possible to update the recording metadata and the XML file based on the received setting XML file while the video data is being recorded, this would complicate the recording process to the recording medium and affect the video data recording speed. Therefore, in this embodiment, the recording metadata is updated (set) based on the received setting XML file at the end of recording the video file after the video data recording is complete. This allows the recording metadata to be set and the XML file to be updated (regenerated and recorded on the recording medium) based on the received setting XML file without requiring complex recording processing or affecting the recording speed. Furthermore, in this embodiment, the recording metadata and the XML file are updated at the end of recording the video file. However, the recording metadata may also be updated when the file is received, even while the video data is being recorded. However, even in this case, it is preferable to update the XML file at the end of recording.

[0069] When the entire XML file to be recorded (an XML file with the exact same format as the XML file at the time of recording) is input as a settings XML file during recording of a video file, it is possible to update the additional information file being recorded with the input settings XML file. However, if the additional information file being recorded is updated with the input settings XML file, the recording start metadata will be overwritten, resulting in the loss of the recording start metadata. Therefore, in this embodiment, the recording start metadata is temporarily stored at the start of recording, and when a settings XML file is received during recording of a video file, the additional information file is regenerated and recorded at the end of recording using the temporarily stored recording start metadata, settings additional information file, and recording end metadata. Therefore, even when the entire XML file is input as a settings additional information file, the recording start metadata is not lost, and metadata can be reliably recorded.

[0070] <Other embodiments> Although the present invention has been described in detail above based on preferred embodiments thereof, the present invention is not limited to these specific embodiments, and various forms within the scope of the gist of the present invention are also included in the present invention. Parts of the above-described embodiments may be combined as appropriate.

[0071] 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 that can execute the program directly from a recording medium or via wired / wireless communication, and the program is executed.

[0072] Therefore, the program code itself that is supplied to and installed on a computer to realize the functional processing of the present invention also realizes the present invention. In other words, the computer program itself for realizing the functional processing of the present invention is also included in the present invention.

[0073] In this case, as long as it has the functionality of a program, the form of the program does not matter, such as object code, a program executed by an interpreter, or script data supplied to an OS.

[0074] The recording medium for supplying the program may be, for example, a hard disk, a magnetic recording medium such as a magnetic tape, an optical / magneto-optical storage medium, or a non-volatile semiconductor memory.

[0075] Another method of supplying the program is to store the computer program forming the present invention in a server on a computer network, and have connected client computers download the computer program.

Claims

1. A recording device, an input means for inputting additional information; a setting means for setting the additional information input by the input means to the recording device as recording additional information to be recorded together with the moving image file; a recording control means for controlling recording of the moving image data as a moving image file on a recording medium, and for recording an additional information file including the recording additional information set by the setting means in association with the moving image file on the recording medium; when a moving image file is not being recorded on the recording medium, when additional information is input by the input means, the input additional information is controlled so as to be set in the recording device by the setting means as the recording additional information; a control means for controlling, when additional information is input by the input means during recording of the moving image file on the recording medium, the input additional information to be temporarily stored without being set as the recorded additional information by the setting means in the recording device when the additional information is input by the input means, and for controlling the setting means to set the temporarily stored additional information as the recorded additional information in the recording device when recording of the moving image file is completed; A recording device comprising:

2. 2. The recording apparatus according to claim 1, further comprising a display control means for controlling the display unit to display a notification regarding the setting of the additional information.

3. The recording device described in claim 1 or 2, characterized in that the recording control means records an additional information file containing the recorded additional information on the recording medium when recording of the video file starts, and updates information about the video file in the additional information file recorded on the recording medium when recording of the video file ends.

4. The recording device according to claim 3, characterized in that the recording control means controls the recording so that, at the start of recording of the moving image file, an additional information file generated from the recorded additional information and first additional information determined at the start of recording of the moving image file is recorded.

5. 5. A recording device according to claim 3, wherein the information about the moving image file that is updated when recording of the moving image file is completed is second additional information that is determined in response to completion of recording of the moving image data of the moving image file.

6. 6. The recording device according to claim 5, wherein the second additional information is information about the recording length of the moving image data recorded in the moving image file.

7. When additional information is input by the input means while the moving image data is being recorded on the recording medium, the control means sets the input additional information as recorded additional information in the recording device by the setting means after the recording of the moving image file is completed, so that an additional information file including the input additional information is recorded together with the moving image file from the next moving image file that is to be recorded.

7. The recording apparatus according to claim 1, wherein the recording medium is a recording medium.

8. when starting recording of the moving image file, the recording control means generates an additional information file based on the recording additional information set by the setting means and first additional information determined when starting recording of the moving image file, and records the additional information file on the recording medium, while temporarily storing the first additional information; When additional information is input by the input means while the moving image file is being recorded on the recording medium, the control means, when the additional information is input by the input means, temporarily stores the input additional information without setting the input additional information as the recorded additional information in the recording device by the setting means, and when the recording of the moving image file is completed, the recording control means regenerates an additional information file based on the temporarily stored additional information, the temporarily stored first additional information, and second additional information determined when recording of the moving image data of the moving image file is completed, and records the regenerated additional information file on the recording medium, and the control means sets the temporarily stored additional information in the recording device as the recorded additional information by the setting means, if no additional information is input by the input means during recording of the moving image file on the recording medium, the recording control means updates the additional information file recorded on the recording medium using the second additional information when recording of the moving image file ends.

7. The recording apparatus according to claim 1, wherein the recording medium is a recording medium.

9. a recording setting means for setting whether or not to record an additional information file; 9. The recording device according to claim 1, wherein the recording setting means changes the setting to record an additional information file in response to input of additional information by the input means when a video file is not being recorded.

10. 10. The recording device according to claim 9, wherein, when additional information is input by the input means while a moving image file is being recorded, the recording setting means changes the setting to record an additional information file after recording of the moving image file is completed.

11. a recording setting means for setting whether or not to record an additional information file; 2. The recording device according to claim 1, wherein, when additional information is input by the input means while a moving image file is being recorded, the recording control means controls the recording device to record an additional information file including the input additional information on the recording medium, regardless of the setting by the recording setting means.

12. the input means is a receiving means for receiving additional information transmitted from an external device, The recording device according to any one of claims 1 to 11, characterized in that, in response to receiving the additional information by the receiving means, the control means controls the setting means to set the received additional information as the recorded additional information in the recording device.

13. A recording device according to any one of claims 1 to 12, characterized in that the input means inputs a setting additional information file in which the additional information is written in the same format as an additional information file recorded in association with a video file.

14. 14. The recording apparatus according to claim 1, wherein the additional information file is a file in XML (Extensible MarkUp Language) format.

15. 15. The recording apparatus according to claim 14, wherein the additional information file is in NewsML-G2 format.

16. An imaging unit is included, 16. The recording device according to claim 1, wherein the recording control means controls the recording of the moving image data acquired by the imaging section as a moving image file.

17. A program for causing a computer to function as each of the means of the recording device according to any one of claims 1 to 16.

Citation Information

Patent Citations

  • Video recording device and external terminal

    JP2011091723A

  • Video recording apparatus, and video reproducing apparatus

    JP2011182388A

  • Content management apparatus, recording apparatus, operating apparatus, content management system and control method for them

    JP2013098658A

  • Information processing apparatus, control method thereof, and program

    JP2014165739A

  • Video processing apparatus, imaging apparatus and video processing program

    JP2018011098A