Video editing method and apparatus, and device and medium

By providing a template release interface in the video editing software, users can set up replaceable materials on multiple editing tracks, solve the problem of low template production efficiency in existing technologies, and achieve more efficient template generation and release.

WO2025020416A1PCT designated stage expired Publication Date: 2025-01-30BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
PCT/CN2023/136893
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-07-26
Filing Date
2023-12-06
Publication Date
2025-01-30

AI Technical Summary

Technical Problem

In existing video editing software, template creators are less efficient in generating templates, and the way to choose alternative materials is cumbersome, resulting in inefficient template generation and release.

Method used

Provide a video editing method. By displayed template release interface, users can set up replaceable materials based on the target video draft to generate target video templates. This method includes editing track areas. Users can present material track fragments on multiple editing tracks, and determine the replacement material through the status identification control.

Benefits of technology

The efficiency of template generation and release has been improved. Users can choose and replace materials more conveniently, which significantly improves template generation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023136893_30012025_PF_FP_ABST
    Figure CN2023136893_30012025_PF_FP_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure relate to a video editing method and apparatus, and a device and a medium. The method comprises: on the basis of a target video draft, presenting a template release interface, which comprises an editing track area, wherein the editing track area includes a plurality of editing tracks, and material track clips formed on the information is used for indicating an editing operation for the material; in response to a setting operation for a first target track clip among the material track clips, determining replaceable material from the target video draft; and on the basis of the target video draft and the replaceable material, generating a target video template, wherein the target video template is used for achieving a video editing effect of replacing the replaceable material with filling material on the basis of the target video draft. The embodiments of the present disclosure provide a convenient and fast template generation mode for a user, and can significantly improve the efficiency of template generation.
Need to check novelty before this filing date? Find Prior Art

Description

Video editing method, device, equipment and medium

[0001] This application claims priority to the Chinese invention patent application entitled “Video Editing Method, Device, Equipment and Medium” and application number 202310928336.3, filed on July 26, 2023. The entire contents of that application are incorporated herein by reference. Technical Field

[0002] The present disclosure relates to the field of multimedia technology, and in particular to a video editing method, apparatus, device, and medium. Background Art

[0003] To enable users to edit videos quickly and easily, some video editing software or websites provide users with video templates. In many cases, video templates are created and published by template creators. However, the inventors have found that in related technologies, template creators are relatively inconvenient to generate templates, and the template generation efficiency is low.

[0004] Summary of the Invention

[0005] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a video editing method, apparatus, device and medium.

[0006] An embodiment of the present disclosure provides a video editing method, which includes: displaying a template publishing interface based on a target video draft; wherein the template publishing interface includes an editing track area, the editing track area contains multiple editing tracks, and material track segments formed by at least part of the material of the target video draft are presented on the multiple editing tracks; the target video draft includes material and editing information, and the editing information is used to indicate the editing operation on the material; in response to the setting operation on the first target track segment in the material track segment, determining the replaceable material in the target video draft; generating a target video template based on the target video draft and the replaceable material; wherein the target video template is used to achieve a video editing effect based on the target video draft where the replaceable material is replaced by filler material.

[0007] Optionally, a status identification control is set on the material track segment; determining the replaceable material in the target video draft in response to the setting operation on the first target track segment in the material track segment includes: determining the current state of the status identification control on each material track segment in response to the triggering operation on the status identification control on the first target track segment in the material track segment, the current state including a replaceable state or a non-replaceable state; and determining the replaceable material in the target video draft based on the second target track segment corresponding to the status identification control that is currently in a replaceable state.

[0008] Optionally, the method further includes: when it is detected that the third target track segment in the material track segment slides along the time axis, adjusting the position of the status identification control corresponding to the third target track segment so that the status identification control corresponding to the third target track segment is located within the window corresponding to the third target track segment.

[0009] Optionally, determining the current state of the status identification control on each material track segment in response to a trigger operation on the status identification control on the first target track segment in the material track segment includes: determining the current state of the status identification control on each material track segment based on the state of the status identification control on the first target track segment before the trigger operation in response to a trigger operation on the status identification control on the first target track segment in the material track segment; wherein the current state of the status identification control on the first target track segment is different from the state of the status identification control on the first target track segment before the trigger operation, and the current state of the status identification control on the non-first target track segment in the material track segment is the same as the state of the status identification control on the non-first target track segment before the trigger operation.

