Video continuation recording method and photographing device

The recording of the video is solved through the interactive device control shooting equipment, and the problems of video recording complexity and storage space in the prior art are solved, and an efficient and simplified video recording process and good picture connection effect are achieved.

WO2025102368A1PCT designated stage expired Publication Date: 2025-05-22ARASHI VISION INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/132386
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-11-17
Publication Date
2025-05-22

AI Technical Summary

Technical Problem

In the prior art, the complexity of video recording is high, resulting in poor picture connection effect and multiple small video files occupy a large storage space.

Method used

Provided is a video recording method and a shooting device, obtaining the video to be processed through an interactive device, and in response to user operations, the device controls the video to be recorded. The method includes obtaining recorded videos or pausing videos, generating target videos according to user operations, simplifying the video re-recording process, and synthesizing a complete video through the re-recording function to reduce storage space.

Benefits of technology

It reduces the complexity of video recording, improves the picture connection effect, saves storage space, and simplifies the operation process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023132386_22052025_PF_FP_ABST
    Figure CN2023132386_22052025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to a video continuation recording method and a photographing device. The method comprises: acquiring a video to be processed, wherein said video comprises a recorded video or a paused video that a photographing device has currently paused recording, wherein the photographing device has the function of pausing recording in a recording process; and in response to the operation of a user on an interaction apparatus, controlling the photographing device to record a continuation video, wherein when the video to be processed is the recorded video, a target video is generated on the basis of the recorded video and the continuation video; or when the video to be processed is said paused video, the target video is generated on the basis of said paused video and the continuation video. The method reduces the operation complexity of video continuation recording.
Need to check novelty before this filing date? Find Prior Art

Description

Video recording method and shooting device Technical Field

[0001] The present application relates to the field of video technology, and in particular to a video re-recording method and shooting equipment. Background Art

[0002] With the development of the video field, the continuation recording technology has emerged, which is to splice multiple small videos shot at different time periods into a complete video, so that the entire event process can be watched through the complete video.

[0003] In the related art, taking a sports camera as an example, in order to realize the continuous recording function of the sports camera, the user needs to record multiple times in the early stage to shoot multiple small videos, and then use professional editing software in the later stage to edit these multiple small videos to obtain a complete video.

[0004] However, the complete video obtained by the above technology has the problem of poor picture connection effect.

[0005] Summary of the Invention

[0006] Based on this, it is necessary to provide a video re-recording method and shooting equipment to address the above technical problems, which can reduce the complexity of video re-recording.

[0007] In a first aspect, the present application provides a video re-recording method, which is applied to a shooting device, the shooting device including an interactive device, and the method includes:

[0008] Obtaining a video to be processed; wherein the video to be processed includes a recorded video or a paused video that is currently paused by the camera; the camera has a function of pausing recording during the recording process;

[0009] In response to the user's operation on the interactive device, the camera is controlled to record and continue recording the video, wherein:

[0010] When the video to be processed is a recorded video, a target video is generated based on the recorded video and the continued video; or

[0011] When the video to be processed is a paused video that is currently being recorded by the shooting device, a target video is generated based on the paused video and the resumed video.

[0012] In one embodiment, obtaining the recorded video includes:

[0013] Displaying at least one pre-stored video on an album page of a camera device;

[0014] In response to a user operation on the interactive device, determining a candidate video selected by the user from at least one pre-stored video;

[0015] The candidate video is determined as a recorded video.

[0016] In one embodiment, in response to a user operation on an interactive device, determining a candidate video selected by the user from at least one pre-stored video includes:

[0017] Obtain a reference video selected by the user from pre-stored videos;

[0018] Based on the user's operation on the interactive device, obtaining a segment to be cut selected by the user from the reference video;

[0019] The to-be-cut segment is deleted from the reference video to obtain a cut video, and a candidate video is determined based on the cut video.

[0020] In one embodiment, based on the user's operation on the interactive device, obtaining the to-be-cut segment selected by the user from the reference video includes:

[0021] When the user performs a cut trigger operation on the interactive device, displaying a display element corresponding to the reference video;

[0022] Based on the user's segment selection operation on the display element, the segment to be cut is determined.

[0023] In one embodiment, deleting the to-be-cut segment from the reference video to obtain the cut video includes:

[0024] According to the start time of the segment to be cut, the first video segment before the start time is obtained from the reference video;

[0025] According to the end time of the segment to be cut, a second video segment after the end time is obtained from the reference video;

[0026] The first video clip and the second video clip are spliced ​​together to obtain a cut video.

[0027] In one embodiment, obtaining a paused video currently being recorded by a capture device includes:

[0028] When the shooting device is in a shooting state, obtaining the user's operation on the interactive device;

[0029] Based on the user's operation on the interactive device, it is determined that the shooting device has currently paused the recording of the paused video.

[0030] In one embodiment, determining a paused video currently being recorded by a camera based on a user's operation on an interactive device includes:

[0031] When the user performs a first operation on a recording element of the interactive device, controlling the camera to pause the video recording to obtain a pause segment;

[0032] Based on the paused segment, determine the paused video that the capture device has currently paused.

[0033] In one embodiment, determining, based on the paused segment, the paused video currently being recorded by the capture device includes:

[0034] Based on a second operation of the user on the interactive device, obtaining a to-be-cut segment selected by the user from the paused segment;

[0035] Delete the clip to be cut from the paused clip to obtain the cut video;

[0036] According to the cut video, determine the paused video that the capture device has currently paused recording.

[0037] In one embodiment, based on the second operation of the user on the interactive device, obtaining the to-be-cut segment selected by the user from the paused segment includes:

[0038] In the case where the user performs a cut trigger operation on the interactive device, displaying a display element corresponding to the paused segment;

[0039] Based on the user's segment selection operation on the display element, the segment to be cut is determined.

[0040] In one embodiment, deleting the to-be-cut segment from the paused segment to obtain a cut video includes:

[0041] According to the start time of the segment to be cut, obtain the third video segment before the start time from the paused segment;

[0042] According to the end time of the segment to be cut, the fourth video segment after the end time is obtained from the paused segment;

[0043] The third video clip and the fourth video clip are spliced ​​together to obtain a cut video.

[0044] In one embodiment, in response to a user's operation on an interactive device, controlling a camera to record a continuous video includes:

[0045] In response to the user's operation on the interactive device, acquiring a shooting parameter based on at least one video parameter of the video to be processed;

[0046] The shooting device is controlled to record the video according to the shooting parameters to obtain the continued video.

[0047] In one embodiment, obtaining shooting parameters based on at least one video parameter of a video to be processed includes:

[0048] Obtaining a video file of a video to be processed; the video file includes file information of the video to be processed;

[0049] Parsing the file information according to a preset file parsing method to obtain at least one video parameter of the video to be processed;

[0050] A shooting parameter is determined according to at least one video parameter.

[0051] In one embodiment, controlling a shooting device to record a video according to shooting parameters to obtain a continuously recorded video includes:

[0052] Check whether the conditions for stopping recording are met;

[0053] If the recording stop condition is met, the camera is controlled to stop recording and a continuous recording video is obtained.

[0054] In one embodiment, the recording stop condition includes at least one of the following:

[0055] Get the stop recording command input by the user;

[0056] The current recording duration reaches the preset recording duration;

[0057] The current memory space reaches the preset memory space usage threshold.

[0058] In one embodiment, generating a target video based on a recorded video and a continued recorded video includes:

[0059] In response to a user operation on the interactive device, confirming a position at which the continued video is to be inserted into the recorded video;

[0060] Inserts the resume video at the cue position.

[0061] In one embodiment, before inserting the resumed video into the insert position, the method further includes:

[0062] Deletes the target segment after the inserted position in the recorded video.

[0063] In one embodiment, generating a target video based on a recorded video and a continued recorded video includes:

[0064] The recorded video and the continued video are stitched together to generate the target video.

[0065] In one embodiment, stitching a recorded video and a continued recorded video to generate a target video includes:

[0066] Determine a first splicing position of the recorded video;

[0067] Determine a second splicing position for the continued video;

[0068] The second splicing position of the continued video is spliced ​​with the first splicing position of the recorded video until the continued video shooting is completed to obtain the target video.

[0069] In one embodiment, determining a first splicing position of a recorded video includes:

[0070] Verify each frame of the recorded video;

[0071] Based on the verification result of each frame of video, a first splicing position is determined.

[0072] In one embodiment, generating a target video based on a paused video and a resumed video includes:

[0073] In response to a user operation on the interactive device, confirming an insertion position of the resumed video in the paused video;

[0074] Inserts the resume video at the cue position.

[0075] In one embodiment, before inserting the resumed video into the insert position, the method further includes:

[0076] Deletes the target segment after the inserted position in the paused video.

[0077] In one embodiment, generating a target video based on a paused video and a resumed video includes:

[0078] The paused video and the resumed video are stitched together to generate the target video.

[0079] In one embodiment, stitching a paused video and a resumed video to generate a target video includes:

[0080] Determine the third splicing position of the paused video;

[0081] Determine the fourth splicing position of the continued video;

[0082] The fourth splicing position of the resumed video and the third splicing position of the paused video are spliced ​​together until the shooting of the resumed video is completed to obtain the target video.

[0083] In one embodiment, determining the third splicing position of the paused video includes:

[0084] Verify each frame of the paused video;

[0085] Based on the verification result of each frame of video, the third splicing position is determined.

[0086] In a second aspect, the present application further provides a photographing device, comprising: a camera, a display, a processor, a memory, and an interactive device: the camera is used to capture images; the display is connected to the processor; the memory stores a computer program including instructions; when the instructions are executed by the processor, the processor is configured to:

[0087] Obtaining a video to be processed; wherein the video to be processed includes a recorded video or a paused video currently being recorded by a camera of a shooting device; the shooting device has a function of pausing recording during the recording process;

[0088] In response to the user's operation on the interactive device, the camera of the shooting device is controlled to record and continue to record the video, wherein,

[0089] When the video to be processed is a recorded video, a target video is generated based on the recorded video and the continued video; or

[0090] When the video to be processed is a paused video that is currently being recorded by the shooting device, a target video is generated based on the paused video and the resumed video.

[0091] In one embodiment, the processor is further configured to:

[0092] controlling the display to display at least one pre-stored video on an album page of the photographing device;

[0093] In response to a user operation on the interactive device, determining a candidate video selected by the user from at least one pre-stored video;

[0094] The candidate video is determined as a recorded video.

[0095] In one embodiment, the processor is further configured to:

[0096] Obtain a reference video selected by the user from pre-stored videos;

[0097] Based on the user's operation on the interactive device, obtaining a segment to be cut selected by the user from the reference video;

[0098] The to-be-cut segment is deleted from the reference video to obtain a cut video; and a candidate video is determined based on the cut video.

[0099] In one embodiment, the processor is further configured to:

[0100] When the user performs a cut trigger operation on the interactive device, controlling the display to display a display element corresponding to the reference video;

[0101] Based on the user's segment selection operation on the display element, the segment to be cut is determined.

[0102] In one embodiment, the processor is further configured to:

[0103] According to the start time of the segment to be cut, the first video segment before the start time is obtained from the reference video;

[0104] According to the end time of the segment to be cut, a second video segment after the end time is obtained from the reference video;

[0105] The first video clip and the second video clip are spliced ​​together to obtain a cut video.

[0106] In one embodiment, the processor is further configured to:

[0107] When the camera of the shooting device is in a shooting state, obtaining the user's operation on the interactive device;

[0108] Based on the user's operation on the interactive device, it is determined that the shooting device has currently paused the recording of the paused video.

[0109] In one embodiment, the processor is further configured to:

[0110] When the user performs a first operation on a recording element of the interactive device, controlling the camera of the shooting device to pause recording to obtain a pause segment;

[0111] Based on the paused segment, determine the paused video that the capture device has currently paused.

[0112] In one embodiment, the processor is further configured to:

[0113] Based on a second operation of the user on the interactive device, obtaining a to-be-cut segment selected by the user from the paused segment;

[0114] Delete the clip to be cut from the paused clip to obtain the cut video;

[0115] According to the cut video, determine the paused video that the capture device has currently paused recording.

[0116] In one embodiment, the processor is further configured to:

[0117] When the user performs a cut trigger operation on the interactive device, controlling the display to display a display element corresponding to the paused segment;

[0118] Based on the user's segment selection operation on the display element, the segment to be cut is determined.

[0119] In one embodiment, the processor is further configured to:

[0120] According to the start time of the segment to be cut, obtain the third video segment before the start time from the paused segment;

[0121] According to the end time of the segment to be cut, the fourth video segment after the end time is obtained from the paused segment;

[0122] The third video clip and the fourth video clip are spliced ​​together to obtain a cut video.

