Video generation method and device, electronic equipment and computer storage medium

By acquiring and displaying the video clips and description information captured by the surveillance terminal, and generating and editing videos in response to user operations, the problem of low video generation efficiency in the prior art is solved, and an efficient and automated video generation process is realized.

CN119496864APending Publication Date: 2025-02-21SHENZHEN QIHOO INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411406245.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-09
Publication Date
2025-02-21

AI Technical Summary

Technical Problem

The existing video generation methods rely on manual operations by users, resulting in low video generation efficiency, and users need to spend a lot of time browsing and editing surveillance videos to generate videos.

Method used

By obtaining multiple video clips captured by the monitoring terminal under preset conditions and their corresponding video description information, it is displayed on the video creation page, generating the initial video in response to user operations, and further editing and processing on the video editing page, and finally displaying On the video display page.

Benefits of technology

The video generation process is simplified, the initial video creation is automatically completed, the tedious process of manually making videos is reduced, the video generation efficiency is improved, and the user can easily complete the target video creation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119496864A_ABST
    Figure CN119496864A_ABST
Patent Text Reader

Abstract

The invention discloses a video generation method and device, electronic equipment and a computer storage medium. The method comprises the following steps: acquiring a plurality of video clips captured by a monitoring terminal under a preset condition; acquiring video description information corresponding to the plurality of video clips; displaying the plurality of video clips and the video description information on a video creation page; in response to a first trigger operation input by a user based on the video creation page, generating an initial video based on the plurality of video clips and the video description information; displaying the initial video in a video preview area of a video editing page; in response to a second trigger operation input by the user based on the video editing page, taking a video associated with the initial video in the video preview area as a target video; and displaying the target video on the video display page. By adopting the scheme, a user does not need to spend a lot of time to browse the stored monitoring video and carry out post-processing such as manual editing, so that the video generation efficiency can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of artificial intelligence technology, and in particular to a video generation method, device, electronic device and computer storage medium. Background Art

[0002] Monitoring systems often come with a video recording function, that is, the monitoring system can save the images captured by the monitoring equipment to form a monitoring video. Users can further filter, edit, overlay text, etc. on the saved monitoring video according to their preferences to form a personalized video.

[0003] Current video generation methods usually rely on manual operations by users. For example, users need to spend a lot of time browsing the saved surveillance videos, screen out interesting or important video clips, edit these video clips together, and perform other post-processing such as superimposing text to generate the final video. The entire video generation process is time-consuming and labor-intensive, and there is a problem of low video generation efficiency. Summary of the invention

[0004] The embodiments of the present application provide a video generation method, device, electronic device and computer storage medium, which can improve the efficiency of video generation.

[0005] In a first aspect, an embodiment of the present application provides a video generation method, the method comprising:

[0006] Obtain multiple video clips captured by the monitoring terminal under preset conditions;

[0007] Obtain video description information corresponding to multiple video clips;

[0008] Display multiple video clips and video description information on the video creation page;

[0009] In response to a first trigger operation input by a user based on a video creation page, generating an initial video based on a plurality of video clips and video description information;

[0010] Display the initial video in the video preview area of ​​the video editing page;

[0011] In response to a second trigger operation input by the user based on the video editing page, taking a video associated with the initial video in the video preview area as a target video;

[0012] Display the target video on the video display page.

[0013] In a possible implementation, in response to a first trigger operation input by a user based on a video creation page, an initial video generated based on multiple video clips and video description information includes:

[0014] In response to a first trigger operation input by a user based on a video creation page, screening a plurality of initial video segments from a plurality of video segments;

[0015] Determine an initial video template according to the multiple initial video clips and the video description information;

[0016] An initial video is generated based on a plurality of initial video clips, an initial video template and video description information.

[0017] In a possible implementation, the video editing page includes a segment editing area, and the segment editing area is used to display the initial video segments according to the order in which the initial video segments appear in the initial video;

[0018] In response to a second trigger operation input by the user based on the video editing page, before taking the video in the video preview area as the target video, the method further includes:

[0019] In response to a user's order adjustment operation on any one of the initial video segments in the segment editing area, adjusting the order of appearance of any one of the initial video segments in the initial video;

[0020] and / or

[0021] In response to a user's clip cropping operation on any one of the initial video clips in the clip editing area, adjusting the video duration of any one of the initial video clips in the initial video;

[0022] and / or

[0023] In response to a segment deletion operation of a user on any initial video segment in the segment editing area, deleting any initial video segment from the initial video;

[0024] and / or

[0025] In response to a segment adding operation input by the user based on the segment editing area, at least one video segment is selected from the plurality of video segments and added to the initial video.

[0026] In a possible implementation, the video editing page includes a template editing area, and the template editing area is used to display multiple video templates, and the multiple video templates each correspond to different music and pace styles;

[0027] In response to a second trigger operation input by the user based on the video editing page, before taking the video in the video preview area as the target video, the method further includes:

[0028] In response to a third trigger operation by the user on any one of the video templates in the template editing area, the any one of the video templates is applied to the initial video.

[0029] In a possible implementation, in response to a second trigger operation input by the user based on the video editing page, before taking the video in the video preview area as the target video, the method further includes:

[0030] In response to a video text editing operation input by a user based on the video preview area, the video description text in the initial video is changed.

[0031] In a possible implementation, obtaining video description information corresponding to a plurality of video clips includes:

[0032] Get user binding information;

[0033] Video description information corresponding to the multiple video clips is generated according to the video capture dates and user binding information corresponding to the multiple video clips.

[0034] In a possible implementation, after the target video is displayed on the video display page, the method further includes:

[0035] In response to a video sharing operation input by a user based on the video display page, sharing the target video to a target application;

[0036] and / or

[0037] In response to a video saving operation input by the user based on the video display page, the target video is saved to the terminal album.

[0038] In a possible implementation manner, the preset condition includes detecting that the target shooting subject performs a target shooting action.

[0039] In a second aspect, an embodiment of the present application provides a video generating device, the device comprising:

[0040] A first acquisition module is used to acquire multiple video clips captured by the monitoring terminal under preset conditions;

[0041] A second acquisition module is used to acquire video description information corresponding to multiple video clips;

[0042] A first display module, used to display multiple video clips and video description information on a video creation page;

[0043] A first response module, configured to generate an initial video based on a plurality of video clips and video description information in response to a first trigger operation input by a user based on a video creation page;

[0044] A second display module, used to display the initial video in the video preview area of ​​the video editing page;