[0010] Optionally, the determining the current state of the status identification control on each material track segment in response to a triggering operation on a status identification control on a first target track segment in the material track segment includes: determining, from the material track segment, a plurality of selected track segments corresponding to the multi-selection operation in response to a multi-selection operation on the material track segment; determining the current state of the status identification control on each material track segment in response to a triggering operation on a status identification control on a first target track segment in the plurality of selected track segments; wherein the current state of the status identification control corresponding to each of the plurality of selected track segments remains consistent and is different from the state of the status identification control on the first target track segment before the triggering operation; and the current state of the status identification control on the non-selected track segment in the material track segment is the same as the state of the status identification control on the non-selected target track segment before the triggering operation.

[0011] Optionally, the step of displaying the template publishing interface based on the target video draft includes: responding to a trigger operation on the publishing control on the draft editing interface, determining whether the target video draft meets the preset publishing conditions; if so, displaying the template publishing interface based on the target video draft.

[0012] Optionally, the publishing conditions include one or more of the following conditions: all materials in the target video draft have been downloaded, all algorithms involved in the target video draft have been calculated, all materials in the target video draft have not been lost or damaged, the main track corresponding to the target video draft is not empty, and the target video draft does not contain specified content.

[0013] Optionally, generating a target video template based on the target video draft and the replaceable material includes: performing a target operation on the replaceable material in the target video draft to obtain a target video template based on the target video draft after performing the target operation; wherein, the target operation includes: a deletion operation or an addition operation of a replaceable identifier.

[0014] Optionally, the method further includes: in response to receiving a confirmation release instruction from a user for the target video template, releasing the target video template.

[0015] An embodiment of the present disclosure also provides a video editing device, including: a publishing interface display module, used to display a template publishing interface based on a target video draft; wherein, the template publishing interface includes an editing track area, the editing track area contains multiple editing tracks, and material track segments formed by at least part of the material based on the target video draft are presented on the multiple editing tracks; the target video draft includes material and editing operation information corresponding to the material; a replaceable material determination module, used to determine the replaceable material in the target video draft in response to a setting operation for the first target track segment in the material track segment; a template generation module, used to generate a target video template based on the target video draft and the replaceable material; wherein, the target video template is used to achieve a video editing effect based on the target video draft where the replaceable material is replaced by the filler material.

[0016] An embodiment of the present disclosure further provides an electronic device, comprising: a storage device storing a computer program; and a processing device for executing the computer program in the storage device to implement the steps of the video editing method.

[0017] An embodiment of the present disclosure further provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the video editing method provided by the embodiment of the present disclosure.

[0018] The above technical solution provided by the embodiment of the present disclosure can display a template publishing interface based on the target video draft. The template publishing interface includes an editing track area, and the editing track area includes multiple editing tracks. Material track segments formed based on at least part of the material of the target video draft are presented on the multiple editing tracks. On this basis, it can further respond to the setting operation for the first target track segment in the material track segment to determine the replaceable material in the target video draft, thereby generating a target video template based on the target video draft and the replaceable material. The above method provides users with a template publishing interface that is easier to operate. Users can directly set replaceable materials based on the material track segments on multiple editing tracks. It is very convenient and fast, and can greatly improve the efficiency of template generation.

[0019] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0021] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0022] FIG1 is a flow chart of a video editing method provided by an embodiment of the present disclosure;

[0023] FIG2 is a schematic diagram of a draft editing interface provided by an embodiment of the present disclosure;

[0024] FIG3 is a schematic diagram of a template publishing interface provided by an embodiment of the present disclosure;

[0025] FIG4a is a schematic diagram of the relative position relationship between a status identification control and a video track segment provided by an embodiment of the present disclosure;

[0026] FIG4 b is a schematic diagram of the relative position relationship between a status identification control and a video track segment provided by an embodiment of the present disclosure;

[0027] FIG5 is a schematic structural diagram of a video editing device provided by an embodiment of the present disclosure;

[0028] FIG6 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0029] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.

[0030] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0031] In the related art, it is relatively inconvenient for template creators to generate templates. For example, most existing video editing software makes it cumbersome and complicated for creators to select replaceable materials. Creators find it difficult to easily obtain the materials involved in the template and quickly select replaceable materials from them. Therefore, the process of selecting replaceable materials usually wastes a lot of time and energy, and the template generation efficiency is low, which also leads to low template publishing efficiency. To improve the above problems, the embodiments of the present disclosure provide a video editing method, device, equipment and medium, which are explained in detail below.

[0032] FIG1 is a flow chart of a video editing method provided by an embodiment of the present disclosure. The method can be executed by a video editing device, wherein the device can be implemented using software and / or hardware and can generally be integrated into an electronic device. As shown in FIG1 , the method mainly includes the following steps S102 to S106:

[0033] Step S102: displaying a template publishing interface based on the target video draft.

