Video editing method, device, electronic device and storage medium
Patent Information
- Application Number
- JP2023578853
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-11-07
- Filing Date
- 2023-11-06
- Publication Date
- 2025-03-27
- Estimated Expiration
- 2043-11-06
Smart Images

Figure 0007652944000001 
Figure 0007652944000002 
Figure 0007652944000003
Abstract
Description
[Technical field]
[0001] TECHNICAL FIELD The embodiments of the present disclosure relate to video processing technology, and in particular to a video editing method, device, electronic device, and storage medium. [Background technology]
[0002] With the development of technology, various kinds of short video software are increasing, and videos can be generated by creating and editing them through the short video software.
[0003] In the related technical solutions, background music is generally matched to a video by a jamming video method, or the obtained video is edited by a video editing tool. However, the jamming video method is only applicable to matching appropriate background music to a video of a specified action, and generally only meets some types of video production. However, the editing by the video editing tool is relatively complicated, and a video cannot be produced without a certain editing skill, the editing efficiency is low, and editing errors are easily made during editing, which may require re-editing. Summary of the Invention [Problem to be solved by the invention]
[0004] The present disclosure provides a video editing method, apparatus, electronic device and storage medium, which realizes an intuitive display of video structure and a component-based guide to the creation process, and simplifies the editing operation. [Means for solving the problem]
[0005] In a first aspect, an embodiment of the present disclosure provides a video editing method, the method comprising: creating at least one editing subtask for a video editing task; In response to a first operation for triggering a target editing subtask, acquiring source video material and displaying an editing screen of the target editing subtask, an editing track is displayed on the editing screen of the target editing subtask, and a video track clip formed based on the source video material is placed in a video track in the editing track, and the at least one editing subtask includes a target video editing subtask; recording an editing operation triggered on the editing screen in editing the target editing subtask and displaying an indication mark of the editing operation on the editing track; generating an editing result of the target editing subtask based on the recorded information of the editing operation and the source video material in response to a second operation for confirming completion of the target editing subtask; generating a target video as an editing result of the video editing task based on the editing results of each editing subtask of the video editing task, in which the original video material is displayed in the target video according to an editing effect corresponding to the editing operation; Includes.
[0006] In a second aspect, an embodiment of the present disclosure further provides a video editing apparatus, the apparatus comprising: a creating module for creating at least one editing subtask for the video editing task; an edit capture module for retrieving source video material and displaying an edit screen of the target edit subtask in response to a first operation for triggering a target edit subtask, where an edit track is displayed on the edit screen of the target edit subtask, and a video track clip formed based on the source video material is placed on a video track in the edit track, and the at least one edit subtask includes a target video edit subtask; an editing record module for recording an editing operation triggered on the editing screen in editing the target editing subtask and displaying an indication mark of the editing operation on the editing track; an edit confirmation module for generating an edit result of the target edit subtask based on the recorded information of the editing operation and the original video material in response to a second operation for confirming completion of the target edit subtask; a video generation module for generating a target video as an editing result of the video editing task based on the editing results of each editing subtask of the video editing task, the video generation module displaying the original video material in the target video according to an editing effect corresponding to the editing operation; Equipped with.
[0007] In a third aspect, embodiments of the present disclosure further provide an electronic device, the electronic device comprising: one or more processors; a storage device for storing one or more programs; The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the video editing method according to any one of the above embodiments.
[0008] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium including computer-executable instructions, which, when executed by a computer processor, are for performing the video editing method according to any one of the above embodiments. Effect of the Invention
[0009] In an embodiment of the present disclosure, at least one editing subtask is created for a video editing task, and in response to a first operation for triggering a target editing subtask, an original video material is obtained and an editing screen of the target editing subtask is displayed, and each created editing subtask intuitively expresses the framework of the video content to be edited / generated, and in the editing of the target editing subtask, an editing operation to be triggered is recorded on the editing screen and an instruction mark of the editing operation is displayed on the editing track, the editing / generation of the entire video is divided into different editing subtasks, and the different editing subtasks are guided to complete the video editing, so as to simplify the complexity of the video editing. In addition, even if an editing error occurs in the editing, the editing subtask in error can be re-edited, improving the efficiency of the video editing / generation.
[0010] It should be understood that the contents described in this disclosure are not intended to limit the essential or significant features of the embodiments of the present invention, and are not intended to limit the scope of the present invention. Other features of the present invention will become readily apparent from the following specification. [Brief description of the drawings]
[0011] The above and other features, advantages and aspects of each embodiment of the present disclosure will become more apparent with reference to the following specific embodiments in conjunction with the drawings. Throughout the drawings, like or similar drawing symbols indicate like or similar elements. It should be understood that the drawings are schematic and that objects and elements are not necessarily drawn to scale.
[0012] [Figure 1] 1 is a schematic flowchart of a video editing method according to an embodiment of the present disclosure.
[0013] [Diagram 2] FIG. 2 is a schematic diagram illustrating a relationship between a video synopsis and video editing components corresponding to editing subtasks according to an embodiment of the present disclosure.
[0014] [Diagram 3]11 is a schematic diagram showing a video editing component corresponding to an editing subtask displayed on an editing screen of a video editing task according to an embodiment of the present disclosure; FIG.
[0015] [Figure 4] 11 is a schematic diagram showing an enlarged display of a video editing component corresponding to an editing subtask displayed on an editing screen of a video editing task according to an embodiment of the present disclosure. FIG.
[0016] [Diagram 5] 4 is a schematic flowchart of another video editing method according to an embodiment of the present disclosure.
[0017] [Figure 6] 1 is a flowchart illustrating an editing process for displaying video editing components corresponding to editing subtasks in an editing template of a video editing task according to an embodiment of the present disclosure;
[0018] [Figure 7] FIG. 13 is a schematic diagram showing an operation menu of a video editing component corresponding to an editing subtask according to an embodiment of the present disclosure.
[0019] [Figure 8] 11 is a schematic diagram of a video editing component corresponding to an editing subtask added to an editing screen of a video editing task according to an embodiment of the present disclosure. FIG.
[0020] [Figure 9] 13 is a schematic diagram of an editing subtask editing method selection window added after a trigger control is clicked in an operation menu corresponding to an editing subtask in an embodiment of the present disclosure. FIG.
[0021] [Figure 10] 13 is an overall flowchart of jumping from an editing screen of a video editing task to an editing screen of an editing subtask according to an embodiment of the present disclosure.
[0022] [Figure 11] 1 is a flowchart of video editing in an editing subtask according to an embodiment of the present disclosure.
[0023] [Figure 12] 13 is a flowchart illustrating a jump from an editing screen of a video editing task to an editing screen of an editing subtask according to an embodiment of the present disclosure.
[0024] [Figure 13] 11 is a schematic diagram illustrating a screen transition for jumping from an editing screen of a video editing task to an editing screen of an editing subtask according to an embodiment of the present disclosure. FIG.
[0025] [Figure 14] FIG. 13 is another schematic diagram illustrating a screen transition for jumping from an editing screen of a video editing task to an editing screen of an editing subtask in accordance with an embodiment of the present disclosure.
[0026] [Figure 15] FIG. 13 is a further schematic diagram illustrating a screen transition for jumping from an editing screen of a video editing task to an editing screen of an editing subtask in accordance with an embodiment of the present disclosure.
[0027] [Figure 16] 11 is another schematic flowchart of video editing in an editing subtask according to an embodiment of the present disclosure;
[0028] [Figure 17] 13 is a further flowchart of jumping from an editing screen of a video editing task to an editing screen of an editing subtask according to an embodiment of the present disclosure;
[0029] [Figure 18] FIG. 13 is a further schematic diagram illustrating a screen transition for jumping from an editing screen of a video editing task to an editing screen of an editing subtask in accordance with an embodiment of the present disclosure.
[0030] [Figure 19]13 is a further schematic flowchart of video editing in an editing subtask according to an embodiment of the present disclosure;
[0031] [Figure 20] 13 is a further flowchart of jumping from an editing screen of a video editing task to an editing screen of an editing subtask according to an embodiment of the present disclosure;
[0032] [Figure 21] FIG. 13 is a further schematic diagram illustrating a screen transition for jumping from an editing screen of a video editing task to an editing screen of an editing subtask in accordance with an embodiment of the present disclosure.
[0033] [Figure 22] 11 is a flowchart for photographing an image using a photographing device pulled up on a photographing screen according to an embodiment of the present disclosure.
[0034] [Diagram 23] FIG. 13 is a schematic diagram of an editing screen of an editing subtask according to an embodiment of the present disclosure.
[0035] [Figure 24] FIG. 13 is a schematic diagram of an editing screen of another editing subtask according to an embodiment of the present disclosure.
[0036] [Diagram 25] FIG. 13 is a schematic diagram illustrating a screen transition when adding audio to an editing screen of an editing subtask according to an embodiment of the present disclosure.
[0037] [Figure 26] FIG. 13 is another schematic diagram showing a screen transition for adding audio to an editing screen of an editing subtask according to an embodiment of the present disclosure.
[0038] [Figure 27] FIG. 2 is a schematic diagram illustrating an association between audio and subtitles generated based on the audio according to an embodiment of the present disclosure.
[0039] [Figure 28] FIG. 2 is a schematic diagram of extracting video subtitles according to an embodiment of the present disclosure.
[0040] [Figure 29] FIG. 2 is a logical schematic diagram of moving subtitles and audio according to an embodiment of the present disclosure.
[0041] [Diagram 30] FIG. 2 is a schematic diagram showing subtitle generation according to an embodiment of the present disclosure.
[0042] [Diagram 31] 11A to 11C are schematic diagrams illustrating screen transitions for editing an audio clip in an audio track according to an embodiment of the present disclosure.
[0043] [Diagram 32] FIG. 13 is a schematic diagram illustrating a screen transition for re-recording an audio clip in an audio track according to an embodiment of the present disclosure.
[0044] [Diagram 33] FIG. 2 is a logical schematic diagram of tone-switching of audio clips in an audio track according to an embodiment of the present disclosure.
[0045] [Diagram 34] FIG. 2 is a logical schematic diagram of splitting subtitles corresponding to audio clips in an audio track according to an embodiment of the present disclosure.
[0046] [Diagram 35] FIG. 1 is a structural schematic diagram of a video editing device according to an embodiment of the present disclosure.
[0047] [Diagram 36] FIG. 1 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0048] Hereinafter, the embodiments of the present disclosure will be described in more detail with reference to the drawings. Although the drawings show some embodiments of the present disclosure, it should be understood that the present disclosure may be realized in various forms and should not be construed as being limited to the embodiments discussed herein, but on the contrary, the purpose of providing these embodiments is to allow a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are merely illustrative and are not intended to limit the scope of protection of the present disclosure.
[0049] It should be understood that the steps described in the method embodiments of the present disclosure may be performed in a different order and / or simultaneously, and that the method embodiments may include additional steps and / or omit performing steps as shown, and that the scope of the present disclosure is not limited in this respect.
[0050] As used herein, the term "comprises" and variations thereof are open inclusive, i.e., "including, but not limited to." The term "based on" means "based at least in part on." The term "in one embodiment" refers to "at least one embodiment," the term "in another embodiment" refers to "at least one other embodiment," and the term "in some embodiments" refers to "at least some embodiments." Relevant definitions of other terms are provided in the description below.
[0051] The concepts of "first", "second", etc. referred to in this disclosure are merely intended to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of functions performed by these devices, modules or units.
[0052] The modifications "a" and "a plurality" referred to in the present disclosure are exemplary rather than limiting, and should be understood as "one or more" unless the context clearly indicates otherwise, as would be understood by one of ordinary skill in the art.
[0053] The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of these messages or information.
[0054] As should be understood, before using any of the technical solutions disclosed in each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of personal information related to the present disclosure should be informed to users in an appropriate manner in accordance with relevant laws and regulations, and user permission should be obtained.
[0055] For example, in response to a received user's voluntary request, the operation requested to be performed is clearly indicated to the user as requiring the acquisition and use of the user's personal information by sending presented information to the user, so that the user can independently choose whether to provide personal information to software or hardware, such as an electronic device, an application program, a server, or a storage medium, that performs the operation of the technical solution disclosed herein, based on the presented information.
[0056] As an optional and non-limiting implementation manner, in response to the received voluntary request of the user, the manner of sending the presented information to the user may be, for example, a pop-up manner, in which the presented information is displayed in the form of text in a pop-up window, and the pop-up window may further include a selection control for the user to select "Agree" or "Disagree" to provide personal information to the electronic device.
[0057] It should be understood that the above notification and user permission process is merely exemplary and is not intended to limit the implementation of the present disclosure, and other methods in accordance with relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0058] FIG. 1 is a schematic flow chart of a video editing method according to an embodiment of the present disclosure. The embodiment of the present disclosure is applied to a case where editing subtasks are assigned to a video for editing. The method may be executed by a video editing device. The video editing device may be realized in the form of software and / or hardware, or may be disposed in any electronic device having a network communication function. The electronic device may be a mobile terminal, a PC terminal, a server, etc. As shown in FIG. 1, the video editing method of the present embodiment may include, but is not limited to, the following processes:
[0059] At S110, at least one editing subtask is created for the video editing task.
[0060] Referring to Fig. 2, one complete video may be decomposed into at least two video synopses according to video content, for example, video synopsis 1, video synopsis 2 and video synopsis 3 shown in Fig. 2. In this way, each video of different cases can be decomposed into different video synopses according to video content. For each video synopsis, a video editing subtask may be corresponding based on the creation format of the video synopsis. In this way, one video editing task may include at least one editing subtask.
[0061] Referring to FIG. 3, when entering an editing screen for performing a video editing task, the editing screen may create and display at least two video editing components 110 corresponding to the video synopsis. Each video editing component 110 corresponds to one editing subtask, and the same video synopsis includes at least one video editing component 110. A video editing component may be the smallest unit in a video editing process. For example, the editing screen of a video editing task may be a mainframe page shown in the left diagram in FIG. 3, and the editing screen of an editing subtask may be a preview editing page shown in the right diagram in FIG. 3. Due to the limited display dimension of the editing screen of a video editing task, some of the video editing components 110 may not be displayed in their entirety, and the video editing components 110 hidden in the editing screen of a video editing task may be displayed by sliding the video editing components.
[0062] 2 and 3, in the editing screen of the video editing task, at least one video editing component may be set corresponding to the same video synopsis, and the video editing component may be an editing subtask. For example, take a case where one video synopsis information is video synopsis M / N as an example, the video synopsis M / N may indicate that the video editing component selected by the dotted line is the video editing component corresponding to the Nth editing subtask of the Mth video synopsis. The types of the video editing components set corresponding to the same video synopsis may be the same or different. The same video editing components belong to the same video synopsis, that is, the same editing subtask cannot belong to different video synopses at the same time.
[0063] The above method can clearly present different editing methods in video editing by intuitively expressing the framework of the video content to be edited / generated by each created editing subtask, so that corresponding video editing components can be created according to the video editing subtasks as needed, simplifying the complexity of video editing and making the video editing process more intuitive and clear.
[0064] As an optional and non-limiting implementation method, refer to FIG. 4, and enlarge the video editing component corresponding to the editing subtask displayed on the editing screen of the video editing task shown in FIG. 3, and first annotation content and second annotation content are displayed on the video editing component, the first annotation content describes the editing type of the editing subtask corresponding to the video editing component, the second annotation content describes the time of the video clip generated by the editing subtask corresponding to the video editing component, and the cover of the video editing component is the first frame of the video clip generated by the editing subtask corresponding to the video editing component.
[0065] The editing types of the editing subtasks corresponding to the video editing component may include narration video editing, selfie video editing, and chromakey shot video editing. Narration video is where the main narration content is from a monologue, which is recorded independently and is generally a spoken or converted audio from text, and the video screen can jump based on the audio content. Selfie video is a video clip where a person stands in front of the camera and gives a narration. Chromakey shot video includes a video clip where a person stands in front of the camera and gives a narration, combined with a picture or recording of a product in the background.
[0066] Using the above method, the duration and video editing mode of each video clip of each editing subtask can be clearly defined during the execution of the video editing subtask, so that the video clips can be reduced and added for each editing subtask according to actual needs, and the video editing mode can be optimized and adjusted to generate a better video.
[0067] At S120, in response to a first operation for triggering the target editing subtask, a source video material is obtained and an editing screen of the target editing subtask is displayed, where an editing track is displayed on the editing screen of the target editing subtask, a video track clip formed based on the source video material is placed on a video track in the editing track, and at least one editing subtask includes the target video editing subtask.
[0068] 3, a video editing component corresponding to at least one editing subtask displayed on an editing screen of a video editing task can trigger a target editing subtask of the at least one editing subtask in response to a first operation on the video editing component, and after triggering the target editing subtask, obtain an original video material and jump to the editing screen of the target editing subtask to display the editing screen. The editing screen is for video editing the editing subtask corresponding to the video editing component. An editing track is displayed on the editing screen, and a video track clip formed based on the original video material is placed on the video track in the editing track.
[0069] In S130, in editing the target editing subtask, an editing operation triggered on the editing screen is recorded and an instruction mark for the editing operation is displayed on the editing track.
[0070] Referring to FIG. 3, in one example, in an edit track displayed on an edit screen, a video split edit operation can be triggered for a video track clip of the edit track. Thereby, edit operation information for splitting a video track clip to be performed in the video track can be recorded, and an indicator mark for indicating that the video track clip has been video split in the video track can be displayed. In another example, a video speed change edit operation can be triggered for a video track clip of the edit track. Thereby, edit operation information for performing a video speed change in the video track clip can be recorded, and an indicator mark for indicating that the video track clip has been video speed changed in the video track can be displayed. In a further example, a video special effect edit operation can be triggered for a video track clip of the edit track. Thereby, edit operation information for performing a video special effect in the video track clip can be recorded, and an indicator mark for indicating that a video special effect operation has been performed on the video track clip in the video track can be displayed.
[0071] At S140, in response to a second operation for confirming completion of the target editing subtask, an editing result of the target editing subtask is generated based on the recorded information of the editing operation and the original video material.
[0072] Referring to Fig. 3, after video editing the editing screens corresponding to each editing subtask created on the editing screen of the video editing task, a second operation can be triggered on the editing screen to confirm the completion of the target editing subtask, at which time, an editing result of each editing subtask can be generated according to the recorded result of the editing operation recorded on the editing screen of the corresponding editing subtask and the original video material.
[0073] Using the above method, different types of video content clips are divided in the overall video in the manner of different editing sub-tasks, and video clips are formed by inputting video material according to the video editing components corresponding to the different editing sub-tasks, thereby providing step-by-step guidance to complete video editing on editing screens corresponding to the video editing components of the different editing sub-tasks.
[0074] In S150, based on the editing results of each editing subtask of the video editing task, a target video is generated as an editing result of the video editing task, and in the target video, the original video material is displayed according to an editing effect corresponding to the editing operation.
[0075] After the editing subtasks corresponding to each video editing component edit the video to obtain the editing results of each editing subtask, the editing results of the editing subtasks corresponding to each video editing component can be directly merged and concatenated, so that the editing result of the complete video editing task is generated as the target video, and the editing subtasks corresponding to different video editing components are guided to edit the video, thereby completing the video editing step by step to generate a final complete video.
[0076] As an optional and non-limiting implementation method, referring to FIG. 3, generating a target video as an editing result of a video editing task based on the editing results of each editing subtask of the video editing task may include, but is not limited to, the following steps A1 to A2.
[0077] In step A1, an original audio material is acquired, and an editing screen of the video editing task displays an audio track clip formed based on the original audio material and a video track clip formed based on the editing results of each editing subtask of the video editing task.
[0078] In step A2, in response to an editing operation on an audio track clip, a target audio material is obtained, and a target video is generated based on the editing results of each editing subtask of the video editing task and the target audio material.
[0079] Referring to the left diagram of FIG. 3, a music icon 130 is displayed on the editing screen of the video editing task. If the music is empty, clicking the music icon will pull up the music selection page to select the appropriate music. Only one music can be added to the entire video. After completing the addition, return to the editing screen of the video editing task and enter the music editing panel to edit the added music. When entering the editing template of the video editing task for the first time, the music icon displayed on the editing screen of the video editing task is in the added state. Clicking it will display the music attached to the editing template, and entering the music editing panel will automatically align the music duration with the duration of the current video.
[0080] As an optional and non-limiting implementation method, the video editing method of this embodiment may further include obtaining and saving a target sub-video corresponding to the target editing sub-task based on the editing result of the target editing sub-task, and displaying the original video material in the target sub-video according to an editing effect corresponding to the editing operation.
[0081] The editing result based on the target editing subtask may be a video generated in response to the target editing subtask based on the recorded information of the editing operations and the original video material. When the editing result based on the target editing subtask is obtained, the video corresponding to each target editing subtask can be composited into the target video. The editing result based on the target editing subtask may be an editing draft generated based on the recorded information of the editing operations and the original video material. When the editing draft corresponding to the target editing subtask is obtained, the editing draft corresponding to each target editing subtask can be merged and then a total editing draft after merging can be generated for the target video.
[0082] In the technical solution of the embodiment of the present disclosure, at least one editing subtask is created in a video editing task, and in response to a first operation for triggering a target editing subtask, an original video material is obtained and an editing screen of the target editing subtask is displayed, and the framework of the video content to be edited / generated by each created editing subtask is intuitively expressed, and in the editing of the target editing subtask, an editing operation to be triggered on the editing screen is recorded and an instruction mark of the editing operation is displayed on the editing track, so that the editing / generation of the entire video is divided into different editing subtasks, and the different editing subtasks are guided to complete the video editing. Thus, the complexity of the video editing is simplified, and even if an editing error occurs in the editing, the editing subtask with the error can be re-edited, thereby improving the efficiency of the video editing / generation.
[0083] 5 is a schematic flow chart of another video editing method according to an embodiment of the present disclosure. The technical solution of this embodiment further optimizes the process of creating at least one editing subtask in the video editing task in the above embodiment based on the above embodiment. This embodiment can be combined with each optional technical solution in one or more embodiments. As shown in FIG. 5, the video editing method of this embodiment may include, but is not limited to, the following steps:
[0084] At S510, an editing template used for a video editing task is obtained.
[0085] In S520, an editing subtask specified in the editing template is determined.
[0086] At S530, at least one editing subtask is created for the video editing task based on the editing subtask specified in the editing template.
[0087] As an optional and non-limiting implementation manner, creating at least one editing sub-task for a video editing task based on an editing sub-task specified in an editing template may include, but is not limited to, the following steps B1-B2.
[0088] In step B1, the editing screen of the video editing task displays the symbols of the editing subtasks specified in the editing template.
[0089] With reference to FIG. 2 and FIG. 6, different editing templates may be set in advance. When performing a video editing task in response to a trigger operation of the template, an editing template used for the video editing task may be selected, and editing subtasks designated to be included therein may be analyzed from the editing template. With reference to FIG. 3 and FIG. 6, in response to a trigger for the editing template of the selected video editing task, each editing subtask for performing the video editing task is called, and a video editing component for performing each editing subtask of the video editing task designated in the editing template is displayed on the editing screen of the video editing task. Here, at least one editing subtask corresponds to the same video summary, each editing subtask corresponds to one video editing component, and the label of the editing subtask may be indicated by the video editing component displayed on the editing screen of the video editing task. For example, the video editing component A, the video editing component B, and the video editing component C shown in FIG. 6 are displayed in the label format of each editing subtask.
[0090] In step B2, in response to a third operation for triggering the addition of an editing subtask, a notation of the first editing subtask is added to the editing screen of the video editing task, and / or in response to a fourth operation for triggering the deletion of the editing subtask, a notation of the second editing subtask is removed from the editing screen of the video editing task.
[0091] At least one of the editing subtasks includes an editing subtask in which a mark is displayed on an editing screen of the video editing task.
[0092] In one selectable example, in response to a third operation for triggering the addition of an editing subtask, a label for each editing subtask being displayed on the editing screen of the video editing task (i.e., which may be a label for visually displaying a video editing component corresponding to the editing subtask) is selected, and a subtask operation menu for the label of the selected editing subtask is synchronously displayed, and a control for triggering editing (hereinafter, an "edit trigger control"), a control for triggering addition (hereinafter, an "add trigger control"), and a control for triggering deletion (hereinafter, a "delete trigger control") are displayed in the subtask operation menu.
[0093] With reference to FIG. 7, for the video editing components 110 corresponding to each editing subtask displayed on the editing screen of the video editing task, the video editing components on the editing screen may be visualized and displayed by marking the editing subtask in the figure. In response to a click operation on any one of the video editing components, i.e., in response to a click operation on the marking of one editing subtask, the clicked video editing component 110 may be box-selected on the editing screen of the video editing task. For example, the video editing component 110 of the first editing subtask of the M+1th video summary in FIG. 7 is selected. When the video editing component 110 is selected, the subtask operation menu of the corresponding editing subtask of the selected video editing component may be pulled up and displayed as a pop-up on the editing screen of the video editing task. An edit trigger control, an add trigger control, a delete trigger control, and the like displayed on the subtask operation menu may be clicked and triggered.
[0094] In one selectable example, referring to FIG. 7, in response to a fourth operation for triggering the deletion of the editing subtask, a mark of the second editing subtask being displayed on the editing screen of the video editing task (a mark for correspondingly visually displaying a video editing component corresponding to the editing subtask) is selected, and a subtask operation menu of the mark of the second editing subtask is synchronously displayed. In the subtask operation menu, an edit trigger control, an add trigger control, and a delete trigger control are displayed. By clicking on the delete trigger control by the fourth operation, the mark of the second editing subtask is deleted from the editing screen of the video editing task, that is, the video editing component corresponding to the second editing subtask is deleted. When deleting the mark of the second editing subtask, deletion presentation information of the mark of the second editing subtask may be displayed to confirm again whether to delete the mark of the second editing subtask. As a selectable and non-limiting realization method, the video editing method of this embodiment may include determining a group specified in the editing template, displaying the editing subtask specified in the editing template according to the specified group, and displaying content presentation information or editing presentation information corresponding to the specified group.
[0095] Referring to FIG. 7, each editing subtask in the video editing task corresponding to the editing template is displayed on the editing page of the video editing task according to a specified video synopsis group, and the same video synopsis group includes at least one editing subtask. FIG. 7 shows that at least one video editing component corresponds to one video synopsis group. On the editing page of the video editing task, content presentation information or editing presentation information is displayed corresponding to each video synopsis group. The content presentation information includes content presentation of video material corresponding to the video synopsis group. The editing presentation information includes presentations related to selfie, narration, chromakey compositing, etc. The editing presentation information may further include presentation information related to filters, transitions, effects, etc. and video editing effects.
[0096] 7, after deleting all the editing subtask markers corresponding to the same video synopsis displayed on the editing screen of the video editing task (indicating that the video editing component is deleted), the video synopsis information may be retained on the editing screen of the video editing task, and an empty placeholder may be displayed on the video synopsis, in which case the empty placeholder may be used to add a new editing subtask marker when clicked.
[0097] As an optional and non-limiting implementation manner, the third operation for triggering the addition of the editing subtask is specifically a trigger operation on a mark of the third editing subtask displayed on an editing screen of the video editing task, where a mark of the first editing subtask is added adjacent to a mark of the third editing subtask on the editing screen of the video editing task.
[0098] 8, after selecting the mark of the third editing subtask on the editing screen of the video editing task and performing the third operation on the mark of the third editing subtask, the subtask operation menu of the selected third editing subtask is pulled up. The third operation for triggering the addition of the editing subtask further includes an operation of triggering a control for triggering the addition of the editing subtask (hereinafter, the add trigger control) in the subtask operation menu of the editing subtask. In response to the third operation for triggering the addition of the editing subtask, a mark of one first editing subtask is added to the editing screen of the video editing task, i.e., one video editing component is added to the editing screen of the video editing task.
[0099] Referring to Fig. 8, a mark of an editing subtask is additionally displayed in an adjacent position to the mark of a selected third editing subtask on an editing screen of a video editing task. Here, the mark of the selected third editing subtask and the mark of the added first editing subtask belong to the same video summary. In response to a third operation for triggering the addition of an editing subtask, an editing subtask editing method selection window is displayed on an editing screen of a video editing task. In response to a selection operation in the editing subtask editing method selection window, a mark of the correspondingly selected first editing subtask is additionally displayed in an adjacent position to the mark of the selected third editing subtask.
[0100] Referring to Fig. 9, when an add trigger control in the subtask operation menu is clicked, one editing subtask editing mode selection window is displayed in an obscured form on the editing screen of the video editing task. The editing subtask editing mode selection window displays editing modes of the editing subtask, such as, but not limited to, narration, selfie, chromakey compositing, direct shooting by camera, uploading material from album, and an editing mode corresponding to selecting a video editing component saved from my components. Each time an add operation of one editing subtask is triggered, only one new editing subtask is allowed to be added and the mark of the editing subtask is displayed on the editing screen of the video editing task.
[0101] At S540, in response to a first operation for triggering a target editing subtask, a source video material is obtained and an editing screen of the target editing subtask is displayed. An editing track is displayed on the editing screen of the target editing subtask. A video track clip formed based on the source video material is placed in a video track in the editing track. The at least one editing subtask includes a target video editing subtask.
[0102] In S550, in editing the target editing subtask, an editing operation triggered on the editing screen is recorded, and an indication mark of the editing operation is displayed on the editing track.
[0103] At S560, in response to a second operation for confirming completion of the target editing subtask, an editing result of the target editing subtask is generated based on the recorded information of the editing operation and the source video material.
[0104] At S570, a target video is generated as an editing result of the video editing task based on the editing results of each editing subtask of the video editing task, in which the source video material is displayed according to an editing effect corresponding to the editing operation.
[0105] As an optional and non-limiting implementation manner, generating a target video as an editing result of a video editing task based on the editing results of each editing subtask of the video editing task, The method may include determining a combination scheme specified in the editing template, instructing the combination scheme to combine at least one editing subtask into the video editing task, and combining the editing results of each editing subtask of the video editing task based on the combination scheme to obtain the target video.
[0106] Referring to FIG. 3, the editing screen of the video editing task displays the label of each editing subtask, i.e., the video editing component corresponding to each editing subtask. The editing template of the video editing task specifies a combination method of each editing subtask. The combination method of each editing subtask is set to combine at least one editing subtask into the video editing task by linking them according to the arrangement order. The arrangement order of the at least one editing subtask may specifically be the arrangement order of the label of the at least one editing subtask on the editing screen of the video editing task. In this case, the editing subtasks specified in the editing template are sorted according to the arrangement order specified in the editing template. When there are multiple video tracks on the editing screen of the editing subtask, in response to a division operation on the video track, the divided video track may be one new editing subtask.
[0107] As an optional and non-limiting implementation manner, the video editing method of this embodiment may further include displaying a preview playback device on the editing screen of the video editing task to preview and play back the merged result of the editing results of each editing subtask of the video editing task.
[0108] 3, a preview playback device 140 is displayed on the editing screen of the video editing task. The preview playback device 140 may be used to preview and play back the merged result of the editing results of each editing subtask of the video editing task on the editing screen of the video editing task. When playing back using the preview playback device 140, a mark of the editing subtask to be played back correspondingly may be selected on the editing screen of the video editing task, and a playback icon may be displayed on the mark of the selected editing subtask to indicate that the editing result of the corresponding editing subtask is being played back.
[0109] Referring to the left diagram of FIG. 3, a progress bar 120 is displayed on the editing screen of a video editing task. The progress bar 120 is displayed in paragraphs according to different video summary groups, and the progress bar is positioned at the video summary group to which the corresponding editing subtask to be played belongs. The preview playback device 140 can drag the playback progress by clicking the progress bar 120 during preview playback, and when the hand is released, the preview playback device 140 continues to play from the editing result of the editing subtask where the progress bar is positioned, and is positioned at the mark of the corresponding editing subtask. When the progress bar 120 is dragged, the video summary title corresponding to the progress bar is correspondingly switched, without affecting the selection state of the mark of the editing subtask, and when the hand is released, the progress bar is positioned at the mark of the corresponding editing subtask on the playback screen of the preview playback device 140 and selected.
[0110] Referring to the left diagram of FIG. 3, in response to a click operation on the mark of one editing subtask on the editing screen of the video editing task, the video screen being played by the preview playback device 140 is paused, and the video screen assumed to be displayed after playback is switched to the first frame of the video clip related to the editing result of the editing subtask corresponding to the click operation. After pausing the video being played by the preview playback device of the editing screen of the video editing task, in response to a trigger operation on the video playback by the preview playback device of the editing screen of the video editing task, the method may further include playing the video in the preview playback device from the first frame of the video clip related to the editing result of the editing subtask corresponding to the click operation. When a full-screen icon on the editing screen of the video editing task is clicked and triggered, the preview playback device of the editing screen of the video editing task enters full-screen preview playback.
[0111] Referring to the left diagram of Fig. 3, in response to a slide trigger operation on a label of one editing subtask on the editing screen of the video editing task as an option, a video being played by a preview playback device on the editing screen of the video editing task is paused. When a label of an editing subtask on the editing screen of the video editing task is selected, a subtask operation menu of the label of the editing subtask may be synchronously displayed.
[0112] Referring to the left diagram of FIG. 3, when the editing screen of the video editing task is closed, the video draft is automatically saved, and when returning to the previous page, the draft may be saved. Clicking the export control on the editing screen of the video editing task enters the video export process. If there is video content of the video editing component corresponding to the editing subtask in the original editing template that is not modified, it is displayed that the video cannot be exported. If all the markings of the editing subtasks are deleted, it is displayed that the video cannot be exported. Clicking the setting control pulls up the export setting panel, and the clarity is set on the setting panel, for example, it is initially set to 720p, and the setting panel sets the switch of whether to simultaneously save the markings of the editing subtasks when exporting, which is initially set to off, and clicking the setting button again hides the panel and saves the settings.
[0113] In the technical solution of the embodiment of the present disclosure, an appropriate editing template can be provided according to the needs of a video editing task, at least one editing subtask is created for the video editing task, and in response to a first operation for triggering a target editing subtask, an original video material is obtained and an editing screen of the target editing subtask is displayed, and the framework of the video content to be edited / generated by each created editing subtask is intuitively expressed, and in the editing of the target editing subtask, an editing operation to be triggered on the editing screen is recorded and an instruction mark of the editing operation is displayed on the editing track. This allows the editing / generation of the entire video to be divided into different editing subtasks, and the different editing subtasks are guided to complete the video editing. This simplifies the complexity of video editing, and even if an editing error occurs during editing, the editing subtask with the error can be edited again, improving the efficiency of video editing / generation.
[0114] As an optional and non-limiting implementation method, obtaining the original video material and displaying the editing screen of the target editing subtask includes selecting a mark of one editing subtask to be displayed on the editing screen of the video editing task, which is pre-set in the editing template when the editing subtask enters the editing screen of the video editing task, and in response to an editing trigger operation on the mark of the editing subtask, calling a material filling page of the editing subtask to obtain the original video material, and displaying the editing screen of the target editing subtask based on the obtained original video material.
[0115] 8, in response to a click operation on the mark of any one of the editing subtasks, the mark of the editing subtask that is displayed on the editing screen of the video editing task and that has received the click operation can be box-selected. Here, the mark of the editing subtask selected by the click operation is the one that is preset in the editing template when entering the editing screen of the video editing task.
[0116] Referring to FIG. 10, if the mark of the editing subtask selected by the click operation is not the mark of an additional editing subtask but is preset in the editing template when entering the editing screen of the video editing task, the subtask operation menu of the selected editing subtask may be pulled up on the editing screen of the video editing task. After the subtask operation menu is pulled up, triggering of the editing control in the subtask operation menu is allowed. In response to the trigger operation by clicking on the editing control in the subtask operation menu, it is possible to jump from the editing screen of the video editing task to a material filling page of the editing subtask. The material filling page of the editing subtask can realize the acquisition of the original video material.
[0117] As an optional and non-limiting implementation manner, obtaining the original video material and displaying the editing screen of the target editing subtask includes: in response to a click operation on a mark of one editing subtask displayed on the editing screen of the video editing task, calling a material filling page of the mark of the editing subtask to obtain the original video material, and displaying the editing screen of the target editing subtask based on the obtained original video material. The editing subtask is an editing subtask that is added without being set in the editing template when entering the editing screen of the video editing task.
[0118] 10, if the edit subtask label selected by the click operation is a label added after entering the edit screen of the video edit task, in response to a click operation on one edit subtask label displayed on the edit screen of the video edit task, a jump is made directly from the edit screen of the video edit task to a material filling page of the edit subtask, which enables acquisition of the original video material.
[0119] In an optional non-limiting implementation manner, when the target editing subtask is a first type editing subtask, an audio track clip formed based on the audio material is placed in the audio track of the editing track of the editing screen corresponding to the target editing subtask. The audio material is audio material obtained by synthesizing the spoken text, for example, the audio material can be obtained by a text-to-speech conversion process. Alternatively, the audio material is audio material obtained by recording with an audio collection device. The target editing subtask is an editing subtask specified in an editing template used for the video editing task, and the spoken text is obtained based on a first preset text specified for the target editing subtask by the editing template. The first preset text will be discussed in detail below.
[0120] As an optional and non-limiting implementation manner, referring to FIG. 11, obtaining the original video material and displaying the editing screen of the target editing subtask may include the following steps S1110 to S1120.
[0121] In S1110, a material filling page of the first type of editing subtask is displayed. The material filling page of the first type of editing subtask is a text and video filling page.
[0122] 10, when the first type of editing subtask triggered by clicking is the first editing or the last time the material filling page of the first type of editing subtask is exited, the editing screen of the video editing task is jumped to display the material filling page of the first type of editing subtask, and the content filling process is entered. The first type of editing subtask may be a narration video editing task.
[0123] Referring to FIG. 12 , displaying the material filling page of the first type editing subtask may include detecting whether the first type editing subtask is the first editing subtask or the previous time the material filling page of the first type editing subtask is exited, and if YES, directly jumping from the editing screen of the video editing task to display the material filling page of the first type editing subtask, and if NO, directly displaying the editing page of the first type editing subtask.
[0124] In S1120, the material filling page of the first type editing subtask is used to obtain the original video material of the first type editing subtask.
[0125] Referring to Fig. 13, when the first type of editing subtask is an editing subtask specified in the editing template used for the video editing task, the material filling page of the first type of editing subtask displays a first preset text and a presentation content that indicates the existence of the first preset text and supports text editing based on the first preset text. The reading text may be obtained by editing based on the first preset text specified for the target editing subtask by the editing template. Fig. 13 shows a screen transition diagram for obtaining original video material in the first type of editing subtask.
[0126] A text editing area may be set on a material filling page of a first type of editing subtask, a first preset text may be displayed in the text editing area, and in response to an editing operation in the text editing area, the text in the text editing area after the editing operation may be obtained as a reading text.
[0127] 13, when the first type of editing subtask is not an editing subtask specified in the editing template used for the video editing task but an editing subtask added to the editing screen of the video editing task, the material filling page of the first type of editing subtask is a presentation content for presenting the customization of the editing text. The first preset text is not displayed on the material filling page of the first type of editing subtask.
[0128] Referring to FIG. 13, after editing text or inputting video footage on the material filling page of the first type editing subtask, click the blank space or hide the keyboard to save the input text and video footage. A limit is set on the number of characters of the text on the material filling page of the first type editing subtask. If the number of characters of the input text exceeds the limit, a pop-up window will be displayed when saving the text, and the content that exceeds the limit will be deleted.
[0129] Referring to FIG. 13 , after inputting text wording content and video screen material into the material filling page of the first type editing subtask, the input text wording content and video screen material are taken as original video material, and in response to a trigger operation of the editing page of the editing subtask in the material filling page of the first type editing subtask, an editing screen of the editing subtask is displayed based on the original video material.
[0130] Referring to the fourth page to the fifth page from left to right in Figure 13, the text wording in the acquired video material is converted into audio and filled into the audio track and / or subtitle track of the editing track displayed on the editing screen of the editing subtask, and in response to an upload operation of the video screen material on the material filling page of the first type editing subtask, the video screen material is sequentially filled into the video track of the editing track displayed on the editing screen of the editing subtask in order.
[0131] Referring to the fourth to sixth pages from left to right in FIG. 14, converting the text phrases in the acquired video material into audio and filling it into the audio track and / or subtitle track of the editing track displayed on the editing screen of the editing subtask, jumping from the material filling page of the first type of editing subtask to the editing screen of the first type of editing subtask, and filling the video track of the editing track displayed on the editing screen of the editing subtask with the screen material uploaded using the editing screen of the first type of editing subtask in response to an upload operation of the video screen material on the editing screen of the first type of editing subtask. If the material filling page of the first type of editing subtask does not include the video screen material, filling a video screen placeholder in the preview player area of the editing screen of the first type of editing subtask. Do not display the video screen placeholder in the video track. Clicking on the video track or the screen placeholder in the preview player area may add the video screen material using the editing screen of the first type of editing subtask.
[0132] Referring to the fourth to fifth pages from left to right in FIG. 15, in response to an upload operation of a video screen material on the material filling page of the editing subtask of the first type, the video screen material uploaded using the material filling page of the editing subtask of the first type is obtained, and the video screen material is filled into a video track of an editing track displayed on an editing screen of the editing subtask. A jump is made from the material filling page of the editing subtask of the first type to an editing screen of the editing subtask of the first type. In response to an audio addition operation on the editing screen of the editing subtask of the first type, an audio added using the editing screen of the editing subtask of the first type is obtained, and the audio is filled into an audio track of an editing track displayed on an editing screen of the editing subtask. If the material filling page of the editing subtask of the first type does not include a text wording material, the audio track of the editing screen of the editing subtask of the first type is empty, and clicking on the audio track can trigger recording or adding text.
[0133] As an optional non-limiting implementation, a subtitle track clip formed based on a spoken text is placed in a subtitle track in an editing track, the audio material is a spoken audio of the spoken text, and the subtitle track clip and the audio track clip have aligned positions on the time axis in the editing track.
[0134] As an optional and non-limiting implementation method, when the first type of editing subtask is edited for the first time and the material filling page of the first type of editing subtask is entered, in response to a trigger operation for displaying the wording library on the material filling page of the first type of editing subtask, text wording material in the wording library is displayed. When editing text on the material filling page of the first type of editing subtask, it is supported to switch the display of the wording library on the material filling page of the first type of editing subtask. The display and ranking of the wording library content is displayed by wording classification for each tab, and is classified according to, for example, video summary type. The logic for ranking the words is to sort in reverse order according to the similarity of the tags and templates and tags included in the words and components. The definition of the similarity may be the number of words tags that are the same as the template tags (tags including the template layer and the component layer). For example, if the words are tagged with ABCD and the templates are tagged with CDE, the similarity is 2.
[0135] As an optional and non-limiting implementation manner, when uploading video footage materials to the material filling page of the first type editing subtask or the editing screen of the first type editing subtask, it is supported to select and upload multiple video and picture materials, and to fill the video footage materials into the material filling page of the first type editing subtask or the editing screen of the first type editing subtask after selection. The material filling page of the first type editing subtask or the editing screen of the first type editing subtask supports deleting the added video footage materials.
[0136] As an optional and non-limiting implementation method, refer to FIG. 16. When the target editing subtask is a second type editing subtask, the original video material is a recorded video acquired by a shooting device, and the video editing method of this embodiment may further include, but is not limited to, the following S1610 to S1620.
[0137] In S1610, a capture screen of a second type of editing subtask is displayed, and the capture screen has a text presentation area for displaying and / or editing the presented text.
[0138] The target editing subtask is an editing subtask specified in an editing template used for the video editing task, and the suggested text is obtained based on a second preset text specified for the target editing subtask by the editing template.
[0139] Referring to Figure 17, the second type editing subtask is a selfie video editing task, and in response to an editing trigger operation for the second type editing subtask, it detects whether the second type editing subtask has left the shooting screen of the second type editing subtask for the first time or the previous time. If the answer is YES, it directly jumps from the editing screen of the video editing task to the shooting screen of the second type editing subtask. If the answer is not the first edit or the shooting screen of the second type editing subtask for the previous time, but the editing screen of the second type editing subtask for the previous time, it directly displays the editing screen of the second type editing subtask.
[0140] In S1620, in response to a shooting operation triggered on the shooting screen, the presented text is dynamically played back during shooting, and a recorded video is generated based on the shot image.
[0141] The video editing method of this embodiment further includes displaying a second preset text in a text presentation area of the shooting screen, and in response to an editing operation on the text presentation area, obtaining the text in the text presentation area after the editing operation as a presentation text.
[0142] 17, a teleprompter is set in the text presentation area of the shooting screen of the second type editing subtask to display and / or edit / present the second preset text to take a selfie. In response to a shooting operation triggered on the shooting screen, a shooting device corresponding to the shooting screen is used to shoot a video or upload a video, so that the video is filled into the video track of the editing screen of the editing subtask.
[0143] 17 and 18, when entering the shooting screen of the second type editing subtask, the shooting device is automatically raised on the shooting screen, and the teleprompter is activated in the text presentation area of the shooting screen, and the second preset text in the teleprompter can be used to assist in presentation during shooting. The teleprompter can automatically input the transcription of the second type editing subtask as dialogue, and the dialogue in the teleprompter can support re-editing / modifying the second preset text displayed in the text presentation area.
[0144] 17 and 18, a shooting control is set on the shooting screen, and a video footage is shot using a shooting device in response to a trigger operation on the shooting control. An effect control and an album control may be further set on the shooting screen. An effect may be added to the shot video footage in response to an effect trigger operation. An uploaded video footage is obtained from an album using the shooting device in response to a trigger operation on the album control. A single clip shooting control and a multi-clip shooting control may be set on the shooting screen. A shooting mode is selected by triggering the single clip shooting control or the multi-clip shooting control.
[0145] 17 and 18, after triggering the confirmation control on the shooting screen, the shot video footage can be previewed, and in response to the "Next" trigger operation on the previewed video footage, the editing screen of the second type editing subtask is jumped to and displayed. For example, after completing shooting the video footage by the shooting device on the shooting screen, enter the editing screen of the second type editing subtask to import all the video footage shot or uploaded. It is initially set to be 3 seconds after importing the stock footage.
[0146] Referring to FIG. 18, the page element layout of the shooting screen corresponding to the shooting device includes a right function area (not shown in FIG. 18), a main operation area, and return logic. The right function area includes a front / rear camera inversion control, a filter control, a timing control, a flash control, and a teleprompter control. The front / rear camera is inverted and is initially set to keep the previous selection status, and becomes the front camera when first entered. For timing, cancel / 3 seconds / 7 seconds can be selected, and it is initially set to have 3 seconds for the second type editing subtask, and no countdown is set for other editing subtasks. The flash is initially set to close. The teleprompter is initially set to start for the second type editing subtask, and to end for other editing subtasks. The teleprompter supports the presentation of a word library during editing. The main operation area includes an effect / chromakey compositing control, a shooting control, and an upload control. The shooting control is initially set to start recording when clicked, and to record in 16:9 portrait screen size, 720p. The upload control is clicked to enter the album import material process, and after at least some material has been shot, clicking "Next" can enter the track editing page. The return logic is that when the upper left corner of the shooting screen corresponding to the shooting device is clicked to close the control, after correcting the lines on the teleprompter or shooting at least some material, clicking "Close" pops up a pop-up window, and the "Discard" control / "Restart" control can be selected. When the "Discard" control is clicked, the editing subtask is considered to be in an uncorrected state. When a new editing subtask is created, an empty editing subtask is displayed in the video editing task, and clicking "Restart" discards the previously shot clip and shoots again.
[0147] When you enter the album, the top will show all the albums in the system, and the first layer will be defaulted to the most recent album you selected. The second layer selects the material type, which are all / video / photo / on-site photo respectively. The material supports multiple selection, and supports mixed selection of various types of materials, which will be displayed sequentially at the bottom according to the selection order. Click on the selected album material at the bottom or the material itself in the album area to enter the material preview page. Video type materials support rough editing. It is supported to import materials by shooting. Click to enter the shooting device process. After confirming the import, the roughly edited materials will be imported into the track in order. The default duration of the photo is 3 seconds.
[0148] As an optional non-limiting implementation manner, when the target editing subtask is a third type editing subtask, the original video material includes at least a first video material and a second video material, an image of the first video material and an image of the second video material are to be composited into an image of a third video material according to a specified concatenation layout, a video track clip formed based on the image of the third video material is placed in a video track in an editing track, and the target editing subtask is an editing subtask specified in an editing template used for a video editing task.
[0149] As an optional and non-limiting implementation manner, refer to FIG. 19, the video editing method of this embodiment may further include, but is not limited to, the following steps S1910 to S1930.
[0150] In S1910, the secondary video material is acquired and a linking layout of the primary video material and the secondary video material is determined.
[0151] A shooting screen of a third type editing subtask is displayed, and in response to an acquisition operation of a second video material triggered on the shooting screen, the second video material is acquired and a layout method of the first video material and the second video material is determined.
[0152] Referring to Figures 20 and 21, in response to an editing trigger operation for a third type editing subtask, it is detected whether the third type editing subtask is an initial edit or whether the shooting screen of the third type editing subtask has been left previously, and if YES, it jumps directly from the editing screen of the video editing task to the shooting screen of the third type editing subtask, and if NO, it directly displays the editing screen of the third type editing subtask.
[0153] A chromakey compositing mode is initially set to be activated on the shooting screen of the third type editing subtask, and a background of the shooting screen is initially set to be a chromakey compositing placeholder screen. After a triggering second video material acquisition operation is performed on the shooting screen, the second video material is acquired, and the chromakey compositing placeholder screen on the shooting screen of the third type editing subtask is replaced with the second video material.
[0154] Referring to FIG. 21, when entering the shooting screen, the shooting device is automatically raised and is initially set to operate the chromakey compositing mode. In response to the trigger operation of the chromakey compositing control on the shooting screen, the chromakey compositing operation panel is automatically raised. It is allowed to select the chromakey compositing background material on the chromakey compositing operation panel and enter the album selection page to import the background material as the second video material. The album selection page may display the video screen materials in the album in reverse chronological order. The album selection page only supports checking the video screen materials, and only supports single selection of the video screen materials. When the material is selected, it enters the rough editing page, and when confirmed, it is imported into the shooting device, and the shooting screen with the imported background material is displayed.
[0155] Referring to FIG. 21, the chromakey compositing control panel displays controls for setting the layout between the background and the camera content. Three layout methods are selectable: crop, background on top with camera content on bottom, and background on bottom with camera content on top. Selection to disable the chromakey compositing layout is supported. When first entered, it will default to crop selected.
[0156] In S1920, in response to a shooting trigger operation, in shooting, a shot image is linked with an image of the second video material based on a linking layout of the first video material and the second video material to preview, and recording is performed based on the shot image to generate the first video material.
[0157] In response to a shooting operation triggered on the shooting screen, a shooting image may be collected during shooting, and the shooting image and an image of the second video material may be linked and previewed on the shooting screen according to a linking layout, and the shooting image may be recorded to generate the first video material.
[0158] Referring to FIG. 21, in response to a background replacement operation on the shooting screen of the third type of editing subtask, the original chromakey composite placeholder screen is replaced with the acquired second video material. After entering the shooting screen of the third type of editing subtask (i.e., the chromakey composite shooting screen) and pulling up the shooting device, the original chromakey composite placeholder screen on the shooting screen of the third type of editing subtask can be replaced with the previously added and acquired second video material by adding background material. After importing the second video material into the background of the shooting screen of the third type of editing subtask, the shooting device can collect the shooting image in response to a shooting operation triggered on the shooting screen, and at the same time as shooting, the shooting image and the image of the second video material are connected and displayed on the shooting screen according to the connection layout for preview. Then, the shooting image can be recorded to obtain the first video material.
[0159] As an optional and non-limiting implementation manner, refer to FIG. 21 and FIG. 22. In the process of shooting using the shooting device pulled up on the shooting screen, the shooting device can support a single-clip shooting mode and a multi-clip shooting mode. In the single-clip shooting mode, if the uploaded background is a video, the playback is completed when the shooting is manually stopped or the video time is reached, and the shooting preview page is entered. If the uploaded background is a photo, the shooting time is not limited, and the playback is completed after the shooting is manually stopped, and the shooting preview page is entered. In the multi-clip shooting mode, if the uploaded background is a video, the playback is automatically completed when the countdown time or the video time length, whichever is shorter, is reached, and the shooting preview page is entered. Manual pausing during the process is supported. Switching background materials after pausing is supported. Regardless of switching, the material is played from the beginning when continuing shooting. If the uploaded background is a photo, the playback is automatically completed when the countdown time is reached, and the shooting preview page is entered. Dragging / scaling the foreground and background is supported both before and during shooting.
[0160] At S1930, the first video material and the second video material are video-composited into a third video material based on the concatenated layout.
[0161] A third video material is generated by video merging the first video material and the second video material according to the layout schemes of the first video material and the second video material, and the third video material is intended to have at least a portion thereof cut out as a video track clip.
[0162] 21, after obtaining the first video material and the second video material on the shooting screen of the third type editing subtask, a video synthesis process is performed according to the layout manner of the first video material and the second video material to obtain a third video material, and at least a part of the video is cut out from the third video material to fill the video track in the editing track of the editing screen of the third type editing subtask. It is supported to drag / scaling the foreground and background in the playback area of the video screen.
[0163] As an optional and non-limiting implementation method, referring to FIG. 23, for the editing screen of the editing subtask, a preview area is set on the editing screen, and a preview playback device is set on the preview area. A video preview is played back or the preview playback is paused by clicking a playback control of the preview playback device. A "close" control for closing the page may be set on the editing screen. When the "close" control is clicked, a pop-up window will confirm again whether or not to save the modifications, and when "confirm" is clicked, the modifications are saved and the page is returned to, and when "cancel" is clicked, the page is returned to without saving the modifications. A full-screen preview control supporting a full-screen preview may be set on the editing screen, and an "undo" control supporting the undoing of an editing operation or a "recovery" control supporting the recovery of an editing operation may be set on the editing screen.
[0164] As an optional non-limiting implementation, referring to FIG. 23, the editing screen of the editing subtask supports up to three tracks, including a screen track, an audio track and a subtitle track. The screen track is filled with video screen material. The audio track is filled with voice or audio recording converted from text. The subtitle track is filled with text, and the subtitle track is not displayed when there is no subtitle.
[0165] As an optional and non-limiting implementation manner, referring to FIG. 23, a beautification control is set on the editing screen of the editing subtask. When the beautification control is clicked and triggered, a beautification menu panel is opened and displayed. An add text control, a text template control, and a sticker control are set on the beautification menu panel. By clicking and triggering the add text control, the text template control, and the sticker control, the currently selected audio track and subtitle track can be hidden and the sticker, character template, and decorative character track can be displayed.
[0166] Referring to Figure 23, when you click and trigger the add text control, the text panel and keyboard will be pulled up, you can add text, and after adding, a text track will be added to the timeline, which is initially set to last for 3 seconds. After you edit the text and add the text, the text will be overwritten to the screen track in an obscured form, which is initially set to last for 3 seconds. It is supported to trim the text time. When you add text by clicking and triggering the add text control, or click a text / subtitle on the screen, the text editing panel will be called up.
[0167] Refer to Figure 23, click the text template control to trigger it, and the character template panel will be pulled up. For the character template panel, pull the character template panel on the back platform. First, pull the classification, and then pull the character template in the classification. After adding, add a character template track to the time axis, which is initially set to 3 seconds. It is necessary to display the character templates sequentially according to the time order, and check whether the character template has a preset tag.
[0168] As an optional and non-limiting implementation manner, referring to FIG. 25, in response to a trigger operation of adding an audio control or an empty audio track on the editing screen of the editing subtask, a secondary menu is opened. In response to a recording trigger operation of the secondary menu, a recording function is triggered to record and fill the audio into the audio track, or in response to a character-to-speech conversion operation of the secondary menu, a character-to-speech conversion function is triggered to input characters and then convert them into speech and fill the audio track. If there is a recording in the audio track, the audio converted from text to speech cannot be added, and the control option for converting from text to speech is set to gray and unavailable. If there is a character-to-speech converted audio in the audio track, the audio generated by recording cannot be added, and the recording control option is set to gray and unavailable.
[0169] Referring to FIG. 25, when you click Add Video of an audio track on the editing screen of the Edit subtask, or when you select an audio track and click the Add Audio control that pops up on the editing screen of the Edit subtask, you are prompted to select Record or Text-to-Speech as the method of adding audio. If you select Text-to-Speech, the text editing page will be pulled up and you can write the text. After you finish writing the text, click Save. Upon completion, text-to-speech (TTS) audio and subtitles will be automatically generated. If you select Record, the recording panel will be pulled up and you can start recording by clicking the Record control, click again to pause recording, select the Close control to cancel recording, and select the Save control to complete recording.
[0170] As an optional and non-limiting implementation manner, see FIG. 26, in response to a trigger operation of adding a video control or a video track on the editing screen of the editing subtask, a secondary menu is pulled up. In response to a trigger operation of adding a video on the secondary menu, shooting or uploading is selected. After shooting is selected, the shooting device is pulled up to shoot the video footage, and the specific details are referred to above. After uploading is selected, the album import page is pulled up to upload the video footage, and the specific details are referred to above. When adding a picture, it is initially set to fill 3s, and when adding a video, it is filled based on the original video time.
[0171] As an optional non-limiting implementation manner, referring to FIG. 24, a call operation for a video clip on a video track is selected, and a video clip frame on the video track is dragged to trim the time length of the video clip. In response to a trigger operation for the automatic identification control, a subtitle is identified based on the original sound of the selected video clip. In response to a trigger operation for the split control, a split line is pulled up to split the video clip. In response to a trigger operation for the volume control, the volume of the selected video clip is adjusted. In response to a trigger operation for the delete control, the selected video clip is deleted, and the video clip and subtitles following the video clip are automatically attracted and moved forward, and the subtitles generated based on the screen are also deleted at the same time.
[0172] As an optional and non-limiting implementation manner, see Fig. 24, in the editing screen of the editing subtask, clicking a blank area of the canvas or clicking a video track selects the canvas and track, and supports adjusting the screen size and rotation to zoom in / out. Directly clicking a subtitle on the canvas is also supported, and selecting the box enters the subtitle editing state.
[0173] As an optional and non-limiting implementation manner, see FIG. 27, in the editing screen of the editing subtask, only one audio type can exist in an audio track at the same time, for example, only one of text-to-speech audio and recorded audio can exist at the same time. When adding audio to an audio track that already has text-to-speech audio, only text-to-speech audio can be added. When adding audio to an audio track that already has recording, only recorded audio can be added, but text-to-speech audio cannot be added.
[0174] As an optional and non-limiting implementation, referring to FIG. 27, in the editing screen of the editing subtask, the association relationship between the audio and the subtitle generated from the audio is as follows: That is, when the audio / subtitle is clicked, the audio and the subtitle are selected and moved at the same time. If there is a video subtitle in the track, press only the audio but not the subtitle. The audio and the subtitle can be adjusted in time respectively. The time length of the subtitle cannot exceed the time of the corresponding audio. When the audio time is adjusted to be shorter, the subtitle is adjusted to be shorter at the same time. When the audio is extended to be longer again, the subtitle content is restored. When deleting / modifying text-to-speech (TTS), confirm whether to delete / modify the corresponding subtitle. If confirmed, update the subtitle. When deleting a recording, confirm whether to delete the corresponding subtitle. If confirmed, delete. When deleting text-to-speech (TTS) subtitle, confirm whether to modify the corresponding TTS. If confirmed, update the audio.
[0175] As an optional non-limiting implementation manner, referring to FIG. 27, in the editing screen of the editing subtask, the association relationship between the video and the subtitles generated from the video is as follows: when the video is moved, the subtitles within the time range of the video are also moved (the start time of the subtitles is within the time range of the video), but the subtitles cannot be moved independently; or the subtitles can be moved independently, but if they are moved outside the time range of the video, they are released from the association with the video; or the video and the subtitles can adjust their times; or deleting the subtitles does not affect the video, but deleting the video also deletes the subtitles within the time range of the video.
[0176] As an optional non-limiting implementation manner, see Fig. 28, in the editing screen of the editing subtask, the sources of subtitles are audio and video, which are respectively annotated with icons, but audio subtitles and video subtitles cannot exist at the same time and need to be overwritten when added. Extract video subtitles, delete all subtitles on the current track, and extract video subtitles of the current clip.
[0177] Extracting a video subtitle when audio subtitles already exist may trigger a prompt "Because you currently have audio subtitles, adding a video subtitle will overwrite all audio subtitles. Please confirm whether you wish to continue." If so, a new subtitle will be generated and overwrite the original subtitle. Extracting a recorded subtitle when video subtitles already exist may trigger a prompt "Because you currently have video subtitles, adding a recorded subtitle will overwrite all video subtitles. Please confirm whether you wish to continue." If so, a new subtitle will be generated and overwrite the original subtitle. Adding TTS when video subtitles already exist may trigger a prompt "Because you currently have video subtitles, adding a text to speech subtitle will automatically generate a subtitle and overwrite the original video subtitle. Please confirm whether you wish to continue." If so, a new subtitle will be generated and overwrite the original subtitle.
[0178] As an optional and non-limiting implementation manner, see Fig. 29, in the editing screen of the editing subtask, when moving audio / subtitle, if there is already audio / subtitle at the target position, the moving is still supported, and the right audio and the subtitle corresponding to the audio are automatically moved to the right, and the moving logic of the video and the video subtitle is kept consistent with the project.
[0179] As an optional and non-limiting implementation manner, see FIG. 30. In the editing screen of the editing subtask, when the text is imported into the preview editing page, audio converted from text to speech is automatically generated, and the audio and subtitles are generated in paragraphs according to the reading speed and have a one-to-one correspondence. The audio converted from text to speech is filled into the audio track, and the words are filled into the subtitle track as subtitles. For example, the division logic of the subtitle clip is such that the paragraphs are divided by periods and line breaks, and the maximum number of characters in one paragraph is 10 English words.
[0180] As an optional and non-limiting implementation manner, see Fig. 31, in the editing screen of the editing subtask, when an audio clip corresponding to the text-to-speech audio track is selected, an editing control pops up. In response to a trigger operation on the editing control, the draft revision page is pulled up, and the text corresponding to the text-to-speech audio of the paragraph is automatically filled in, and the text-to-speech audio and subtitles are automatically generated after revision to overwrite the original text-to-speech audio and text-to-speech subtitles.
[0181] As an optional and non-limiting implementation, see FIG. 32, in the editing screen of the editing subtask, when an audio clip corresponding to the text-to-speech audio track is selected, a re-recording control pops up. In response to a trigger operation on the re-recording control, the recording panel is pulled up, and when the user checks the recording again, a text recording page can be opened to fill in the text corresponding to the text-to-speech conversion (the text is displayed but cannot be edited). After the re-recording is completed, a new subtitle is automatically generated based on the recording to overwrite the original audio and subtitle. After the re-recording control is triggered, a display / presentation is displayed to present all the current text-to-speech converted audio and subtitles after the re-recording so that they are overwritten (it is possible to select not to present again).
[0182] As an optional and non-limiting implementation, see FIG. 33, in the editing screen of the editing subtask, when an audio clip corresponding to a text-to-speech audio track is selected, a tone selection control pops up. In response to a trigger operation on the tone selection control, the tone panel is pulled up and a text-to-speech (TTS) audio tone type is selected, and a text-to-speech audio corresponding to the selected tone is automatically generated after selection. If the text-to-speech audio time changes after modifying the tone, the length of the associated subtitle needs to be aligned with the new audio length. Checking "Apply to all audio" to adjust the tone applies the tone to all audio.
[0183] As an optional and non-limiting implementation method, referring to FIG. 34, in the editing screen of the editing subtask, when an audio clip corresponding to the text-to-speech audio track is selected, the text-to-speech (TTS) audio can be split at a position on the time axis. If the subtitle is split from the center, two copies are made. When an audio clip corresponding to the text-to-speech audio track is selected, a delete control pops up. In response to a trigger operation on the delete control, a prompt to automatically delete the subtitle corresponding to the text-to-speech (TTS) may be triggered. In the case of deletion, the subtitle and the audio are deleted at the same time, and in the case of not deleting, the subtitle is retained. When an audio clip corresponding to the text-to-speech audio track is selected, the time length of the audio clip can be adjusted by dragging the highlight frame corresponding to the audio clip. The volume control supports adjusting the volume of the audio clip, and the volume range is 0 to 1000.
[0184] As an optional and non-limiting implementation manner, in the editing screen of the editing subtask, when a subtitle corresponding to a text-to-speech audio track is selected, it may support modifying the subtitle content, modifying the subtitle style, and deleting a part of the subtitle. For modifying the subtitle content, click the paintbrush or the subtitle editing control to modify the subtitle content. Turn on the automatic conversion to audio switch to modify the subtitle and then automatically update the text-to-speech audio and subtitle content. If turned off, the audio content will not be updated. After modifying the subtitle content, it is inquired whether to simultaneously change the text-to-speech audio. If it is confirmed that the subtitle content should be changed at the same time, the subtitle content is modified and then a new text-to-speech audio is generated. For modifying the subtitle style, click the paintbrush or the subtitle editing control to modify the subtitle font. For the font, only commercially available fonts can be displayed, and for the style, the background color can be modified. For the default style of the subtitle, when editing from a template, the style of the template is automatically applied when adding text from a track and converting it to audio to generate subtitles, and the elements of font, decorative characters, and animation are applied. When deleting a portion of a subtitle, an inquiry is made as to whether or not to update the text-to-speech audio, and if so, a text-to-speech audio is generated based on the new subtitle and the original audio and subtitle are overwritten.
[0185] FIG. 35 is a structural schematic diagram of a video editing device according to an embodiment of the present disclosure. The embodiment of the present disclosure is applied to the case where editing subtasks are assigned to a video for editing. The device may be realized in the form of software and / or hardware. The video editing device may be implemented by being disposed in any electronic device having a network communication function. The electronic device may be a mobile terminal, a PC terminal, a server, etc. As shown in FIG. 35, the video editing device of this embodiment may include, but is not limited to, a creation module 3510, an edit acquisition module 3520, an edit record module 3530, an edit confirmation module 3540, and a video generation module 3550. Among these, The creation module 3510 is for creating at least one editing subtask in the video editing task; The edit acquisition module 3520 is for acquiring source video material and displaying an edit screen of the target editing subtask in response to a first operation for triggering the target editing subtask. An edit track is displayed on the edit screen of the target editing subtask. A video track clip formed based on the source video material is placed on a video track in the edit track. The at least one editing subtask includes a target video editing subtask. The edit record module 3530 is for recording an edit operation triggered on the edit screen in the editing of the target edit subtask, and displaying an indication of the edit operation on the edit track. The editing confirmation module 3540 is for generating an editing result of the target editing subtask based on the recording information of the editing operation and the original video material in response to a second operation for confirming completion of the target editing subtask. The video generation module 3550 is for generating a target video as an editing result of the video editing task based on the editing results of each editing subtask of the video editing task, in which the source video material is displayed according to an editing effect corresponding to the editing operation.
[0186] Based on the above embodiment, creating at least one editing subtask for a video editing task includes: obtaining an editing template to be used for the video editing task; determining an editing subtask specified in the editing template; creating the at least one editing subtask based on an editing subtask specified in the editing template; may include:
[0187] Based on the above embodiment, creating the at least one editing subtask based on the editing subtask specified in the editing template includes: displaying on an editing screen of the video editing task a label of an editing subtask designated in the editing template; adding a notation of the first editing subtask to an editing screen of the video editing task in response to a third operation for triggering an addition of an editing subtask, and / or removing a notation of the second editing subtask from the editing screen of the video editing task in response to a fourth operation for triggering a deletion of an editing subtask; may include: The at least one editing subtask includes an editing subtask in which a mark is displayed on an editing screen of the video editing task.
[0188] Based on the above embodiment, the first operation is specifically a trigger operation for a mark of a third editing subtask displayed on an editing screen of the video editing task; In an editing screen of the video editing task, a mark of the third editing subtask may be added to a position adjacent to a mark of the first editing subtask.
[0189] Based on the above embodiment, generating a target video as an editing result of the video editing task based on the editing results of each editing subtask of the video editing task, determining a combination scheme specified in the editing template, the combination scheme being for instructing a combination of the at least one editing subtask into the video editing task; Combining the editing results of the editing subtasks of the video editing task according to the combination scheme to obtain the target video; may include:
[0190] Based on the above embodiment, the combination manner may be to combine and link the at least one editing sub-task according to an arrangement order to become the video editing task.
[0191] Based on the above embodiment, a group specified in the editing template is determined, and editing subtasks specified in the editing template are displayed according to the specified group; displaying content presentation information or edit presentation information corresponding to the specified group; It may further include.
[0192] Based on the above embodiment, if the target editing subtask is a first type editing subtask, a sound track clip formed based on sound material may be placed in an audio track in the editing track.
[0193] Based on the above embodiment, the audio material may be audio material obtained by synthesizing a recited text, or the audio material may be audio material obtained by recording using an audio collection device.
[0194] Based on the above embodiment, the target editing subtask may be an editing subtask specified in an editing template used for the video editing task, and the reading text may be obtained based on a first preset text specified for the target editing subtask by the editing template.
[0195] Based on the above embodiment, displaying the first preset text in a text editing area; In response to an editing operation in the text editing area, acquiring the text in the text editing area after the editing operation as the reading text; It may further include.
[0196] Based on the above embodiment, a subtitle track clip formed based on a reading text may be placed on a subtitle track in the editing track, the audio material may be a reading audio of the reading text, and the subtitle track clip and the audio track clip may be aligned on the time axis in the editing track.
[0197] Based on the above embodiment, when the target editing subtask is a second type editing subtask, the original video material is a recorded video captured by a shooting device; The method comprises: Displaying a capture screen having a text presentation area for displaying and / or editing the presentation text; dynamically playing the suggested text during the shooting process in response to a shooting operation triggered on the shooting screen, and generating the recorded video based on the shooting image; It may further include.
[0198] Based on the above embodiment, the target editing subtask may be an editing subtask specified in an editing template used for the video editing task, and the suggested text may be obtained based on a second preset text specified for the target editing subtask by the editing template.
[0199] Based on the above embodiment, displaying the second preset text in the text presentation area; In response to an editing operation in the text presentation area, acquiring text in the text presentation area after the editing operation as the presentation text; It may further include.
[0200] Based on the above embodiment, when the target editing subtask is a third type editing subtask, the original video material may include at least a first video material and a second video material, an image of the first video material and an image of the second video material are to be composited into an image of a third video material according to a specified concatenation layout, and a video track clip formed based on the third video material is placed in a video track in the editing track.
[0201] Based on the above embodiment, the method may further include obtaining the second video material and determining the linked layout, and in response to a shooting trigger operation, linking a captured image and an image of the second video material based on the linked layout during shooting, previewing the linked image and recording based on the captured image to generate the first video material, and video-compositing the first video material and the second video material into the third video material based on the linked layout.
[0202] Based on the above embodiment, the target editing subtask is the editing subtask specified in the editing template used for the video editing task.
[0203] Based on the above embodiment, generating a target video as an editing result of the video editing task based on the editing results of each editing subtask of the video editing task, Acquiring original audio material; displaying, on an editing screen of the video editing task, an audio track clip formed based on the original audio material and a video track clip formed based on an editing result of each editing subtask of the video editing task; obtaining target audio material in response to an edit operation on the audio track clip; generating the target video based on editing results of each editing subtask of the video editing task and the target audio material; may include:
[0204] Based on the above embodiment, the editing screen of the video editing task may further include displaying a preview playback device for previewing and playing back the merged result of the editing results of each editing subtask of the video editing task.
[0205] Based on the above embodiment, the method may further include obtaining and storing a target sub-video corresponding to the target editing sub-task based on the editing result of the target editing sub-task, and displaying the original video material in the target sub-video according to the editing effect corresponding to the editing operation.
[0206] The video editing device according to the embodiments of the present disclosure can execute the video editing method according to any of the embodiments of the present disclosure, and has corresponding functions and beneficial effects of executing the video editing method, for details of which please refer to the relevant operations of the video editing method in the above embodiments.
[0207] FIG. 36 is a structural schematic diagram of an electronic device according to an embodiment of the present disclosure. Referring to FIG. 36 below, a structural schematic diagram of an electronic device (for example, a terminal device or server in FIG. 36) 500 suitable for implementing an embodiment of the present disclosure is shown. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (for example, in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device shown in FIG. 36 is merely an example and should not limit the functions and scope of use of the embodiment of the present disclosure.
[0208] 36, the electronic device 500 may include a processing unit (e.g., a central processing unit, a graphics processor, etc.) 501. The processing unit can execute various appropriate operations and processes based on a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. The RAM 503 further stores various programs and data necessary for the operation of the electronic device 500. The processing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An edit / output (I / O) interface 505 is also connected to the bus 504.
[0209] Typically, input devices 506 including a touch panel, touch pad, keyboard, mouse, web camera, microphone, accelerometer, gyroscope, etc., output devices 507 including a liquid crystal display (LCD), loudspeaker, oscillator, etc., storage devices 508 including magnetic tape, hard disk, etc., and communication devices 509 may be connected to the I / O interface 505. The communication devices 509 may allow the electronic device 500 to exchange data with other devices by wireless or wired communication. Although FIG. 36 shows the electronic device 500 having various devices, it should be understood that not all of the illustrated devices are required to be implemented or included. More or fewer devices may alternatively be implemented or included.
[0210] In particular, according to the embodiment of the present disclosure, the above process described with reference to the flowchart may be implemented as a computer software program. For example, the embodiment of the present disclosure includes a computer program product. The computer program product includes a computer program included in a non-transitory computer readable medium. The computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed via a network by the communication device 509, or may be installed from the storage device 508, or may be installed from the ROM 502. When the computer program is executed by the processing device 501, it performs the above functions limited to the method of the embodiment of the present disclosure.
[0211] The names of messages or information exchanged between multiple devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of these messages or information.
[0212] The electronic device according to the embodiment of the present disclosure belongs to the same inventive concept as the video editing method according to the above embodiment. For technical details not described in detail in this embodiment, please refer to the above embodiment. This embodiment has the same beneficial effects as the above embodiment.
[0213] An embodiment of the present disclosure provides a computer storage medium having a computer program stored therein, the computer program being adapted to implement the video editing method according to the embodiment when executed by a processor.
[0214] It should be noted that the computer-readable medium of the present disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of both. The computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to, an electrical connection having one or more conductors, a portable computer magnetic disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program. The program may be used by or in combination with an instruction execution system, apparatus, or device. And, in the present disclosure, the computer-readable signal medium may be included in a data signal propagated as part of a baseband or carrier wave, and includes computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium. The computer-readable signal medium may transmit, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted via any suitable medium, including, but not limited to, electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0215] In some embodiments, the client terminals and servers may communicate using any now known or later developed network protocol, such as HTTP (Hyper Text Transfer Protocol), and may be interconnected by any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include local area networks ("LANs"), wide area networks ("WANs"), extranets (e.g., the Internet), and end-to-end networks (e.g., ad-hoc end-to-end networks), and any now known or later developed networks.
[0216] The computer readable medium may be included in the electronic device or may be separate and not assembled to the electronic device.
[0217] The computer-readable medium includes one or more programs, which, when executed by the electronic device, cause the electronic device to: The computer-readable medium includes one or more programs, and when the one or more programs are executed by the electronic device, the electronic device is configured to: create at least one editing subtask for a video editing task; and in response to a first operation for triggering a target editing subtask, obtain source video material and display an editing screen of the target editing subtask, an editing track is displayed on the editing screen of the target editing subtask, video track clips formed based on the source video material are placed in a video track in the editing track, and the at least one editing subtask triggers the target video editing subtask. and in editing the target editing subtask, recording an editing operation to be triggered on the editing screen and displaying an indication of the editing operation on the editing track; in response to a second operation for confirming completion of the target editing subtask, generating an editing result of the target editing subtask based on the recorded information of the editing operation and the original video material; generating a target video as the editing result of the video editing task based on the editing results of each editing subtask of the video editing task; and displaying the original video material in the target video according to an editing effect corresponding to the editing operation.
[0218] Computer program code for carrying out the operations of the present disclosure may be written in one or more programming languages or combinations thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and the like, as well as conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. When a remote computer is involved, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).
[0219] The flowcharts and block diagrams in the drawings illustrate possible system architectures, functions, and operations of the systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program section, or part of code. The module, program section, or part of code includes one or more executable instructions for implementing the specified logical function. It should be noted that in some permutation implementations, the functions depicted in the blocks may occur in a different order than the order depicted in the drawings. For example, two blocks depicted may actually be executed essentially simultaneously, or they may be executed in the reverse order, as determined by the functionality involved. It should be noted further that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts may be implemented by a dedicated hardware-based system that executes the specified function or operation, or by a combination of dedicated hardware and computer instructions.
[0220] The relevant units described in the embodiments of the present disclosure may be implemented in a software manner or a hardware manner. The names of the units may not constitute limitations on the units themselves. For example, the first acquisition unit may be further described as "a unit for acquiring at least two Internet Protocol addresses."
[0221] The functionality described herein above may be performed at least in part by one or more hardware logic components. For example, and without limitation, model types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific general purpose products (ASSPs), systems on a chip (SOCs), complex programmable logic devices (CPLDs), etc.
[0222] In the context of this disclosure, a machine-readable medium may be a tangible medium, capable of containing or storing a program used by or in combination with an instruction execution system, device or apparatus. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared or semiconductor system, device or apparatus, or any suitable combination of the above contents. More specific examples of machine-readable storage media include an electrical connection by one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above devices.
[0223] According to one or more embodiments of the present disclosure, Example 1 provides a method for video editing, the method comprising: creating at least one editing subtask for a video editing task; In response to a first operation for triggering a target editing subtask, acquiring source video material and displaying an editing screen of the target editing subtask, an editing track is displayed on the editing screen of the target editing subtask, and a video track clip formed based on the source video material is placed in a video track in the editing track, and the at least one editing subtask includes a target video editing subtask; In the editing process of the target editing subtask, recording an editing operation to be triggered on the editing screen and displaying an indication mark of the editing operation on the editing track; generating an editing result of the target editing subtask based on the recorded information of the editing operation and the source video material in response to a second operation for confirming completion of the target editing subtask; generating a target video as an editing result of the video editing task based on the editing results of each editing subtask of the video editing task, and displaying the original video material in the target video according to an editing effect corresponding to the editing operation; Includes.
[0224] According to one or more embodiments of the present disclosure, Example 2 provides a method according to Example 1, wherein creating at least one editing subtask for a video editing task includes: obtaining an editing template to be used for the video editing task; determining an editing subtask specified in the editing template; creating the at least one editing subtask based on an editing subtask specified in the editing template; Includes.
[0225] According to one or more embodiments of the present disclosure, Example 3 provides a method as recited in Example 2, wherein creating the at least one editing subtask based on an editing subtask specified in the editing template includes: displaying on an editing screen of the video editing task a label of an editing subtask designated in the editing template; adding a mark of the first editing subtask to an editing screen of the video editing task in response to a third operation for triggering an addition of an editing subtask, and / or removing a mark of the second editing subtask from the editing screen of the video editing task in response to a fourth operation for triggering a deletion of an editing subtask; Including, The at least one editing subtask includes an editing subtask in which a mark is displayed on an editing screen of the video editing task.
[0226] According to one or more embodiments of the present disclosure, Example 4 provides a method according to Example 3. The first operation is specifically a trigger operation for a mark of a third editing subtask to be displayed on an editing screen of the video editing task; On the editing screen of the video editing task, a mark of the third editing subtask is added to a position adjacent to the mark of the first editing subtask.
[0227] According to one or more embodiments of the present disclosure, Example 5 provides a method as described in Example 2, wherein generating a target video as an editing result of the video editing task based on editing results of each editing subtask of the video editing task includes: determining a combination scheme specified in the editing template, the combination scheme being for instructing a combination of the at least one editing subtask into the video editing task; Combining the editing results of each editing subtask of the video editing task according to the combination scheme to obtain the target video; Includes.
[0228] According to one or more embodiments of the present disclosure, Example 6 provides a method according to Example 5, in which the combining manner is to combine the at least one editing sub-task into the video editing task by concatenating the at least one editing sub-task according to an arrangement order.
[0229] According to one or more embodiments of the present disclosure, Example 7 provides a method according to Example 2. determining a group specified in the editing template, and displaying editing subtasks specified in the editing template according to the specified group; displaying content presentation information or edit presentation information corresponding to the specified group; Further includes.
[0230] According to one or more embodiments of the present disclosure, Example 8 provides a method according to Example 1, in which if the target editing subtask is a first type editing subtask, a voice track clip formed based on audio material is placed in an audio track in the editing track.
[0231] According to one or more embodiments of the present disclosure, Example 9 provides the method of Example 8, wherein the audio material is obtained by synthesizing a spoken text or the audio material is obtained by recording an audio collection device.
[0232] According to one or more embodiments of the present disclosure, Example 10 provides a method as in Example 9, in which the target editing subtask is an editing subtask specified in an editing template used for the video editing task, and the spoken text is obtained based on a first preset text specified for the target editing subtask by the editing template.
[0233] According to one or more embodiments of the present disclosure, Example 11 provides a method according to Example 10. Displaying the first preset text in a text editing area; In response to an editing operation in the text editing area, acquiring the text in the text editing area after the editing operation as the reading text; Further includes.
[0234] According to one or more embodiments of the present disclosure, Example 12 provides a method as described in Example 8, in which a subtitle track clip formed based on a spoken text is placed in a subtitle track in the editing track, the audio material is a spoken audio of the spoken text, and the subtitle track clip and the audio track clip have time-aligned positions in the editing track.
[0235] According to one or more embodiments of the present disclosure, Example 13 provides a method according to Example 1, in which if the target editing subtask is a second type editing subtask, the original video material is a recorded video captured by a shooting device. The method comprises: Displaying a capture screen having a text presentation area for displaying and / or editing the presentation text; In response to a triggered shooting operation on the shooting screen, dynamically playing the presented text during shooting and generating the recorded video based on the shot image; Further includes.
[0236] According to one or more embodiments of the present disclosure, Example 14 provides a method as recited in Example 13, wherein the target editing subtask is an editing subtask specified in an editing template used for the video editing task, and the suggested text is obtained based on a second preset text specified for the target editing subtask by the editing template.
[0237] According to one or more embodiments of the present disclosure, Example 15 provides a method according to Example 14. Displaying the second preset text in the text presentation area; and In response to an editing operation in the text presentation area, acquiring text in the text presentation area after the editing operation as the presentation text; Further includes.
[0238] According to one or more embodiments of the present disclosure, Example 16 provides a method as in Example 1, in which when the target editing subtask is a third type editing subtask, the source video material includes at least a first video material and a second video material, an image of the first video material and an image of the second video material are for compositing into an image of a third video material according to a specified concatenation layout, and a video track clip formed based on the third video material is placed in a video track in the editing track.
[0239] According to one or more embodiments of the present disclosure, Example 17 provides a method according to Example 16. obtaining the second video material and determining the concatenated layout; In response to a shooting trigger operation, in shooting, a shot image and an image of the second video material are linked based on the link layout, previewed, and recorded based on the shot image to generate the first video material; video compositing the first video material and the second video material into the third video material based on the concatenated layout; Further includes:
[0240] According to one or more embodiments of the present disclosure, Example 18 provides the method according to any one of Examples 1 to 17, wherein generating a target video as an editing result of the video editing task based on editing results of each editing subtask of the video editing task includes: Acquiring original audio material; displaying, on an editing screen of the video editing task, an audio track clip formed based on the original audio material and a video track clip formed based on an editing result of each editing subtask of the video editing task; obtaining target audio material in response to an edit operation on the audio track clip; generating the target video based on editing results of each editing subtask of the video editing task and the target audio material; Includes.
[0241] According to one or more embodiments of the present disclosure, Example 19 provides a method according to any one of Examples 1 to 17, the method comprising: The editing screen of the video editing task further includes displaying a preview playback device for previewing and playing back a merged result of the editing results of each editing subtask of the video editing task.
[0242] According to one or more embodiments of the present disclosure, Example 20 provides a method according to any one of Examples 1-17, the method comprising: The method further includes obtaining and storing a target sub-video corresponding to the target editing sub-task based on the editing result of the target editing sub-task, and displaying the original video material in the target sub-video according to an editing effect corresponding to the editing operation.
[0243] The above description is merely a description of the preferred embodiments and applied technical principles of the present disclosure. As will be understood by those skilled in the art, the disclosure scope of the present disclosure is not limited to the technical solution consisting of a specific combination of the above technical features, but should also include other technical guidances that combine the above technical features or their equivalent features in any way without departing from the concept disclosed above. For example, the above features and technical features having similar functions (not limited to those) disclosed in the present disclosure may be substituted for each other.
[0244] Also, although operations have been described in a particular order, it should not be understood that these operations require the particular order shown or sequential order. In certain circumstances, multitasking and simultaneous processing may be advantageous. Similarly, although the above discussion includes some specific implementation details, these should not be construed as limiting the scope of the disclosure. Some features that are described in the context of separate embodiments may also be combined and implemented in a single embodiment. Conversely, various features that are described in the context of a single embodiment may be implemented in multiple embodiments, either independently or in any suitable subcombination manner.
[0245] Although the present subject matter has been described in language specifying structural features and / or methodological operations, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms of implementing the claims.
Claims
1. creating at least one editing subtask for the video editing task; In response to a first operation for triggering a target editing subtask, acquiring source video material and displaying an editing screen of the target editing subtask, an editing track is displayed on the editing screen of the target editing subtask, and a video track clip formed based on the source video material is placed in a video track in the editing track, and the at least one editing subtask includes a target video editing subtask; recording editing operations triggered on the editing screen during editing of the target editing subtask, and displaying indications of the editing operations on the editing track; generating an editing result of the target editing subtask based on the recorded information of the editing operation and the original video material in response to a second operation for confirming completion of the target editing subtask; generating a target video as an editing result of the video editing task based on the editing results of each editing subtask of the video editing task, in which the source video material is displayed in the target video according to an editing effect corresponding to the editing operation; 13. A video editing method comprising:
2. Creating at least one editing subtask for the video editing task includes: obtaining an editing template to be used for the video editing task; determining an editing subtask specified in the editing template; creating the at least one editing subtask based on an editing subtask specified in the editing template; 2. The method of claim 1, comprising:
3. Creating the at least one editing subtask based on an editing subtask specified in the editing template includes: displaying on an editing screen of the video editing task a label of an editing subtask designated in the editing template; adding a mark for the first editing subtask on the editing screen of the video editing task in response to a third operation for triggering an addition of an editing subtask, and / or removing a mark for the second editing subtask from the editing screen of the video editing task in response to a fourth operation for triggering a deletion of an editing subtask; Including, The at least one editing subtask includes an editing subtask having a mark displayed on an editing screen of the video editing task.
3. The method of claim 2 .
4. The third operation is a trigger operation for a mark of a third editing subtask displayed on an editing screen of the video editing task, In the editing screen of the video editing task, a mark of the first editing subtask is added to a position adjacent to a mark of the third editing subtask.
4. The method according to claim 3 .
5. generating a target video as an editing result of the video editing task based on editing results of each editing subtask of the video editing task, determining a combination scheme specified in the editing template, the combination scheme being for instructing a combination of the at least one editing subtask into the video editing task; Combining the editing results of each editing subtask of the video editing task according to the combination scheme to obtain the target video; 3. The method of claim 2, comprising:
6. The combination method is to combine the at least one editing subtask into the video editing task according to an arranged order.
6. The method of claim 5 .
7. determining a group specified in the editing template, and displaying editing subtasks specified in the editing template according to the specified group; displaying content presentation information or edit presentation information corresponding to the specified group; 3. The method of claim 2, further comprising:
8. If the target editing subtask is an editing subtask of a first type, a sound track clip formed based on the sound material is placed on an audio track in the editing track.
2. The method of claim 1 .
9. The audio material is obtained by synthesizing a spoken text, or the audio material is obtained by recording the spoken text using an audio collection device.
9. The method of claim 8.
10. The target editing subtask is an editing subtask specified in an editing template used for the video editing task, and the spoken text is obtained based on a first preset text specified for the target editing subtask by the editing template.
10. The method of claim 9.
11. Displaying the first preset text in a text editing area; In response to an editing operation in the text editing area, acquiring the text in the text editing area after the editing operation as the reading text; 11. The method of claim 10, further comprising:
12. A subtitle track clip formed based on a spoken text is placed on a subtitle track in the edit track, the audio material is a spoken audio of the spoken text, and the subtitle track clip and the audio track clip have aligned positions on the edit track along a time axis.
9. The method of claim 8.
13. If the target editing subtask is a second type editing subtask, the original video material is a recorded video captured by a shooting device; The method comprises: Displaying a capture screen having a text presentation area for displaying and / or editing the presentation text; In response to a shooting operation triggered on the shooting screen, dynamically playing the presented text during shooting and generating the recorded video based on the shot image; 2. The method of claim 1, further comprising:
14. The target editing subtask is an editing subtask specified in an editing template used for the video editing task, and the presented text is obtained based on a second preset text specified for the target editing subtask by the editing template.
14. The method of claim 13.
15. Displaying the second preset text in the text presentation area; In response to an editing operation in the text presentation area, acquiring text in the text presentation area after the editing operation as the presentation text; 15. The method of claim 14, further comprising:
16. If the target editing subtask is a third type editing subtask, the original video material includes at least a first video material and a second video material, and an image of the first video material and an image of the second video material are combined according to a specified concatenation layout to become an image of a third video material, and a video track clip formed based on the third video material is placed in a video track in the editing track.
2. The method of claim 1 .
17. obtaining the second video material and determining the concatenated layout; In response to a shooting trigger operation, during shooting, a shot image and an image of the second video material are linked based on the link layout, previewed, and recorded based on the shot image to generate the first video material; generating the third video material by combining the first video material and the second video material based on the concatenated layout; 20. The method of claim 16, further comprising:
18. generating a target video as an editing result of the video editing task based on editing results of each editing subtask of the video editing task, Acquiring original audio material; displaying, on an editing screen of the video editing task, an audio track clip formed based on the original audio material and a video track clip formed based on an editing result of each editing subtask of the video editing task; obtaining target audio material in response to an edit operation on the audio track clip; generating the target video based on editing results of each editing subtask of the video editing task and the target audio material; 2. The method of claim 1, comprising:
19. The editing screen of the video editing task further includes displaying a preview playback device for previewing and playing back a merged result of the editing results of each editing subtask of the video editing task.
2. The method of claim 1 .
20. Further comprising: acquiring and storing a target sub-video corresponding to the target editing sub-task according to an editing result of the target editing sub-task; In the target sub-video, the original video material is displayed according to an editing effect corresponding to the editing operation; 2. The method of claim 1 .
21. a creating module for creating at least one editing subtask for a video editing task; an edit capture module for retrieving source video material and displaying an edit screen of the target edit subtask in response to a first operation for triggering a target edit subtask, where an edit track is displayed on the edit screen of the target edit subtask and a video track clip formed based on the source video material is placed on a video track in the edit track, and the at least one edit subtask includes a target video edit subtask; an editing record module for recording editing operations triggered on the editing screen during editing of the target editing subtask and displaying indication marks of the editing operations on the editing track; an edit confirmation module for generating an edit result of the target edit subtask based on the recorded information of the editing operation and the original video material in response to a second operation for confirming completion of the target edit subtask; a video generation module for generating a target video as an editing result of the video editing task based on the editing results of each editing subtask of the video editing task, the video generation module being configured to display the source video material in accordance with an editing effect corresponding to the editing operation in the target video; A video editing device comprising:
22. one or more processors; a storage device for storing one or more programs; The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the video editing method of claim 1.
1. An electronic device comprising:
23. comprising computer executable instructions for performing the video editing method of claim 1 when executed by a computer processor. A storage medium comprising:
24. A method for performing a video editing method according to claim 1, when executed by a computer processor. A computer program comprising:
Citation Information
Patent Citations
Processing method and device for short video data and electronic equipment
CN109547841A
Video material processing method and device and storage medium
CN110139159A
Efficient video distributed scheduling synthesis method
CN111221657A
Video production method and device, electronic equipment and storage medium
CN113923515A
Video association method and device, electronic equipment and storage medium
CN114286198A