[0045] A second response module, configured to respond to a second trigger operation input by the user based on the video editing page and use the video in the video preview area as a target video;

[0046] The third display module is used to display the target video on the video display page.

[0047] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory; wherein the memory stores a computer program, and the computer program is suitable for being loaded by the processor and executing the method steps provided in the first aspect of the embodiment of the present application.

[0048] In a fourth aspect, an embodiment of the present application provides a computer storage medium, wherein the computer storage medium stores a plurality of instructions, wherein the instructions are suitable for being loaded by a processor and executing the method steps provided in the first aspect of the embodiment of the present application.

[0049] The above-mentioned video generation method, device, electronic device and computer storage medium can directly obtain high-quality video generation materials by obtaining multiple video clips captured by the monitoring terminal under preset conditions and the video description information corresponding to the multiple video clips, without the user having to spend a lot of time browsing the complete surveillance video. By displaying multiple video clips and their corresponding video description information on the video creation page, in response to the first trigger operation input by the user based on the video creation page, an initial video is generated based on the multiple video clips and the video description information, which can effectively simplify the video generation process and automatically complete the initial video creation. By responding to the second trigger operation input by the user based on the video editing page, the video associated with the initial video in the video preview area is displayed as the target video on the video display page, which effectively reduces the tedious process of manually making videos and enables users to easily complete the target video creation. The use of this solution does not require users to spend a lot of time browsing the saved surveillance videos and perform post-processing such as manual editing, which can effectively improve the efficiency of video generation. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0051] Figure 1 A schematic diagram of an application environment of a video generation method provided by an exemplary embodiment of the present application;

[0052] Figure 2 A schematic diagram of a flow chart of a video generation method provided by an exemplary embodiment of the present application;

[0053] Figure 3 A schematic diagram of an information binding page provided for an exemplary embodiment of the present application;

[0054] Figure 4 A schematic diagram of a video creation page provided for an exemplary embodiment of the present application;

[0055] Figure 5 A schematic diagram of a video editing page provided for an exemplary embodiment of the present application;

[0056] Figure 6 A schematic diagram of a video display page provided for an exemplary embodiment of the present application;

[0057] Figure 7 A flowchart of another video generation method provided by an exemplary embodiment of the present application;

[0058] Figure 8 A schematic diagram of the structure of a video generating device provided by an exemplary embodiment of the present application;

[0059] Fig. 9 A schematic structural diagram of an electronic device provided as an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0060] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0061] In the description of the present application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood according to the specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship.

[0062] First, an application scenario applicable to the embodiment of the present application is introduced: a smart camera used for baby care is equipped with a camera monitoring APP (Application) installed on a mobile phone. Users can not only see the real-time images uploaded by the smart camera through the APP, but also view the short videos captured by the smart camera when the baby is crying, the baby is sleeping, the baby is waking up, etc. through the APP, and make Vlogs based on these captured short videos to record the baby's growth.

[0063] The video generation method provided in the embodiment of the present application can be applied to Figure 1 In the video generation system shown. The video generation system includes a user terminal 10, a server 11 and a monitoring terminal 12. Among them, the user terminal 10 and the monitoring terminal 12 communicate with the server 11 through a network. The user terminal 10 is installed with a camera monitoring APP that matches the monitoring terminal 12, and the camera monitoring APP has multiple functional pages such as a video creation page, a video editing page, and a video display page. The data storage system can store data that the server 11 needs to process.

[0064] Specifically, the user terminal 10 obtains multiple video clips captured by the monitoring terminal 12 under preset conditions through the server 11; obtains video description information corresponding to the multiple video clips; displays the multiple video clips and the video description information on the video creation page of the camera monitoring APP; in response to a first trigger operation input by the user based on the video creation page, generates an initial video based on the multiple video clips and the video description information; displays the initial video in the video preview area of ​​the video editing page of the camera monitoring APP; in response to a second trigger operation input by the user based on the video editing page, uses the video associated with the initial video in the video preview area as the target video; and displays the target video on the video display page of the camera monitoring APP.

[0065] It is worth noting that the user terminal 10 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, IoT devices and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart car devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 11 can be implemented as an independent server or a server cluster consisting of multiple servers.

[0066] In one embodiment, Figure 2 As shown, a video generation method is provided, which is applied to Figure 1 The video generation system shown in the figure is used as an example for explanation, and includes the following steps:

[0067] S201: Acquire multiple video clips captured by a monitoring terminal under preset conditions.

[0068] Among them, the preset conditions include detecting the target shooting object performing the target shooting action, such as detecting a baby crying, falling asleep, waking up, entering or leaving a designated care area, etc.

[0069] For example, when the baby is detected crying, falling asleep, waking up, crawling, walking, entering a designated care area, or leaving a designated care area, the monitoring terminal 12 will automatically capture a video clip of a preset duration (e.g., 5 seconds) and record the timestamp information, and then send the video clip and its corresponding timestamp information to the server 11 through the network. The server 11 extracts the timestamp information in the video file, generates the video capture date and the video capture time according to the timestamp information, and then returns the video clip together with the video capture date and the video capture time to the user terminal 10.

[0070] It can be understood that within a preset time period, the user terminal 10 can obtain multiple video clips captured by the monitoring terminal 12 under preset conditions. For example, within a day, the user terminal 10 can obtain multiple video clips captured by the monitoring terminal 12 in a day, and the video capture moments corresponding to each of these video clips are different, but the video capture dates are the same. This embodiment is described by taking the above-mentioned multiple video clips as all video clips captured by the monitoring terminal 12 under preset conditions within a day as an example.

[0071] In this embodiment, by obtaining multiple video clips (such as 5-second short videos) captured by the monitoring terminal under preset conditions (such as when a baby is detected crying, falling asleep, waking up, crawling, or walking), not only can the important behaviors of the target subject when performing the target shooting action (such as when a baby is crying, falling asleep, or waking up) be accurately captured, thereby improving the quality of the video content, but also the subsequent video production process can be simplified and the video generation efficiency can be improved.

[0072] S202: Obtain video description information corresponding to multiple video clips.

[0073] Optionally, the user terminal 10 obtains user binding information pre-entered by the user in the camera monitoring APP, and generates video description information corresponding to the multiple video clips according to the video capture dates corresponding to the multiple video clips and the user binding information.