[0034] In actual applications, the template publishing interface can be displayed when certain conditions are met, so that the user can directly generate the required template based on the template publishing interface and further publish the template. For example, when a user (such as a template creator) triggers a control for displaying the template publishing interface, the template publishing interface is displayed. In some specific implementation examples, in response to a trigger operation on a publishing control on a draft editing interface, it is determined whether the target video draft meets the preset publishing conditions; if so, based on the target video draft, the template publishing interface is displayed. Among them, the draft editing interface is used for users to edit the target video draft. The target video draft includes materials and editing information. The editing information is used to indicate editing operations on the materials. The materials can be images, videos, audio, text, stickers, special effects, etc., which are not limited here. To facilitate understanding, you can first refer to the schematic diagram of a draft editing interface shown in Figure 2. The draft editing interface includes a preview playback area, an editing track area, an editing tool area, a material selection area, etc. The preview playback area is used to present the video effect corresponding to the target video draft. The editing track area includes multiple editing tracks. The materials in the target video draft can have corresponding editing tracks, such as text tracks, sticker tracks, video tracks, etc., and form material track segments on the corresponding editing tracks. A track can have one or more material track segments, such as, Figure 2 shows that there are text track segments 1 and text track segments 2 on the text track, sticker track segment 1 is simply shown on the sticker track, and video track segment 1 is shown on the video track segment. The editing tool area can have operation controls for multiple editing tools, such as text editing controls, texture editing controls, animation special effects controls, etc. The editing tool area can also be divided into one or more sub-areas and distributed in different positions of the draft editing interface, which is not limited here. The material selection area helps users to directly select the materials they need to add to the target video draft from the local or cloud; Figure 2 is only a simple illustration, and the embodiment of the present disclosure does not limit the arrangement of the above areas of the draft editing interface, and can also include more areas, such as attribute areas. Figure 2 illustrates that the draft editing interface is displayed with publishing controls. In addition, other functional controls such as export controls can also be set, which are not limited here. In order to ensure the smooth progress of the template generation and publishing process, and to ensure that the templates published by users meet the requirements, in the embodiment of the present disclosure, the template publishing interface will only be displayed if it is determined that the target video draft meets the preset publishing conditions, and the subsequent template publishing process will be entered. In this template publishing process, the template must be generated first, and then the template must be published to the designated platform. The embodiment of the present disclosure allows users to directly operate on the target video draft on the template publishing interface, such as setting replaceable materials in the target video draft, and generate and publish templates based on user operations.

[0035] Exemplarily, the publishing conditions include one or more of the following: all materials in the target video draft have been downloaded, all algorithms involved in the target video draft have been calculated, none of the materials in the target video draft are lost or damaged, the main track corresponding to the target video draft is not empty, and the target video draft does not contain specified content. The specified content may be materials with a specified purpose, other templates, or specified keywords, etc., which are not limited here. Only when the above publishing conditions are met will the template publishing interface be displayed, allowing the user to generate and publish the target video template based on the template publishing interface, thereby fully ensuring the availability of the subsequently published template.

[0036] In some embodiments, a schematic diagram of a template publishing interface as shown in FIG3 can be referred to. The template publishing interface includes a preview playback area and an editing track area. The editing track area includes multiple editing tracks. At least part of the materials of the target video draft have corresponding editing tracks in the multiple editing tracks, and at least part of the materials form material track segments on the corresponding editing tracks. The number of editing tracks in the editing track area in the template publishing interface is less than or equal to the number of editing tracks in the editing track area in the draft editing interface. Specifically, some materials such as special effects and transitions are not replaceable by default due to their particularity. Therefore, the editing tracks of the materials can be directly hidden. That is, the editing track area of ​​the template publishing interface will not display the editing tracks of such materials. By directly presenting the material track segments on the template publishing interface, it is not only convenient for users to clearly understand the relationship between different materials, the location where the materials appear or the duration of continuous presentation, etc., but also convenient for users to directly set the materials in the current existing materials that are allowed to be replaced by other users (that is, replaceable materials) based on the material track segments.

[0037] Step S104 : In response to the setting operation on the first target track segment in the material track segments, determining the replaceable material in the target video draft.

[0038] In an embodiment of the present disclosure, users can directly set replaceable materials based on the material track segments presented on the template publishing interface. For example, to facilitate user operation, a status indicator control is provided on the material track segments, allowing users to set replaceable materials through the status indicator control. Specifically, each material track segment is provided with a corresponding status indicator control, which has a replaceable state and a non-replaceable state. For example, as shown in FIG3 , a lock on each material track segment represents the status indicator control. A lock indicates a non-replaceable state, while an unlock indicates a replaceable state. Users can trigger the status indicator control by, for example, clicking the lock, thereby changing the state of the status indicator control. The material track segment where the user triggers the status indicator control is the first target track segment. There can be one or more first target track segments, and there is no limit to this. For a material track segment, if the status indicator control on the segment is in the replaceable state, the material corresponding to the segment is replaceable; otherwise, it is non-replaceable. By using the status of the status indicator controls on each segment, it is possible to quickly and reliably determine the replaceable materials in the target video draft set by the user based on the segment.