[0123] In one embodiment, the processor is further configured to:

[0124] In response to a user operation on the interactive device, obtaining a shooting parameter based on at least one video parameter of the video to be processed;

[0125] The camera of the shooting device is controlled to record the video according to the shooting parameters to obtain the continued video.

[0126] In one embodiment, the processor is further configured to:

[0127] Obtaining a video file of a video to be processed; the video file includes file information of the video to be processed;

[0128] Parsing the file information according to a preset file parsing method to obtain at least one video parameter of the video to be processed;

[0129] A shooting parameter is determined according to at least one video parameter.

[0130] In one embodiment, the processor is further configured to:

[0131] Check whether the conditions for stopping recording are met;

[0132] If the recording stop condition is met, the camera of the shooting device is controlled to stop recording and a continuous recording video is obtained.

[0133] In one embodiment, the recording stop condition includes at least one of the following:

[0134] Get the stop recording command input by the user;

[0135] The current recording duration reaches the preset recording duration;

[0136] The current memory space reaches the preset memory space usage threshold.

[0137] In one embodiment, the processor is further configured to:

[0138] In response to a user operation on the interactive device, confirming a position at which the continued video is to be inserted into the recorded video;

[0139] Inserts the resume video at the cue position.

[0140] In one embodiment, the processor is further configured to:

[0141] Deletes the target segment after the inserted position in the recorded video.

[0142] In one embodiment, the processor is further configured to:

[0143] The recorded video and the continued video are stitched together to generate the target video.

[0144] In one embodiment, the processor is further configured to:

[0145] Determine a first splicing position of the recorded video;

[0146] Determine a second splicing position for the continued video;

[0147] The second splicing position of the continued video is spliced ​​with the first splicing position of the recorded video until the continued video shooting is completed to obtain the target video.

[0148] In one embodiment, the processor is further configured to:

[0149] Verify each frame of the recorded video;

[0150] Based on the verification result of each frame of video, a first splicing position is determined.

[0151] In one embodiment, the processor is further configured to:

[0152] In response to a user operation on the interactive device, confirming an insertion position of the resumed video in the paused video;

[0153] Inserts the resume video at the cue position.

[0154] In one embodiment, the processor is further configured to:

[0155] Deletes the target segment after the inserted position in the paused video.

[0156] In one embodiment, the processor is further configured to:

[0157] The paused video and the resumed video are stitched together to generate the target video.

[0158] In one embodiment, the processor is further configured to:

[0159] Determine the third splicing position of the paused video;

[0160] Determine the fourth splicing position of the continued video;

[0161] The fourth splicing position of the resumed video and the third splicing position of the paused video are spliced ​​together until the shooting of the resumed video is completed to obtain the target video.

[0162] In one embodiment, the processor is further configured to:

[0163] Verify each frame of the paused video;

[0164] Based on the verification result of each frame of video, the third splicing position is determined.

[0165] In a third aspect, the present application further provides a video re-recording device, comprising:

[0166] An acquisition module is used to acquire a video to be processed; wherein the video to be processed includes a recorded video or a paused video currently being recorded by a shooting device; the shooting device has a function of pausing recording during the recording process;

[0167] A control module is used to respond to user operations on the interactive device and control the shooting device to record and continue recording videos, wherein, when the video to be processed is a recorded video, a target video is generated based on the recorded video and the continued video; or, when the video to be processed is a paused video that has been currently paused by the shooting device, a target video is generated based on the paused video and the continued video.

[0168] In a fourth aspect, an embodiment of the present application provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method provided in any embodiment of the first aspect when executing the computer program.

[0169] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method provided in any embodiment of the first aspect above.

[0170] In a sixth aspect, an embodiment of the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method provided in any embodiment of the first aspect above.

[0171] The above-mentioned video continuation method and shooting device obtain a video to be processed; wherein the video to be processed includes a recorded video or a paused video currently being recorded by the shooting device; the shooting device has the function of pausing recording during the recording process; in response to the user's operation of the interactive device, the shooting device is controlled to record the resumed video, wherein, when the video to be processed is a recorded video, a target video is generated based on the recorded video and the resumed video; or, when the video to be processed is a paused video currently being recorded by the shooting device, a target video is generated based on the paused video and the resumed video. In this method, by operating the interactive device, a target video including the recorded video and the newly recorded resumed video can be automatically formed, or a target video including the paused video currently being recorded by the shooting device and the newly recorded resumed video can be formed, thereby reducing the manual work of editing and splicing videos, simplifying the video continuation work, and reducing the operational complexity of video continuation; and, through the resume function of the motion camera, multiple small videos can be combined into a large video during the motion camera recording process, solving the problem of multiple small video files occupying a large storage space, thereby saving the storage space of the motion camera. BRIEF DESCRIPTION OF THE DRAWINGS

[0172] FIG1 is a diagram illustrating an application environment of a method for continuing video recording in one embodiment;

[0173] FIG2 is a schematic flow chart of a method for continuing video recording in one embodiment;

[0174] FIG3 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0175] FIG4 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0176] FIG5 is a schematic flow chart of a video resuming recording method in another embodiment;

[0177] FIG6 is a schematic flow chart of a video resuming recording method in another embodiment;

[0178] FIG7 is a schematic flow chart of a video resuming recording method in another embodiment;

[0179] FIG8 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0180] FIG9 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0181] FIG10 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0182] FIG11 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0183] FIG12 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0184] FIG13 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0185] FIG14 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0186] FIG15 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0187] FIG16 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0188] FIG17 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0189] FIG18 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0190] FIG19 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0191] FIG20 is a schematic flow chart of a method for continuing video recording in another embodiment;

[0192] FIG21 is a structural block diagram of a video re-recording device according to an embodiment;

[0193] FIG22 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0194] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.

[0195] The video re-recording method provided in the embodiments of the present application can be applied in the application environment shown in FIG1 . The capturing device includes a camera and a computer device connected to the camera. The capturing device can be a capturing device with a camera function, a mobile phone or tablet computer with a camera, etc. For example, the capturing device can be a sports camera 101. The computer device can be built into the capturing device or connected to the outside of the capturing device; the computer device can be a terminal.

[0196] In the embodiment of the present application, the computer device can control the camera head of the motion camera to continue recording the video to be continued, so as to achieve the continued recording of the video to be processed.

[0197] In related technologies, users need to record multiple times in the early stage to shoot multiple small videos, and then use professional editing software to edit these multiple small videos in the later stage. This is not only time-consuming, but also requires a certain level of technical skills and is highly complex. In addition, each video file has a certain header and tail, and the storage space required for multiple small files is also large.

[0198] Based on this, an embodiment of the present application provides a video continuation method, which obtains a video to be processed; wherein the video to be processed includes a recorded video or a paused video currently paused by a shooting device; the shooting device has a function of pausing recording during the recording process; in response to the user's operation on the interactive device, the shooting device is controlled to record the resumed video, and when the video to be processed is a recorded video, a target video is generated based on the recorded video and the resumed video; or, when the video to be processed is a paused video currently paused by the shooting device, a target video is generated based on the paused video and the resumed video. In this method, by operating the interactive device, a target video including the recorded video and the newly recorded resumed video can be automatically formed, or a target video including the paused video currently paused by the shooting device and the newly recorded resumed video can be formed, which reduces the manual work of editing and splicing videos, simplifies the video continuation work, and reduces the complexity of the video continuation operation; and, through the resume function of the motion camera, multiple small videos can be combined into a large video during the motion camera recording process, solving the problem of multiple small video files occupying a large storage space, thereby saving the storage space of the motion camera.

[0199] In an exemplary embodiment, as shown in FIG2 , a video resuming method is provided. The method is described by taking the shooting device of FIG1 as an example. The shooting device includes an interactive device. The method includes the following steps:

[0200] S201, obtaining a video to be processed; wherein the video to be processed includes a recorded video or a paused video that is currently paused by a shooting device; the shooting device has a function of pausing recording during the recording process.

[0201] The video to be processed may be a video that needs to be continued, that is, a new video needs to be continued on the video to be processed; wherein, the video to be processed may be a recorded video that has been recorded in advance by other cameras or shooting devices, or it may be a video recorded before the shooting device in an embodiment of the present application pauses recording during the recording process, that is, a paused video.

[0202] The method for obtaining the recorded video can be that there is a listener on the video playback page to monitor in real time whether the user sends a video processing instruction; for example, the listener is a voice listener, and the video playback page of the shooting device is entered, and the voice listener is automatically turned on. The voice listener will monitor the user's voice input in real time. The user can issue a selection request for the video to be processed through voice instructions. The voice listener parses the user's voice to determine whether the user has issued a selection request, and determines the video clip selected by the user as the video to be processed.

[0203] The paused video may be obtained by controlling the shooting device to record a video when the shooting device is in a recording state, and determining the video recorded before the pause recording as the paused video.

[0204] S202, in response to the user's operation on the interactive device, controls the shooting device to record and continue recording video, wherein, when the video to be processed is a recorded video, generates a target video based on the recorded video and the continued video; or, when the video to be processed is a paused video that has been currently paused by the shooting device, generates a target video based on the paused video and the continued video.

[0205] Optionally, the interaction device may be a physical button of the shooting device, and / or a touchable control on a touch screen of the shooting device, and / or a remote control, etc.

[0206] The user can perform corresponding operations on the interactive device of the shooting device according to actual needs. The operations performed on the interactive device of the shooting device may be different or the same depending on the user's needs.

[0207] The continued video may be a video recorded after the video to be processed.

[0208] In one embodiment, obtaining the continued video recorded by the shooting device includes: based on the video to be processed, the computer device obtains a continue-recording request input by the user on the video to be processed, and continues to record the video to be processed according to the continue-recording request, and determines the video after the video to be processed as the continued-recording video.

[0209] Specifically, the interactive device can be a resume button on the display interface of the video to be processed. When the user needs to continue recording the video to be processed, the user can click the resume button on the page of the video to be processed, and the shooting device responds to the resume button clicked by the user on the page of the video to be processed; wherein, the user clicking the resume button on the page of the video to be processed means that the user enters a resume request on the video to be processed.

[0210] Alternatively, the method for the user to input a resume request on the pending video can also be that a listener exists on the pending video page to monitor in real time whether the user inputs a resume request on the pending video; for example, the listener is a voice listener, and when entering the pending video page, the voice listener is automatically turned on. The voice listener will monitor the user's voice input in real time. The user can issue a resume request for the pending video through voice commands. The voice listener parses the user's voice to determine whether the user has issued a resume request, and sends the resume request for the pending video to the computer device of the shooting device.

[0211] After receiving the resume request, the computer device in the shooting device can control the camera in the shooting device to continue recording. After the recording is completed, the resumed video corresponding to the to-be-processed video is obtained.

[0212] After obtaining the continued video, the video to be processed and the continued video can be used as input of a preset video synthesis algorithm, the video synthesis algorithm can be run, and the output of the video synthesis algorithm can be determined as the target video; wherein, the target video can include the video to be processed and the continued video; optionally, the target video can also include fragments of the video to be processed and fragments of the continued video; it should be noted that the video synthesis algorithm can be determined according to the actual needs of the user.

[0213] When the video to be processed is a recorded video, the video to be processed and the continued recorded video can be directly spliced ​​to obtain the target video.

[0214] In the case where the processed video is a paused video, the paused video can also be processed, and the processed paused video can be spliced ​​with the resumed video to obtain the target video.

[0215] The video resuming method provided by the embodiment of the present application obtains a video to be processed; wherein the video to be processed includes a recorded video or a paused video currently being recorded by a shooting device; the shooting device has a function of pausing recording during the recording process; in response to the user's operation on the interactive device, the shooting device is controlled to record the resuming video, wherein, when the video to be processed is a recorded video, a target video is generated based on the recorded video and the resuming video; or, when the video to be processed is a paused video currently being recorded by the shooting device, a target video is generated based on the paused video and the resuming video. In this method, by operating the interactive device, a target video including the recorded video and the newly recorded resuming video can be automatically formed, or a target video including the paused video currently being recorded by the shooting device and the newly recorded resuming video can be formed, thereby reducing the manual work of editing and splicing videos, simplifying the video resuming work, and reducing the operational complexity of video resuming; and, through the resuming function of the motion camera, multiple small videos can be combined into a large video during the motion camera recording process, solving the problem of multiple small video files occupying a large storage space, thereby saving the storage space of the motion camera.

[0216] In an exemplary embodiment, obtaining the recorded video includes: determining the recorded video in response to a user operation on an interactive device.

[0217] The interactive device can be a touch screen in the shooting device, and the user selects the video to be processed on the touch screen; specifically, the method of determining the recorded video can be to obtain the recorded video in response to a confirmation request for the video to be processed sent by the user; the confirmation request can include the recorded video.