[0074] For example, the user can Figure 3The information binding page 30 shown, in the camera monitoring APP of the user terminal 10, the baby's photo 31, nickname 32, gender 33, date of birth 34 are pre-entered, and then the confirm binding button 35 is clicked, and the user terminal 10 can respond to the user's information binding operation, and obtain the user binding information including the photo 31, nickname 32, gender 33, date of birth 34. It can be understood that the user terminal 10 can also obtain the video capture date generated by the server 11 in S201 (the video capture date corresponding to each of the multiple video clips in this embodiment is the same). The user terminal 10 can calculate the baby's birth days according to the video capture date and the baby's birth date in the user binding information, and then combine the video capture date and the baby's nickname to finally generate a video description information including the video capture date, the baby's nickname and the baby's birth days, for example, the video description information can be generated as "June 12, Doudou baby 100 days".

[0075] In this embodiment, video description information corresponding to multiple video clips is generated by combining the video capture dates and user binding information corresponding to the multiple video clips. This can not only enhance the readability of the video content and facilitate users to understand the specific scenes when the video is shot, but also facilitate subsequent classification and retrieval of the video according to the description information, effectively improving the video utilization value and video generation efficiency.

[0076] S203: Display multiple video clips and video description information on the video creation page.

[0077] Optionally, the user terminal 10 displays multiple video clips captured by the monitoring terminal 12 under preset conditions within one day and their corresponding video description information on the video creation page of the camera monitoring APP.

[0078] For example, see Figure 4 The video creation page 40 displays the multiple video clips captured by the monitoring terminal 12 and the video description information corresponding to each of the multiple video clips in reverse order of day. When the user terminal 10 generates an initial video based on the multiple video clips and video description information, the group of video clips near the top of the video creation page (the group of video clips captured in the most recent day) and their corresponding video description information are preferentially selected, that is, the group of video clips near the top of the video creation page (the group of video clips captured in the most recent day) and their corresponding video description information are preferentially selected. Figure 4 Multiple video clips 41 and their corresponding video description information 42.

[0079] In this embodiment, by displaying multiple groups of video clips captured by the monitoring terminal and the video description information corresponding to each group of video clips in reverse order of day, users can be informed of the latest developments of the target shooting object (such as babies, pets, etc.) in a timely manner, and help users quickly track the daily changes and developments of the target shooting object. In addition, video description information can be used to quickly locate and review video clips of a specific date. By displaying multiple video clips and video description information on the video creation page, it is convenient for users to intuitively see all the video clips captured every day during the video creation process, which is convenient for them to subsequently select and combine different video clips to generate videos, speeding up video generation and saving user creation time.

[0080] S204: In response to a first trigger operation input by the user based on the video creation page, an initial video is generated based on multiple video clips and video description information.

[0081] The first trigger operation includes but is not limited to user-defined interactive actions such as clicking, sliding, and long pressing. The initial video is a video automatically generated by the user terminal 10 based on multiple video clips and their corresponding video description information.

[0082] Optionally, the user terminal 10 responds to a first trigger operation input by the user based on the video creation page, screens multiple initial video segments from multiple video segments, determines an initial video template based on the multiple initial video segments and the video description information, and generates an initial video based on the above multiple initial video segments, the above initial video template and the above video description information.

[0083] For example, see Figure 4 In response to the user clicking the one-key creation button 43 in the video creation page 40, the user terminal 10 screens multiple initial video segments from multiple video segments 41, determines the initial video template based on the multiple initial video segments and the video description information 42, and generates the initial video based on the multiple initial video segments, the initial video template and the video description information 42.

[0084] In this embodiment, by responding to the first trigger operation input by the user based on the video creation page, the initial video is generated based on multiple video clips and video description information. The user only needs to perform a simple trigger operation (such as clicking a one-click generation button), and the system can automatically generate a video based on the selected video clip and description information, which greatly simplifies the complexity of video production, can effectively simplify the video generation process, and automatically complete the initial video creation.

[0085] S205: Displaying the initial video in the video preview area of ​​the video editing page.

[0086] Optionally, the user terminal 10 displays the automatically generated initial video in the video preview area of ​​the video editing page in the camera monitoring APP.

[0087] For example, see Figure 5 The video editing page 50 includes a video preview area 51, which is used to display videos associated with the initial video, including the initial video that has not been edited by the user and the video generated after the user edits the initial video through the video editing page.

[0088] In this embodiment, by displaying the initial video in the video preview area of ​​the video editing page, it is convenient for users to see the initial video generated by the system and the immediate effect after each editing operation, which helps users to retain or adjust the video based on the initial video and actual needs, thereby improving the efficiency of video generation.

[0089] S206: In response to a second trigger operation input by the user based on the video editing page, a video associated with the initial video in the video preview area is used as a target video.

[0090] The second trigger operation includes but is not limited to customized interactive actions such as clicking, sliding, and long pressing. The target video is a video that the user expects to obtain, which can be an unedited initial video or a video generated by the user editing the initial video through the video editing page.

[0091] Optionally, in response to a second trigger operation input by the user based on the video editing page, the user terminal 10 uses an unedited initial video in the video preview area or a video generated after the user edits the initial video through the video editing page as a target video.

[0092] For example, see Figure 5 In response to the user clicking the save button 52 in the video editing page 50, the user terminal 10 saves the unedited initial video in the video preview area 51 or the video generated after the user edits the initial video through the video editing page 50 as the target video to the cloud.

[0093] In this embodiment, by responding to the second trigger operation input by the user based on the video editing page, the video associated with the initial video in the video preview area is displayed as the target video on the video display page, and the video displayed in the current preview area can be formally saved as the target video, avoiding data loss, allowing users to focus more on content creation, and improving the efficiency of video generation.

[0094] S207: Display the target video on the video display page.

[0095] Optionally, the user terminal 10 displays the target video associated with the initial video in the video preview area on a video display page of the camera monitoring APP.

[0096] For example, see Figure 6 The video display page 60 includes a target video display area 61, which is used to display the user's Figure 5 The video editing page 50 shown in the figure shows the video saved. The user can click the target video display area 61 to play the target video that is finally saved, or click the Save to Local Album button 62 to save the target video to the terminal album, or click the One-Click Share button 63 to share the target video to other applications.

[0097] In this embodiment, by displaying the target video on the video display page, the user can view the target video saved to the cloud on the video display page, and can also share and save the video locally through the video display page, effectively reducing the tedious process of manual video production and video export and sharing, and improving video generation efficiency.