[0039] Step S106: Generate a target video template based on the target video draft and replaceable materials.

[0040] In some implementation examples, a target operation can be performed on replaceable materials in a target video draft to generate a target video template based on the target video draft after the target operation is performed. The target operation includes a deletion operation or an addition operation of a replaceable identifier. In other words, the target video template is generated based on the target video draft with the replaceable materials deleted, or the replaceable identifier is added to the replaceable materials in the target video draft to generate the target video template. The target video template can be directly used by other users, such as by directly supplementing their own materials with the target video template with the replaceable materials deleted, or by replacing the materials in the target video template with the replaceable identifier added with their own materials.

[0041] For ease of understanding, the target video template is explained in detail below: The target video template is used to achieve a video editing effect in which filler materials replace replaceable materials based on the target video draft. For example, there are two ways to achieve a video editing effect in which filler materials replace replaceable materials based on the target video draft. The first way is to first delete the replaceable materials in the target video draft and use the target video draft with the replaceable materials deleted as the target video template. Subsequently, other users (i.e., template users) can upload the filler materials when using the target video template to obtain a result video draft containing the filler materials, thereby achieving the video editing effect in which the filler materials replace the replaceable materials. Another way is to add a replaceable identifier to the replaceable materials in the target video draft and use the target video draft with the replaceable identifier as the target video template. Subsequently, other users can upload the filler materials when using the target video template, identify the replaceable materials based on the replaceable identifier, and directly use the filler materials to replace the replaceable materials, thereby obtaining a result video draft containing the filler materials, thereby achieving the video editing effect in which the filler materials replace the replaceable materials. The result video draft can be used to generate the target video after exporting and can also be used for further editing by users. The main difference between the result video draft obtained by the template user and the target video draft used by the template creator is that at least some of the materials are different. The result video draft contains filler materials, and the target video draft contains replaceable materials. For example, the target video draft includes material A, material B and material C, where material A is a replaceable material. Material A in the target video draft is deleted or a replaceable mark is added to obtain the target video template. The template user uploads material a (that is, filler material) for the target video template, and the result video draft obtained includes material a, material B and material C. It should be noted that the editing information of the target video draft and the result video draft is the same, that is, the editing method of the materials is consistent. Therefore, the video effect formed by materials A, B and C is the same as the video effect formed by materials a, B and C except for the difference between material A and material a, and the rest are consistent, presenting the user with the video editing effect of material a replacing material A.

[0042] It should also be noted that the template publishing interface also provides users (template creators) with template cover and template title settings. Based on the user-set template cover, template title, target video draft, and replaceable materials, the target video template is generated. Furthermore, advanced settings can also be provided to users, such as whether to retain the original sound, whether to display the user's video in full, and whether to allow intelligent modification of the number of template segments. These are not restricted here and can be flexibly set according to actual needs.

[0043] In actual applications, after the target video template is generated, the target video template may be released in response to receiving a confirmation release instruction from the user for the target video template.

[0044] For example, a confirmation control can be further provided to the user. When it is detected that the user triggers the confirmation control, it is confirmed that the user's confirmation release instruction for the target video template has been received. At this time, the target video template can be released, such as publishing the target video template to a designated platform.

[0045] In summary, through the above method, a more user-friendly template publishing interface is provided to users. Users can directly set replaceable materials based on the material track fragments on multiple editing tracks. This is very convenient and fast, and can greatly improve the efficiency of template generation, thereby greatly improving the efficiency of template publishing.

[0046] Based on the state identification control set on the material track segment, the embodiment of the present disclosure provides an implementation method for determining replaceable materials in the target video draft in response to a setting operation on the first target track segment in the material track segment. The implementation can refer to the following steps A and B:

[0047] In step A, in response to a trigger operation on a status indicator control on a first target track segment in the material track segments, the current state of the status indicator control on each material track segment is determined. The current state includes a replaceable state and a non-replaceable state. In other words, the state of the status indicator control can be changed by the user through a trigger.