[0218] Specifically, the user can view all video clips on the video playback page of the shooting device. The video playback page includes a selection button. The user selects a video clip through the selection button. The shooting device responds to the video clip selected by the user on the video playback page and determines the video clip as a recorded video.

[0219] In another embodiment, the method for obtaining the recorded video may also be that when the shooting device is in the recording state, the user selects the end recording option through the interactive device to exit the recording state, and the recorded video is determined as the recorded video.

[0220] In the video re-recording method provided in the embodiment of the present application, the recorded video is determined in response to the user's operation on the interactive device. In this method, the recorded video is obtained by the user operating the interactive device of the shooting device, so that the obtained recorded video can better meet the user's needs.

[0221] In an exemplary embodiment, as shown in FIG3 , obtaining a recorded video includes:

[0222] S301: Display at least one pre-stored video on an album page of a shooting device.

[0223] Among them, the album page of the shooting device displays all video clips saved by the shooting device. These video clips are all pre-stored videos, including videos previously recorded by the shooting device and videos sent to the shooting device from other devices.

[0224] The user can enter the album page of the shooting device, and the computer device of the shooting device controls the shooting device to display at least one pre-stored video to the user.

[0225] S302 : In response to a user operation on an interactive device, determining a candidate video selected by the user from at least one pre-stored video, and determining the candidate video as a recorded video.

[0226] The user can operate the interactive device to select a video from at least one pre-stored video, determine the video selected by the user as a candidate video, and then determine the candidate video as the recorded video.

[0227] In the video re-recording method provided in an embodiment of the present application, at least one pre-stored video is displayed on the camera device's album page. In response to a user's operation of an interactive device, a candidate video selected by the user from the at least one pre-stored video is determined and designated as a recorded video. In this method, the user's selection of a recorded video from the pre-stored videos of the camera device improves the efficiency and accuracy of obtaining recorded videos.

[0228] In an exemplary embodiment, as shown in FIG4 , in response to a user's operation on an interactive device, determining a candidate video selected by the user from at least one pre-stored video includes the following steps:

[0229] S401: Obtain a reference video selected by a user from pre-stored videos.

[0230] The reference video is any video selected by the user from pre-stored videos.

[0231] The user can select a video from at least one pre-stored video according to actual needs, and determine the video selected by the user as a reference video.

[0232] S402: Based on the user's operation on the interactive device, a segment to be cut selected by the user from the reference video is obtained.

[0233] In an exemplary embodiment, as shown in FIG5 , based on the user's operation on the interactive device, obtaining the to-be-cut segment selected by the user from the reference video includes the following steps:

[0234] S501: When a user performs a cut trigger operation on an interactive device, a display element corresponding to a reference video is displayed.

[0235] The shooting device includes a cut trigger operation, and the user can perform the cut trigger operation through the interactive device. The computer device responds to the cut trigger operation performed by the user on the interactive transposition and displays the display elements of the reference video to the user through the display screen of the shooting device.

[0236] The display element may be a progress bar of the reference video.

[0237] S502: Determine a segment to be cut based on a segment selection operation performed by the user on a presentation element.

[0238] The user can perform a segment selection operation on the display element of the reference video, and determine the video segment corresponding to the segment selection operation as the segment to be cut.

[0239] For example, in the interface of the clip selection operation, there is also a cutting box and a button to confirm the cutting. The cutting box corresponds to the length of the cut video clip. The user can adjust the cutting box according to the cutting requirements and make the cutting box larger or smaller; for example, the display element of the reference video shows that the reference video is 0-10s, and the user wants to cut a 5-8s video clip. Therefore, the user can adjust the cutting box and move the cutting box to the 5 to 8s video clip according to the display element of the reference video. Then the user clicks the button to confirm the cutting, thereby sending the 5 to 8s clip to be cut to the computer device of the shooting device, thereby obtaining the clip to be cut selected by the user from the reference video.

[0240] Optionally, if the segment to be cut that the user needs to cut is a video segment from the previous moment to the current moment, the user can drag the progress bar in the reference video to the previous moment, and then use the video segment from the previous moment to the current moment as the segment to be cut and send it to the computer device.

[0241] It should be noted that the clip to be cut is the video clip that the user wants to delete from the reference video. The clip to be cut can be multiple video clips, that is, the user can select multiple clips to be cut in the reference video; for example, the reference video is 0-10s, and the clips to be cut can be video clips of 2-5s and 8-10s.

[0242] S403: Delete the to-be-cut segment from the reference video to obtain a cut video, and determine a candidate video based on the cut video.

[0243] The to-be-cut segment is deleted from the reference video, and the remaining segments in the reference video are spliced ​​to obtain a cut video of the reference video, and then the cut video is determined as a candidate video.

[0244] Assuming that a reference video includes a segment to be cut, in an exemplary embodiment, as shown in FIG6 , deleting the segment to be cut from the reference video to obtain a cut video includes the following steps:

[0245] S601 : According to the start time of the segment to be cut, obtain the first video segment before the start time from the reference video.

[0246] S602: According to the end time of the segment to be cut, obtain a second video segment after the end time from the reference video.

[0247] S603: Splice the first video clip and the second video clip to obtain a cut video.

[0248] Obtain the start time and end time of the segment to be cut, and according to the start time of the segment to be cut, obtain a first video segment captured before the start time from the reference video, and according to the end time of the segment to be cut, obtain a second video segment captured after the end time from the reference video, and then splice the end time of the first video segment and the start time of the second video segment to obtain a cut video of the reference video, the cut video including the first video segment and the second video segment.

[0249] Continuing with the example of the reference video including 0-10s, if the segment to be cut is 5-8s, the first video segment is 0-5s, and the second video segment is 8-10s. Then, the video segments of 0-5s and 8-10s are spliced ​​together to obtain the cut video of the reference video.

[0250] It should be noted that if the reference video includes multiple segments to be cut, based on the same principle as above, the segment to be cut is deleted from the reference video, and the remaining segments are spliced ​​together in sequence according to the recording time.

[0251] In this embodiment of the present application, a first video segment before the start time of the segment to be cut is obtained from a reference video, and a second video segment after the end time of the segment to be cut is obtained from the reference video. The first and second video segments are then spliced ​​together to produce a cut video. Users can selectively cut specific portions of a video as needed, removing unnecessary content or extracting important segments. By cutting a video and removing redundant or irrelevant content, the viewing experience is improved and the effectiveness of conveying information is enhanced.

[0252] The method of determining the video to be processed based on the cut video can also be to verify the cut video and determine the video to be processed based on the verification result; specifically, each frame of the video in the cut video is verified, and if each frame of the video passes the verification, the cut video is determined as the video to be processed; if there are video frames in the cut video that have not passed the verification, the video frames that have not passed the verification are deleted from the cut video, and the cut video after deleting the video frames that have not passed the verification is determined as the video to be processed.

[0253] In the video continuation method provided in the embodiment of the present application, a reference video selected by the user from pre-stored videos is obtained, and based on the user's operation on the interactive device, a segment to be cut selected by the user from the reference video is obtained, and then the segment to be cut is deleted from the reference video to obtain a cut video, and a candidate video is determined based on the cut video. By selecting a reference video from the pre-stored videos, selecting the segment to be cut from the reference video, and deleting some segments from the reference video, all video frames in the cut video are the video required by the user, reducing redundant segments, improving the video quality of the cut video, and avoiding the user's subsequent processing of the video.

[0254] In an exemplary embodiment, obtaining a recorded video includes: determining a pre-stored video based on a user's operation on an interactive device of a shooting device, and cropping the pre-stored video to obtain the recorded video.

[0255] The pre-stored video may be a video playback page of a shooting device or a video stored in a memory.

[0256] Taking the video playback page as an example, the user can operate the interactive device of the shooting device to enter the video playback page of the shooting device. The user selects a video on the video playback page according to needs, and the video selected by the user on the video playback page is determined as the pre-stored video.

[0257] The pre-stored video may be a video clip recorded by a shooting device, or a video clip recorded by other shooting devices.

[0258] The pre-stored video may be cropped according to a preset cropping strategy, and the cropped pre-stored video may be determined as the recorded video.

[0259] The method for cropping the pre-stored video can be to delete a preset time length at a preset position in the pre-stored video, and determine the deleted pre-stored video as the video to be processed; for example, delete the last 2s of the pre-stored video to obtain the video to be processed.

[0260] The method for cropping the pre-stored video can also be to verify each frame of the pre-stored video. If each frame of the video passes the verification, the pre-stored video is determined to be a recorded video; if there are video frames in the pre-stored video that have not passed the verification, the video frames that have not passed the verification are deleted from the pre-stored video, and the pre-stored video after deleting the video frames that have not passed the verification is determined to be a recorded video.

[0261] In the video re-recording method provided in an embodiment of the present application, a pre-stored video is determined based on a user's operation of an interactive device of a camera device, and the pre-stored video is cropped to obtain a recorded video. In this method, the recorded video is obtained by cropping the pre-stored video. In this way, the pre-stored video can be cropped according to user needs to obtain a recorded video that meets the user's needs, making the recorded video more accurate.

[0262] In an exemplary embodiment, as shown in FIG7 , obtaining a paused video currently being recorded by a shooting device includes the following steps:

[0263] S701: When the shooting device is in shooting state, obtain the user's operation on the interaction device.

[0264] When the camera is in the shooting state, the user can operate the interactive device of the camera, wherein the definition of the interactive device is the same as that in the above embodiment, and will not be repeated in this embodiment.

[0265] S702: Determine, based on the user's operation on the interactive device, the paused video currently being recorded by the shooting device.

[0266] In an exemplary embodiment, as shown in FIG8 , determining a paused video currently being recorded by a shooting device based on a user's operation on an interaction device includes the following steps:

[0267] S801: When a user performs a first operation on a recording element of an interactive device, control a shooting device to pause recording to obtain a pause segment.

[0268] The first operation may be a pause operation, which is equivalent to controlling the camera to pause recording. The recording element of the interactive device may be a shutter button on the camera or a control button on a remote controller of the camera.

[0269] Taking the shutter button as an example, when the recording element of the interactive device is in the shooting state, the user can click the shutter button. In response to the user's first operation on the interactive device of the shooting device, the computer can control the shooting device to be in the paused recording state, and determine the video recorded before the first operation is triggered as a paused clip.

[0270] S802: Determine, based on the paused segment, the paused video currently being recorded by the shooting device.

[0271] The paused segment can be directly identified as a paused video that the capture device has currently paused recording.

[0272] In the video resuming method provided in an embodiment of the present application, when the camera is in a shooting state, a user's operation on the interactive device is obtained, and based on the user's operation on the interactive device, a paused video currently being recorded by the camera is determined. In this method, when the camera is in a shooting state, the paused video is determined. In this way, the video being recorded can be processed, reducing the steps of processing the video after the video recording is completed, thereby improving the efficiency and accuracy of video processing.

[0273] Another implementation of determining a video to be processed based on a pause segment is provided below. In an exemplary embodiment, as shown in FIG9 , determining a paused video currently being recorded by a camera based on a pause segment includes the following steps:

[0274] S901 : Based on a second operation of the user on the interactive device, obtaining a segment to be cut selected by the user from the paused segment.

[0275] The second operation may be a cut trigger operation, in which, when the user performs the cut trigger operation on the recording element of the interactive device, the to-be-cut segment selected by the user from the paused segment is obtained.

[0276] The cut triggering operation may be a pre-set operation. For example, the user may perform the cut triggering operation on the interactive device by continuously triggering the recording element of the interactive device for a preset time period.

[0277] Alternatively, the user can trigger the cut operation on the interactive device by long-pressing the recording element for 1 second while the camera is in the shooting state. At this point, the camera screen may display a "Cancel Shooting Function Option" and a "Cut Video Function Option," and the user clicks the "Cut Video Function Option." After the user clicks the "Cut Video Function Option," the user obtains the segment to be cut from the paused segment, which may be a segment of the video that the user does not want to cut.

[0278] In an exemplary embodiment, as shown in FIG10 , based on the second operation of the user on the interactive device, obtaining the to-be-cut segment selected by the user from the paused segment includes the following steps:

[0279] S1001: When a user performs a cut trigger operation on an interactive device, a display element corresponding to a paused segment is displayed.

[0280] When the user performs a cut trigger operation on the interactive device, that is, when the user chooses to cut the video, the computer device can obtain the paused segment captured by the shooting device before the cut trigger operation is performed, and display the paused segment on the screen of the shooting device so that the user can cut the paused segment.

[0281] Among them, the display element corresponding to the pause segment can be a progress bar, so the computer device can display the pause segment and the corresponding progress bar on the screen of the shooting device.

[0282] S1002: Determine a segment to be cut based on a segment selection operation performed by a user on a presentation element.