[0098] The above-mentioned video generation method can directly obtain high-quality video generation materials by obtaining multiple video clips captured by the monitoring terminal under preset conditions and the video description information corresponding to the multiple video clips, without the user having to spend a lot of time browsing the complete surveillance video. By displaying multiple video clips and their corresponding video description information on the video creation page, in response to the first trigger operation input by the user based on the video creation page, an initial video is generated based on the multiple video clips and the video description information, which can effectively simplify the video generation process and automatically complete the initial video creation. By responding to the second trigger operation input by the user based on the video editing page, the video associated with the initial video in the video preview area is displayed as the target video on the video display page, which effectively reduces the tedious process of manually making videos and enables users to easily complete the target video creation. The use of this solution does not require users to spend a lot of time browsing the saved surveillance videos and perform post-processing such as manual editing, which can effectively improve the efficiency of video generation.

[0099] In one embodiment, Figure 7 As shown, another video generation method is provided, which is applied to Figure 1 The video generation system shown in the figure is used as an example for explanation, and includes the following steps:

[0100] S701: Acquire multiple video clips captured by a monitoring terminal under preset conditions.

[0101] Among them, the preset conditions include detecting the target shooting object performing the target shooting action, such as detecting a baby crying, falling asleep, waking up, entering a designated care area, leaving a designated care area, etc.

[0102] Optionally, once the monitoring terminal 12 detects that the baby is crying, falling asleep, waking up, crawling, walking, entering a designated nursing area, or leaving a designated nursing area, it will automatically capture a 5-second short video and record the timestamp information and video type tag (such as crying, falling asleep, waking up, etc.) of the captured video. Then, the captured video and its corresponding timestamp information and video type information are sent to the server 11 through the network. The server 11 generates the video capture date and video capture time of the captured video according to the timestamp information, and sends the captured video together with the video capture date, video capture time, and video type tag to the user terminal 10. It can be understood that within a preset time period, the user terminal 10 can obtain multiple captured videos sent by the server 11. In this embodiment, multiple video clips obtained by the user terminal 10 in one day are used as video generation materials. The video capture times of these multiple video clips are different, the video capture dates are the same, and the video type tags may be the same or different.

[0103] In this embodiment, by acquiring multiple video clips captured by the monitoring terminal under preset conditions, not only can the important behaviors of the target subject when performing the target shooting action be accurately captured, thereby improving the quality of the video content, but also the process of users manually screening videos from lengthy surveillance videos is reduced, thereby simplifying the video production process and improving video generation efficiency.

[0104] S702: Obtain user binding information.

[0105] For example, the user Figure 3 As shown in the information binding page 30, the baby's photo 31, nickname 32, gender 33, and date of birth 34 are pre-recorded in the camera monitoring APP of the user terminal 10, and then the confirmation binding button 35 is clicked. The user terminal 10 can respond to the user's information binding operation and obtain the user binding information including the photo 31, nickname 32, gender 33, and date of birth 34.

[0106] S703: Generate video description information corresponding to the multiple video clips according to the video capture dates and user binding information corresponding to the multiple video clips.

[0107] Optionally, the user terminal 10 obtains the video capture date sent by the server 11 (in this embodiment, the video capture dates corresponding to the multiple video clips are the same), and then calculates the number of days the baby is born according to the video capture date and the baby's birth date in the user binding information, and then generates video description information including the video capture date, the baby's nickname, and the number of days the baby is born in combination with the video capture date and the user binding information. Exemplarily, the generated video description information can be "June 12, Doudou baby is 100 days old" or "June 11, Doudou baby's 99th day, every day is worth recording."

[0108] It is worth noting that the user terminal 10 can also obtain the video type label and video capture time sent by the server 11. After calculating the baby's birth days based on the video capture date and the baby's birth date, it can also combine the video capture date, video capture time and user binding information to generate video description information including the video capture date, the baby's nickname, the baby's birth days and the baby's daily growth record, such as "On November 1, baby Doudou was eight months and seven days old and learned to crawl in the afternoon."

[0109] S704: Display multiple video clips and video description information on the video creation page.

[0110] Optionally, the user terminal 10 displays multiple groups of video clips acquired within a preset time period (such as within three months) and the video description information corresponding to the multiple groups of video clips on the video creation page of the camera monitoring APP in reverse order of day, and each group of video clips includes multiple video clips captured by the monitoring terminal 12 within one day.

[0111] For example, see Figure 4 The video creation page 40 displays the multiple video clips captured by the monitoring terminal 12 and the video description information corresponding to each of the multiple video clips in reverse order of day. This embodiment is described by taking the multiple video clips 41 and the corresponding video description information 42 contained in a group of video clips near the top of the video creation page 40 as an example. It can be understood that the multiple video clips 41 and the corresponding video description information 42 are the multiple video clips and the corresponding video description information obtained by the user terminal 10 in the past day.

[0112] In this embodiment, personalized video description information is generated by combining information such as the video capture date, the baby's nickname, the baby's birth days, and the video type label, and the video description information and multiple video clips are displayed on the video creation page. This not only makes it convenient for users to quickly understand and view the video content and enhances the readability of the video content, but also facilitates the subsequent classification and retrieval of the video based on the description information, effectively improving the video utilization value and video generation efficiency.

[0113] S705: In response to a first trigger operation input by the user based on the video creation page, a plurality of initial video segments are screened from a plurality of video segments.

[0114] Optionally, the video creation page includes a one-click creation button, and the user terminal 10 selects multiple initial video clips from multiple video clips as video generation materials in response to the user's click operation on the video creation button in the video creation page.

[0115] For example, see Figure 4 In response to the user clicking the one-key creation button 43 in the video creation page 40, the user terminal 10 selects multiple initial video clips from multiple video clips 41 as video generation materials.

[0116] S706: Determine an initial video template according to the multiple initial video clips and the video description information.

[0117] Optionally, a plurality of (e.g., 15) different video templates are pre-stored in the camera monitoring APP of the user terminal 10, and each different video template corresponds to a different music and pacing style. The user terminal 10 determines the initial video template based on the plurality of different video templates according to the video content and video description information corresponding to each of the plurality of initial video clips.

[0118] Specifically, the user terminal 10 extracts key frames of multiple initial video clips, uses a ResNet model or other CNN (Convolutional Neural Network) model to extract visual features of each frame, uses a Spectrogram model or other audio processing model to extract audio features of each frame, and then uses a multimodal model to combine visual features and audio features, and recognizes the content in multiple initial videos, generates video tags of different dimensions corresponding to each initial video clip (such as emotion tags, scene tags, event tags, etc.), and finally determines the initial video template according to the video tags corresponding to each initial video clip. It is worth noting that the initial video template predefines the transition effects between video clips, the time and position of the video description text, and the music and pace style of the video.