[0048] For ease of understanding, the disclosed embodiment provides a specific implementation of step A above. Specifically, in response to a trigger operation on a status indicator control on a first target track segment in a material track segment, the current state of the status indicator control on each material track segment is determined based on the state of the status indicator control on the first target track segment before the trigger operation. The material track segment on which the status indicator control on which the trigger operation is performed is referred to herein as the first track segment. The current state of the status indicator control on the first target track segment is different from the state of the status indicator control on the first target track segment before the trigger operation, and the current state of the status indicator control on the non-first target track segments in the material track segment is the same as the state of the status indicator control on the non-first target track segments before the trigger operation. The non-first target track segments are track segments in the material track segment other than the first target track segment. In the above implementation, the user's trigger operation changes the state of the first track segment, while the states of the non-first target track segments remain unchanged. In actual applications, users can directly click on a status indicator control on a certain material track segment to change the state of the status indicator control. For example, if the status of the status indicator control before the trigger operation is non-replaceable, it will be changed to replaceable after the trigger operation; if the status of the status indicator control before the trigger operation is replaceable, it will be changed to non-replaceable after the trigger operation. Users can trigger the status indicator control once or multiple times as needed, and each trigger changes the control state once. The initial state of the status indicator control can be a preset default state, such as the initial default state is replaceable, which changes to non-replaceable after the user triggers it.

[0049] To further simplify user operations, in some embodiments, the user can perform a multi-select operation on a material track segment. That is, the user can select multiple material track segments simultaneously so that the corresponding materials can be set to replaceable for multiple material track segments simultaneously. Based on this, when performing the above-mentioned step A, the embodiment of the present disclosure can, in response to the multi-select operation on the material track segment, determine the multiple selected track segments corresponding to the multi-select operation from the material track segment; in response to the triggering operation on the status indicator control on the first target track segment among the multiple selected track segments, determine the current state of the status indicator control on each material track segment; wherein the current state of the status indicator control corresponding to each of the multiple selected track segments remains consistent and is different from the state of the status indicator control on the first target track segment before the triggering operation; and the current state of the status indicator control on the non-selected track segments in the material track segment is the same as the state of the status indicator control on the non-selected target track segment before the triggering operation. The non-selected track segments are the track segments in the material track segment other than the multiple selected track segments, i.e., the track segments not selected by the multi-selection operation. It should be noted that the above-mentioned triggering operations all refer to the user triggering operations on the status identification control on the first target track segment among multiple selected track segments. The user can first perform a multi-select operation to simultaneously select multiple selected track segments from multiple material track segments, and then perform a triggering operation on the status identification control on only one track segment (the first target track segment) among the multiple selected track segments. In this embodiment, although only the status identification control of the first target track segment is triggered, the states of the status identification controls of other selected track segments selected at the same time as the first target track segment can be changed at the same time. Specifically, the states of the status identification controls of the other selected track segments are consistent with the states of the status identification controls of the first target track segment after the change. In other words, the current states of the status identification controls corresponding to each of the multiple selected track segments are opposite to the states of the status identification controls of the first target track segment before the triggering operation. In this way, the states of the status identification controls of multiple material track segments can be efficiently set.

[0050] For example, take the example of a user selecting material track segments A, B, and C at the same time. Assuming that the status indicator controls corresponding to material track segments A and C are in the non-replaceable state, and the status indicator control corresponding to material track segment B is in the replaceable state, if the user triggers the status indicator control of material track segment A (i.e., changes the state of the status indicator control of material track segment A), the status indicator controls of material track segments A, B, and C are uniformly set to the replaceable state; if the user triggers the status indicator control of material track segment B (i.e., changes the state of the status indicator control of material track segment B), the status indicator controls of material track segments A, B, and C are uniformly set to the non-replaceable state.

[0051] In step B, the replaceable material in the target video draft is determined based on the second target track segment corresponding to the state identification control currently in the replaceable state. That is, the material corresponding to the material track segment corresponding to the state identification control currently in the replaceable state (i.e., the second target track segment) is the replaceable material. This method allows for quick and easy determination of the replaceable material set by the user.

[0052] In order to facilitate the user to manipulate the status identification control, the method provided in the embodiment of the present disclosure further includes: when it is detected that the third target track segment in the material track segment is sliding along the time axis, adjusting the position of the status identification control corresponding to the third target track segment so that the status identification control corresponding to the third target track segment is located within the window corresponding to the third target track segment. In the embodiment of the present disclosure, the material track segment that slides along the time axis is referred to as the third target track segment. It should be noted that the track segments such as the first target track segment, the second target track segment, and the third target track segment mentioned in the embodiment of the present disclosure can be the same track segment or different track segments, and the number of each can be one or more, which is not limited here. It is understandable that the user may slide a certain material track segment (i.e., the third target track segment) along the timeline as needed so as to quickly view or locate the presentation screen of a certain material (such as a video) at different times. However, this may result in the material track segment not being fully displayed in the window. If the relative position of the status identification control and the material track segment is fixed, the status identification control may not appear in the window as the material track segment slides, which is inconvenient for the user to operate. Therefore, when the embodiment of the present disclosure detects that the third target track segment is sliding along the timeline, the position of the status identification control corresponding to the third target track segment can be flexibly adjusted to ensure that its status identification control can always be located in the window corresponding to the third target track segment, so that the user can always see the status identification control on the third target track segment and trigger it when needed to conveniently change the state of the status identification control.