[0283] The embodiment of the present application determines the fragment to be cut based on the user's fragment selection operation on the display element. The implementation method of determining the fragment to be cut based on the user's fragment selection operation on the display element in the above embodiment is the same, and the embodiment of the present application will not be repeated here.

[0284] S902: Delete the segment to be cut from the paused segment to obtain a cut video.

[0285] The segment to be cut is deleted from the paused segment, and the remaining segments in the paused segment are spliced ​​together to obtain a cut video of the paused segment.

[0286] In an exemplary embodiment, as shown in FIG11 , deleting the to-be-cut segment from the pause segment to obtain a cut video includes the following steps:

[0287] S1101 , according to the start time of the segment to be cut, obtain the third video segment before the start time from the paused segment.

[0288] S1102: According to the end time of the segment to be cut, obtain the fourth video segment after the end time from the paused segment.

[0289] S1103: Splice the third video segment and the fourth video segment to obtain a cut video.

[0290] The start time and end time of the segment to be cut are obtained, and according to the start time of the segment to be cut, a third video segment captured before the start time is obtained from the paused segment, and according to the end time of the segment to be cut, a fourth video segment captured after the end time is obtained from the paused segment, and then the end time of the third video segment and the start time of the fourth video segment are spliced ​​to obtain a cut video of the paused segment, where the cut video includes the third video segment and the fourth video segment.

[0291] Continuing with the example of the pause segment including 0-10s, if the segment to be cut is 5-8s, the third video segment is 0-5s, and the fourth video segment is 8-10s. Then, the video segments of 0-5s and 8-10s are spliced ​​together to obtain the cut video of the pause segment.

[0292] It should be noted that if the paused segment includes multiple segments to be cut, based on the same principle as above, the segment to be cut is deleted from the paused segment, and the remaining segments are spliced ​​together in sequence according to the recording time.

[0293] S903: Determine, based on the cut video, the paused video currently being recorded by the shooting device.

[0294] The cut video can be determined as the paused video of the shooting device currently paused recording, or the cut video can be verified, and the paused video of the shooting device currently paused recording is determined according to the verification result; specifically, each frame of the video in the cut video is verified, and if each frame of the video passes the verification, the cut video is determined as the paused video of the shooting device currently paused recording; if there are video frames in the cut video that have not passed the verification, the video frames that have not passed the verification are deleted from the cut video, and the cut video after deleting the video frames that have not passed the verification is determined as the paused video of the shooting device currently paused recording.

[0295] In the video resuming method provided in an embodiment of the present application, based on a second user operation on an interactive device, a segment to be cut selected by the user from the paused segment is obtained, and the segment to be cut is deleted from the paused segment to obtain a cut video, which is then determined to be the paused video currently paused by the camera. In this method, the paused segment is cropped to obtain the paused video currently paused by the camera. In this way, the paused segment can be cropped according to user needs to obtain a video to be processed that meets the user's needs, making the obtained paused video more accurate.

[0296] In an exemplary embodiment, as shown in FIG12 , in response to a user's operation on an interactive device, controlling a camera to record a continuous video includes the following steps:

[0297] S1201 : In response to a user operation on an interactive device, a shooting parameter is acquired based on at least one video parameter of a video to be processed.

[0298] After the computer device of the shooting device obtains the video to be processed, the user can perform a third operation on the interactive device, where the third operation can include the user clicking a resume button on the video to be processed. In response to the user's operation on the interactive device, the computer device can parse the video to be processed using a preset video parameter parsing algorithm to obtain at least one video parameter of the video to be processed. Specifically, the video to be processed is used as input to the video parameter parsing algorithm, and the video parameter parsing algorithm is run to obtain at least one video parameter of the video to be processed. The video parameters can include resolution, shutter speed, aperture, exposure parameters, etc.

[0299] At least one video parameter of the video to be processed is determined as a shooting parameter; wherein the shooting parameter is a shooting parameter corresponding to the video to be processed.

[0300] S1202: Control the shooting device to record the video according to the shooting parameters to obtain a continued video.

[0301] Based on the shooting parameters obtained above, the computer device can adjust the shooting parameters of the shooting device, record a new video using the adjusted shooting parameters, and determine the newly recorded video as a continued video.

[0302] The video continuation method provided in an embodiment of the present application responds to a user's operation on an interactive device by first determining a video to be processed selected by the user, then obtaining shooting parameters based on at least one video parameter of the video to be processed, and then controlling a camera to record the video according to the shooting parameters to obtain a continued video. Controlling the camera to record the video using the shooting parameters of the video to be processed results in the continued video having the same image quality as the video to be processed, thereby improving the visual continuity of the complete video obtained by combining the video to be processed and the continued video.

[0303] In one embodiment, as shown in FIG13 , obtaining shooting parameters based on at least one video parameter of a video to be processed includes the following steps:

[0304] S1301, obtaining a video file of a video to be processed; the video file includes file information of the video to be processed.

[0305] The video to be processed carries the video identifier of the video to be processed. When determining the video to be processed, the computer device can also determine the video identifier of the video to be processed; wherein, the video identifier can be a symbol, a string or a number, etc. used to uniquely identify a video, and the video identifier can be a video name, a video ID, etc.

[0306] The database of the shooting device stores video files corresponding to the videos, wherein the video files correspond to the video identifiers. Therefore, the video file corresponding to the video identifier of the video to be processed can be directly obtained from the database according to the video identifier of the video to be processed, and the video file includes the file information of the video to be processed.

[0307] Optionally, the file information of the video to be processed may include an image file and an audio file of the video to be processed.

[0308] S1302: Parse the file information according to a preset file parsing method to obtain at least one video parameter of the video to be processed.

[0309] The video parameters may include video encoding format, audio encoding format, resolution, exposure mode, image configuration parameters, shutter speed, aperture, exposure parameters, etc.; the exposure mode includes manual exposure or automatic exposure.

[0310] Before parsing the file information, the format of the video file can be detected, and the file parsing method corresponding to the format of the video file can be obtained according to the format of the video file. Then, the file information of the video to be processed in the video file can be parsed according to the file parsing method to obtain at least one video parameter corresponding to the file information; the video parameter is the parameter used in the process of shooting the video to be processed.

[0311] Optionally, the file format of the video file may be determined directly according to the suffix of the video file; wherein the database of the shooting device includes a correspondence between the file format and the file parsing method, and each file parsing method corresponds to a file parsing algorithm.

[0312] Therefore, the file information of the video file can be parsed according to the file parsing algorithm of the video file to obtain at least one video parameter corresponding to the file information; for example, the file format of the video file can be MP4 format, and the file information of the video file can be parsed using the parsing algorithm or parsing tool corresponding to the MP4 format to obtain at least one video parameter corresponding to the file information.

[0313] S1303: Determine a shooting parameter according to at least one video parameter.

[0314] The at least one video parameter is all video parameters obtained after parsing the file information.

[0315] At least one video parameter can be determined as a shooting parameter. In this way, the video to be processed is continued with the same shooting parameters, so that the newly recorded continued video and the video to be processed can maintain consistency in image effects, thereby improving the coherence of the complete video.

[0316] Optionally, it is also possible to obtain video parameters that affect the video effect from all video parameters of the parsed file information, and determine the shooting parameters based on multiple video parameters that affect the video shooting effect; for example, the video parameters of the parsed file information include A parameters, B parameters, C parameters and D parameters, wherein the setting of the D parameter does not affect the shooting effect, therefore, the shooting parameters can be determined based on the A parameters, B parameters and C parameters.

[0317] The video re-recording method provided in an embodiment of the present application obtains a video file of a video to be processed; the video file includes file information of the video to be processed; and the file information is parsed according to a preset file parsing method to obtain at least one video parameter of the video to be processed, and then a shooting parameter is determined based on the at least one video parameter. In this method, the file information is parsed according to the preset file parsing method, which improves the efficiency and accuracy of the file parsing, thereby enabling the rapid acquisition of accurate video parameters. The shooting parameters are then determined based on the video parameters, and the recording according to the shooting parameters is of higher quality.

[0318] In an exemplary embodiment, controlling a shooting device to record a video according to shooting parameters to obtain a continued video includes the following steps: detecting whether a stop recording condition is met; if the stop recording condition is met, controlling the shooting device to stop recording to obtain a continued video.

[0319] The recording stop condition includes at least one of the following: obtaining a stop recording instruction input by the user; the current recording duration reaches a preset recording duration; the current memory space reaches a preset memory space occupancy threshold.

[0320] Optionally, the stop recording instruction includes obtaining a stop recording instruction input by a user. A stop recording button is included on the resume recording interface of the video to be processed. The user can click the stop recording button on the resume recording interface of the video to be processed. Clicking the stop recording button triggers the stop recording instruction. Therefore, after the user clicks the stop recording button, the computer device of the shooting device can obtain the stop recording instruction input by the user. After receiving the stop recording instruction, the computer device can control the camera to stop recording, thereby obtaining the resumed video.

[0321] Among them, the stop recording instruction can also include the stop recording duration. For example, after the computer device receives the stop recording instruction, it continues to record for the stop recording duration, and then controls the shooting device to stop recording to obtain the continued recording video; for example, the stop recording duration includes 5s. After the computer device obtains the stop recording instruction input by the user, it continues to record for 5s. After 5 seconds, the camera of the shooting device can be controlled to stop recording to obtain the continued recording video.

[0322] If the condition for stopping recording includes that the current recording time reaches the preset recording time, the shooting device is controlled to stop recording, and the continued recording video is obtained, including: the computer device controls the camera of the shooting device to record according to the shooting parameters, and when the recording time reaches the preset recording time, the computer device controls the camera of the camera to stop recording, and the continued recording video is obtained; for example, the preset recording time is 60s, that is, after the computer device controls the camera of the shooting device to record for 60s, the computer device controls the camera of the shooting device to stop recording.

[0323] If the condition for stopping recording includes that the current memory space reaches the preset memory space occupancy threshold, the shooting device is controlled to stop recording, and obtaining the continued video includes: during the process of the shooting device recording according to the shooting parameters, if it is detected that the current memory space of the shooting device reaches the preset memory space occupancy threshold, the camera of the shooting device is controlled to stop recording.

[0324] After the shooting device stops recording, a continued video is obtained; wherein the continued video is a video newly recorded by the shooting device.

[0325] The video resume recording method provided in an embodiment of the present application detects whether a stop recording condition is met; if the stop recording condition is met, the camera is controlled to stop recording to obtain a resumed video. In this method, by setting the stop recording condition, recording is stopped when the stop recording condition is met, thereby improving the effectiveness of the resumed video and avoiding recording of empty or invalid clips.

[0326] In an exemplary embodiment, as shown in FIG14 , generating a target video according to a recorded video and a continued recorded video includes the following steps:

[0327] S1401, in response to a user's operation on an interactive device, confirming an insertion position of a resumed video in an already recorded video.

[0328] The user can operate the marking element of the interactive device to determine the insertion position of the continued video in the recorded video.

[0329] The recorded video includes a progress bar, and the user can drag the progress bar to a certain position in the recorded video, and then trigger the marking element of the interactive device to mark the position of the recorded video and determine the position as the insertion position.

[0330] The marking element may be a marking key on a shooting device or a marking button on a remote control.

[0331] S1402, inserting the resumed video into the insert position.

[0332] The continued video can be a video clip that is recorded by a shooting device and then continued from the recorded video; the computer device can insert the continued video at the insertion position of the processed video.

[0333] For example, the recorded video includes 0-10s of video, the insertion position is the 5th second of the recorded video, and the continued video is a 4s video clip. Then, the 4s video clip can be inserted from the 5s position of the recorded video, and the inserted video is 14s.

[0334] Optionally, before inserting the continued video into the insertion position, the method further includes: deleting the target segment after the insertion position in the recorded video.

[0335] A video segment after the insertion position in the recorded video is determined as a target segment, and then the target segment is deleted.

[0336] For example, the recorded video includes 0-10 seconds of video, and the insertion position is the 5th second of the recorded video. The video segment after the 5th second of the recorded video is deleted, and the video after the 5th second of the recorded video is connected to the continued video.

[0337] The video re-recording method provided in an embodiment of the present application responds to a user's operation on an interactive device, determines the insertion position of the re-recorded video within the already recorded video, and inserts the re-recorded video at the insertion position. In this method, a computer device can insert the re-recorded video within the already recorded video, thereby enabling editing and modification of the already recorded video to meet the user's specific video needs.

[0338] In an exemplary embodiment, generating a target video based on a recorded video and a continued-recorded video includes: splicing the recorded video and the continued-recorded video to generate the target video.

[0339] The target video may include a recorded video and a continued recorded video.

[0340] The recorded video and the continued video can be spliced ​​together based on the end position of the recorded video and the start position of the continued video to obtain the target video.