[0119] S707: Generate an initial video based on the multiple initial video clips, the initial video template and the video description information.

[0120] Optionally, the user terminal 10 sorts the multiple initial video clips in ascending order according to the video capture time of each initial video clip, and cuts the multiple initial video clips according to the initial video template to make them meet the video length required by the initial video template. Then, the initial video template is applied to the sorted and cut multiple initial video clips and the initial video description information to generate the initial video.

[0121] Specifically, the process of applying the initial video template to the sorted and cropped multiple initial video clips and initial video description information includes: adding transitions between the multiple initial video clips according to the transition effects defined in the initial video template, adding video description text to the video according to the time and position of the text description defined in the initial video template, adding video background music according to the music defined in the initial video template, and adjusting the playback speed of the initial video clip according to the pace style defined in the initial video template.

[0122] In this embodiment, the one-click creation function realizes automatic screening of video clips, intelligent template selection and automatic video generation, which improves the user experience and the intelligence level of the system, and effectively ensures the quality of video generation while improving the efficiency of video generation.

[0123] S708: Display the initial video in the video preview area of ​​the video editing page.

[0124] Optionally, the video editing page of the camera monitoring APP includes a video preview area, a clip editing area, and a template editing area. The video preview area is used to display videos associated with the initial video, including the initial video that has not been edited by the user and the video generated after the user edits the initial video through the video editing page; the clip editing area is used to display the initial video clips in the order in which the initial video clips appear in the initial video; the template editing area is used to display multiple video templates, and the multiple video templates each correspond to different music and pace styles.

[0125] For example, see Figure 5 The video editing page 50 includes a video preview area 51, a segment editing area 53 and a template editing area 54. The user terminal 10 displays the initial video in the video preview area 51 of the video editing page 50. The user can edit the initial video based on the segment editing area 53 and the template editing area 54. Each time an editing operation is performed, the edited video will be displayed in real time in the video preview area 51 for the user to browse and view the editing effect.

[0126] In this embodiment, by dividing the video editing page into a video preview area, a clip editing area and a template editing area, it is not only convenient for users to edit the initial video based on the video editing page, but also can ensure that users can preview the edited video effects in real time on the video editing page, making the video editing process more personalized, efficient and convenient, and improving video generation efficiency.

[0127] S709: In response to the user's order adjustment operation on any one of the initial video segments in the segment editing area, the appearance order of any one of the initial video segments in the initial video is adjusted.

[0128] The sequence adjustment operation includes but is not limited to customized interactive actions such as clicking, sliding, and long pressing. The segment editing area is used to display the initial video segments in the order in which the initial video segments appear in the initial video.

[0129] For example, see Figure 5 , the user terminal 10 adjusts the order of appearance of the initial video segment 55 in the initial video in response to the user's click and slide operation on the initial video segment 55 in the segment editing area 53. It can be understood that the initial video segment 55 appears before the initial video segment 56 in the initial video, and the initial video segment 56 appears before the initial video segment 57 in the initial video. When the user clicks on the initial video segment 55 and drags the initial video segment 55 between the initial video segment 56 and the initial video segment 57 through a slide operation, the order of appearance of the initial video segment 55 in the initial video is also changed to be between the initial video segment 56 and the initial video segment 57.

[0130] It is worth noting that in response to the user's order adjustment operation on any initial video segment in the segment editing area, after adjusting the appearance order of any initial video segment in the initial video, the video with the adjusted segment order will be displayed in the video preview area of ​​the video editing page.

[0131] S710: In response to a user's segment cropping operation on any initial video segment in the segment editing area, adjusting the video duration of any initial video segment in the initial video.

[0132] The clip cropping operation includes but is not limited to custom interactive actions such as clicking, sliding, and long pressing.

[0133] For example, see Figure 5 In response to the user's click and progress bar cropping operation on the initial video segment 55 in the segment editing area 53, the user terminal 10 adjusts the video duration of the initial video segment 55 in the initial video. It can be understood that the user can also perform segment cropping operations on other initial video segments in the segment editing area 53, such as the initial video segment 56, the initial video segment 57, etc., so as to adjust their initial durations in the initial video.

[0134] It is worth noting that in response to the user's clip cropping operation on any initial video clip in the clip editing area, after adjusting the video length of any initial video clip in the initial video, the video after the clip cropping will be displayed in the video preview area 51 of the video editing page 50.

[0135] S711: In response to a user's segment deletion operation on any initial video segment in the segment editing area, deleting any initial video segment from the initial video.

[0136] The fragment deletion operation includes but is not limited to custom interactive actions such as clicking, sliding, and long pressing.

[0137] For example, see Figure 5 , the user terminal 10 deletes the initial video segment 55 from the initial video in response to the user's click operation on the initial video segment 55 in the segment editing area 53. Specifically, after the user clicks the initial video segment 55, a video deletion mark (such as an "×" mark) appears in the upper right corner of the initial video segment 55, and the user clicks the video deletion mark to delete the initial video segment 55 from the initial video. It can be understood that the user can also click other initial video segments in the segment editing area 53 to delete them.

[0138] It is worth noting that in response to the user's segment deletion operation on any initial video segment in the segment editing area, after deleting any initial video segment from the initial video, the video after the segment is deleted will be displayed in the video preview area 51 of the video editing page 50.

[0139] S712: In response to a segment adding operation input by the user based on the segment editing area, at least one video segment is selected from the plurality of video segments and added to the initial video.

[0140] The fragment adding operation includes but is not limited to custom interactive actions such as clicking, sliding, and long pressing.

[0141] For example, see Figure 5 The user terminal 10 adds at least one video segment from the plurality of video segments to the initial video in response to the sliding operation and clicking operation input by the user based on the segment editing area 53. Specifically, when the user right-slides the video editing area 53, a video adding mark (such as a "+" mark) appears in the video editing area 53. When the user clicks the video adding mark, a video adding bar appears for the user to add other video segments to the initial video.

[0142] It is worth noting that in response to the user's segment adding operation based on the segment editing area input, after selecting at least one video segment from multiple video segments and adding it to the initial video, the video after the segment is added will be displayed in the video preview area 51 of the video editing page 50.