[0053] For ease of understanding, please refer to Figures 4a and 4b, respectively, showing the relative positional relationship between a status indicator control and a video track segment. It can be understood that a video track segment can present multiple thumbnails of a video in chronological order to the user. The thumbnails can specifically be thumbnails of video keyframes. In Figure 4a, the status indicator control (lock) is located at the position of thumbnail 1. If the video track segment slides along the timeline, the thumbnails within the video track segment's window will also change. As shown in Figure 4a, the user can simultaneously see thumbnails 1 to 9 through the video track segment's window. As the video track segment slides along the timeline, as shown in Figure 4b, as time changes, the user can simultaneously see thumbnails 7 to 15 through the video track segment's window, while thumbnails 1 to 6 are no longer displayed within the window. If the relative position of the video track segment and its corresponding status indicator control remains unchanged, the status indicator control will also become invisible as thumbnail 1 moves out of the window. If the user wants to trigger the status indicator control, they must slide the video track segment in the opposite direction, which is a cumbersome operation. To this end, the embodiment of the present disclosure can dynamically adjust the position of the status identification control corresponding to the material track segment as the material track segment slides along the timeline, so that the status identification control is always visible when the material track segment exists. Even if the user slides the material track segment, the status identification control can be directly triggered according to needs conveniently and quickly without having to return to search for the status identification control, which can better ensure user experience.

[0054] To sum up, the video editing method provided by the embodiment of the present disclosure directly displays multiple editing tracks on the template publishing interface and allows users to directly set replaceable materials based on material track fragments, which provides great convenience for users. Users can quickly understand the current material situation and select replaceable materials. It is very convenient and fast, and can greatly improve the efficiency of template generation and publishing.

[0055] Corresponding to the aforementioned method for publishing video templates, FIG5 is a schematic structural diagram of a video editing device provided by an embodiment of the present disclosure. The device can be implemented by software and / or hardware and can generally be integrated into an electronic device. As shown in FIG5 , the video editing device 500 includes:

[0056] The publishing interface display module 502 is configured to display a template publishing interface based on the target video draft; wherein the template publishing interface includes an editing track area, the editing track area including multiple editing tracks, and the multiple editing tracks displaying material track segments formed based on at least part of the material of the target video draft; the target video draft includes the material and the editing operation information corresponding to the material;

[0057] a replaceable material determining module 504, configured to determine replaceable materials in the target video draft in response to a setting operation on a first target track segment in the material track segments;

[0058] The template generation module 506 is used to generate a target video template based on the target video draft and the replaceable material; wherein the target video template is used to achieve a video editing effect of replacing the replaceable material with the filler material based on the target video draft.

[0059] Through the above device, a more user-friendly template publishing interface is provided to users. Users can directly set replaceable materials based on the material track fragments on multiple editing tracks. This is very convenient and fast, and can greatly improve the efficiency of template generation, further helping to improve the efficiency of template publishing.

[0060] In some embodiments, a status identification control is provided on the material track segment; the replaceable material determination module 504 is specifically configured to: in response to a triggering operation on the status identification control on the first target track segment in the material track segment, determine the current state of the status identification control on each of the material track segments, wherein the current state includes a replaceable state or a non-replaceable state; and determine the replaceable material in the target video draft based on the second target track segment corresponding to the status identification control that is currently in a replaceable state.

[0061] In some embodiments, the device further includes a control position adjustment module for adjusting the position of a status identification control corresponding to the third target track segment when it is detected that the third target track segment in the material track segment slides along the time axis, so that the status identification control corresponding to the third target track segment is located within the window corresponding to the third target track segment.

[0062] In some embodiments, the replaceable material determination module 504 is specifically used to: in response to a trigger operation on a status identification control on a first target track segment in the material track segment, determine the current state of the status identification control on each of the material track segments based on the state of the status identification control on the first target track segment before the trigger operation; wherein the current state of the status identification control on the first target track segment is different from the state of the status identification control on the first target track segment before the trigger operation, and the current state of the status identification control on the non-first target track segment in the material track segment is the same as the state of the status identification control on the non-first target track segment before the trigger operation.