[0341] Optionally, you can also splice and continue recording the video from any time point of the recorded video; for example, the recorded video frame is 1-30 seconds, the first spliced ​​video can be a 1-25s video, cut the 25-30s video, and continue recording from 25s.

[0342] It should be noted that the splicing position between the recorded video and the continued video can be determined according to actual needs.

[0343] The video continuation method provided in an embodiment of the present application splices an already recorded video and a continued video to generate a target video. In this method, the already recorded video and the continued video are spliced ​​to form a target video including the already recorded video and the newly recorded video, which reduces the manual work of editing and splicing videos, simplifies the video continuation work, and reduces the operational complexity of video continuation. In addition, through the continued recording function of the shooting device, multiple small videos are synthesized into a complete large video during the recording process of the shooting device, solving the problem of multiple small video files occupying a large storage space, thereby saving the storage space of the shooting device.

[0344] In an exemplary embodiment, as shown in FIG15 , splicing the recorded video and the continued video to generate a target video includes the following steps:

[0345] S1501: Determine a first splicing position of the recorded video.

[0346] The first splicing position is the position in the recorded video where the video is spliced ​​with the continued video.

[0347] The first splicing position can also be manually selected by the user in the recorded video and sent to the computer device of the shooting device, or the recorded video can be input into a pre-trained video selection model, and the recorded video is analyzed by the video selection model to output the first splicing position.

[0348] Optionally, as shown in FIG16 , determining the first splicing position of the recorded video includes the following steps:

[0349] S1601: Verify each frame of the recorded video.

[0350] After the computer device of the camera obtains the recorded video, it can verify the quality of each frame of the recorded video to determine whether the recorded video meets the requirements. For example, the resolution of each frame of the recorded video can be verified, and the presence of blur in each frame can be determined. If a blurry image is present in the video frame, the video frame is determined to have failed the verification. If the blurry image is not present in the video frame, the video frame is determined to have passed the verification.

[0351] S1602: Determine a first splicing position based on the verification result of each frame of video.

[0352] The first splicing position may be a splicing position between the recorded video and the continued video.

[0353] If all video frames of the recorded video pass the verification, it means that the quality of all video frames in the recorded video meets the requirements, and the last frame of the recorded video can be used as the first splicing position.

[0354] If a video frame in the recorded video fails to pass the verification, indicating that the quality of the video frame does not meet the requirements, the video frame can be removed, and the previous frame of the video frame that fails the verification in the recorded video can be used as the first splicing position; optionally, if there are multiple video frames that fail the verification in the recorded video frames, the previous frame of the video frame with the earliest acquisition time among the video frames that fail the verification can be used as the first splicing position; for example, if the video frames that fail the verification in the recorded video are the 5th, 7th, and 10th frames, the 4th frame before the 5th frame can be used as the first splicing position.

[0355] The video re-recording method provided in an embodiment of the present application verifies each frame of the recorded video and determines the first splicing position based on the verification results of each frame of the video. In this method, each frame of the recorded video is verified by verification, and based on the verification results of the video frames, the first splicing position can be accurately determined from the recorded video.

[0356] S1502: Determine a second splicing position for the continued video.

[0357] The second splicing position may be a position in the continued video where the video is spliced ​​with the recorded video.

[0358] It is also possible to verify each frame of the continued video, and determine the second spliced ​​video frame based on the verification results of each frame of the continued video. Specifically, the quality of each frame of the continued video can be verified to determine whether the recorded video meets the requirements. For example, the resolution of each frame of the continued video can be verified, and it can also be determined whether there is a blurred image in each frame of the video; if there is a blurred image in the video frame, it is determined that the video frame verification has failed; if there is no blurred image in the video frame, it is determined that the video frame verification has passed.

[0359] If all video frames in the continued video pass the inspection, the first frame of the continued video can be used as the second splicing position; if there are video frames in the continued video that fail the inspection, the frame after the latest video frame captured among the video frames that fail the inspection can be used as the second splicing position; for example, if the video frames in the continued video that fail the inspection are the 5th, 7th, and 10th frames, the 11th frame after the 10th frame can be used as the second splicing position.

[0360] Optionally, the second splicing position can also be manually selected by the user in the continued video and sent to the computer device of the shooting device, or the continued video can be input into a pre-trained video selection model, and the recorded video is analyzed by the video selection model to output the second splicing position.

[0361] S1503: Splice the second splicing position of the continued video and the first splicing position of the recorded video until the shooting of the continued video is completed to obtain the target video.

[0362] The continued video is spliced ​​with the already recorded video at the first splicing position from the second splicing position of the continued video until the continued video is shot, to obtain a target video. The target video may include at least one video segment from the already recorded video and the continued video, and the target video includes video frames of the already recorded video before the first splicing position and video frames of the continued video after the second splicing position.

[0363] The recorded video and the continued video may be spliced ​​together through the first splicing position and the second splicing position to obtain the target video.

[0364] The video continuation method provided in an embodiment of the present application determines a first splicing position of an already recorded video and a second splicing position of a continued video, and then splices the second splicing position of the continued video with the first splicing position of the already recorded video until the continued video is shot, thereby obtaining a target video. In this method, the first spliced ​​video frame of the already recorded video and the second video frame of the continued video are spliced ​​together to obtain the target video, making the obtained target video more efficient and accurate.

[0365] In an exemplary embodiment, as shown in FIG17 , generating a target video according to a paused video and a resumed video includes the following steps:

[0366] S1701, responding to a user's operation on an interactive device, confirming an insertion position of a resumed video in a paused video.

[0367] The user can operate the marking element of the interactive device to determine the insertion position of the resumed video in the paused video.

[0368] The paused video includes a progress bar, and the user can drag the progress bar to a certain position of the paused video, and then trigger the marking element of the interactive device to mark the position of the paused video and determine the position as the insertion position.

[0369] The marking element may be a marking key on a shooting device or a marking button on a remote control.

[0370] S1702, inserting the resumed video into the insert position.

[0371] The resumed video can be a video clip that is recorded by a shooting device after the paused video is resumed; the computer device can insert the resumed video at the insertion position of the processed video.

[0372] For example, the paused video includes 0-10s of video, the insertion position is the 5th second of the paused video, and the resumed video is a 4s video clip. Then the 4s video clip can be inserted from the 5th second position of the paused video, and the inserted video is 14s.

[0373] Optionally, before inserting the resumed video into the insertion position, the method further includes: deleting a target segment after the insertion position in the paused video.

[0374] A video segment after the insertion position in the paused video is determined as a target segment, and then the target segment is deleted.

[0375] For example, the paused video includes 0-10s of video, the insertion position is the 5th second of the paused video, the video segment after the 5th second of the paused video is deleted, and the video after the 5th second of the paused video is connected to the resumed video.

[0376] The video resuming method provided in an embodiment of the present application responds to a user's operation on an interactive device, determines the insertion position of a resumed video within a paused video, and inserts the resumed video into the insertion position. In this method, a computer device can insert the resumed video within the paused video, thereby enabling editing and modification of the paused video to meet the user's specific video needs.

[0377] In an exemplary embodiment, generating a target video according to a paused video and a resumed video includes: splicing the paused video and the resumed video to generate the target video.

[0378] The target video may include a paused video and a resumed video.

[0379] The paused video and the resumed video can be spliced ​​together based on the end position of the paused video and the start position of the resumed video to obtain the target video.

[0380] Optionally, the video can also be spliced ​​and continued from any time point of the paused video; for example, the paused video frame is 1-30 seconds, the first spliced ​​video can be a 1-25s video, the 25-30s video is cut, and the recording is continued from 25s.

[0381] It should be noted that the splicing position between the paused video and the resumed video can be determined according to actual needs.

[0382] The video resuming method provided in an embodiment of the present application splices a paused video and a resumed video to generate a target video. In this method, the paused video and the resumed video are spliced ​​together to form a target video that includes the paused video and the newly recorded video. This reduces the manual work of editing and splicing videos, simplifies the video resuming work, and reduces the operational complexity of video resuming. Furthermore, through the resume recording function of the shooting device, multiple small videos are synthesized into a complete large video during the shooting device recording process, solving the problem of multiple small video files occupying a large storage space, thereby saving the storage space of the shooting device.

[0383] In an exemplary embodiment, as shown in FIG18 , the paused video and the resumed video are spliced ​​together to generate a target video, including the following steps:

[0384] S1801: Determine a third splicing position of the paused video.

[0385] Among them, the third splicing position is the position in the paused video where it is spliced ​​with the resumed video.

[0386] The third splicing position can also be manually selected by the user in the paused video and sent to the computer device of the shooting device, or the paused video can be input into a pre-trained video selection model, and the paused video is analyzed by the video selection model to output the third splicing position.

[0387] Optionally, as shown in FIG19 , determining the third splicing position of the paused video includes the following steps:

[0388] S1901: Verify each frame of the paused video.

[0389] After the computer device of the capture device obtains the paused video, it can verify the quality of each frame of the paused video to determine whether the paused video meets the requirements. For example, the resolution of each frame of the paused video can be verified, and whether each frame contains blurry images can also be determined. If a video frame contains blurry images, the video frame is determined to have failed the verification. If a video frame does not contain blurry images, the video frame is determined to have passed the verification.

[0390] S1902: Determine a third splicing position based on the verification result of each frame of video.

[0391] Among them, the third splicing position can be the splicing position of the paused video and the resumed video.

[0392] If all video frames of the paused video pass the verification, it means that the quality of all video frames in the paused video meets the requirements, and the last frame of the paused video can be used as the third splicing position.

[0393] If a video frame in the paused video fails to pass the verification, it means that the quality of the video frame does not meet the requirements. In this case, the video frame can be removed, and the previous frame of the video frame in the paused video that fails the verification can be used as the third splicing position; optionally, if there are multiple video frames in the paused video that fail the verification, the previous frame of the video frame with the earliest acquisition time among the video frames that fail the verification can be used as the third splicing position; for example, if the video frames in the paused video that fail the verification are the 5th, 7th, and 10th frames, the 4th frame before the 5th frame can be used as the third splicing position.

[0394] The video resuming method provided in the embodiment of the present application verifies each frame of the paused video and determines the third splicing position based on the verification results of each frame. In this method, each frame of the paused video is verified by verification, and based on the verification results of the video frames, the third splicing position can be accurately determined from the paused video.

[0395] S1802: Determine a fourth splicing position for the continued video.

[0396] Among them, the fourth splicing position can be the position in the resumed video where it is spliced ​​with the paused video.

[0397] It is also possible to verify each frame of the continued video, and determine the second spliced ​​video frame based on the verification results of each frame of the continued video. Specifically, the quality of each frame of the continued video can be verified to determine whether the paused video meets the requirements. For example, the resolution of each frame of the continued video can be verified, and it can also be determined whether there is a blurred image in each frame of the video; if there is a blurred image in the video frame, it is determined that the video frame verification has failed; if there is no blurred image in the video frame, it is determined that the video frame verification has passed.

[0398] If all video frames in the continued video pass the inspection, the first frame of the continued video can be used as the fourth splicing position; if there are video frames in the continued video that fail the inspection, the frame after the latest video frame captured among the video frames that fail the inspection can be used as the fourth splicing position; for example, if the video frames in the continued video that fail the inspection are the 5th, 7th, and 10th frames, the 11th frame after the 10th frame can be used as the fourth splicing position.

[0399] Optionally, the fourth splicing position can also be manually selected by the user in the resumed video and sent to the computer device of the shooting device, or the resumed video can be input into a pre-trained video selection model, and the paused video is analyzed by the video selection model to output the fourth splicing position.

[0400] S1803: Splice the fourth splicing position of the resumed video and the third splicing position of the paused video until the shooting of the resumed video is completed to obtain the target video.

[0401] The resumed video is spliced ​​from the fourth splicing position of the resumed video with the paused video at the third splicing position until the resumed video is shot, to obtain a target video. The target video may include at least one video segment from the paused video and the resumed video, and the target video includes video frames in the paused video before the third splicing position and video frames in the resumed video after the fourth splicing position.

[0402] The paused video and the resumed video may be spliced ​​together through the third splicing position and the fourth splicing position to obtain the target video.

[0403] The video resuming method provided in an embodiment of the present application determines a third splicing position of the paused video and a fourth splicing position of the resumed video, and then splices the fourth splicing position of the resumed video with the third splicing position of the paused video until the resumed video is shot, thereby obtaining a target video. In this method, the first spliced ​​video frame of the paused video and the second video frame of the resumed video are spliced ​​together to obtain the target video, making the obtained target video more efficient and accurate.