[0143] In this embodiment, the user can perform editing operations such as sequence adjustment, segment cropping, segment deletion, and segment addition on each initial video segment in the segment editing area of ​​the video editing page according to actual needs, ensuring that the video content can be presented in the desired manner, thereby improving the flexibility and customization of video generation. In addition, each time the user completes a segment editing operation, the edited video will be automatically displayed in the video preview area of ​​the video editing page, making it convenient for the user to view the editing results in a timely manner, thereby improving the convenience and intelligence of the operation. The above method improves the efficiency of video generation while ensuring the quality of the generated video.

[0144] S713: In response to a third trigger operation of the user on any one of the video templates in the template editing area, apply any one of the video templates to the initial video.

[0145] The third trigger operation includes but is not limited to customized interactive actions such as click, slide, and long press. The template editing area is used to display multiple video templates. Multiple video templates predefine the transition effects between video clips, the time and position of the video description text, the background music of the video, and the pace style of the video. The background music and pace style corresponding to each of the multiple video templates are different.

[0146] Optionally, the user terminal 10 provides multiple different types of video templates for users to choose from in the template editing area of ​​the camera monitoring APP, and multiple video templates all contain preset transition effects, text descriptions, background music, and pacing styles. In order to make the user's choice more diverse, each video template corresponds to different background music, such as brisk children's songs, soothing lullabies, dynamic electronic music, etc. In addition, each video template also corresponds to a different pacing style, such as a fast style, a slow style, a uniform rhythm style, etc. It can be understood that different pacing styles will cause the video to show different playback rhythms and playback speeds. Specifically, the fast style will cause each video clip that appears in the video to switch quickly, which is suitable for expressing relaxed and energetic video content (such as scenes such as babies playing); the slow style will cause each video clip that appears in the video to play slowly, which is suitable for expressing quiet and relaxing video content (such as scenes such as babies falling asleep); the uniform rhythm style will cause the video to play at a stable rhythm, which is suitable for video content with strong narrative (such as scenes such as babies' daily activities). Users can personalize the video templates provided in the template editing area according to their personal preferences and video content.

[0147] For example, see Figure 5 In response to the user's click operation on the video template 58 in the template editing area 54 , the user terminal 10 applies the video template 58 to the initial video and displays the video edited by the template in the video preview area 51 of the video editing page 50 .

[0148] In this embodiment, the user can apply any video template in the template editing area to the initial video through a simple trigger operation. Each video template contains preset transition effects, text descriptions, background music, and pacing styles, etc., without the need for the user to manually adjust these video elements one by one, which greatly simplifies the user's editing process and improves the efficiency of video generation. In addition, each video template also has its own unique style and characteristics, which can effectively meet the personalized needs of users and improve the quality of generated videos.

[0149] S714: In response to a video text editing operation input by the user based on the video preview area, the video description text in the initial video is changed.

[0150] Among them, video text editing operations include but are not limited to customized interactive actions such as clicking, sliding, long pressing, and inputting.

[0151] For example, see Figure 5 In response to the video text editing operation input by the user in the video preview area 51, the user terminal 10 changes the description text in the initial video, and displays the video after the video description text is changed in the video preview area 51. Specifically, the user can directly click on the area 59 where the video description text is located in the video preview area 51, and then change the video description text in the area 59 where the video description text is located, that is, the change of the video description text in the initial video is completed, and the changed video will be directly displayed in the video preview area 51.

[0152] In this embodiment, by providing a video description text editing function in the video preview area, the user can flexibly modify the description text in the video, ensuring that the video content is more personalized and accurate. After the user completes the video text editing operation, the video text editing result can be directly viewed in the video preview area, which improves the convenience and intelligence level of the operation. The above method improves the efficiency of video generation while ensuring the quality of the generated video.

[0153] S715: In response to a second trigger operation input by the user based on the video editing page, a video associated with the initial video in the video preview area is used as a target video.

[0154] Specifically, S715 is consistent with S206 and will not be repeated here.

[0155] S716: Display the target video on the video display page.

[0156] Specifically, S716 is consistent with S207 and will not be repeated here.

[0157] S717: In response to a video sharing operation input by the user based on the video display page, share the target video to the target application.

[0158] The video sharing operation includes but is not limited to customized interactive actions such as clicking, sliding, long pressing, and inputting.

[0159] For example, see Figure 6 The video display page 60 includes a one-click sharing button 63. The user terminal 10 displays a video sharing pop-up window in response to a user clicking the one-click sharing button 63 in the video display page 60. The video sharing pop-up window includes multiple application icons for sharing videos. The user terminal 10 shares the target video to the target application in response to the user clicking the target application in the video sharing pop-up window.

[0160] S718: In response to a video saving operation input by the user based on the video display page, the target video is saved to the terminal album.

[0161] The video saving operation includes but is not limited to customized interactive actions such as clicking, sliding, long pressing, and inputting.

[0162] For example, see Figure 6 The video display page 60 includes a save to local album button 62 , and the user terminal 10 saves the target video to the local album of the user terminal 10 in response to the user's click operation based on the save to local album button 62 in the video display page 60 .

[0163] In this embodiment, by providing sharing and saving functions on the video display page, users can easily and quickly share videos to target applications or save videos to terminal albums, which improves the dissemination of videos and enhances the user's video production experience.

[0164] The above-mentioned video generation method makes the entire video generation process more efficient and convenient through a series of processes such as automatic video capture, video description information generation, initial video clip screening, initial video generation, video clip editing, video template editing, video description text editing, target video display, target video sharing, and target video saving. Users can not only quickly obtain high-quality initial videos, but also personalize the initial videos according to their needs and preferences, thereby generating high-quality video content. In addition, during the video editing process, users can also intuitively view the edited video based on the video preview area of ​​the video editing page, making the video editing process more efficient and intuitive; after the video is generated, users only need to simply click to complete the sharing and saving of the target video, which improves the user's video production experience. The above-mentioned method improves the efficiency of video generation, ensures the quality of the generated video, and enhances the user's experience.

[0165] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed 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 part of the steps or stages in other steps.

[0166] Based on the inventive concept of the above video generation method, Figure 8 As shown, the embodiment of the present application further provides a video generating device 800 for implementing the above-mentioned video generating method. The video generating device 800 includes:

[0167] The first acquisition module 801 is used to acquire multiple video clips captured by the monitoring terminal under preset conditions;

[0168] The second acquisition module 802 is used to acquire video description information corresponding to multiple video clips;

[0169] A first display module 803, used to display multiple video clips and video description information on a video creation page;

[0170] A first response module 804, configured to generate an initial video based on multiple video clips and video description information in response to a first trigger operation input by a user based on a video creation page;

[0171] The second display module 805 is used to display the initial video in the video preview area of ​​the video editing page;

[0172] A second response module 806, configured to respond to a second trigger operation input by the user based on the video editing page, and use the video in the video preview area as a target video;

[0173] The third display module 807 is used to display the target video on the video display page.

[0174] In one possible implementation, the first response module 804 is specifically used to respond to a first trigger operation input by a user based on a video creation page, filter multiple initial video segments from multiple video segments; determine an initial video template based on the multiple initial video segments and video description information; and generate an initial video based on the multiple initial video segments, the initial video template and the video description information.

[0175] In one possible implementation, the video editing page includes a segment editing area, which is used to display the initial video segments in the order in which the initial video segments appear in the initial video; the video generating device 800 also includes a segment editing module, which is used to adjust the order in which any initial video segment appears in the initial video in response to a user's order adjustment operation on any initial video segment in the segment editing area; and / or adjust the video length of any initial video segment in the initial video in response to a user's segment cropping operation on any initial video segment in the segment editing area; and / or delete any initial video segment from the initial video in response to a user's segment deletion operation on any initial video segment in the segment editing area; and / or select at least one video segment from multiple video segments and add it to the initial video in response to a user's segment adding operation based on input in the segment editing area.

[0176] In one possible implementation, the video editing page includes a template editing area, which is used to display multiple video templates, each of which corresponds to different music and pace styles; the video generation device 800 also includes a template editing module, which is used to apply any video template to the initial video in response to a third trigger operation of the user on any video template in the template editing area.

[0177] In a possible implementation, the video generating device 800 further includes a video text editing module for changing the video description text in the initial video in response to a video text editing operation input by the user based on the video preview area.

[0178] In a possible implementation, the second acquisition module 802 is specifically configured to acquire user binding information; and generate video description information corresponding to the multiple video clips according to the video capture dates corresponding to the multiple video clips and the user binding information.

[0179] In one possible implementation, the video generating device 800 also includes a video management module for sharing the target video to the target application in response to a video sharing operation input by the user based on the video display page; and / or saving the target video to the terminal album in response to a video saving operation input by the user based on the video display page.

[0180] In a possible implementation manner, the preset condition includes detecting that the target shooting subject performs a target shooting action.

[0181] Each module in the video generation device 800 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 a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0182] The embodiment of the present application also provides an electronic device, which may be a terminal, and its internal structure diagram may be as shown in FIG. Fig. 9 As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. Among them, the processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic 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 the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external user terminal in a wired or wireless manner, and the wireless manner can 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 generation method is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.