[0063] In some embodiments, the replaceable material determination module 504 is specifically used to: in response to a multiple selection operation on the material track segment, determine a plurality of selected track segments corresponding to the multiple selection operation from the material track segment; in response to a trigger operation on a status identification control on a first target track segment among the plurality of selected track segments, determine the current state of the status identification control on each of the material track segments; wherein the current state of the status identification control corresponding to each of the plurality of selected track segments remains consistent and is different from the state of the status identification control on the first target track segment before the trigger operation; the current state of the status identification control on the non-selected track segment in the material track segment is the same as the state of the status identification control on the non-selected target track segment before the trigger operation.

[0064] In some embodiments, the publishing interface display module 502 is specifically used to: respond to the triggering operation of the publishing control on the draft editing interface, determine whether the target video draft meets the preset publishing conditions; if so, display the template publishing interface based on the target video draft.

[0065] In some embodiments, the publishing conditions include one or more of the following conditions: all materials in the target video draft have been downloaded, all algorithms involved in the target video draft have been calculated, all materials in the target video draft have not been lost or damaged, the main track corresponding to the target video draft is not empty, and the target video draft does not contain specified content.

[0066] In some embodiments, the template generation module 506 is specifically used to: perform a target operation on the replaceable material in the target video draft to obtain a target video template based on the target video draft after performing the target operation; wherein, the target operation includes: a deletion operation or an addition operation of a replaceable identifier.

[0067] In some embodiments, the apparatus further includes a template publishing module configured to publish the target video template in response to receiving a confirmation publishing instruction from a user for the target video template.

[0068] The video editing device provided by the embodiments of the present disclosure can execute the video editing method provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0069] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described device embodiment can refer to the corresponding process in the method embodiment, and will not be repeated here.

[0070] An embodiment of the present disclosure provides an electronic device, which includes: a storage device storing a computer program; and a processing device configured to execute the computer program in the storage device to implement the steps of any one of the methods in the present disclosure.

[0071] Reference is now made to FIG6 , which illustrates a schematic diagram of the structure of an electronic device 600 suitable for implementing embodiments of the present disclosure. Terminal devices in embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG6 is merely an example and should not limit the functionality or scope of use of embodiments of the present disclosure.

[0072] As shown in Figure 6, the electronic device 600 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0073] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 6 shows the electronic device 600 with various devices, it should be understood that not all of the devices shown are required to be implemented or present. More or fewer devices may alternatively be implemented or present.

[0074] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.

[0075] In addition to the above-mentioned methods and devices, an embodiment of the present disclosure may also be a computer program product, which includes computer program instructions, which, when executed by a processor, cause the processor to perform the video editing method provided by the embodiment of the present disclosure. The computer program product can be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present disclosure, and the programming languages ​​include object-oriented programming languages ​​such as Java, C++, etc., and also include conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0076] In addition, the embodiment of the present disclosure may also be a computer-readable storage medium having computer program instructions stored thereon. When the computer program instructions are executed by a processor, the processor is enabled to execute the video editing method provided by the embodiment of the present disclosure.

[0077] The computer-readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can, for example, include but is not limited to a system, device or component of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0078] The embodiments of the present disclosure further provide a computer program product, including a computer program / instruction, which implements the video editing method in the embodiments of the present disclosure when executed by a processor.

[0079] It is understandable that before using the technical solutions disclosed in the various embodiments of this disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved in this disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0080] For example, in response to a user's active request, a prompt message is sent to the user to clearly inform the user that the operation requested will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the electronic device, application, server, storage medium, or other software or hardware that performs the operations of the disclosed technical solution based on the prompt message.

[0081] As an optional but non-limiting implementation, in response to receiving a user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. Furthermore, the pop-up window may also contain a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.

[0082] It is understandable that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0083] It should be noted that, in this document, 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 any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.

[0084] The foregoing description is intended only to provide specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments described herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.

Claims

1. A video editing method, characterized in that: include: Based on the target video draft, a template publishing interface is displayed; wherein the template publishing interface includes an editing track area, the editing track area includes a plurality of editing tracks, and a material track segment formed based on at least part of the material of the target video draft is presented on the plurality of editing tracks; the target video draft includes material and editing information, and the editing information is used to indicate an editing operation on the material; In response to a setting operation on a first target track segment in the material track segments, determining replaceable materials in the target video draft; A target video template is generated based on the target video draft and the replaceable material; wherein the target video template is used to achieve a video editing effect of replacing the replaceable material with the filler material based on the target video draft.