[0404] In one embodiment, when a user performs a first operation on a recording element of an interactive device, the camera is controlled to pause recording; when a user performs a first operation on a recording element of the interactive device, the camera is controlled to switch its power consumption mode to a low power consumption mode; and when a user performs a resume operation on the recording element of the interactive device, the camera is controlled to exit the low power consumption mode. The resume operation may be an operation of controlling the camera to adjust from a paused recording state to a resumed recording state, or a resume operation may be an operation of controlling the camera to adjust from a non-recording state to a recording state.

[0405] Among them, the power consumption working mode of the shooting device includes a low power consumption mode and a high power consumption mode. The shooting device is in the high power consumption mode during the shooting process and is in the low power consumption mode during the pause or stop of recording.

[0406] In this embodiment, when the camera is in the recording state, its power consumption is relatively high, and its power consumption operating mode is high. After receiving a first user operation on a recording element of the interactive device, the camera enters a pause state. At this time, the camera does not need to record, and the computer device can control the camera's power consumption operating mode to switch from high to low. Subsequently, after receiving a user resume operation on a recording element of the interactive device, the camera resumes the recording state, and the computer device controls the camera's power consumption operating mode to switch from low to high.

[0407] In an embodiment of the present application, based on the first operation and the recovery operation, the power consumption working mode of the shooting device is switched, so that the shooting device is in a low power consumption mode when it is suspended, which can greatly reduce the power consumption of the shooting device during use.

[0408] In an exemplary embodiment, the video capture progress at the moment the first operation is executed can be stored in a storage unit, encoding of the video frames in the storage unit can be stopped, and the encoding clock can be switched to an off state; when the encoding clock is in the off state, the power consumption working mode of the shooting device is switched to a low power consumption mode.

[0409] The video acquisition progress indicates the acquisition time period during the video acquisition process.

[0410] In this embodiment, after receiving the first operation performed by the user, the computer device can obtain the video capture progress at the time when the first operation was performed and store the video capture progress. After encoding the video frame at the time when the first operation was performed in the storage unit is completed, the encoding is stopped and the encoding clock is turned off.

[0411] In this embodiment, after the encoding clock is turned off, the photographing device is completely in a non-operating state. At this time, the power consumption working mode of the photographing device is switched to a low power consumption mode.

[0412] In an embodiment of the present application, the video capture progress at the time the first operation is executed is stored in a storage unit, encoding of the video frames in the storage unit is stopped, and the encoding clock is switched to an off state. When the encoding clock is off, the power consumption operating mode of the camera is switched to a low-power mode. Upon receiving a pause instruction, the method sequentially turns off the encoding and encoding clock, causing the encoding process to stop and the camera to become inoperative, allowing the camera to switch to a low-power mode.

[0413] Based on the above embodiment, this embodiment describes the relevant content after the camera device exits the low power consumption mode. This embodiment includes: switching the encoding clock from the off state to the on state. When the encoding clock is in the on state, the camera device is in the recording state.

[0414] In this embodiment, after the shooting device exits the low power consumption mode, the shooting device needs to restart recording, and the computer device can switch the encoding clock inside the shooting device from the off state to the on state.

[0415] When the encoding clock is turned on, the camera continues to record video and can continue to encode the video frames in the storage unit.

[0416] In this embodiment of the present application, the encoding clock is switched from an off state to an on state; when the encoding clock is on, the camera is in a recording state. After exiting the low power mode, the encoding clock is turned back on, and the camera can then resume recording.

[0417] Based on the above embodiment, this embodiment describes and explains the relevant content of pausing recording of a camera. This embodiment includes: in response to a first operation performed by a user, outputting a reminder message via a display device; the reminder message is used to indicate that the camera is in a paused recording state; and in response to a resume operation performed by the user, stopping outputting the reminder message via the display device.

[0418] In this embodiment, after the user performs a first manipulation on the recording element of the interactive device, the computer device outputs a reminder message via a display device to remind the user that the camera is currently in a paused recording state. The display device may include a recording pause indicator light, a display screen, or a voice reminder. For example, when the camera is in a paused state, the pause indicator light may illuminate, or a text message indicating the paused state may be displayed on the display screen, or the camera's built-in voice device may output a voice reminder message.

[0419] After the user performs a resume operation on the recording element of the interactive device, the computer device may control the display device to stop outputting the reminder message. For example, when the camera device resumes recording, the pause indicator light turns off, or the display screen does not display the pause status text message, or the built-in voice device of the camera device turns off.

[0420] In an embodiment of the present application, when the shooting device is in a paused state, a display device is used to remind the user that the shooting device is in a paused recording state, thereby improving the convenience of the shooting device during exercise.

[0421] Building on the above embodiment, this embodiment describes and explains the details of pausing a camera's recording. As a non-limiting example, this embodiment includes: if a camera is in the paused recording state and no user-triggered resume operation is received on the camera within a preset time period, switching the camera to a shutdown state.

[0422] In this embodiment, in order to save power consumption of the shooting device, when the shooting device is in the paused recording state, if no resume operation triggered by the user is received within a preset time period, the shooting device will automatically enter the shutdown state. At this time, the power consumption of the shooting device is zero.

[0423] In an embodiment of the present application, when a camera is in a paused recording state and does not receive a user-triggered resume operation on the camera within a preset time period, the camera is switched to a shutdown state. This method switches the camera to a shutdown state if the camera does not resume recording for a long period of time after being paused. This saves power consumption and improves the ease of operation of the camera.

[0424] Based on the above embodiment, this embodiment introduces and explains the relevant content of shutting down and restarting the shooting device as a non-limiting example. The embodiment includes: when the shooting device is restarted after being shut down, determining whether the state of the shooting device at the time of shutdown is a paused recording state or a recording state; if so, displaying the video frame paused at the time of shutdown on the shooting device.

[0425] In this embodiment, the camera device is restarted after being shut down. Such shutdown situations include shutdown caused by not resuming recording for a long time after being paused, shutdown caused by low battery of the camera device, etc. After restarting, the computer device can obtain the state of the camera device at the time of shutdown, which includes the paused recording state, the recording state, and the stopped recording state, so as to determine whether the camera device was in the paused state or the recording state at the time of shutdown.

[0426] If the camera is in a paused or recording state at the time of shutdown, the video frame displayed on the camera after it is restarted will be the one at the time of shutdown. The user can then determine whether to resume or end recording based on the paused video frame.

[0427] In an embodiment of the present application, when a camera device is powered off and then restarted, it is determined whether the camera device was in a paused recording state or a recording state at the time of shutdown; if so, the video frame that was paused at the time of shutdown is displayed on the camera device. This method allows the camera device to display the video frame that was paused at the time of shutdown after the camera device is restarted, facilitating the continued recording process of the camera device and providing greater convenience.

[0428] In one embodiment, a video resuming method is provided, which stops recording when a camera is in a recording state, responds to a pause command triggered by a user on the camera, controls the power consumption mode of the camera to be in a low power consumption mode, and displays that the camera is in a paused recording state through a display device of the camera; checks whether a resume recording command triggered by the user is received within a preset time period, and if so, exits the low power consumption mode and continues recording; if not, saves the video acquisition progress in the paused state, and controls the camera to switch to a shutdown state.

[0429] The process of the shooting device entering the low power mode includes: after receiving a pause command triggered by the user, storing the video acquisition progress at the moment the pause command is triggered in the storage unit; stopping encoding the video frames in the storage unit and switching the encoding clock to the off state; when the encoding clock is in the off state, the power consumption working mode of the shooting device is switched to the low power mode.

[0430] The process of the shooting device exiting the low power mode includes: reading the video acquisition progress of the shooting device at the moment the pause command is triggered, and controlling the power consumption working mode of the shooting device to exit the low power mode; switching the encoding clock from the off state to the on state; when the encoding clock is in the on state, the shooting device is in the recording state.

[0431] The process after the shooting device is restarted includes: when the shooting device is in the state of being shut down and restarted, obtaining the state of the shooting device at the time of shutdown; determining whether the state of the shooting device at the time of shutdown is a paused recording state or a recording state; whether a resume recording instruction triggered by the user is received, and if so, continuing the recording based on the resume recording instruction; if not, ending the recording.

[0432] In one embodiment, the present application also provides a video re-recording method, which is described by taking a computer device in a shooting device as an example. As shown in FIG20 , the embodiment includes the following steps:

[0433] S2001, obtaining the video to be processed.

[0434] The video to be processed may be a recorded video selected by the user in a video playback page of the shooting device or a paused video obtained after the shooting device currently pauses recording.

[0435] S2002: Obtain a video file of the video to be processed according to the video to be processed.

[0436] S2003: Parse the video file of the video to be processed according to a file parsing method corresponding to the file format of the video file of the video to be processed to obtain a shooting mode of the video to be processed.

[0437] The shooting mode includes shooting parameters corresponding to the video to be processed.

[0438] S2004: Adjust the shooting mode of the shooting device to the shooting mode of the video to be processed.

[0439] S2005 , continuing to record the video to be processed according to the shooting mode of the video to be processed, and obtaining a target video after stopping the recording; the target video includes the video to be processed and a newly recorded video after the video to be processed.

[0440] It should be noted that, when continuing to record the video to be processed, the computer device can control the camera in the shooting device to continue recording from any time point of the video to be processed as the continuing recording start time.

[0441] Among them, when the recording is stopped, the audio file and image file of the complete video are written into the continued recording file, and the shooting device automatically enters the playback page to display the complete video just recorded.

[0442] The video continuation method provided in the embodiment of the present application can quickly continue recording videos. It can quickly record the movement process of the subject, ensuring that every wonderful moment of the subject can be perfectly captured; and the method can simplify operations. Through an easy-to-use interface and software processing flow, users can easily continue recording any video on the playback page of the shooting device without the need for complicated post-processing, which greatly reduces the complexity of user operations and allows users to pay more attention to the movement itself; in the continuation state, the shooting mode of the shooting device is the same as the shooting mode of the video to be processed, ensuring that the image quality and sound effects of the continued video are consistent with those of the video to be processed, and improving the continuity of the video; furthermore, the user can enable the continuation function at any time point, avoiding the time-consuming creation of new videos by multiple recordings, making the shot video more continuous, avoiding missing important frames, and avoiding the generation of multiple small videos. Multiple small videos are combined into a large video during the video continuation process of the shooting device, saving storage space of the shooting device.

[0443] It should be understood that, although the various steps in the flowcharts involved in the various embodiments described above are displayed in sequence according to the instructions of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowcharts involved in the various embodiments described above can include multiple steps or multiple stages, and these steps or stages are not necessarily executed and completed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of steps or stages in other steps.

[0444] Based on the same inventive concept, an embodiment of the present application further provides a photographing device, which includes: a camera, a display, a processor, a memory, and an interactive device: the camera is used to capture images; the display is connected to the processor; the memory stores a computer program including instructions; when the instructions are executed by the processor, the processor is configured to:

[0445] Obtaining a video to be processed; wherein the video to be processed includes a recorded video or a paused video currently being recorded by a camera of a shooting device; the shooting device has a function of pausing recording during the recording process;

[0446] In response to the user's operation on the interactive device, the camera of the shooting device is controlled to record and continue to record the video, wherein,

[0447] When the video to be processed is a recorded video, a target video is generated based on the recorded video and the continued video; or

[0448] When the video to be processed is a paused video that is currently being recorded by the shooting device, a target video is generated based on the paused video and the resumed video.

[0449] In one embodiment, the processor is further configured to:

[0450] controlling the display to display at least one pre-stored video on an album page of the photographing device;

[0451] In response to a user operation on the interactive device, determining a candidate video selected by the user from at least one pre-stored video;

[0452] The candidate video is determined as a recorded video.

[0453] In one embodiment, the processor is further configured to:

[0454] Obtain a reference video selected by the user from pre-stored videos;

[0455] Based on the user's operation on the interactive device, obtaining a segment to be cut selected by the user from the reference video;

[0456] The to-be-cut segment is deleted from the reference video to obtain a cut video; and a candidate video is determined based on the cut video.

[0457] In one embodiment, the processor is further configured to:

[0458] When the user performs a cut trigger operation on the interactive device, controlling the display to display a display element corresponding to the reference video;

[0459] Based on the user's segment selection operation on the display element, the segment to be cut is determined.

[0460] In one embodiment, the processor is further configured to:

[0461] According to the start time of the segment to be cut, the first video segment before the start time is obtained from the reference video;

[0462] According to the end time of the segment to be cut, a second video segment after the end time is obtained from the reference video;

[0463] The first video clip and the second video clip are spliced ​​together to obtain a cut video.

[0464] In one embodiment, the processor is further configured to:

[0465] When the camera of the shooting device is in a shooting state, obtaining the user's operation on the interactive device;

[0466] Based on the user's operation on the interactive device, it is determined that the shooting device has currently paused the recording of the paused video.

[0467] In one embodiment, the processor is further configured to:

[0468] When the user performs a first operation on a recording element of the interactive device, controlling the camera of the shooting device to pause recording to obtain a pause segment;

[0469] Based on the paused segment, determine the paused video that the capture device has currently paused.

[0470] In one embodiment, the processor is further configured to:

[0471] Based on a second operation of the user on the interactive device, obtaining a to-be-cut segment selected by the user from the paused segment;

[0472] Delete the clip to be cut from the paused clip to obtain the cut video;

[0473] According to the cut video, determine the paused video that the capture device has currently paused recording.

[0474] In one embodiment, the processor is further configured to:

[0475] When the user performs a cut trigger operation on the interactive device, controlling the display to display a display element corresponding to the paused segment;

[0476] Based on the user's segment selection operation on the display element, the segment to be cut is determined.

[0477] In one embodiment, the processor is further configured to:

[0478] According to the start time of the segment to be cut, obtain the third video segment before the start time from the paused segment;

[0479] According to the end time of the segment to be cut, the fourth video segment after the end time is obtained from the paused segment;

[0480] The third video clip and the fourth video clip are spliced ​​together to obtain a cut video.

[0481] In one embodiment, the processor is further configured to:

[0482] In response to a user operation on the interactive device, obtaining a shooting parameter based on at least one video parameter of the video to be processed;

[0483] The camera of the shooting device is controlled to record the video according to the shooting parameters to obtain the continued video.

[0484] In one embodiment, the processor is further configured to:

[0485] Obtaining a video file of a video to be processed; the video file includes file information of the video to be processed;

[0486] Parsing the file information according to a preset file parsing method to obtain at least one video parameter of the video to be processed;

[0487] A shooting parameter is determined according to at least one video parameter.

[0488] In one embodiment, the processor is further configured to:

[0489] Check whether the conditions for stopping recording are met;

[0490] If the recording stop condition is met, the camera of the shooting device is controlled to stop recording and a continuous recording video is obtained.

[0491] In one embodiment, the recording stop condition includes at least one of the following:

[0492] Get the stop recording command input by the user;

[0493] The current recording duration reaches the preset recording duration;

[0494] The current memory space reaches the preset memory space usage threshold.

[0495] In one embodiment, the processor is further configured to:

[0496] In response to a user operation on the interactive device, confirming a position at which the continued video is to be inserted into the recorded video;

[0497] Inserts the resume video at the cue position.

[0498] In one embodiment, the processor is further configured to:

[0499] Deletes the target segment after the inserted position in the recorded video.

[0500] In one embodiment, the processor is further configured to:

[0501] The recorded video and the continued video are stitched together to generate the target video.

[0502] In one embodiment, the processor is further configured to:

[0503] Determine a first splicing position of the recorded video;

[0504] Determine a second splicing position for the continued video;

[0505] The second splicing position of the continued video is spliced ​​with the first splicing position of the recorded video until the continued video shooting is completed to obtain the target video.

[0506] In one embodiment, the processor is further configured to:

[0507] Verify each frame of the recorded video;

[0508] Based on the verification result of each frame of video, a first splicing position is determined.

[0509] In one embodiment, the processor is further configured to:

[0510] In response to a user operation on the interactive device, confirming an insertion position of the resumed video in the paused video;

[0511] Inserts the resume video at the cue position.

[0512] In one embodiment, the processor is further configured to:

[0513] Deletes the target segment after the inserted position in the paused video.

[0514] In one embodiment, the processor is further configured to:

[0515] The paused video and the resumed video are stitched together to generate the target video.

[0516] In one embodiment, the processor is further configured to:

[0517] Determine the third splicing position of the paused video;

[0518] Determine the fourth splicing position of the continued video;

[0519] The fourth splicing position of the resumed video and the third splicing position of the paused video are spliced ​​together until the shooting of the resumed video is completed to obtain the target video.

[0520] In one embodiment, the processor is further configured to:

[0521] Verify each frame of the paused video;

[0522] Based on the verification result of each frame of video, the third splicing position is determined.

[0523] The implementation principles and technical effects of the various steps implemented when the instructions in this embodiment are executed by the processor are similar to those of the above-mentioned video continuation recording method and will not be repeated here.

[0524] Based on the same inventive concept, embodiments of the present application further provide a video resuming recording device for implementing the aforementioned video resuming recording method. The implementation solution provided by this device is similar to the implementation solution described in the aforementioned method. Therefore, the specific limitations in one or more embodiments of the video resuming recording device provided below can be found in the above-mentioned limitations on the video resuming recording method and will not be further elaborated here.

[0525] In one embodiment, as shown in FIG. 21 , a video re-recording device 2100 is provided, comprising: an acquisition module 2101 and a control module 2102 , wherein:

[0526] The acquisition module 2101 is used to acquire a video to be processed; wherein the video to be processed includes a recorded video or a paused video currently being recorded by a camera; the camera has a function of pausing recording during the recording process;

[0527] The control module 2102 is used to respond to the user's operation on the interactive device and control the shooting device to record and continue the video, wherein, when the video to be processed is a recorded video, the target video is generated based on the recorded video and the continued video; or, when the video to be processed is a paused video that has been currently paused by the shooting device, the target video is generated based on the paused video and the continued video.

[0528] In one embodiment, the acquisition module 2101 includes:

[0529] A display unit, configured to display at least one pre-stored video on an album page of a photographing device;

[0530] The first determining unit is configured to determine a candidate video selected by the user from at least one pre-stored video in response to a user operation on the interactive device; and determine the candidate video as a recorded video.

[0531] In one embodiment, the first determination unit is specifically used to obtain a reference video selected by a user from pre-stored videos; based on the user's operation on the interactive device, obtain the to-be-cut segment selected by the user from the reference video; delete the to-be-cut segment from the reference video to obtain a cut video, and determine the candidate video based on the cut video.

[0532] In one embodiment, the first determination unit is further configured to display a display element corresponding to the reference video when the user performs a cut trigger operation on the interactive device; and determine the segment to be cut based on the user's segment selection operation on the display element.

[0533] In one embodiment, the first determination unit is further used to obtain a first video segment before the start time of the segment to be cut from the reference video according to the start time of the segment to be cut; obtain a second video segment after the end time from the reference video according to the end time of the segment to be cut; and splice the first video segment and the second video segment to obtain a cut video.

[0534] In one embodiment, the acquisition module 2101 includes:

[0535] A first acquiring unit is configured to acquire a user's operation on the interactive device when the shooting device is in a shooting state;

[0536] The second determining unit is configured to determine, based on a user operation on the interaction device, a paused video that has been currently paused and recorded by the shooting device.

[0537] In one embodiment, the second determination unit is specifically used to control the shooting device to pause recording to obtain a pause segment when the user performs a first operation on the recording element of the interactive device; and determine the pause video that the shooting device has currently paused recording based on the pause segment.

[0538] In one embodiment, the second determination unit is further used to obtain the to-be-cut segment selected by the user from the paused segment based on the user's second operation on the interactive device; delete the to-be-cut segment from the paused segment to obtain the cut video; and determine the paused video that has been currently paused by the shooting device based on the cut video.

[0539] In one embodiment, the second determining unit is further configured to display a display element corresponding to the paused segment when the user performs a cut trigger operation on the interactive device; and determine the segment to be cut based on the user's segment selection operation on the display element.

[0540] In one embodiment, the second determination unit is further used to obtain a third video segment before the start time of the segment to be cut from the paused segment according to the start time of the segment to be cut; obtain a fourth video segment after the end time from the paused segment according to the end time of the segment to be cut; and splice the third video segment and the fourth video segment to obtain a cut video.

[0541] In one embodiment, the control module 2102 includes:

[0542] a second acquiring unit, configured to acquire a shooting parameter based on at least one video parameter of a video to be processed in response to the user's operation on the interactive device;

[0543] The obtaining unit is used to control the shooting device to record the video according to the shooting parameters to obtain the continued video.

[0544] In one embodiment, the second acquisition unit is specifically used to obtain a video file of the video to be processed; the video file includes file information of the video to be processed; the file information is parsed according to a preset file parsing method to obtain at least one video parameter of the video to be processed; and the shooting parameters are determined based on the at least one video parameter.

[0545] In one embodiment, the obtaining unit is specifically configured to detect whether a recording stop condition is satisfied; if the recording stop condition is satisfied, the shooting device is controlled to stop recording to obtain a continued recording video.

[0546] In one embodiment, the recording stop condition includes at least one of the following: obtaining a stop recording instruction input by the user; the current recording duration reaches a preset recording duration; the current memory space reaches a preset memory space occupancy threshold.

[0547] In one embodiment, the control module 2102 includes:

[0548] A first confirmation unit, configured to respond to a user's operation on the interactive device and confirm an insertion position of the continued video in the recorded video;

[0549] The first inserting unit is used to insert the resumed video into the inserting position.

[0550] In one embodiment, the apparatus 2100 further includes:

[0551] The first deletion module is used to delete the target segment after the insertion position in the recorded video.

[0552] In one embodiment, the control module 2102 includes:

[0553] The first splicing unit is used to splice the recorded video and the continued video to generate a target video.

[0554] In one embodiment, the first splicing unit is specifically used to determine a first splicing position of a recorded video; determine a second splicing position of a continued video; and splice the second splicing position of the continued video with the first splicing position of the recorded video until the continued video shooting is completed to obtain a target video.

[0555] In one embodiment, the first splicing unit is further configured to verify each frame of the recorded video; and determine the first splicing position based on the verification result of each frame of the video.

[0556] In one embodiment, the control module 2102 includes:

[0557] a second confirmation unit, configured to respond to a user operation on the interactive device and confirm an insertion position of the resumed video in the paused video;

[0558] The second inserting unit is used to insert the continued video into the inserting position.

[0559] In one embodiment, the apparatus 2100 further includes:

[0560] The second deleting module is used to delete the target segment after the insertion position in the paused video.

[0561] In one embodiment, the control module 2102 includes:

[0562] The second splicing unit is used to splice the paused video and the resumed video to generate a target video.

[0563] In one embodiment, the second splicing unit is specifically used to determine the third splicing position of the paused video; determine the fourth splicing position of the resumed video; and splice the fourth splicing position of the resumed video with the third splicing position of the paused video until the shooting of the resumed video is completed to obtain the target video.

[0564] In one embodiment, the second splicing unit is further configured to verify each frame of the paused video; and determine the third splicing position based on the verification result of each frame of the video.

[0565] Each module in the above-mentioned video re-recording device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in the computer device in the form of software, so that the processor can call and execute the corresponding operations of each module.

[0566] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in Figure 22. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner. The wireless manner may be implemented through WiFi, a mobile cellular network, NFC (near field communication), or other technologies. When the computer program is executed by the processor, a video re-recording method is implemented.

[0567] Those skilled in the art will understand that the structure shown in Figure 22 is merely a block diagram of a portion of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.

[0568] In one embodiment, a computer device is further provided, including a memory and a processor. The memory stores a computer program, and the processor implements the steps in the above method embodiments when executing the computer program.

[0569] The implementation principles and technical effects of each step implemented by the processor in this embodiment are similar to those of the above-mentioned video continuation method and will not be repeated here.

[0570] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0571] The implementation principles and technical effects of the various steps implemented when the computer program in this embodiment is executed by the processor are similar to those of the above-mentioned video continuation method and will not be repeated here.

[0572] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0573] The implementation principles and technical effects of the various steps implemented when the computer program in this embodiment is executed by the processor are similar to those of the above-mentioned video continuation method and will not be repeated here.

[0574] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.

[0575] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory may include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, distributed databases based on blockchains. The processor involved in the various embodiments provided herein may be, but are not limited to, a general-purpose processor, a central processing unit, a graphics processing unit, a digital signal processor, a programmable logic unit, a data processing logic unit based on quantum computing, and the like.

[0576] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0577] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present application. It should be noted that a person of ordinary skill in the art may make various modifications and improvements without departing from the spirit of the present application, and these modifications and improvements fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.

Claims

1. A video continuation method, It is characterized in that Applied to a photographing device, the photographing device includes an interaction device, and the method includes: Obtaining a video to be processed; wherein the video to be processed includes a recorded video or a paused video of the shooting device that has been currently paused; the shooting device has a function of pausing recording during the recording process; In response to the user's operation on the interactive device, the camera is controlled to record and continue recording the video, wherein: When the video to be processed is a recorded video, generating a target video according to the recorded video and the continued recorded video; or, When the video to be processed is a paused video that the shooting device has currently paused recording, a target video is generated according to the paused video and the resumed video.

2. The method according to claim 1, It is characterized in that Obtaining the recorded video, including: Displaying at least one pre-stored video on an album page of the shooting device; In response to the user's operation on the interactive device, determining a candidate video selected by the user from the at least one pre-stored video; The candidate video is determined as the recorded video.

