Video editing method, device, electronic device and readable storage medium
The video editing method simplifies the editing process by using templates to guide the addition of operations to video segments, enhancing editing efficiency by allowing users to work with composite segments.
Patent Information
- Application Number
- JP2023578683
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2022-12-21
- Filing Date
- 2023-12-14
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2043-12-14
AI Technical Summary
Existing video editing applications require users to manually adjust and combine video segments within editing templates, leading to low editing efficiency due to the complexity of operations.
A video editing method that utilizes a template to guide the addition of specified editing operations to video segments, allowing users to import video materials into designated segments, combine them with directed operations, and form composite segments, which are then added to the editing track.
This method simplifies the editing process by enabling users to perform operations on composite segments, improving editing efficiency and reducing the complexity of manual adjustments.
Smart Images

Figure 2025501820000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to the field of video processing technology, and in particular to a video editing method, device, electronic device and readable storage medium. [Background technology]
[0002] With the continuous and rapid development of Internet technology, more and more users prefer to record their lives in the form of videos, and users always prefer to edit multiple video materials into one video with rich visual effects.
[0003] In order to facilitate the user's editing and reduce the requirement for the user's video editing skills, some video editing applications provide users with video editing templates, and the user can import the video material to be edited and use the editing operations instructed by the video editing template to edit the video material and integrate it into one complete video. However, when using a video editing application to edit a video, the user generally imports the video material required for the video editing track instructed by the video editing template, and then enters the template editing page, where the user adjusts the video material in each video editing track or adds new editing operations on the template editing page, resulting in a relatively low editing efficiency. Therefore, how to further improve the efficiency of video editing using user video editing templates is currently an issue that needs to be urgently solved. Summary of the Invention [Problem to be solved by the invention]
[0004] To solve the above technical problems, the present disclosure provides a video editing method, apparatus, electronic device, and readable storage medium. [Means for solving the problem]
[0005] According to a first aspect, the present disclosure provides a method for video editing, comprising: Obtaining a video editing template for instructing to add designated editing operations to one or more designated video segments, wherein a composite segment corresponding to an edit track set can be obtained by combining the edit track segments of the one or more designated video segments and the edit track segments of the added designated editing operations; in response to a trigger operation to import video material, importing corresponding target video material into one or more designated video segments indicated by said video editing template; In response to a trigger operation to form a composite segment, combining the target video material imported into the one or more designated video segments with designated editing operations indicated by the video editing template to form a target composite segment, and adding the target composite segment to the first video editing track.
[0006] In some embodiments, in response to a triggering operation to import video material, importing corresponding target video material into one or more designated video segments indicated by the video editing template comprises: providing segment identifiers that correspond one-to-one to the one or more designated video segments; In response to a trigger operation on the segment identifier, adding the target video material to a designated video segment corresponding to the segment identifier.
[0007] In some embodiments, providing segment identifiers that correspond one-to-one to the one or more designated video segments comprises: providing a composite segment corresponding to the video editing template and adding the composite segment to the first video editing track; and in response to a trigger operation on the composite segment, presenting a segment identifier that corresponds one-to-one to the one or more designated video segments.
[0008] In some embodiments, the method further includes cutting the target video material imported into the designated video segment, clearing the target video material imported into the designated video segment, or replacing the target video material imported into the designated video segment.
[0009] In some embodiments, the method further includes displaying video edit tracks corresponding to each designated video segment and designated editing operation for forming the target composite segment in response to a trigger operation that unlocks a combination to the target composite segment.
[0010] In some embodiments, the method further includes editing text content corresponding to text editing operations indicated by the video editing template.
[0011] In some embodiments, the method further comprises replacing audio material used in the video editing template.
[0012] In some embodiments, the method further includes, in response to a trigger operation for compositing the target composite segment, video compositing the target video material and the added specified editing operations in each edit track segment included in the target composite segment to obtain a composite video.
[0013] According to a second aspect, the present disclosure provides a video editing apparatus, comprising: an acquisition module for acquiring a video editing template for instructing to add designated editing operations to one or more designated video segments, the acquisition module being capable of obtaining a composite segment corresponding to an edit track set by combining edit track segments of the one or more designated video segments and edit track segments of the added designated editing operations; In response to a trigger operation to import video material, importing corresponding target video material into one or more designated video segments indicated by the video editing template; and a processing module for responding to a trigger operation to form a composite segment by combining the target video material imported into the one or more designated video segments with designated editing operations indicated by the video editing template to form a target composite segment, and adding the target composite segment to the first video editing track.
[0014] According to a third aspect, the present disclosure provides an electronic device, the electronic device comprising: a memory; and a processor; the memory is configured to store computer program instructions; The processor is configured to execute the computer program instructions such that the electronic device implements the video editing method according to the first aspect and any one of the first aspects.
[0015] According to a fourth aspect, the present disclosure provides a readable storage medium comprising computer program instructions, the computer program instructions being executed by at least one processor of an electronic device such that the electronic device implements the video editing method according to any one of the first and second aspects.
[0016] According to a fifth aspect, the present disclosure provides a computer program product, the computer program product being executed by an electronic device such that the electronic device implements the video editing method according to any one of the first and second aspects. Effect of the Invention
[0017] The present disclosure provides a video editing method, apparatus, electronic device and readable storage medium, in which the method includes obtaining a video editing template, importing target video material into one or more designated video segments indicated by the video editing template, and in response to a trigger operation of further forming a composite segment, importing the target video material based on the one or more designated video segments, and combining the video editing operations indicated by the video editing template to form a target composite segment, and adding the target composite segment to a first video editing track. By combining the composite segment function with the video editing template, a user can perform editing operations on the entire composite segment, which improves the processing efficiency of the user performing video editing using the video editing template. [Brief description of the drawings]
[0018] The drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification serve to explain the principles of the present disclosure.
[0019] In order to more clearly describe the technical solutions in the embodiments or prior art of the present disclosure, the following briefly introduces drawings that need to be used in the embodiments or prior art description, and it is obvious that those skilled in the art can also derive other drawings based on these drawings without exerting creative efforts.
[0020] [Figure 1] 1 is a flowchart of a video editing method according to an embodiment of the present disclosure. [Diagram 2] 4 is a flowchart of a video editing method according to another embodiment of the present disclosure. [Diagram 3] 4 is a flowchart of a video editing method according to another embodiment of the present disclosure. [Figure 4A] FIG. 2 is a schematic diagram of an interaction interface according to the present disclosure. [Figure 4B] FIG. 2 is a schematic diagram of an interaction interface according to the present disclosure. [Figure 4C] FIG. 2 is a schematic diagram of an interaction interface according to the present disclosure. [Figure 4D] FIG. 2 is a schematic diagram of an interaction interface according to the present disclosure. [Figure 4E] FIG. 2 is a schematic diagram of an interaction interface according to the present disclosure. [Figure 4F] FIG. 2 is a schematic diagram of an interaction interface according to the present disclosure. [Figure 4G] FIG. 2 is a schematic diagram of an interaction interface according to the present disclosure. [Figure 4H] FIG. 2 is a schematic diagram of an interaction interface according to the present disclosure. [Figure 4I] FIG. 2 is a schematic diagram of an interaction interface according to the present disclosure. [Diagram 5] FIG. 1 is a structural diagram of a video editing device according to an embodiment of the present disclosure. [Figure 6] FIG. 1 is a structural diagram of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0021] In order to make the above objectives, features and advantages of the present disclosure more clearly comprehensible, the present disclosure will be further described below. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0022] In the following description, numerous specific details are set forth to facilitate a thorough understanding of the present disclosure; however, the present disclosure may be embodied in other ways different from those described herein, and it is apparent that the embodiments in the specification are merely some embodiments of the present disclosure, but not all embodiments.
[0023] For example, the video editing method according to the present disclosure may be implemented by a video editing device, which may be implemented in a software and / or hardware manner, or may be generally integrated into an electronic device, such as, but not limited to, a tablet PC, a wearable device, an augmented reality (AR) / virtual reality (VR) device, a notebook computer, a desktop computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc., and the present disclosure does not impose any limitation on the specific type of the electronic device.
[0024] In the following embodiments, the video editing method according to the present disclosure is described in detail by taking electronic devices as examples and combining drawings and application scenarios.
[0025] 1 is a flowchart of a video editing method according to an embodiment of the present disclosure. As shown in FIG. 1, the method of the present embodiment includes the following steps:
[0026] In S101, a video editing template is obtained, where the video editing template is used to instruct adding specified editing operations to one or more specified video segments, and a combination of the edit track segments of the one or more specified video segments and the edit track segments of the added specified editing operations can obtain a composite segment corresponding to an edit track set.
[0027] Here, the composite segment is a segment corresponding to an edit track set formed by combining edit track segments corresponding to one or more video segments and edit track segments corresponding to designated edit operations, and the edit track segments corresponding to each designated video segment and the edit track segments of the designated edit operations for forming the composite segment may be understood to maintain a certain relative positional relationship on the timeline, and the video material subsequently imported into each designated video segment and the designated edit operation indicated by the video editing template maintain a relative relationship in the positional interval covered on the timeline, respectively. By forming the composite segment, the material in each edit track segment in the edit track segment set can be manipulated as a whole, which is very convenient for the user. Note that the video editing template may include instruction information for indicating which designated video segments and which video editing operations applied to the designated video segments are used to form the composite segment.
[0028] Here, a video editing application (hereinafter, abbreviated as app) may be installed in the electronic device, and when the application is launched, a user may view template videos obtained by editing using different video editing templates, the template videos referred to here are videos created by creators using the video editing templates and published in the application, and the playback page of the template video may include a usage entry of the video editing template, and the user may input a trigger operation for the usage entry to trigger video editing using this video editing template, and here the trigger for the usage entry may be, but is not limited to, a type of operation such as clicking, double clicking, long pressing, swiping, etc.
[0029] The application responds to a trigger operation on the use entry of the video editing template to obtain the video editing template, and may obtain the video editing template from a local cache of the electronic device or from a service end. Note that the video editing template may include information such as the number, order, and duration of the designated video segments, information on the designated editing operation, and information on which video segment the designated editing operation is added to. Here, the designated video segment may be understood to be a video editing track segment to which no video material has been added, as indicated by the video editing template, and the number of the designated video segments may be one or more, and the present disclosure is not limited thereto, and the designated editing operation may include one or more operations such as an effect operation, a filter operation, a music operation, a text operation, and a music editing operation, but is not limited thereto.
[0030] At S102, in response to a trigger operation for importing video material, the corresponding target video material is imported into one or more designated video segments as indicated by the video editing template.
[0031] In some embodiments, when a user triggers the use of a video editing template, the application may display segment identifiers that correspond one-to-one to each designated video segment indicated by the video editing template, and the user may import video material into the designated video segment by manipulating the segment identifiers, where the segment identifiers may be implemented in any manner, such as by combining one or more of text, icons, images, etc., and the present disclosure is not limited thereto.
[0032] Here, the user may add the selected file to the video segment corresponding to the segment identifier by dragging the file from a local folder / media library to a location corresponding to the segment identifier, where the local folder location needs to be located in the application, or may invoke a local file filter to add the file to the video segment by manipulating the segment identifier, or may add video material to the video segment corresponding to the segment identifier via a material library provided by the application, where the material library may be a local material library or a cloud material library.
[0033] In some other embodiments, when a user triggers the use of a video editing template, the application can display a composite segment corresponding to the video editing template, and the user can manipulate the composite segment in the video editing track to trigger the application to display a segment identifier corresponding one-to-one to each designated video segment indicated by the video editing template, and the user can further manipulate the segment identifier to import video material into the designated video segment. Here, the edit track segment corresponding to each designated video segment in the edit track segment set corresponding to the composite segment corresponding to the video editing template may not have any video material added thereto, or may have pre-defined video material added thereto, and the pre-defined video material may be any material, for example, video material generated on the cover of the video editing template.
[0034] Here, the position interval covered by the composite segment in the first video editing track may include editing track segment identifiers corresponding to one or more designated video segments, and the editing track segment identifier of a designated video segment is operated to trigger the import of the target video material into the designated video segment, where the editing track segment identifiers corresponding one-to-one to each editing track segment in the editing track segment set are displayed in order according to their respective forward and backward positions on the timeline, and when overlapping, the editing track segment identifier corresponding to the editing track segment at a higher level in the hierarchy is displayed. Of course, the first video editing track may display editing track segment identifiers corresponding to some editing track segments, for example, the editing track segment identifiers of the editing track segments that need to import the video material are displayed, and the editing track segment identifiers corresponding to the editing track segments corresponding to the designated editing operations are hidden.
[0035] The application can respond to a trigger operation corresponding to an edit track segment identifier in the first video edit track, present segment identifiers corresponding one-to-one to each designated video segment for forming a composite segment, and position to the designated video segment selected by the user.
[0036] The video editing template may include instruction information for instructing which designated video segments and video editing operations applied to the designated video segments are used to form a composite segment. After obtaining the video editing template, the application determines, based on the instruction information, each designated video segment and the designated editing operations applied to the designated video segments to form a composite segment corresponding to the video editing template, and synchronously combines the designated video segments and the designated editing operations to obtain the composite segment.
[0037] The first video editing track is a video editing track corresponding to the composite segment, i.e., a video editing track in a synchronous combination of one or more designated video editing tracks indicated by the video editing template and the applied designated editing operations, and when the composite segment is released from the combination, the one or more designated video segments indicated by the video editing template and the applied designated editing operations each correspond to a respective second video editing track.
[0038] It should be noted that the first video editing track may include other video segments as dictated by the video editing template, such as video segments that the user does not have permission to edit. Of course, the first video editing track may include only composite segments, and the present disclosure is not limited thereto.
[0039] At S103, in response to a trigger operation to form a composite segment, the target video material imported into the one or more designated video segments is combined with a designated editing operation indicated by the video editing template to form a target composite segment, and the target composite segment is added to a first video editing track.
[0040] In some embodiments, a user can trigger the formation of a target composite segment by manipulating an associated control on a page provided by the application, and the application responds by combining the target video material imported by the user and specific editing operations dictated by a video editing template to form the target composite segment.
[0041] In some other embodiments, the target composite segment may be obtained by combining the target video material imported by the user, the pre-defined video material that is not replaced that is included in the composite segment corresponding to the video editing template, and the specified editing operations dictated by the video editing template.
[0042] It should be noted that, when combined, the edit track segments corresponding to each designated video segment and the edit track segments corresponding to the designated editing operations remain unchanged relative to each other on the timeline.Comparing the composite segment corresponding to the video editing template with the target composite segment, the difference is that the video material in some or all of the designated video segments has changed.
[0043] Once the target composite segment is added to the first video editing track, the user can perform editing operations on the entire target composite segment in the first video editing track.
[0044] The method of the present embodiment combines the compound segment function with the video editing template, so that when a user imports a target video material into a designated video segment indicated by the video editing template, and forms a compound segment and adds it to a corresponding video editing track, the user can perform editing operations on the entire compound segment, and the use of the compound segment can simplify complex editing items, thereby improving the processing efficiency of the user using the video editing template to edit videos. Note that, generally, the number of video materials and video editing operations forming the compound segment is more than one, and the number of video editing tracks corresponding to the compound segment is much less than the total number of video editing tracks respectively corresponding to the video materials and video editing operations for forming the compound segment, which can be seen from the above, the use of the compound segment can also simplify the elements displayed on the template editing page and improve the visual effect.
[0045] Based on the embodiment shown in FIG. 1 , the application may further include: a user may input a trigger to trigger the synthesis of a composite segment; and the application responds to the trigger operation to synthesize a target composite segment, and performs video synthesis of the video material contained in the target composite segment and the added specified editing operation to obtain a composite video.
[0046] 2 is a flowchart of a video editing method according to another embodiment of the present disclosure. As shown in FIG. 2, the method of this embodiment includes the following steps:
[0047] In S201, a video editing template is obtained, where the video editing template is used to instruct adding specified editing operations to one or more specified video segments, and a combination of the edit track segments of the one or more specified video segments and the edit track segments of the added specified editing operations can obtain a composite segment corresponding to an edit track set.
[0048] At S202, in response to a trigger operation to import video material, the corresponding target video material is imported into one or more designated video segments as indicated by the video editing template.
[0049] In S203, in response to a trigger operation to form a composite segment, the target video material imported into the one or more designated video segments is combined with a designated editing operation indicated by the video editing template to form a target composite segment, and the target composite segment is added to a first video editing track.
[0050] Steps S201 to S203 of this embodiment are similar to steps S101 to S103 of the embodiment shown in FIG. 1 respectively, and reference may be made to the detailed description of the embodiment shown in FIG. 1 above, and no further description will be given here.
[0051] In order to meet the diversified video editing needs of users, the application further supports users to re-edit the imported target video material, supports users to modify text editing operations instructed by the video editing template, supports users to modify music editing operations instructed by the video editing template, etc. Illustratively, after step S203, one or more of steps S204 to S206 may be performed.
[0052] At S204, editing is performed on the target video material imported into the designated video segment, the editing including one or more of cutting, clearing and replacing.
[0053] The application displays segment identifiers corresponding to each designated video segment for forming the first composite segment in an associated user interface, where the video segment into which the target video material is imported and the video segment into which the target video material is not imported may correspond to different video segment identifier formats, so that the user can easily distinguish between them, and the user can trigger the segment identifier corresponding to the video segment into which the target video material is imported to trigger entering a material editing page and edit the target video material using an editing assembly provided in the material editing page, etc.
[0054] In S205, edit the text content corresponding to the text editing operations indicated by the video editing template.
[0055] In some embodiments, an application may provide a preview playback area in which a user modifies text content corresponding to text editing operations.
[0056] In some other embodiments, the application may present an aggregation of all text editing operations dictated by the video editing template in the relevant area, for example arranged according to the order of addition, with each text editing operation corresponding to a text box and allowing the user to modify the text content in the text box.
[0057] In S206, the audio material used in the video editing template is replaced.
[0058] The application may present an aggregation of all audio addition operations dictated by the video editing template in an associated user interface area, for example arranging the added audio material or materials according to the order of addition, and the user may delete the audio material dictated by the video editing template and import target audio material that meets the user's expectations, where the target audio material may be used for the entire composite segment, allowing automatic cycling when the duration of the target audio material is insufficient.
[0059] The user can adjust the second composite segment by performing any one or more of steps S204 to S206 above, and can perform multiple repetitions until the desired effect is achieved, thereby re-triggering the updating of the composite segment in the first video editing track.
[0060] It should be clarified that steps S205 and S206 may be performed before step S202 or step S203.
[0061] Based on the embodiment shown in FIG. 2, the method may further include the following steps.
[0062] In S207, in response to a trigger operation for synthesizing the composite segment, the video material included in the composite segment in the first video edit track and the added designated editing operation are video-synthesized to obtain a composite video.
[0063] A user can input compositing instructions to the application by operating controls provided by the application that trigger compositing video, and the application responds to the compositing instructions by video compositing the video material contained in the composite segment in the first video edit track and the added specified editing operations to obtain a composite video.
[0064] 3 is a flowchart of a video editing method according to an embodiment of the present disclosure. As shown in FIG. 3, the method of this embodiment includes the following steps:
[0065] In S301, a video editing template is obtained, where the video editing template is used to instruct adding specified editing operations to one or more specified video segments, and a combination of the edit track segments of the one or more specified video segments and the edit track segments of the added specified editing operations can obtain a composite segment corresponding to an edit track set.
[0066] At S302, in response to a trigger operation for importing video material, the corresponding target video material is imported into one or more designated video segments as indicated by the video editing template.
[0067] In S303, in response to a trigger operation to form a composite segment, the target video material imported into the one or more designated video segments is combined with a designated editing operation indicated by the video editing template to form a target composite segment, and the target composite segment is added to a first video editing track.
[0068] Steps S301 to S303 of this embodiment are similar to steps S101 to S103 of the embodiment shown in FIG. 1, respectively, and reference may be made to the detailed description of the embodiment shown in FIG. 1 above, and no further description will be given here.
[0069] At S304, in response to a trigger operation that unlocks a combination to the target composite segment, a second video edit track is displayed that corresponds respectively to each video material and each video edit operation to form the target composite segment.
[0070] It may be understood that unlocking the synchronous combination of the target composite segment cancels the relative relationship in the timeline of each video material and each designated editing operation forming the target composite segment. Then, after unlocking the composite segment, the application can present a second video editing track corresponding to each video material and each designated editing operation one-to-one, the designated video segment corresponding to the video material is an editing track segment in the second video editing track, and the designated editing operation covers a corresponding range in the second video editing track, thus facilitating the user to adjust a single video material or a single designated editing operation, such as deleting a video material, deleting a designated editing operation, adjusting the coverage range of the designated editing operation in the timeline, etc., thereby meeting the demand of the user to adjust the video editing template and improving the flexibility of video editing.
[0071] In some cases, a user can exchange the authority to unlock a composite segment through a virtual resource that the user holds, and perform the trigger operation of the unlock after unlocking the authority. It should be understood that the authority can be obtained in other manners, and the present disclosure is not limited thereto.
[0072] The user can then adjust the video material in the second video edit track or a single designated edit operation and trigger the composite video.
[0073] Based on the above description, the video editing method according to the present disclosure will be described in detail in conjunction with the schematic diagrams of the interaction interfaces shown in Figures 4A to 4I. For ease of explanation, in Figures 4A to 4I, the electronic device is a laptop computer, a video editing tool (hereinafter, abbreviated as app 1) is installed in the laptop computer, and video editing is performed using a video editing template provided by app 1.
[0074] Referring to FIGS. 4A-I, FIGS. 4A-I are schematic diagrams of a human-computer interaction interface according to an embodiment of the present disclosure.
[0075] Here, the app 1 provides an entry for entering a template video aggregation page in different pages, the user can browse the template videos through the template video aggregation page and select a video editing template whose editing effect meets expectations, and a usage entry for the video editing template can be set in the window of the playing template video, and the user can trigger the use of the video editing template by operating the usage entry.
[0076] Illustratively, the template video aggregation page may be entered via an entry in the launchpad, or the edit page may be entered via the launchpad and then the template video aggregation page may be entered via an entry in the edit page.
[0077] Here, when the app 1 is launched, the user first enters the launch pad and displays a user interface 11 for presenting the launch pad shown in Fig. 4A on the electronic device. The user interface 11 includes a control 401 for entering a template video aggregation page. In response to a user's trigger operation (e.g., a click operation) on the control 401, the app 1 may display a user interface 12 shown in Fig. 4B on the electronic device, where the user interface 12 may include a window for the template video aggregation page (i.e., a feed stream page), a search box 402 may be displayed at the top of the page, the left area 403 displays a list section, and the right area 404 is the feed stream, i.e., an information stream of template videos that is continuously updated and presented to the user.
[0078] Here, the window size of the template video aggregation page may be, but is not limited to, 1055*704, the window may be switched to full screen state, may be zoomed in the manner of dragging, and may support position movement. Figure 4B shows the full screen state.
[0079] The search box 402 displayed in the window may be always located at the top of the window, and may display default text content "Search for the name / type of editing by the same type". When the search box 402 is clicked, text can be input. When the search box is clicked, the default text content is no longer presented. In order to allow the user to quickly find a desired video editing template, a recommended word may be presented to the user during the process of inputting the text content. The recommended word may be the name of a video editing template that is relatively frequently used. The user can select the recommended word by moving the mouse or by operating the up and down buttons on the external keyboard of the electronic device. By clicking the mouse or operating the confirmation button on the keyboard, the app 1 presents the search results obtained by searching based on the recommended word selected by the user. When the search results are presented, the left area 403 is not selected, and if an option in the left area 403 is reselected, the app 1 may be repositioned to the position last stored in the app 1.
[0080] The left area 403 may display category tags of the video editing templates, and may include one or more template category tags such as collection / favorite, purchased, recommended, popular, unlocked, stack points, opening, ending, slice of life, style blockbuster, vlog, etc. A user can view different types of video editing templates by switching between category options.
[0081] The right area 404 may be a feed stream and may be a landscape screen template by default. When a category is swiped to a certain position, a category tag or a module tag is switched, and when the category tag is returned to, if the feed page is not retrieved at this time, the positioning is still at the previously viewed position, and if the feed page has already been retrieved, there is no need to return to the previously viewed position. The cover of the template video may be presented in the area 404, and the cover may be zoomed in the ratio of the cover of the original template video to ensure that the cover is completely displayed. Below the cover, the name of the video editing template or other information (e.g., editing effect) may be presented, and one line may be presented to reduce the amount of space occupied by the name of the video editing template, and the part that cannot be displayed beyond one line may be represented using an ellipsis. Information such as the amount of use of the video editing template and the duration of the template video may be presented. When the mouse is hovered over the cover of a certain template video, a collection button may be displayed to facilitate the user to make the corresponding video editing template into a collection. A download button may be displayed to facilitate the user to download the corresponding video editing template.
[0082] Area 404 further includes a control 405 for triggering filtering of the video editing template, where the user can perform filtering by setting filtering conditions, such as the number of video segments, template duration, and so on.
[0083] It should be explained that when entering a category tag for the first time, the app 1 may load the feed content corresponding to this category tag, and if the process is unexpectedly terminated during loading, the app 1 may reload the feed content corresponding to this category tag when entering this category tag, and may manually click refresh, for example, click refresh on the page of a single category tag to refresh the current list content, and if loading fails, a prompt may be displayed, for example, "There is a network abnormality, please try again". Or the feed content may be divided and loaded, and a preset number of feed contents may be loaded each time, and the next feed content may be loaded during the user's browsing process, and the loading style may be displayed at the bottom of the page, and if loading fails, a prompt may be displayed at the bottom, saying "More will be loaded", and clicking the prompt or continuing the drop-down once will trigger reloading. In some cases, the content may not be loaded any more, and then a prompt may be displayed at the bottom, saying "No more content". In some cases, it may appear that the feed content has not been successfully loaded even after a preset time period, and then a prompt may be displayed, saying "Loading timed out, please try again". In some cases, there may be a situation where there is no feed content under a certain category tag, and the app 1 may not be able to load the feed content, in which case a prompt message "There is temporarily no content, please click to try again" may be displayed, and clicking can re-populate the category list, allowing the user to select other category tags to view video editing templates.
[0084] When a user hovers a mouse over the cover of a template video, the content of the template video can be played at the corresponding position and can be looped. When a user clicks on the cover of the template video, the application 1 can display a user interface 13 shown in FIG. 4C on the electronic device, which is used to play the template video and support streaming preview.
[0085] When the mouse is moved over the playback area 406, the application 1 can display a progress bar, a play / pause button, and a full screen button, and when the mouse is moved away from the playback area 406, the progress bar, the play / pause button, and the full screen button are no longer displayed.
[0086] The user interface 13 may also present one or more pieces of information including the name of the creator of the template video, an avatar, a template title, a duration, an amount of material, an amount used, an amount of collection, a subtitle, and a collection button.
[0087] User interface 13 further includes a close button 407, which, when clicked, returns to displaying the page shown in FIG. 4B.
[0088] The user interface 13 further includes an entry 408, and when the app 1 receives a trigger operation on the entry 408, it obtains information of the video editing template and enters a template editing page, and if the download of the video editing template fails, the app 1 can present the user with the presentation information "Failed to load template, please try again".
[0089] The above Fig. 4A to Fig. 4C show the implementation of triggering the use of a video editing template via the launchpad, and then Fig. 4D to Fig. 4E show the implementation of triggering the use of a video editing template via the edit page.
[0090] The user interface 11 shown in FIG. 4A includes a control 409 for entering an edit page, and when the user clicks on the control 409 with a mouse, the electronic device can display the user interface 14 for displaying the edit page shown in FIG. 4D.
[0091] 4D , the user interface 14 includes an area 410, an area 411, an area 412, and an area 413. The area 410 is used to present a material panel, which mainly provides functions related to media, audio, text, stickers, effects, transitions, filters, and templates, and the material panel may include tags corresponding to the above various functions, and the related functions are used by clicking the related tags, where the area 410 includes a tag 414 corresponding to the template.
[0092] The area 411 is a preview playback area for a user to preview an editing effect, and the area 411 may include a playback timeline, and display a playback progress, a play / pause button, a full screen button, a zoom in / zoom out playback screen button, and a screen width ratio setting button. The area 412 is used to present a parameter panel, and the parameter panel can display different related parameters in different cases, for example, the parameter panel can set a draft name, a save location, a resolution, a draft frame rate, an import method, etc. in some cases. It should be noted that if a user has not imported a video material to the timeline, the parameter panel can display editing draft related parameters and provide a modification function, and if a user has imported a video material to the timeline, the parameter panel can display and set related editing parameters, such as screen, audio, speed, video, tracking, adjustment, etc. Area 413 is mainly used to display an editing operation panel, and can display video editing tracks and related editing tools such as split, retract, restore, delete, reverse, mirror, rotate, cut, record, turn off main editing track magnetic attraction, turn off automatic attraction, turn off interlocking, turn on preview axis, zoom timeline, etc. In FIG. 4D , the relevant control layout is not shown for areas 411 to 413, and in actual applications, the panel layout in areas 411 to 413 can be set as needed and implemented in any manner, and the present disclosure is not limited thereto.
[0093] When the user clicks control 414 with the mouse, app 1 updates the interface, and the material panel in the updated user interface is as shown in FIG. 4E, and the player, parameter panel and editing operation panel can continue to display the content shown in the embodiment shown in FIG. 4D at this time.
[0094] As shown in FIG. 4E, the area 415 included in the area 410 displays template category tags, such as collection / favorite, unlocked, recommended, stack point, opening, ending, daily snippet, style blockbuster, and vlog tags. The area 415 may further include a material pack tag, and the user can import target video materials in various ways by the material pack tag. The area 410 may display a search box 416, an area 417, and a filtering entry 418, and the area 417 is used to aggregate and present template videos, and the area 417 may include the cover of each template video, and when a user selects a template video and clicks the template video with a mouse, the content of the template video is played in the area 411. Here, when a user moves the mouse to the position of the template video, a collection and an add button corresponding to the template video may be presented, and the user can add the template video to the collection list by clicking the collection button with the mouse, and can trigger the use of the video editing template corresponding to the template video by clicking the add button with the mouse. Alternatively, the use of the video editing template corresponding to the template video may be triggered by dragging. Here, when the mouse is placed over the cover area of the template video, the app 1 will not automatically download the resource bundle (i.e., will not automatically download the video editing template). When a video editing template that has not been downloaded or whose requested resources have not been downloaded is dragged to the timeline, a download status message, such as "Editing by the same type is downloading", may be displayed, and if the download fails, a message, such as "Download failed, click to retry", may be displayed.
[0095] 4D-4E show an implementation of triggering the use of a video editing template by an entry on an edit page.
[0096] When the use of the video editing template is triggered in any one of the above ways, the following flow is entered: Illustratively, the app 1 displays the user interface 16 shown in Fig. 4F on the electronic device.
[0097] As shown in FIG. 4F, the user interface 16 includes an area 419, an area 420, an area 421, and an area 422. Here, the area 419 is used to present a material panel, where the material panel can display a media module and an audio module, where the media module can realize the import of video material, where the video material can be imported from local, imported from cloud material, or imported from a material library provided by the application 1, and the audio module can realize the import of audio material, where the video material can be imported from local, or based on the audio material of the collection. The area 419 can include a tag 423 corresponding to the media module and a tag 424 corresponding to the audio module. Upon entering the user interface 16, the material panel can be positioned under the local category tag of the media module by default. The area 425 included in the area 419 can present material identifiers under each category tag, such as the cover of the media material, the name of the media material, the duration, and the addition status. Area 425 may further include display formats (for example), sorting and configuration of associated controls (not shown) for displaying certain types of media material.
[0098] Area 420 is a preview playback window that facilitates users to preview the editing effect, and may present time information, a playback progress bar, a play / pause button, and a full screen button.
[0099] Area 421 is used to present a parameter panel, which is used to display text content corresponding to the text editing operations dictated by the video editing template and audio employed by the video editing template, which may include text tags and audio tags, and is used to toggle between displaying the text content and audio material of each paragraph used in the video editing template.
[0100] Area 422 is used to present the video editing track, in which the first composite segment is added, and the pre-defined video material added to each designated video segment to form the first composite segment can be generated based on the cover image of the template video. Area 422 can also display controls such as retract, advance, replace, delete, cutting duration, cutting, mirroring, rotation, etc.
[0101] The position interval that the first composite segment covers on the timeline of the video editing track may include position intervals corresponding to each video material, and when the user positions the mouse on the first composite segment, presentation information can be displayed to inform the user that the pre-set video material in the corresponding video segment can be replaced based on the current mouse hover position, and when the user performs a click operation with the mouse, the app 1 can display a user interface 17 shown in FIG. 4G on the electronic device.
[0102] 4G, the area 422 displays segment identifiers corresponding to each designated video segment forming a composite segment, the segment identifiers where the pre-defined video material is not replaced / the target video material is not imported may be displayed in a default manner, and the segment identifiers where the pre-defined video material is replaced / the target video material is imported may adopt a reduced version of the target video material. It should be noted that, according to the user interface 17, when the target video material is not imported, clicking the play button in the area 420 can play a preview screen for generating the pre-defined video material from the cover of the template video and performing the designated editing operation on the pre-defined video material.
[0103] Here, the user can determine which video segment the user triggers to replace the video material according to the trigger operation in the video editing track, and the segment identifier corresponding to this video segment can be positioned when displaying FIG. 4G. In the user interface 17, the user can switch the segment identifier selected with the mouse. The replacement of the preset video material in the designated video segment corresponding to the segment identifier can be realized in one of the following ways: dragging a file from a local folder / media library to the segment identifier to replace it, and if the time length of the dragged file (material) is too short to meet the video segment request, a presentation information "material is too short to be replaced" is displayed, and the dragging of the local file needs to be positioned to the corresponding area away from the mouse, and when positioned to the corresponding area, the mouse is in an added state, or dragging a file from a local folder, and the local folder needs to be maintained to be located in the app 1, but is not limited thereto. Click the segment identifier with the mouse to call up the local file filter to select and confirm the file to replace it; if the duration of the material is too short to meet the video segment requirement, a message will be displayed stating "material is too short to replace"; after selecting the file, click the replace tool in the toolbar to replace the video material; Click the add button corresponding to the material from the material panel to add it to the specified video segment corresponding to the first unreplaced segment identifier by default; Select an undownloaded material from the material panel to add it to the material panel, and a loading video will be displayed; if the download fails, a retry button will be displayed.If the video material is a cloud material, it will be automatically downloaded when the mouse is hovered over the cloud material, and it supports dragging the cloud material to the segment identifier when it is not downloaded. A loading prompt, such as "Material downloading", will be displayed at the position corresponding to the segment identifier. If the download fails, a prompt will be displayed saying "Download failed, please click to try again".
[0104] Since there may be a mismatch between the duration of the imported video material and the specified video segment, after replacement a segment of the corresponding duration from the opening of the video material may be selected by default as the target video material in the specified video segment.
[0105] When the user clicks to select and position on a certain segment identifier, the right click of the mouse may trigger the application 1 to display a menu, which may include an option to replace from local, an option to adjust segment time length, an option to cut video material, and an option to delete, and the user can adjust the target video material in the specified video segment corresponding to the segment identifier through the menu. When adjusting the segment time length, the user interface may display a user interface 18 shown in FIG. 4H, which includes a trimming window, in which a preview screen of the video material is displayed above the trimming window, and a timeline is displayed below the trimming window, and the time range covered by the target video material cut by the cut frame is marked, and the cut target video material can be adjusted by dragging the position of the cut frame, and the adjustment of the segment time length can be completed by clicking a confirmation button in the window. When cutting video material, the window shown in Figure 4I may be displayed, with a cutting and editing area displayed at the top, allowing the user to cut the screen of the video material by adjusting the size of the cutting frame in the cutting and editing area, and a control for adjusting the rotation angle, a control for selecting the cutting ratio, and a reset button may be displayed near the bottom of the window.
[0106] After replacing the pre-defined video material in one or more video segments, the user can customize the playback to begin at the beginning of the composite segment by clicking the play button in area 420, and when the video material corresponding to the specified video segments is played, the corresponding segment identifier is automatically highlighted, and if the specified video segments overlap in time, the segment identifier corresponding to the specified video segment higher in the hierarchy is selected and highlighted by default.
[0107] Moreover, when a certain segment identifier is selected, the parameter panel can present a volume control button to support adjusting the volume size of the audio in this specified video segment.
[0108] The area 422 may include a confirmation button, and when the user operates the button with the mouse, a target composite segment is formed based on the target video material imported into each designated video segment by the user and the designated editing operation applied to the designated video segment, and adding to the video editing track corresponds to forming the target composite segment and importing the target composite segment into the current editing draft. When the app 1 detects the presence of unreplaced pre-defined video material, after the user clicks the confirmation button with the mouse, the app 1 can display a pop-up window to present "There is unreplaced material, do you want to continue?" and provide a cancel button and a confirm button, and when the user clicks the confirmation button with the mouse, it enters into the normal draft, and when the user clicks the cancel button, it returns to the template editing page.
[0109] Based on the embodiment shown in Fig. 4G, a user can trigger the region 421 to display the text content of each paragraph used in the video editing template by selecting a text tag in the region 421, and the text content of each paragraph corresponds to a text box, and the user can modify the text content in the text box by clicking the text box with the mouse. Or the user can modify the text content by operating the operation region 420 and double-clicking the text content previewed in the region 420, and the region 421 will automatically position to the corresponding text and update accordingly.
[0110] According to the embodiment shown in FIG. 4G, a user can trigger area 421 to display identifiers of the audio material used in the video editing template by selecting an audio tag in area 421, and can further use corresponding controls to delete and import new audio material as desired to replace it.
[0111] Note that if you enter the video editing template from the feedstream but have not completed the initial edits, you will be returned to the feedstream interface by default after closing the panel; if you enter the video editing template from the feedstream and have completed the initial edits, you will be returned to the launchpad interface after closing the panel; if you add a video editing template from the materials panel, you will be returned to the launchpad interface after closing the panel.
[0112] In some cases, the user can also unlock the draft, and the unlock report may be understood as unlocking and presenting all video editing tracks, which is equivalent to releasing the relative relationship in the timeline of all video materials and designated editing operations that form the composite segment; when the user triggers the unlock, the presentation information "Unlocking the draft will expand the composite segment" can be displayed; after the user confirms the unlock and completes the unlock flow, the app 1 can expand the composite segment and display the video tracks corresponding to each video material and designated editing operation, and the user can independently adjust the video materials and designated editing operations, which is equivalent to the user adjusting the video editing template, thereby meeting the editing needs of the user.
[0113] Combining the embodiments shown in FIG. 4A-FIG. 4I, the present disclosure combines a video editing template with a compound segment function, so that when a user imports a target video material into a designated video segment indicated by a video editing template, forms a compound segment and adds it to a corresponding video editing track, the user can edit the entire compound segment, and the use of the compound segment can simplify complex editing items, thereby improving the processing efficiency of the user using the video editing template to perform video editing. Note that, generally, the number of video materials and video editing operations forming a compound segment is more than one, and the number of video editing tracks corresponding to the compound segment is much less than the total number of video editing tracks respectively corresponding to the video materials and video editing operations for forming the compound segment, so that it can be seen that the use of the compound segment can also simplify the elements displayed on the template editing page and improve the visual effect. Note that, the ability of user unlock draft is also reserved, which makes it easy for users to adjust the video editing template, meets the editing needs of users, and improves the editing experience.
[0114] 5 is a structural diagram of a video editing device according to an embodiment of the present disclosure. As shown in FIG. 5, the video editing device 500 according to the present embodiment includes: an acquisition module 501 for acquiring a video editing template for instructing to add designated editing operations to one or more designated video segments, the acquisition module 501 being capable of obtaining a composite segment corresponding to an edit track set by combining the edit track segments of the one or more designated video segments and the edit track segments of the added designated editing operations; a processing module 502 for, in response to a trigger operation to import video material, importing corresponding target video material into one or more designated video segments indicated by the video editing template, and, in response to a trigger operation to form a composite segment, combining the target video material imported into the one or more designated video segments with a specified editing operation indicated by the video editing template to form a target composite segment, and adding the target composite segment to the first video editing track.
[0115] In some embodiments, the processing module 502 is specifically used to control the video editing device 500 to present segment identifiers that correspond one-to-one to the one or more video segments, and the processing module 502 is further used to add target video material to a designated video segment corresponding to the segment identifier in response to a trigger operation on the segment identifier.
[0116] In some embodiments, the processing module 502 is specifically used to obtain a composite segment corresponding to the video editing template, add the composite segment to the first video editing track, and in response to a trigger operation on the composite segment, control the video editing device 500 to present a segment identifier that corresponds one-to-one to the one or more specified video segments.
[0117] In some embodiments, the processing module 502 is further used to cut the target video material imported into the designated video segment, clear the target video material imported into the designated video segment, or replace the target video material imported into the designated video segment.
[0118] In some embodiments, the processing module 502 is further adapted to display video edit tracks corresponding to each designated video segment and designated editing operation for forming the target composite segment in response to a trigger operation that unlocks a combination to the target composite segment.
[0119] In some embodiments, the processing module 502 is further used to edit text content corresponding to text editing operations dictated by the video editing template.
[0120] In some embodiments, the processing module 502 is further used to replace audio material used in the video editing template.
[0121] In some embodiments, the processing module 502 is further configured to, in response to a trigger operation for compositing the target composite segment, perform video compositing of the target video material and the added specified editing operations in each edit track segment included in the target composite segment to obtain a composite video.
[0122] The video editing apparatus according to this embodiment may be used to realize the technical solution of any one of the above-mentioned method embodiments, and the realization principles and technical effects thereof are similar, and reference may be made to the detailed description of the above-mentioned method embodiments, and for the sake of conciseness, no further description will be given here.
[0123] 6 is a structural diagram of an electronic device according to an embodiment of the present disclosure. As shown in FIG. 6, an electronic device 600 according to this embodiment includes a memory 601 and a processor 602.
[0124] Here, the memory 601 may be an independent physical unit, or may be connected to the processor 602 via a bus 603. The memory 601 and the processor 602 may be integrated and realized by hardware or the like.
[0125] The memory 601 is used to store program instructions, which the processor 602 calls to perform the operations of any one of the above method embodiments.
[0126] Alternatively, when some or all of the methods of the above embodiments are realized by software, the electronic device 600 may include a processor 602. A memory 601 for storing a program is located outside the electronic device 600, and the processor 602 is connected to the memory via a circuit / wire and is used to read and execute the program stored in the memory.
[0127] The processor 602 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and a NP.
[0128] The processor 602 may further include a hardware chip, which may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.
[0129] The memory 601 may include volatile memory, such as random-access memory (RAM), the memory may also include non-volatile memory, such as flash memory, a hard disk drive (HDD) or a solid-state drive (SSD), the memory may also include a combination of the above types of memory.
[0130] An embodiment of the present disclosure further provides a readable storage medium, which includes computer program instructions, which, when executed by at least one processor of an electronic device, realizes a video editing method as shown in any one of the method embodiments described above.
[0131] An embodiment of the present disclosure further provides a computer program product, the computer program product including computer program instructions, the computer program instructions being stored in a readable storage medium, at least one processor of the electronic device being capable of reading the computer program instructions from the readable storage medium, and the at least one processor executing the computer program instructions such that the electronic device realizes a video editing method as illustrated in any one of the method embodiments above.
[0132] It should be explained that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that any such actual relationship or order exists between these entities or operations. And, the terms "comprise", "include", or any other variant thereof are intended to cover a non-exclusive "comprise", whereby a process, method, article or device that includes a set of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent in such process, method, article or device. In the absence of further limitations, an element limited by the phrase "comprises a" does not exclude the presence of other identical elements in the process, method, article or device that includes said element.
[0133] The above are merely specific embodiments of the present disclosure that enable those skilled in the art to understand or realize the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these embodiments described herein, but should be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. 1. A video editing method comprising the steps of: Obtaining a video editing template for instructing to add designated editing operations to one or more designated video segments, wherein a composite segment corresponding to an edit track set can be obtained by combining the edit track segments of the one or more designated video segments and the edit track segments of the added designated editing operations; in response to a trigger operation to import video material, importing corresponding target video material into one or more designated video segments indicated by said video editing template; in response to a trigger operation to form a composite segment, combining the target video material imported into the one or more designated video segments with designated editing operations indicated by the video editing template to form a target composite segment, and adding the target composite segment to a first video editing track.
2. In response to a trigger operation to import video material, importing corresponding target video material into one or more designated video segments indicated by the video editing template includes: presenting segment identifiers that correspond one-to-one to the one or more designated video segments; 2. The method of claim 1, further comprising: in response to a trigger operation on the segment identifier, adding the target video material to a designated video segment corresponding to the segment identifier.
3. Presenting segment identifiers that correspond one-to-one to the one or more designated video segments includes: obtaining a composite segment corresponding to the video editing template and adding the composite segment to the first video editing track; 3. The method of claim 2, further comprising: in response to a trigger operation on the composite segment, presenting a segment identifier that corresponds one-to-one with the one or more specified video segments.
4. 2. The method of claim 1, further comprising cutting the target video material imported into the designated video segment, clearing the target video material imported into the designated video segment, or replacing the target video material imported into the designated video segment.
5. 2. The method of claim 1, further comprising: in response to a trigger operation that unlocks a combination to the target composite segment, displaying video edit tracks respectively corresponding to each designated video segment and designated editing operation for forming the target composite segment.
6. The method of claim 1 , further comprising editing text content corresponding to text editing operations indicated by the video editing template.
7. The method of claim 1 , further comprising replacing audio material used in the video editing template.
8. The method of claim 1 , further comprising: in response to a trigger operation for synthesizing the target composite segment, video synthesizing the target video material and the added specified editing operations in each edit track segment included in the target composite segment to obtain a composite video.
9. an acquisition module for acquiring a video editing template for instructing to add designated editing operations to one or more designated video segments, the acquisition module being capable of obtaining a composite segment corresponding to an edit track set by combining edit track segments of the one or more designated video segments and edit track segments of the added designated editing operations; a processing module for, in response to a trigger operation to import video material, importing corresponding target video material into one or more designated video segments indicated by the video editing template, and forming a composite segment, in response to a trigger operation to combine the target video material imported into the one or more designated video segments with a specified editing operation indicated by the video editing template to form a target composite segment, and adding the target composite segment to a first video editing track.
10. A memory and a processor are included, the memory is configured to store computer program instructions; An electronic device, wherein the processor is configured to execute the computer program instructions such that the electronic device implements a video editing method according to any one of claims 1 to 8.
11. Contains computer program instructions, A readable storage medium, wherein at least one processor of an electronic device executes the computer program instructions such that the electronic device implements the video editing method according to any one of claims 1 to 8.
12. A computer program product, executed by an electronic device such that said electronic device implements the video editing method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Video editing method and device, equipment and storage medium
CN115442539A
Dual mode type time line interface
JP2004040767A
Interface for indicating video editing decisions
US11430484B1
Software-based Method for Assisted Video Creation
US20100223128A1
Media-Editing Application with Media Clips Grouping Capabilities
US20120210231A1