2. The method according to claim 1, characterized in that The material track segment is provided with a status identification control; and in response to a setting operation on a first target track segment in the material track segment, determining replaceable material in the target video draft includes: In response to a triggering operation on a state identification control on a first target track segment among the material track segments, determining a current state of the state identification control on each of the material track segments, wherein the current state includes a replaceable state or a non-replaceable state; The replaceable material in the target video draft is determined based on the second target track segment corresponding to the state identification control that is currently in the replaceable state.

3. The method according to claim 2, characterized in that The method further comprises: When it is detected that the third target track segment in the material track segment slides along the time axis, the position of the state identification control corresponding to the third target track segment is adjusted so that the state identification control corresponding to the third target track segment Located in the window corresponding to the third target track segment.

4. The method according to claim 2, characterized in that: The step of determining the current state of the state identification control on each of the material track segments in response to the triggering operation on the state identification control on the first target track segment in the material track segments comprises: In response to a trigger operation on a status identification control on a first target track segment among the material track segments, determining a current state of the status identification control on each of the material track segments based on a state of the status identification control on the first target track segment before the trigger operation; Among them, the current state of the status identification control on the first target track segment is different from the state of the status identification control on the first target track segment before the trigger operation, and the current state of the status identification control on the non-first target track segment in the material track segment is the same as the state of the status identification control on the non-first target track segment before the trigger operation.

5. The method according to claim 2, characterized in that: The step of determining the current state of the state identification control on each of the material track segments in response to the triggering operation on the state identification control on the first target track segment in the material track segments comprises: In response to a multiple selection operation on the material track segments, determining a plurality of selected track segments corresponding to the multiple selection operation from the material track segments; In response to a triggering operation on a status identification control on a first target track segment among the plurality of selected track segments, determining a current status of a status identification control on each of the material track segments; Among them, the current states of the status identification controls corresponding to the multiple selected track segments are all consistent, and are different from the states of the status identification controls on the first target track segment before the trigger operation; the current states of the status identification controls on the non-selected track segments in the material track segment are the same as the states of the status identification controls on the non-selected target track segments before the trigger operation.

6. The method according to claim 1, characterized in that The step of displaying the template publishing interface based on the target video draft includes: In response to a trigger operation on a publishing control on the draft editing interface, determining whether the target video draft meets a preset publishing condition; If so, based on the target video draft, display the template publishing interface.

7. The method according to claim 6, characterized in that The publishing conditions include one or more of the following conditions: the materials in the target video draft have all been downloaded, the algorithms involved in the target video draft have all been calculated, the materials in the target video draft have not been lost or damaged, the main track corresponding to the target video draft is not empty, and the target video draft does not contain specified content.

8. The method according to claim 1, characterized in that The generating a target video template based on the target video draft and the replaceable material includes: A target operation is performed on the replaceable material in the target video draft to obtain a target video template based on the target video draft after the target operation is performed; wherein the target operation includes: a deletion operation or an addition operation of a replaceable identifier.

9. The method according to any one of claims 1 to 8, characterized in that: The method further comprises: In response to receiving a confirmation publishing instruction from a user for the target video template, the target video template is published.

10. A video editing device, characterized in that: include: A publishing interface display module, used to display a template publishing interface based on a target video draft; wherein the template publishing interface includes an editing track area, the editing track area includes a plurality of editing tracks, and a material track segment formed based on at least part of the material of the target video draft is presented on the plurality of editing tracks; the target video draft includes the material and the editing operation information corresponding to the material; A replaceable material determination module is configured to respond to the material track segment The setting operation of the first target track segment in the target video draft is performed to determine the replaceable material in the target video draft; A template generation module is used to generate a target video template based on the target video draft and the replaceable material; wherein the target video template is used to achieve a video editing effect of replacing the replaceable material with the filler material based on the target video draft.

11. An electronic device, characterized in that: The electronic device comprises: a storage device having a computer program stored thereon; A processing device, used to execute the computer program in the storage device to implement the steps of the video editing method according to any one of claims 1-9.

12. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the video editing method according to any one of claims 1 to 9.

13. A computer program product, characterized in that The invention comprises a computer program, which implements the video editing method according to any one of claims 1 to 9 when being executed by a processor.

Citation Information

Patent Citations

  • Video editing method, apparatus, device, and medium

    CN119383388B

  • Multimedia universal template generation method, electronic equipment and storage medium

    CN112584061A

  • Efficient editable video special effect output method and device and electronic equipment

    CN112911388A

  • Assisted Video Creation Utilizing a Camera

    US20100220197A1

  • Methods, apparatus and computer-readable media for customized media production and templates therefor

    WO2017106960A1

Cited By

  • Video editing method and device, storage medium and program product

    CN120186431A

  • Video editing method, electronic equipment, storage medium and program product

    CN121665067A