3. The method according to claim 2, It is characterized in that The step of determining, in response to the user's operation on the interactive device, a candidate video selected by the user from the at least one pre-stored video comprises: Acquiring a reference video selected by the user from the pre-stored videos; Based on the user's operation on the interaction device, obtaining a to-be-cut segment selected by the user from the reference video; The to-be-cut segment is deleted from the reference video to obtain a cut video; and the candidate video is determined according to the cut video.

4. The method according to claim 3, It is characterized in that The obtaining, based on the user's operation on the interaction device, a to-be-cut segment selected by the user from the reference video, comprises: In a case where the user performs a cut trigger operation on the interactive device, displaying a display element corresponding to the reference video; The segment to be cut is determined based on the segment selection operation performed by the user on the display element.

5. The method according to claim 3, It is characterized in that The step of deleting the to-be-cut segment from the reference video to obtain a cut video includes: According to the start time of the segment to be cut, obtaining the first video segment before the start time from the reference video; According to the end time of the segment to be cut, obtaining a second video segment after the end time from the reference video; The first video clip and the second video clip are spliced ​​together to obtain the cut video.

6. The method according to any one of claims 1 to 5, It is characterized in that Get the paused video currently being recorded by the camera, including: When the photographing device is in a photographing state, obtaining an operation of the user on the interaction device; Based on the user's operation on the interaction device, determine the paused video that the shooting device has currently paused recording.

7. The method according to claim 6, It is characterized in that The step of determining the paused video currently paused by the shooting device based on the user's operation on the interaction device includes: When the user performs a first operation on a recording element of the interactive device, controlling the camera to pause recording to obtain a pause segment; According to the pause segment, the pause video currently recorded by the shooting device is determined.

8. The method according to claim 7, It is characterized in that The step of determining, according to the pause segment, the paused video currently being recorded by the shooting device, comprises: Based on a second operation of the user on the interaction device, obtaining a to-be-cut segment selected by the user from the paused segment; Deleting the to-be-cut segment from the paused segment to obtain a cut video; According to the cut video, the paused video currently recorded by the shooting device is determined.

9. The method according to claim 8, It is characterized in that The acquiring, based on the second operation of the user on the interaction device, the to-be-cut segment selected by the user from the paused segment, comprises: In a case where the user performs a cut trigger operation on the interactive device, displaying a display element corresponding to the paused segment; The segment to be cut is determined based on the segment selection operation performed by the user on the display element.

10. The method according to claim 8, It is characterized in that The step of deleting the to-be-cut segment from the paused segment to obtain a cut video includes: According to the start time of the segment to be cut, obtaining a third video segment before the start time from the paused segment; According to the end time of the segment to be cut, acquiring a fourth video segment after the end time from the paused segment; The third video clip and the fourth video clip are spliced ​​together to obtain the cut video.

11. The method according to any one of claims 1 to 5, It is characterized in that The step of responding to the user's operation on the interactive device and controlling the shooting device to record or continue recording the video comprises: In response to the user's operation on the interactive device, acquiring a shooting parameter based on at least one video parameter of the video to be processed; The shooting device is controlled to record the video according to the shooting parameters to obtain the continued video.

12. The method according to claim 11, It is characterized in that The acquiring of shooting parameters based on at least one video parameter of the video to be processed includes: Acquire a video file of the video to be processed; the video file includes file information of the video to be processed; Parsing the file information according to a preset file parsing method to obtain at least one video parameter of the video to be processed; The shooting parameter is determined according to the at least one video parameter.

13. The method according to claim 12, It is characterized in that The step of controlling the shooting device to record a video according to the shooting parameters to obtain the continued video includes: Check whether the conditions for stopping recording are met; If the recording stop condition is met, the shooting device is controlled to stop recording to obtain the continued recording video.

14. The method according to claim 13, It is characterized in that The recording stop condition includes at least one of the following: Get the stop recording command input by the user; The current recording duration reaches the preset recording duration; The current memory space reaches the preset memory space usage threshold.

15. The method according to any one of claims 1 to 5, It is characterized in that The step of generating a target video according to the recorded video and the continued recorded video includes: In response to the user's operation on the interactive device, confirming the insertion position of the continued video in the recorded video; Insert the resumed video at the insert position.

16. The method according to claim 15, It is characterized in that Before inserting the continued video into the insertion position, the method further includes: Delete the target segment after the insertion position in the recorded video.

17. The method according to any one of claims 1 to 5, It is characterized in that The step of generating a target video according to the recorded video and the continued recorded video includes: The recorded video and the continued recorded video are spliced ​​together to generate a target video.

18. The method according to claim 17, It is characterized in that The step of splicing the recorded video and the continued recorded video to generate a target video includes: Determining a first splicing position of the recorded video; Determining a second splicing position of the continued video; The second splicing position of the continued video and the first splicing position of the recorded video are spliced ​​together until the shooting of the continued video is completed to obtain the target video.

19. The method according to claim 18, It is characterized in that The determining the first splicing position of the recorded video includes: Verifying each frame of the recorded video; Based on the verification result of each frame of video, the first splicing position is determined.

20. The method according to any one of claims 1 to 5, It is characterized in that The step of generating a target video according to the paused video and the resumed video includes: In response to the user's operation on the interactive device, confirming the insertion position of the resumed video in the paused video; Insert the resumed video at the insert position.

21. The method according to claim 20, It is characterized in that Before inserting the continued video into the insertion position, the method further includes: Delete the target segment after the insertion position in the paused video.

22. The method according to any one of claims 1 to 5, It is characterized in that The step of generating a target video according to the paused video and the resumed video includes: The paused video and the resumed video are spliced ​​together to generate a target video.

23. The method according to claim 22, It is characterized in that The step of splicing the paused video and the resumed video to generate a target video includes: Determining a third splicing position of the paused video; Determining a fourth splicing position of the continued video; The fourth splicing position of the resumed video and the third splicing position of the paused video are spliced ​​together until the shooting of the resumed video is completed, thereby obtaining the target video.

24. The method according to claim 23, It is characterized in that The determining the third splicing position of the paused video includes: Verifying each frame of the paused video; Based on the verification result of each frame of video, the third splicing position is determined.

25. A photographing device, It is characterized in that The invention comprises a camera, a display, a processor, a memory and an interaction device: the camera is used to collect images; the display is connected to the processor; the memory stores a computer program including instructions; when the instructions are executed by the processor, the processor is configured to: Obtaining a video to be processed; wherein the video to be processed includes a recorded video or a paused video in which the camera of the shooting device has currently paused recording; the shooting device has a function of pausing recording during the recording process; In response to the user's operation on the interactive device, the camera of the shooting device is controlled to record or continue to record the video, wherein: When the video to be processed is a recorded video, generating a target video according to the recorded video and the continued recorded video; or, When the video to be processed is a paused video that the shooting device has currently paused recording, a target video is generated according to the paused video and the resumed video.

26. The photographing device according to claim 25, It is characterized in that The processor is further configured to: Controlling the display to display at least one pre-stored video of an album page of the photographing device; In response to the user's operation on the interactive device, determining a candidate video selected by the user from the at least one pre-stored video; The candidate video is determined as the recorded video.

27. The photographing device according to claim 26, It is characterized in that The processor is further configured to: Acquiring a reference video selected by the user from the pre-stored videos; Based on the user's operation on the interaction device, obtaining a to-be-cut segment selected by the user from the reference video; Deleting the to-be-cut segment from the reference video to obtain a cut video; And determine the candidate video according to the cut video.

28. The photographing device according to claim 27, It is characterized in that The processor is further configured to: When the user performs a cut trigger operation on the interactive device, controlling the display to display a display element corresponding to the reference video; The segment to be cut is determined based on the segment selection operation performed by the user on the display element.

29. The photographing device according to claim 27, It is characterized in that The processor is further configured to: According to the start time of the segment to be cut, obtaining the first video segment before the start time from the reference video; According to the end time of the segment to be cut, obtaining a second video segment after the end time from the reference video; The first video clip and the second video clip are spliced ​​together to obtain the cut video.

30. The photographing device according to any one of claims 25 to 29, It is characterized in that The processor is further configured to: When the camera of the shooting device is in shooting state, obtaining the operation of the user on the interaction device; Based on the user's operation on the interaction device, determine the paused video that the shooting device has currently paused recording.

31. The photographing device according to claim 30, It is characterized in that The processor is further configured to: When the user performs a first operation on a recording element of the interactive device, controlling the camera of the shooting device to pause recording to obtain a pause segment; According to the pause segment, the pause video currently recorded by the shooting device is determined.

32. The photographing device according to claim 31, It is characterized in that The processor is further configured to: Based on a second operation of the user on the interaction device, obtaining a to-be-cut segment selected by the user from the paused segment; Deleting the to-be-cut segment from the paused segment to obtain a cut video; According to the cut video, the paused video currently recorded by the shooting device is determined.

33. The photographing device according to claim 32, It is characterized in that The processor is further configured to: When the user performs a cut trigger operation on the interactive device, controlling the display to display a display element corresponding to the paused segment; The segment to be cut is determined based on the segment selection operation performed by the user on the display element.

34. The photographing device according to claim 32, It is characterized in that The processor is further configured to: According to the start time of the segment to be cut, obtaining a third video segment before the start time from the paused segment; According to the end time of the segment to be cut, acquiring a fourth video segment after the end time from the paused segment; The third video clip and the fourth video clip are spliced ​​together to obtain the cut video.

35. The photographing device according to any one of claims 25 to 29, It is characterized in that The processor is further configured to: In response to the user's operation on the interactive device, acquiring a shooting parameter based on at least one video parameter of the video to be processed; The camera of the shooting device is controlled to record the video according to the shooting parameters to obtain the continued recorded video.

36. The photographing device according to claim 35, It is characterized in that The processor is further configured to: Acquire a video file of the video to be processed; the video file includes file information of the video to be processed; Parsing the file information according to a preset file parsing method to obtain at least one video parameter of the video to be processed; The shooting parameter is determined according to the at least one video parameter.

37. The photographing device according to claim 36, It is characterized in that The processor is further configured to: Check whether the conditions for stopping recording are met; If the recording stop condition is met, the camera of the shooting device is controlled to stop recording to obtain the continued recording video.

38. The photographing device according to claim 37, It is characterized in that The recording stop condition includes at least one of the following: Get the stop recording command input by the user; The current recording duration reaches the preset recording duration; The current memory space reaches the preset memory space usage threshold.

39. The photographing device according to any one of claims 25 to 29, It is characterized in that The processor is further configured to: In response to the user's operation on the interactive device, confirming the insertion position of the continued video in the recorded video; Insert the resumed video at the insert position.

40. The photographing device according to claim 39, It is characterized in that The processor is further configured to: Delete the target segment after the insertion position in the recorded video.

41. The photographing device according to any one of claims 25 to 29, It is characterized in that The processor is further configured to: The recorded video and the continued recorded video are spliced ​​together to generate a target video.

42. The photographing device according to claim 41, It is characterized in that The processor is further configured to: Determining a first splicing position of the recorded video; Determining a second splicing position of the continued video; The second splicing position of the continued video and the first splicing position of the recorded video are spliced ​​together until the shooting of the continued video is completed to obtain the target video.

43. The photographing device according to claim 42, It is characterized in that The processor is further configured to: Verifying each frame of the recorded video; Based on the verification result of each frame of video, the first splicing position is determined.

44. The photographing device according to any one of claims 25 to 29, It is characterized in that The processor is further configured to: In response to the user's operation on the interactive device, confirming the insertion position of the resumed video in the paused video; Insert the resumed video at the insert position.

45. The photographing device according to claim 44, It is characterized in that The processor is further configured to: Delete the target segment after the insertion position in the paused video.

46. ​​The photographing device according to any one of claims 25 to 29, It is characterized in that The processor is further configured to: The paused video and the resumed video are spliced ​​together to generate a target video.

47. The photographing device according to claim 46, It is characterized in that The processor is further configured to: Determining a third splicing position of the paused video; Determining a fourth splicing position of the continued video; The fourth splicing position of the resumed video and the third splicing position of the paused video are spliced ​​together until the shooting of the resumed video is completed, thereby obtaining the target video.

48. The photographing device according to claim 47, It is characterized in that The processor is further configured to: Verifying each frame of the paused video; Based on the verification result of each frame of video, the third splicing position is determined.

Citation Information

Patent Citations

  • Method and device for recording video

    CN106657774A

  • Video recording method and video recording terminal

    CN107948562A

  • Video editing method and terminal

    CN108156407A

  • Video recording method and device, computer equipment and storage medium

    CN109348155A

  • Multi-track video editing method, graphical user interface and electronic equipment

    CN116055799A