Material editing method and apparatus, and electronic device, storage medium and program product
By setting up functional modules within the video editing interface and utilizing feature parameters and multimodal models to automatically edit footage, the problem of low editing efficiency and poor results in video editing applications is solved, achieving an efficient and automated footage editing process.
Patent Information
- Application Number
- PCT/CN2026/097767
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-20
- Filing Date
- 2026-05-19
- Publication Date
- 2026-11-26
AI Technical Summary
In video editing applications, the editing process is inefficient and the editing effect of the footage is poor. This is mainly because the editing process relies on the user's observation and editing experience, which leads to low efficiency and poor results.
By setting up functional modules within the video editing interface and utilizing feature parameters that characterize the editing method, the system can automatically edit the footage and replace the original footage with the automatically edited result. By combining a multimodal model to configure and process feature parameters, it can generate efficient editing results.
It improves the efficiency of editing operations and the effect of material editing, realizes an automated and efficient editing process, and enhances user interaction efficiency and the matching degree of the edited content.
Smart Images

Figure CN2026097767_26112026_PF_FP_ABST
Abstract
Description
Material editing methods, devices, electronic devices, storage media and program products
[0001] Cross-references to related applications
[0002] This application claims priority to Chinese Patent Application No. 202510655594.8, filed on May 20, 2025, the disclosure of which is incorporated herein by reference in its entirety. Technical Field
[0003] At least one embodiment of this disclosure relates to a material editing method, apparatus, electronic device, storage medium, and program product. Background Technology
[0004] Currently, video editing applications (APPs) or video editing platforms typically use a timeline and media tracks to perform editing operations such as configuring, cutting, and combining media. Finally, the edited media on the media tracks are used to render and generate the final video work.
[0005] Editing the footage on the media track is one of the fundamental steps in editing media. The process of editing media is usually based on the user's observation of the media and editing experience. Therefore, the editing process suffers from low efficiency and poor editing results. Summary of the Invention
[0006] At least one embodiment of this disclosure provides a method, apparatus, electronic device, storage medium, and program product for editing materials, to overcome the problems of low efficiency in editing operations and poor material editing effects.
[0007] At least one embodiment of this disclosure provides a method for editing materials, including:
[0008] The video editing interface is displayed, and a first material track is set in the video editing interface, and a first material is set in the first material track;
[0009] In response to a first trigger operation on the video editing interface, a function module interface is displayed, wherein a first function module is provided in the function module interface, and the first function module is used to automatically edit the first material based on feature parameters representing the editing method.
[0010] In response to a second trigger operation on the first functional module, the first material in the first material track is replaced with a second material, the second material being the result of the first functional module automatically editing the first material.
[0011] At least one embodiment of this disclosure provides a material editing apparatus, including:
[0012] The display module is used to display the video editing interface, which includes a first material track and a first material.
[0013] The first functional module is used to display the functional module interface in response to a first trigger operation on the video editing interface. The functional module interface is provided with a first functional module, which is used to automatically edit the first material based on feature parameters representing the editing method.
[0014] The second functional module, in response to a second trigger operation on the first functional module, replaces the first material in the first material track with a second material, wherein the second material is the result of the first functional module automatically editing the first material.
[0015] At least one embodiment of this disclosure provides an electronic device, including: a processor and a memory;
[0016] The memory stores computer-executable instructions;
[0017] The processor executes computer-executable instructions stored in the memory, causing the at least one processor to perform the video editing method described in the various possible designs above.
[0018] At least one embodiment of this disclosure provides a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the video editing method described in the various possible designs above.
[0019] At least one embodiment of this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the video editing method described in the various possible designs above. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in at least one embodiment of this disclosure, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 is an application scenario diagram of the material editing method provided by at least one embodiment of this disclosure;
[0022] Figure 2 is a flowchart illustrating a material editing method provided in at least one embodiment of this disclosure;
[0023] Figure 3 is a schematic diagram of an automatic cropping process for a first material provided in at least one embodiment of the present disclosure;
[0024] Figure 4 is a flowchart of the specific implementation of step S103 in the embodiment shown in Figure 2;
[0025] Figure 5 is a schematic diagram of a process of replacing the first material in the first material track with the second material according to at least one embodiment of the present disclosure;
[0026] Figure 6 is a schematic flowchart of a material editing method provided in at least one embodiment of this disclosure;
[0027] Figure 7 is a schematic diagram of a functional module interface provided in at least one embodiment of this disclosure;
[0028] Figure 8 is a flowchart of the specific implementation method of inserting the additional material generated by the second functional module into the second material track of the video editing interface in step S204;
[0029] Figure 9 is a schematic diagram of the execution process of an automatic processing link provided by at least one embodiment of this disclosure;
[0030] Figure 10 is a flowchart of the specific implementation of step S2042 in the embodiment shown in Figure 8;
[0031] Figure 11 is a structural block diagram of a material editing device provided in at least one embodiment of the present disclosure;
[0032] Figure 12 is a schematic diagram of the structure of an electronic device provided in at least one embodiment of the present disclosure; and
[0033] Figure 13 is a schematic diagram of the hardware structure of an electronic device provided in at least one embodiment of this disclosure. Detailed Implementation
[0034] To make the objectives, technical solutions, and advantages of at least one embodiment of this disclosure clearer, the technical solutions of at least one embodiment of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this disclosure, not all embodiments. Based on the embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this disclosure.
[0035] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and corresponding operation portals are provided for users to choose to authorize or refuse.
[0036] The application scenarios of at least one embodiment of this disclosure are explained below:
[0037] The material editing method provided in at least one embodiment of this disclosure can be applied to applications (APPs) with video editing functions, such as video editing applications and short video applications. More specifically, it can be applied to application scenarios where materials on a material track are processed within a video editing application. The execution subject of this embodiment can be a terminal device running the aforementioned application with video editing functions, a server deploying the server corresponding to the aforementioned application, or other electronic devices that perform similar functions. Specifically, when the execution subject is a terminal device, the terminal device executes the method provided in this embodiment by running the aforementioned application; when the execution subject is a server, the server of the aforementioned application with video editing functions can run partially or entirely on the server, and the method provided in this embodiment is executed on the server side, while the terminal device runs the client of the application. Communication between the server and the terminal device is based on server-client communication, thereby enabling the terminal device to obtain the execution result of the method provided in this embodiment and display it as needed.
[0038] In some embodiments, the terminal device or server can implement the material editing method provided in at least one embodiment of this disclosure by running various computer-executable instructions or computer programs. For example, computer-executable instructions can be program-level commands, machine instructions, or software instructions. Computer programs can be native programs or software modules in an operating system; they can be local applications, i.e., programs that need to be installed in the operating system to run, or mini-programs embedded in any APP, i.e., programs that run in a browser environment. In summary, the aforementioned computer-executable instructions can be any form of instruction, and the aforementioned computer programs can be any form of application, module, or plugin; the specific implementation can be configured as needed. Furthermore, in implementing the material editing method provided in at least one embodiment of this disclosure, the terminal device can execute the method by running computer-executable instructions or computer programs set locally, or by calling computer-executable instructions or computer programs set in an external server. In some embodiments, the server may be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud storage, cloud communication, cloud database, cloud computing, cloud functions, network services, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms. Among these, cloud services may be interactive processing services that can be invoked by terminal devices.
[0039] Figure 1 illustrates an application scenario of the material editing method provided in at least one embodiment of this disclosure. Referring to Figure 1, taking a terminal device as an example, the terminal device runs a target application with editing functions. The interactive interface of the target application includes a video editing interface, which has material tracks. Users can construct videos by configuring materials into the material tracks. The materials include, for example, video clips, images, audio clips, and text. Different materials are configured in corresponding material tracks. For example, as shown in the figure, video clip video_1 is configured in material track #1, audio music_1 is configured in material track #2, and so on. Simultaneously, a preview window is also provided in the video editing interface. Through this preview window, the combined effect of the materials configured in each material track can be displayed. Users can also adjust the positional relationship between different materials through this preview window. The materials in each material track will be played based on the same timeline. Therefore, at the same time, the content of all materials on all material tracks (including images, audio, text, etc.) will be rendered into the same video frame (and the corresponding audio frame will be generated), and played through the preview window so that users can preview the effects of the above video editing.
[0040] In this process, the video editing interface contains at least one main media track for generating the video. This track contains at least one piece of media material, such as a video clip. Editing the material on this track is a fundamental step in the editing process. For example, unimportant segments can be deleted, leaving only the most engaging parts, resulting in a shorter, more compact, and richer video clip. However, editing is typically done by the user based on their observation of the content and their editing experience. Specifically, the user needs to observe the video clip, set multiple cut points, and then segment and recombine the clip based on these cut points to obtain the final edited video clip. Therefore, the editing process suffers from low efficiency and poor final product quality.
[0041] At least one embodiment of this disclosure provides a material editing method to solve the above-mentioned problems.
[0042] Referring to Figure 2, which is a flowchart illustrating at least one embodiment of the material editing method provided in this disclosure, the method of this embodiment can be applied to a terminal device or a server. In one possible implementation, for a terminal device executing the method provided in this embodiment, the terminal device can execute locally deployed program code to implement the material editing method provided in this embodiment. In another possible implementation, a server can be used to deploy functional services implemented based on the material editing method provided in this embodiment, and the terminal device can access the server and call the corresponding functional services to implement the material editing method provided in this embodiment. For example, the material editing method provided in this embodiment includes:
[0043] Step S101: Display the video editing interface. The video editing interface has a first material track, and the first material track has a first material.
[0044] Step S102: In response to the first trigger operation on the video editing interface, the function module interface is displayed, wherein the function module interface is provided with a first function module, which is used to automatically edit the first material based on the feature parameters representing the editing method.
[0045] Step S103: In response to the second trigger operation for the first function module, replace the first material in the first material track with the second material, the second material being the result of the first function module automatically editing the first material.
[0046] Referring to the application scenario diagram shown in Figure 1, this embodiment describes the provided material editing method using a terminal device as the execution subject. For example, the terminal device runs a target application and provides video editing functions to the user through the target application. After the target application starts, it displays the video editing interface on the main screen or in response to a preset operation. The video editing interface includes a first material track, which may be the first material track or the main material track. The first material track contains a first material, which is the basic material used to generate the final output video; for example, it may be a video clip or a static image. Users can configure other materials in other material tracks within the video editing interface to add extra content to the first material's frame, such as adding text, stickers, highlight effects, and corresponding audio to the video frame (first material).
[0047] Subsequently, in response to the first trigger operation on the video editing interface, a functional module interface can be further displayed on top of the video editing interface. In one possible implementation, the video editing interface includes a trigger control corresponding to the functional module interface. The user can display the functional module interface by clicking this trigger control, or display the functional module interface in other ways. The functional module interface includes a first functional module, which is used for automatically trimming the first material. When this first functional module is triggered in response to a second trigger operation, the terminal device can automatically edit the first material by calling local or cloud-based algorithms based on preset feature parameters or feature parameters input by the user, resulting in a second material. The second material is the result of automatically editing the first material. Afterwards, the terminal device can manually or automatically jump back from the functional module interface to the video editing interface. At this time, the first material in the first material track of the video editing interface has been replaced with the aforementioned second material, thus completing the placement of the second material on the track, thereby achieving automatic trimming of the first material.
[0048] Figure 3 is a schematic diagram of an automatic trimming process for a first material provided in at least one embodiment of this disclosure. As shown in Figure 3, firstly, a first material video_1 is configured in the first material track Track_1 of the video editing interface. This first material video_1 is, for example, a video clip. Simultaneously, at the bottom of the video editing interface, an entry control for the function module interface (shown as "AI Assistant" in the figure) is provided. After the user applies a first trigger operation to the entry control, the function module interface is displayed. The function module interface contains multiple function modules, including a first function module mod_1. This first function module, also known as a quick trimming module or a coarse trimming module, can be used to quickly and automatically trim the first material video_1 in the first material track Track_1. Optionally, a guide window can also be provided in the function module interface, playing or displaying guidance information such as usage methods and function introductions of the function modules within the function module interface. Subsequently, in response to the second trigger operation for the first functional module mod_1, in one possible implementation, the terminal device responds to the second trigger operation by obtaining the default feature parameter para_0, which represents the editing method, to automatically edit the first material video_1, thereby directly obtaining the editing result, namely the second material video_2; in another possible implementation, the terminal device responds to the second trigger operation for the first functional module mod_1 by displaying the settings interface of the first functional module mod_1. This settings interface is used to configure the feature parameters of the corresponding functional module. For example, the settings interface has a first type of parameter and a second type of parameter, wherein the first type of parameter is a text parameter input by the user, and the second type of parameter is a preset parameter selected from a plurality of preset selection parameters (shown in the figure as option_1, option_2, option_3, option_4). Next, the user performs a first input operation on the settings interface, inputting the first type of parameters and the second type of parameters mentioned above, and clicking the "Generate" control. This allows the terminal device to obtain the target feature parameter para_1. Then, based on the target feature parameter para_1, the first material video_1 is automatically edited to obtain the edited result, namely the second material video_3. Finally, for both methods, the terminal device will replace the first material video_1 in the first material track based on the second material video_2 or video_3 obtained in the above steps, thereby completing the automatic trimming of the first material video_1.
[0049] Furthermore, as shown in Figure 4, the specific implementation of step S103 includes:
[0050] Step S1031: In response to the second trigger operation for the first functional module, display the setting interface of the first functional module. The setting interface is used to configure the characteristic parameters of the corresponding functional module.
[0051] Step S1032: In response to the first input operation on the settings interface, obtain the target feature parameters, and call the multimodal model to process the first material based on the target feature parameters to determine the corresponding target editing method;
[0052] Step S1033: Edit the first footage based on the target editing method to generate the second footage;
[0053] Step S1034: Replace the first material in the first material track with the second material.
[0054] For example, referring to the schematic diagram of the automatic cropping process of the first material shown in Figure 3, after obtaining the feature parameters, one possible implementation is to call a multimodal model and process the first material based on the feature parameters, thereby achieving automatic editing of the first material. The multimodal model, also known as a multimodal large model, is a model obtained by training multiple modal information such as text, images, videos, and audio. Through the multimodal model, the purpose of generating audio and video based on text and characters can be achieved. The implementation principle and training method of the multimodal large model will not be elaborated here. In this embodiment, when the target feature parameters configured by the means are obtained by responding to the first input operation of the user, the target feature parameters can be descriptive text describing the editing method, or an identifier that can represent the editing method. Correspondingly, the first input operation can be a text input operation, or it can be an operation of selecting a preset parameter control. The preset parameter control is used to indicate the corresponding editing method. For example, when the first input operation is the operation of selecting parameter control P1, the terminal device obtains the target feature parameters corresponding to parameter control P1. More specifically, the feature parameters are, for example, parameters indicating the video theme, such as Vlog, speech, Q&A, etc. When the content of the feature parameters is "Vlog, speech, Q&A", the multimodal model can edit the first media based on the above feature parameters to match the target editing method of the video theme represented by the feature parameters, thereby generating a second video that matches the video theme. In another possible implementation, the feature parameters are, for example, identifiers or names representing the shot transition method, such as: chronological order, narrative order, form order, montage order, etc. When the content of the feature parameters is "chronological order, narrative order, form order, montage order", the multimodal model can edit the first media based on the above feature parameters to match the target editing method of the shot transition method represented by the feature parameters, thereby generating a second video that matches the shot transition method.
[0055] Furthermore, after generating the second material in the above steps, i.e. after step S1033, this embodiment further includes:
[0056] Step S103A: Display the preview interface, which is used to display the second material and the target feature parameters;
[0057] Step S103B: In response to the modification operation on the target feature parameters, update the second material and display the updated second material in the preview interface.
[0058] For example, after generating the second material, the target application can also jump to a preview interface. This preview interface displays a preview image of the second material generated in the previous steps, as well as the target feature parameters for generating the second material. Based on the previous introduction, the target feature parameters can be used to characterize information such as video theme and shot transition methods. In addition, the target feature parameters can also include information such as video duration and number of transitions. On this basis, the user can further adjust the target feature parameters in the preview interface through modification operations, such as adjusting the target feature parameters (of the second material) such as video duration and number of transitions. Afterwards, the terminal device will regenerate the second material based on the updated target feature parameters, that is, update the second material, and directly display the updated result in the preview interface. This allows the user to directly modify the target feature parameters without returning to the settings interface and display the updated second material in the preview interface, thereby improving the efficiency of the modification interaction for the second material.
[0059] Accordingly, the specific implementation of step S1034 includes:
[0060] In response to a save operation on the preview screen, the first clip in the first clip track is replaced with the second clip.
[0061] For example, when displaying the preview interface, the second material can be confirmed in response to the save operation of the preview interface, thereby jumping back to the video editing interface and replacing the first material in the first material track with the second material.
[0062] Figure 5 is a schematic diagram of a process for replacing a first material in a first material track with a second material according to at least one embodiment of this disclosure. As shown in Figure 5, the first material track Track_1 of the video editing interface is configured with material video_1. Starting from the video editing interface, in response to clicking the "AI Assistant" control, the user is first redirected to the function module interface. Then, in response to the triggering of the first function module mod_1, the user is redirected to the settings interface to configure the target feature parameters. The settings interface has a feature parameter Topic, and multiple preset topic options, such as Vlog, speech, and Q&A as shown in the figure. The user selects "Vlog" by inputting an operation, thus confirming the topic option "Vlog" as the target feature parameter. After that, the terminal device generates the second material based on the target feature parameter and redirects to the preview interface. The preview display area of the preview interface displays a preview image of the second material V1, and the target feature parameter is displayed in the effect adjustment area. For example, as shown in the figure, the effect adjustment area of the preview interface displays the selected topic option "Vlog", as well as other preset non-selected topic options, such as "speech" and "Q&A". Next, users can make modifications, such as selecting the "Speech" topic and clicking the "Regenerate" control to regenerate the second source material, namely source material V2. The updated source material V2 is then simultaneously displayed in the preview area of the preview interface for users to observe. Finally, after clicking the "Save" control in the preview interface (confirmation operation), the user is redirected to the video editing interface and replaces the first source material video in Track_1 with the second source material V2.
[0063] Optionally, in one possible implementation, the first input operation includes a parameter input operation and a confirmation operation performed sequentially. The parameter input operation is used to input or select target feature parameters within the settings interface. After the target feature parameters are input, the confirmation operation confirms them. Then, the terminal device calls a multimodal model to process the first material based on the target feature parameters. Before this step, i.e., after responding to the confirmation operation, the terminal device first jumps to a loading interface. This loading interface displays process text, which characterizes the multimodal model's thought process in determining the target editing method based on the feature parameters—a deep thinking process. This allows the user to observe the multimodal model's processing, thereby improving the interaction efficiency between the user and the terminal device (the called multimodal model). The multimodal model is implemented based on a large language model. After training and configuration, it can display the thought process during problem processing; the specific implementation principle of this process will not be elaborated here. After displaying the loading interface, the terminal device continues to jump to the next processing step, i.e., jumping to the preview interface or returning to the video editing interface.
[0064] In this embodiment, a video editing interface is displayed, which includes a first material track containing first material. In response to a first trigger operation on the video editing interface, a function module interface is displayed. This function module includes a first function module that automatically edits the first material based on characteristic parameters representing the editing method. In response to a second trigger operation on the first function module, the first material in the first material track is replaced with a second material, which is the result of the first function module automatically editing the first material. By triggering the editing operation on the first material through the first function module in the function module interface, this method can utilize characteristic parameters representing the editing method to automatically edit the first material and automatically place the result on the track, achieving efficient editing of the first material in the first material track and improving editing efficiency and material editing effects.
[0065] Referring to Figure 6, which is a schematic flowchart of at least one embodiment of the material editing method provided in this disclosure, this embodiment further processes the second functional module based on the embodiment shown in Figure 2. The material editing method includes:
[0066] Step S201: Display the video editing interface. The video editing interface has a first material track, and the first material track has a first material.
[0067] For example, optionally, the video editing interface may also include at least one second material track. This second material track is used to configure additional materials such as audio materials, text materials, and special effects materials. Initially, the second material track is empty. In this embodiment, subsequent steps generate additional materials and assign each additional material to its corresponding track, i.e., configure it into the corresponding second material track.
[0068] Step S202: In response to a first trigger operation on the video editing interface, a function module interface is displayed, wherein the function module interface is provided with a first function module and at least one second function module. The first function module is used to automatically edit the first material based on feature parameters representing the editing method, and the second function module is used to generate additional material that matches the content of the first material.
[0069] Step S203: In response to the second trigger operation for the first functional module, the first material in the first material track is replaced with the second material, and in response to the third trigger operation for the second functional module, the additional material generated by the second functional module is inserted into the second material track of the video editing interface.
[0070] For example, the process of replacing the first material in the first material track with the second material in response to the second trigger operation for the first functional module in the above steps has been described in previous embodiments and will not be repeated here. Please refer to the relevant description in the embodiment shown in Figure 2. In this embodiment, after the second functional module is displayed in the display functional module interface, the corresponding function can be executed in response to the trigger operation (i.e., the third trigger operation) for the second functional module to generate corresponding additional materials, such as music materials, text materials, sticker materials, special effects materials, etc., and the generated additional materials are placed on the track.
[0071] Similar to the generation process of the second material, in one possible implementation, the second functional module corresponds to pre-configured default feature parameters. When generating additional material based on the second functional module, the additional material can be generated using these default feature parameters. In another possible implementation, the feature parameters corresponding to each second functional module are configured by the user. Specifically, in one possible implementation, in step S203, the specific steps for inserting the additional material generated by the second functional module into the second material track of the video editing interface in response to the third trigger operation on the second functional module include:
[0072] Step S2031: In response to a third trigger operation for the second functional module, display the settings interface of the second functional module;
[0073] Step S2032: In response to the second input operation on the settings interface, generate additional feature parameters, and call the multimodal model to process the second material based on the additional feature parameters to generate additional material;
[0074] Step S2033: Based on the material type of the additional material, insert the additional material into the second material track corresponding to the material type in the video editing interface.
[0075] Through the above steps, the additional feature parameters for each second functional module can be configured autonomously, thereby improving the control over the generation of additional materials and making them more compatible with user needs. The specific content of the additional feature parameters is determined based on the second functional module. For example, for the second functional module used to generate music materials, the additional feature parameters may include various parameters for selecting music, etc., which will not be elaborated on here.
[0076] Figure 7 is a schematic diagram of a functional module interface provided in at least one embodiment of this disclosure. As shown in Figure 7, the first material track Track_1 of the video editing interface is configured with material video_1. Starting from the video editing interface, in response to clicking the "AI Assistant" control, the user is first redirected to the functional module interface. Within the functional module interface, there are a first functional module mod_1, a second functional module mod_2, a second functional module mod_3, and a second functional module mod_4. The first functional module, which can also be called a quick editing module or a coarse editing module, can be used, for example, to quickly and automatically edit the first material video_1 in the first material track Track_1 to generate the second material video_2. Its function has been described in previous embodiments and will not be repeated here. The other three second functional modules mod_2, mod_3, and mod_4 are used to generate additional materials, namely, music materials, text materials, and special effects materials, respectively. More specifically, the second function module mod_2 is used to search for music matching the second material from the music library; the second function module mod_3 is used to generate text matching the content of the second material; and the second function module mod_4 is used to generate highlight effects matching the content of the second material. Afterwards, clicking on the aforementioned second function modules mod_2, mod_3, and mod_4 respectively generates corresponding additional materials directly or indirectly. For example, the second function module mod_2 generates music_1, the second function module mod_3 generates text_1, and the second function module mod_4 generates effect_1. After generation, these additional materials are placed into their corresponding tracks. That is, after returning to the video editing interface, in addition to configuring the first material video_1 on the first material track Track_1, music_1 is configured on the second material track Track_2, text_1 on the second material track Track_3, and effect_1 on the second material track Track_4.
[0077] Furthermore, the process of generating the second and additional materials and placing them onto the track can be achieved by applying corresponding operations to the first and second functional modules respectively. In one possible implementation, simply performing the second trigger operation in response to the first functional module can achieve the purpose of inserting the additional materials generated by the second functional module into the second material track of the video editing interface. That is, for example, this embodiment may also include:
[0078] Step S204: In response to the second trigger operation for the first functional module, replace the first material in the first material track with the second material, and insert the additional material generated by the second functional module into the second material track of the video editing interface.
[0079] For example, in a specific implementation, after the terminal device receives the user's second trigger operation for the first functional module, the terminal device, through the target application, not only automatically edits the first material to generate the second material, but also further generates additional materials such as music, text, and special effects matching the second material, and places them on the track. This achieves a fully automatic editing effect with one-click editing, adding voiceover and background music, and adding text effects. Specifically, in one possible implementation, as shown in Figure 8, the specific implementation method of inserting the additional materials generated by the second functional module into the second material track of the video editing interface in step S204 includes:
[0080] Step S2041: In response to a second trigger operation for the first functional module, generate a second material based on the first material.
[0081] Step S2042: Based on the target feature parameters and the second material, obtain the first processing link. The first processing link is used to characterize the order in which the second functional module is triggered.
[0082] Step S2043: Based on the first processing link, at least one second functional module is triggered sequentially to generate at least one additional material.
[0083] Step S2044: Replace the first material in the first material track with the second material, and insert at least one additional material into the corresponding second material track in the video editing interface.
[0084] For example, after generating the second material based on the first material, the terminal device obtains the target feature parameters used when generating the first material again. Using the information in the target feature parameters, such as video theme and shot switching method, a processing link is matched for the second material, namely the first processing link. The processing link is used to characterize the order in which the second functional module is triggered. That is, when the target feature parameters and / or the second material are different, the order in which the second functional module is triggered will be different, i.e., the first processing link will be different.
[0085] Figure 9 is a schematic diagram of the execution process of an automatic processing link provided by at least one embodiment of this disclosure. The process is described below with reference to Figure 9. As shown in Figure 9, in the functional module interface, after the user triggers the first functional module mod_1, the terminal device generates a second material video_1 based on the first material and the target feature parameter para_1. The second material video_1 is a video clip, and the target feature parameter para_1 represents the theme of the second material as "news speech". Then, based on the second material video_1 and the target feature parameter para_1, the first processing link chain_1 is determined. The corresponding order of triggering the second functional module is: "subtitle generation module - music module". When the corresponding second functional module is triggered based on the first processing link chain_1, the subtitle generation module first generates a subtitle text_1 (additional material) for the second material video_1. Then, the music module processes the second material video_1 and the subtitle text_1 and finds music music_2 (additional material) that matches the above content from the database. Finally, the second material video_1, the subtitle text_1, and the music music_2 are respectively configured into the corresponding material track in the video editing interface. This achieves the effect of triggering only the first functional module mod_1, while automatically executing the second functional modules mod_2 and mod_3.
[0086] On the other hand, referring to the above figure, when the second material video_2 (not shown in the figure) is generated based on the first material and the target feature parameter para_2, the target feature parameter para_2 changes after generating the second material video_2. Consequently, the determined first processing link also changes, for example, generating a first processing link chain_2. Then, based on the second functional module represented by the first processing link chain_2 and the triggering order of each second functional module, functions are triggered to generate corresponding additional materials. In this embodiment, the matching first processing link is determined through the second material and the target feature parameter. Then, based on one or more second functional modules represented by the first processing link and the triggering order between each second functional module, they are triggered sequentially. This allows the generated additional materials to better match the second material and the target feature parameter, making the generation order of the additional materials more reasonable and avoiding content mismatches between multiple additional materials. For example, in the embodiment shown in Figure 9 above, if music material is generated first and then subtitle material is generated, the style and rhythm of the music material may not match the news speech content represented by the subtitle material. This improves the adaptability between the various additional materials.
[0087] Furthermore, in one possible implementation, as shown in Figure 10, the specific implementation steps of step S2042 include:
[0088] Step S2042-1: Based on the target feature parameters, obtain the editing type. The editing type is used to characterize the shot switching method. The editing type includes one of the following: chronological order, narrative order, form order, and montage order.
[0089] Step S2042-2: Based on the editing type, determine the number of triggers, the triggering order, and the additional feature parameters corresponding to the second function modules to be triggered.
[0090] Step S2042-3: Based on the number of triggers, the triggering order of the second functional modules to be triggered, and the additional feature parameters corresponding to the second functional modules to be triggered, obtain the first processing link.
[0091] For example, in the steps of this embodiment, the target feature parameters characterize the editing type of the shot switching method for the first material, including chronological order, narrative order, form order, montage order, etc. When the editing type is different, the second material generated after automatic editing based on the first material will also be different. Correspondingly, the additional materials automatically recommended for the second material and the generation order of each additional material will also change accordingly. In one possible implementation, since the editing type is enumerated data and its number is limited, the trigger quantity, trigger order, and additional feature parameters corresponding to the functional modules to be triggered for each editing type can be pre-configured. Then, in the process of generating the first processing link, based on the above mapping relationship, the trigger quantity, trigger order, and additional feature parameters corresponding to the second functional modules to be triggered for the editing type determined based on the target feature parameters are determined. Then, based on the trigger quantity, trigger order, and additional feature parameters corresponding to the second functional modules to be triggered, the first processing link is constructed. Furthermore, during the execution of the first processing link, the first processing link records the number of triggers, the triggering order, and the additional feature parameters corresponding to each second functional module to be triggered. Therefore, it can refer to automatically triggering one or more second functional modules to generate corresponding additional materials. In another possible implementation, a pre-trained processing model can be used to map the editing type to the number of triggers, the triggering order, and the additional feature parameters corresponding to the functional modules to be triggered. The specific implementation principle and training process of the processing model will not be elaborated here.
[0092] In this embodiment, by obtaining the editing type based on the target feature parameters, and then determining the first processing link based on the editing type, the triggering process of the second functional module indicated by the first processing link makes the shot switching method of the auxiliary materials generated by each second functional module more compatible with the second materials, thereby improving the content adaptability between each second material, and improving the content rationality and visual effect of the video work rendered based on the second materials and each auxiliary material.
[0093] In this embodiment, the implementation of step S201 is the same as that of step S101 in the embodiment shown in FIG2 of this disclosure, and will not be described in detail here.
[0094] Corresponding to the material editing method in the above embodiments, Figure 11 is a structural block diagram of a material editing device provided in at least one embodiment of this disclosure. The method described in the above embodiments can be executed by this material editing device, which can be implemented by software and / or hardware, and can be integrated into an electronic device with certain data processing capabilities. The electronic device may include, but is not limited to, mobile terminals with big data processing capabilities, as well as fixed terminals with big data processing capabilities such as desktop computers and supercomputers.
[0095] For ease of illustration, only the parts relevant to at least one embodiment of this disclosure are shown. Referring to FIG11, the material editing device 3 includes:
[0096] Display module 31 is used to display a video editing interface, which includes a first material track and a first material track.
[0097] The first functional module 32 is used to display the functional module interface in response to a first trigger operation on the video editing interface. The functional module interface is provided with a first functional module, which is used to automatically edit the first material based on the feature parameters representing the editing method.
[0098] The second functional module 33, in response to the second trigger operation of the first functional module, replaces the first material in the first material track with the second material, the second material being the result of the first functional module automatically editing the first material.
[0099] According to one or more embodiments of this disclosure, the second functional module 33 is specifically configured to: in response to a second trigger operation on the first functional module, display a setting interface for the first functional module, the setting interface being used to configure feature parameters of the corresponding functional module; in response to a first input operation on the setting interface, obtain target feature parameters, and based on the target feature parameters, call a multimodal model to process the first material, determine the corresponding target editing method, and edit the first material based on the target editing method to generate a second material; and replace the first material in the first material track with the second material.
[0100] According to one or more embodiments of this disclosure, the second functional module 33 is specifically used for: displaying a preview interface, the preview interface being used to display the second material and the target feature parameters; updating the second material in response to a modification operation on the target feature parameters, and displaying the updated second material on the preview interface; when the second functional module 33 replaces the first material in the first material track with the second material, it is specifically used for: replacing the first material in the first material track with the second material in response to a save operation on the preview interface.
[0101] According to one or more embodiments of this disclosure, the first input operation includes a parameter input operation and a confirmation operation performed sequentially. The first functional module 32 is further configured to: display a loading interface after responding to the confirmation operation. The loading interface is used to display process text, which is used to characterize the thought process of the multimodal model in determining the target editing method based on feature parameters.
[0102] According to one or more embodiments of this disclosure, the functional module interface is further provided with at least one second functional module. The second functional module is used to generate additional material that matches the material content of the first material. After the second material is generated, the second functional module 33 is further used to: obtain a first processing link based on the target feature parameters and the second material. The first processing link is used to characterize the order in which the second functional module is triggered; based on the first processing link, trigger at least one second functional module in sequence to generate at least one additional material; and insert at least one additional material into the corresponding second material track in the video editing interface.
[0103] According to one or more embodiments of this disclosure, when the second functional module 33 obtains the first processing link based on the target feature parameters and the second material, it is specifically used to: obtain the editing type based on the target feature parameters, wherein the editing type is used to characterize the shot switching method, and the editing type includes one of the following: chronological order, narrative order, form order, montage order; determine the number of triggers, the triggering order, and the additional feature parameters corresponding to the second functional module to be triggered based on the editing type; and obtain the first processing link based on the number of triggers, the triggering order, and the additional feature parameters corresponding to the second functional module to be triggered.
[0104] According to one or more embodiments of this disclosure, the functional module interface is further provided with at least one second functional module, which is used to generate additional material that matches the material content of the second material; the second functional module 33 is also used to: in response to a third trigger operation for the second functional module, insert the additional material generated by the second functional module into the second material track of the video editing interface.
[0105] According to one or more embodiments of this disclosure, when the second functional module 33 inserts the additional material generated by the second functional module into the second material track of the video editing interface in response to a third trigger operation for the second functional module, it is specifically used to: display the settings interface of the second functional module in response to the third trigger operation for the second functional module; generate additional feature parameters in response to a second input operation for the settings interface, and call a multimodal model to process the second material based on the additional feature parameters to generate additional material; and insert the additional material into the second material track corresponding to the material type in the video editing interface according to the material type of the additional material.
[0106] According to one or more embodiments of this disclosure, the additional materials include one of the following: music materials, text materials, sticker materials, and special effects materials.
[0107] The display module 31, the first functional module 32, and the second functional module 33 are connected sequentially. The material editing device 3 provided in this embodiment can execute the technical solution of the above method embodiment, and its implementation principle and technical effect are similar, so it will not be described again here.
[0108] Figure 12 is a schematic diagram of the structure of an electronic device provided in at least one embodiment of the present disclosure. As shown in Figure 12, the electronic device 4 includes:
[0109] Processor 41, and memory 42 communicatively connected to processor 41;
[0110] Memory 42 stores computer-executable instructions;
[0111] The processor 41 executes computer-executable instructions stored in the memory 42 to implement the video editing method in the embodiments shown in Figures 2-10.
[0112] Optionally, the processor 41 and the memory 42 are connected via a bus 43.
[0113] The relevant explanations can be understood by referring to the descriptions and effects of the steps in the embodiments corresponding to Figures 2-10, which will not be elaborated on here.
[0114] At least one embodiment of this disclosure provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the video editing method provided in any embodiment of the embodiments corresponding to Figures 2-10 of this disclosure.
[0115] At least one embodiment of this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the video editing method provided in any of the embodiments corresponding to Figures 2-10 of this disclosure.
[0116] To implement the above embodiments, at least one embodiment of this disclosure also provides an electronic device.
[0117] Referring to Figure 13, a schematic diagram of an electronic device 900 suitable for implementing at least one embodiment of the present disclosure is shown. The electronic device 900 can be a terminal device or a server. The terminal device can include, but is not limited to, mobile terminals such as mobile phones, laptops, digital radio receivers, personal digital assistants (PDAs), tablet computers, portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device shown in Figure 13 is merely an example and should not impose any limitation on the functionality and scope of use of at least one embodiment of the present disclosure.
[0118] As shown in Figure 13, the electronic device 900 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. The RAM 903 also stores various programs and data required for the operation of the electronic device 900. The processing unit 901, ROM 902, and RAM 903 are interconnected via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0119] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 908 including, for example, magnetic tapes, hard disks, etc.; and communication devices 909. Communication device 909 allows electronic device 900 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 13 shows electronic device 900 with various devices, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0120] In particular, according to at least one embodiment of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, at least one embodiment of this disclosure includes a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by a processing device 901, it performs the functions defined in the methods of at least one embodiment of this disclosure.
[0121] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0122] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0123] The aforementioned computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above embodiments.
[0124] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can 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. In cases involving remote computers, the remote computer can 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 can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0125] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0126] The units or modules described in at least one embodiment of this disclosure can be implemented in software or hardware. The names of the units or modules do not necessarily limit the specific unit itself.
[0127] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0128] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0129] According to one or more embodiments of this disclosure, a method for editing source material is provided, comprising:
[0130] A video editing interface is displayed, which includes a first media track containing first media. In response to a first trigger operation on the video editing interface, a function module interface is displayed, containing a first function module for automatically editing the first media based on characteristic parameters representing the editing method. In response to a second trigger operation on the first function module, the first media in the first media track is replaced with a second media, which is the result of the first function module automatically editing the first media.
[0131] According to one or more embodiments of this disclosure, in response to a second trigger operation for the first functional module, replacing the first material in the first material track with the second material includes: in response to the second trigger operation for the first functional module, displaying a settings interface of the first functional module, the settings interface being used to configure feature parameters of the corresponding functional module; in response to a first input operation for the settings interface, obtaining target feature parameters, and based on the target feature parameters, calling a multimodal model to process the first material, determining a corresponding target editing method, and editing the first material based on the target editing method to generate the second material; and replacing the first material in the first material track with the second material.
[0132] According to one or more embodiments of this disclosure, after generating the second material, the method further includes: displaying a preview interface, the preview interface being used to display the second material and the target feature parameters; updating the second material in response to a modification operation on the target feature parameters, and displaying the updated second material on the preview interface; replacing the first material in the first material track with the second material includes: replacing the first material in the first material track with the second material in response to a save operation on the preview interface.
[0133] According to one or more embodiments of this disclosure, the first input operation includes a parameter input operation and a confirmation operation performed sequentially. The method further includes: after responding to the confirmation operation, displaying a loading interface, the loading interface being used to display process text, the process text being used to characterize the thought process of the multimodal model in determining the target editing method based on the feature parameters.
[0134] According to one or more embodiments of this disclosure, the functional module interface is further provided with at least one second functional module, which is used to generate additional material that matches the material content of the first material. After generating the second material, the method further includes: obtaining a first processing link based on the target feature parameters and the second material, wherein the first processing link is used to characterize the order in which the second functional module is triggered; triggering at least one second functional module in sequence based on the first processing link to generate at least one additional material; and inserting the at least one additional material into the corresponding second material track in the video editing interface.
[0135] According to one or more embodiments of this disclosure, a first processing link is obtained based on the target feature parameters and the second material, including: obtaining a clip type based on the target feature parameters, the clip type being used to characterize the shot switching method, the clip type including one of the following: chronological order, narrative order, form order, montage order; determining the trigger quantity, trigger order, and additional feature parameters corresponding to the second functional module to be triggered based on the clip type; and obtaining the first processing link based on the trigger quantity, trigger order, and additional feature parameters corresponding to the second functional module to be triggered.
[0136] According to one or more embodiments of this disclosure, the functional module interface is further provided with at least one second functional module, the second functional module being used to generate additional material that matches the material content of the second material; the method further includes: in response to a third trigger operation for the second functional module, inserting the additional material generated by the second functional module into the second material track of the video editing interface.
[0137] According to one or more embodiments of this disclosure, in response to a third trigger operation for the second functional module, inserting additional material generated by the second functional module into the second material track of the video editing interface includes: in response to the third trigger operation for the second functional module, displaying the settings interface of the second functional module; in response to a second input operation for the settings interface, generating additional feature parameters, and calling a multimodal model to process the second material based on the additional feature parameters to generate additional material; and inserting the additional material into the second material track corresponding to the material type in the video editing interface according to the material type of the additional material.
[0138] According to one or more embodiments of this disclosure, the additional materials include one of the following: music materials, text materials, sticker materials, and special effects materials.
[0139] According to one or more embodiments of this disclosure, a material editing apparatus is provided, comprising:
[0140] The display module is used to display the video editing interface, which includes a first material track and a first material.
[0141] The first functional module is used to display the functional module interface in response to a first trigger operation on the video editing interface. The functional module interface is provided with a first functional module, which is used to automatically edit the first material based on feature parameters representing the editing method.
[0142] The second functional module, in response to a second trigger operation on the first functional module, replaces the first material in the first material track with a second material, wherein the second material is the result of the first functional module automatically editing the first material.
[0143] According to one or more embodiments of this disclosure, the second functional module is specifically configured to: in response to a second trigger operation on the first functional module, display a settings interface of the first functional module, the settings interface being used to configure feature parameters of the corresponding functional module; in response to a first input operation on the settings interface, obtain target feature parameters, and based on the target feature parameters, call a multimodal model to process the first material, determine a corresponding target editing method, and edit the first material based on the target editing method to generate a second material; replace the first material in the first material track with the second material.
[0144] According to one or more embodiments of this disclosure, the second functional module is specifically used for: displaying a preview interface, the preview interface being used to display the second material and the target feature parameters; updating the second material in response to a modification operation on the target feature parameters, and displaying the updated second material on the preview interface; when the second functional module replaces the first material in the first material track with the second material, it is specifically used for: replacing the first material in the first material track with the second material in response to a save operation on the preview interface.
[0145] According to one or more embodiments of this disclosure, the first input operation includes a parameter input operation and a confirmation operation performed sequentially. The first functional module is further configured to: display a loading interface after responding to the confirmation operation, the loading interface being used to display process text, the process text being used to characterize the thought process of the multimodal model in determining the target editing method based on the feature parameters.
[0146] According to one or more embodiments of this disclosure, the functional module interface is further provided with at least one second functional module. The second functional module is used to generate additional material that matches the material content of the first material. After the second material is generated, the second functional module is further used to: obtain a first processing link based on the target feature parameters and the second material, the first processing link being used to characterize the order in which the second functional module is triggered; based on the first processing link, sequentially trigger at least one second functional module to generate at least one additional material; and insert the at least one additional material into the corresponding second material track in the video editing interface.
[0147] According to one or more embodiments of this disclosure, when the second functional module obtains the first processing link based on the target feature parameters and the second material, it is specifically used to: obtain a clip type based on the target feature parameters, wherein the clip type is used to characterize the shot switching method, and the clip type includes one of the following: chronological order, narrative order, form order, montage order; determine the number of triggers, the trigger order, and the additional feature parameters corresponding to the second functional module to be triggered based on the clip type; and obtain the first processing link based on the number of triggers, the trigger order, and the additional feature parameters corresponding to the second functional module to be triggered.
[0148] According to one or more embodiments of this disclosure, the functional module interface is further provided with at least one second functional module, the second functional module being used to generate additional material that matches the material content of the second material; the second functional module is further used to: in response to a third trigger operation for the second functional module, insert the additional material generated by the second functional module into the second material track of the video editing interface.
[0149] According to one or more embodiments of this disclosure, when the second functional module inserts additional material generated by the second functional module into the second material track of the video editing interface in response to a third trigger operation for the second functional module, it is specifically configured to: display the settings interface of the second functional module in response to the third trigger operation for the second functional module; generate additional feature parameters in response to a second input operation for the settings interface, and call a multimodal model to process the second material based on the additional feature parameters to generate additional material; and insert the additional material into the second material track corresponding to the material type in the video editing interface according to the material type of the additional material.
[0150] According to one or more embodiments of the present disclosure, an electronic device is provided, including: at least one processor and a memory;
[0151] The memory stores computer-executable instructions;
[0152] The at least one processor executes the computer-executable instructions stored in the memory, causing the at least one processor to perform the material editing method described in the various possible designs above.
[0153] According to one or more embodiments of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions, which, when executed by a processor, implement the material editing method described in the various possible designs above.
[0154] According to one or more embodiments of this disclosure, a computer program product is provided, including a computer program that, when executed by a processor, implements the material editing method described in the various possible designs above.
[0155] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0156] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0157] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A method for editing source materials, comprising: The video editing interface is displayed, and a first material track is set in the video editing interface, and a first material is set in the first material track; In response to a first trigger operation on the video editing interface, a function module interface is displayed, wherein a first function module is provided in the function module interface, and the first function module is used to automatically edit the first material based on feature parameters representing the editing method. In response to a second trigger operation on the first functional module, the first material in the first material track is replaced with a second material, the second material being the result of the first functional module automatically editing the first material.
2. The clip editing method according to Claim 1, wherein In response to a second trigger operation on the first functional module, the first material in the first material track is replaced with the second material, including: In response to a second trigger operation for the first functional module, a settings interface for the first functional module is displayed, the settings interface being used to configure the characteristic parameters of the corresponding functional module; In response to a first input operation on the settings interface, target feature parameters are obtained, and a multimodal model is called to process the first material based on the target feature parameters to determine the corresponding target editing method. The first material is then edited based on the target editing method to generate a second material. Replace the first material in the first material track with the second material.
3. The clip editing method according to Claim 2, wherein After generating the second material, the process also includes: Display a preview interface, which is used to show the second material and the target feature parameters; In response to the modification operation on the target feature parameters, the second material is updated, and the updated second material is displayed on the preview interface; The step of replacing the first material in the first material track with the second material includes: In response to a save operation on the preview interface, the first material in the first material track is replaced with the second material.
4. The material editing method according to claim 2 or 3, wherein The first input operation includes a parameter input operation and a confirmation operation performed sequentially. The material editing method further includes: After responding to the confirmation operation, a loading interface is displayed, which displays process text that characterizes the thought process by which the multimodal model determines the target editing method based on the feature parameters.
5. The clip editing method according to any one of claims 2 to 4, wherein The functional module interface also includes at least one second functional module, which is used to generate additional materials that match the content of the first material. After generating the second material, the material editing method further includes: Based on the target feature parameters and the second material, a first processing link is obtained, which is used to characterize the order in which the second functional module is triggered; Based on the first processing link, at least one second functional module is triggered sequentially to generate at least one additional material; Insert the at least one additional material into the corresponding second material track within the video editing interface.
6. The clip editing method according to Claim 5, wherein Based on the target feature parameters and the second material, a first processing link is obtained, including: Based on the target feature parameters, the editing type is obtained. The editing type is used to characterize the shot switching method. The editing type includes one of the following: chronological order, narrative order, form order, and montage order. Based on the clip type, determine the number of triggers, the triggering order, and the additional feature parameters corresponding to the second functional module to be triggered; The first processing link is obtained based on the number of triggers, the triggering order of the second functional module to be triggered, and the additional feature parameters corresponding to the second functional module to be triggered.
7. The clip editing method according to any one of claims 1 to 6, wherein The functional module interface is also provided with at least one second functional module, which is used to generate additional materials that match the material content of the second material; The material editing method also includes: In response to a third trigger operation for the second functional module, additional materials generated by the second functional module are inserted into the second material track of the video editing interface.
8. The clip editing method according to Claim 7, wherein In response to a third trigger operation on the second functional module, additional footage generated by the second functional module is inserted into the second media track of the video editing interface, including: In response to a third trigger operation on the second functional module, the settings interface of the second functional module is displayed; In response to a second input operation on the settings interface, additional feature parameters are generated, and a multimodal model is invoked based on the additional feature parameters to process the second material and generate additional material; Based on the material type of the additional material, insert the additional material into the second material track corresponding to the material type in the video editing interface.
9. The clip editing method according to claim 7 or 8, wherein The additional material includes one of the following: Music materials, text materials, sticker materials, and special effects materials.
10. A material editing device, comprising: The display module is configured to display a video editing interface, wherein a first material track is provided in the video editing interface, and a first material is provided in the first material track; The first functional module is configured to display a functional module interface in response to a first trigger operation on the video editing interface, wherein the functional module interface contains a first functional module, which is used to automatically edit the first material based on feature parameters representing the editing method. The second functional module is configured to replace the first material in the first material track with a second material in response to a second trigger operation on the first functional module, wherein the second material is the result of the first functional module automatically editing the first material.
11. An electronic device comprising a processor and a memory, wherein, The memory stores computer-executable instructions; The processor is configured to execute the computer-executable instructions stored in the memory to implement the material editing method as described in any one of claims 1 to 9.
12. A computer-readable storage medium storing computer-executable instructions, wherein, When the processor executes the computer-executable instructions, it implements the material editing method as described in any one of claims 1 to 9.
13. A computer program product comprising a computer program, wherein, When the computer program is executed by a processor, it implements the material editing method as described in any one of claims 1 to 9.