[0183] Those skilled in the art will understand that Fig. 9The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.

[0184] In a possible implementation, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0185] Obtain multiple video clips captured by the monitoring terminal under preset conditions;

[0186] Obtain video description information corresponding to multiple video clips;

[0187] Display multiple video clips and video description information on the video creation page;

[0188] In response to a first trigger operation input by a user based on a video creation page, generating an initial video based on a plurality of video clips and video description information;

[0189] Display the initial video in the video preview area of ​​the video editing page;

[0190] In response to a second trigger operation input by the user based on the video editing page, taking a video associated with the initial video in the video preview area as a target video;

[0191] Display the target video on the video display page.

[0192] In one possible implementation, the processor also implements the following steps when executing the computer program: in response to a first trigger operation input by a user based on a video creation page, screening multiple initial video segments from multiple video segments; determining an initial video template based on the multiple initial video segments and video description information; and generating an initial video based on the multiple initial video segments, the initial video template and the video description information.

[0193] In one possible implementation, the video editing page includes a segment editing area, which is used to display the initial video segments in the order in which the initial video segments appear in the initial video; when the processor executes the computer program, it also implements the following steps: in response to a user's order adjustment operation on any initial video segment in the segment editing area, adjusting the order in which any initial video segment appears in the initial video; and / or in response to a user's segment cropping operation on any initial video segment in the segment editing area, adjusting the video length of any initial video segment in the initial video; and / or in response to a user's segment deletion operation on any initial video segment in the segment editing area, deleting any initial video segment from the initial video; and / or in response to a user's segment addition operation based on the segment editing area input, selecting at least one video segment from multiple video segments and adding it to the initial video.

[0194] In one possible implementation, the video editing page includes a template editing area, which is used to display multiple video templates, each of which corresponds to different music and pace styles; when the processor executes the computer program, it also implements the following steps: in response to a second trigger operation input by the user based on the video editing page, before using the video in the video preview area as the target video, the method also includes: in response to a third trigger operation of the user for any video template in the template editing area, applying any video template to the initial video.

[0195] In a possible implementation, when the processor executes the computer program, the processor further implements the following steps: in response to a video text editing operation input by the user based on the video preview area, changing the video description text in the initial video.

[0196] In a possible implementation, when the processor executes the computer program, the processor further implements the following steps: obtaining user binding information; and generating video description information corresponding to the multiple video clips according to the video capture dates corresponding to the multiple video clips and the user binding information.

[0197] In one possible implementation, the processor also implements the following steps when executing the computer program: in response to a video sharing operation input by the user based on the video display page, sharing the target video to the target application; and / or in response to a video saving operation input by the user based on the video display page, saving the target video to the terminal album.

[0198] In a possible implementation manner, the preset condition includes detecting that the target shooting subject performs a target shooting action.

[0199] The present application also provides a computer storage medium, which stores instructions, and when the instructions are executed on a computer or a processor, the computer or the processor executes one or more steps in the above embodiment. If the components of the above electronic device are implemented in the form of software functional units and sold or used as independent products, they can be stored in the above computer readable storage medium.

[0200] In a possible implementation, a computer storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:

[0201] Obtain multiple video clips captured by the monitoring terminal under preset conditions;

[0202] Obtain video description information corresponding to multiple video clips;

[0203] Display multiple video clips and video description information on the video creation page;

[0204] In response to a first trigger operation input by a user based on a video creation page, generating an initial video based on a plurality of video clips and video description information;

[0205] Display the initial video in the video preview area of ​​the video editing page;

[0206] In response to a second trigger operation input by the user based on the video editing page, taking a video associated with the initial video in the video preview area as a target video;

[0207] Display the target video on the video display page.

[0208] In one possible implementation, when the computer program is executed by a processor, the following steps are also implemented: in response to a first trigger operation input by a user based on a video creation page, a plurality of initial video segments are screened from a plurality of video segments; an initial video template is determined based on the plurality of initial video segments and video description information; and an initial video is generated based on the plurality of initial video segments, the initial video template and the video description information.

[0209] In one possible implementation, the video editing page includes a segment editing area, which is used to display the initial video segments in the order in which the initial video segments appear in the initial video; when the computer program is executed by the processor, it also implements the following steps: in response to a user's order adjustment operation on any initial video segment in the segment editing area, adjusting the order in which any initial video segment appears in the initial video; and / or in response to a user's segment cropping operation on any initial video segment in the segment editing area, adjusting the video length of any initial video segment in the initial video; and / or in response to a user's segment deletion operation on any initial video segment in the segment editing area, deleting any initial video segment from the initial video; and / or in response to a user's segment addition operation based on the segment editing area input, selecting at least one video segment from multiple video segments and adding it to the initial video.

[0210] In one possible implementation, the video editing page includes a template editing area, which is used to display multiple video templates, each of which corresponds to different music and pace styles; when the computer program is executed by the processor, it also implements the following steps: in response to a second trigger operation input by the user based on the video editing page, before using the video in the video preview area as the target video, the method also includes: in response to a third trigger operation of the user for any video template in the template editing area, applying any video template to the initial video.

[0211] In a possible implementation, when the computer program is executed by the processor, the following steps are further implemented: in response to a video text editing operation input by the user based on the video preview area, the video description text in the initial video is changed.

[0212] In a possible implementation, when the computer program is executed by the processor, the following steps are also implemented: obtaining user binding information; and generating video description information corresponding to the multiple video clips according to the video capture dates corresponding to the multiple video clips and the user binding information.

[0213] In one possible implementation, when the computer program is executed by the processor, the following steps are also implemented: in response to a video sharing operation input by the user based on the video display page, the target video is shared to the target application; and / or in response to a video saving operation input by the user based on the video display page, the target video is saved to the terminal album.

[0214] In a possible implementation manner, the preset condition includes detecting that the target shooting subject performs a target shooting action.

[0215] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer storage medium or transmitted through the computer storage medium. The computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode. The computer storage medium can be any available medium that a computer can access or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0216] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes. In the absence of conflict, the technical features in this embodiment and the implementation scheme can be combined arbitrarily.

[0217] The embodiments described above are merely preferred embodiments of the present application and are not intended to limit the scope of the present application. Without departing from the design spirit of the present application, various modifications and improvements made to the technical solutions of the present application by ordinary technicians in this field should fall within the protection scope determined by the claims.

[0218] The above describes a specific embodiment of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

Claims

1. A video generation method, characterized in that: The method comprises: Obtain multiple video clips captured by the monitoring terminal under preset conditions; Obtaining video description information corresponding to the multiple video clips; Displaying the multiple video clips and the video description information on a video creation page; In response to a first trigger operation input by a user based on the video creation page, generating an initial video based on the multiple video clips and the video description information; Displaying the initial video in the video preview area of ​​the video editing page; In response to a second trigger operation input by the user based on the video editing page, taking the video associated with the initial video in the video preview area as a target video; The target video is displayed on the video display page.

2. The method according to claim 1, characterized in that The initial video generated based on the multiple video clips and the video description information in response to the first trigger operation input by the user based on the video creation page includes: In response to a first trigger operation input by the user based on the video creation page, screening a plurality of initial video segments from the plurality of video segments; Determining an initial video template according to the multiple initial video clips and the video description information; The initial video is generated based on the multiple initial video clips, the initial video template and the video description information.

3. The method according to claim 2, characterized in that The video editing page includes a segment editing area, wherein the segment editing area is used to display the initial video segments in the order in which the initial video segments appear in the initial video; Before taking the video in the video preview area as the target video in response to the second trigger operation input by the user based on the video editing page, the method further includes: In response to the user's operation of adjusting the order of any one of the initial video segments in the segment editing area, adjusting the order of appearance of the any one of the initial video segments in the initial video; and / or In response to a segment cropping operation performed by the user on any one of the initial video segments in the segment editing area, adjusting a video duration of the any one of the initial video segments in the initial video; and / or In response to a segment deletion operation by the user on any one of the initial video segments in the segment editing area, deleting the any one of the initial video segments from the initial video; and / or In response to a segment adding operation input by the user based on the segment editing area, at least one video segment is selected from the multiple video segments and added to the initial video.

4. The method according to claim 1, characterized in that The video editing page includes a template editing area, and the template editing area is used to display multiple video templates, and the multiple video templates each correspond to different music and pace styles; Before taking the video in the video preview area as the target video in response to the second trigger operation input by the user based on the video editing page, the method further includes: In response to a third trigger operation by the user on any one of the video templates in the template editing area, the any one of the video templates is applied to the initial video.

5. The method according to claim 1, characterized in that Before taking the video in the video preview area as the target video in response to the second trigger operation input by the user based on the video editing page, the method further includes: In response to a video text editing operation input by the user based on the video preview area, the video description text in the initial video is changed.

6. The method according to claim 1, characterized in that The obtaining of video description information corresponding to the plurality of video clips includes: Get user binding information; Video description information corresponding to the multiple video clips is generated according to the video capture dates corresponding to the multiple video clips and the user binding information.

7. The method according to claim 1, characterized in that After displaying the target video on the video display page, the method further includes: In response to a video sharing operation input by the user based on the video display page, sharing the target video to a target application; and / or In response to the video saving operation input by the user based on the video display page, the target video is saved to the terminal album.

8. A video generating device, characterized in that: The device comprises: A first acquisition module is used to acquire multiple video clips captured by the monitoring terminal under preset conditions; A second acquisition module, used to acquire video description information corresponding to the multiple video clips; A first display module, used for displaying the multiple video clips and the video description information on a video creation page; A first response module, configured to generate an initial video based on the multiple video clips and the video description information in response to a first trigger operation input by a user based on the video creation page; A second display module, used for displaying the initial video in the video preview area of ​​the video editing page; A second response module, configured to respond to a second trigger operation input by the user based on the video editing page and use the video in the video preview area as a target video; The third display module is used to display the target video on a video display page.

9. An electronic device, characterized in that: include: A processor and a memory; the memory stores a computer program, and the processor implements the method steps of any one of claims 1 to 7 when executing the computer program.

10. A computer storage medium, characterized in that: The computer storage medium stores a plurality of instructions, which are suitable for being loaded by a processor and executing the method steps according to any one of claims 1 to 7.