Video editing method and device, equipment and medium

By providing a template release interface in the video editing software, users can determine the replacement material and generate video template based on the target video draft, solve the problem of low template production efficiency in existing technology, and achieve more efficient template generation and release.

CN119383388AActive Publication Date: 2025-01-28BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Application Number
CN202310928336.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-26
Publication Date
2025-01-28
Estimated Expiration
2043-07-26

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 determine the replaceable material based on the target video draft and generate the target video template. This interface contains the editing track area. Users can present material track fragments on multiple editing tracks, setting the status identification control to determine the replaceable material.

Benefits of technology

This method greatly simplifies the template generation process, improves the efficiency of template generation and release. Users can quickly and conveniently select and replace the materials, and improve the overall video editing experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383388A_ABST
    Figure CN119383388A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to a video editing method and device, equipment and a medium, and the method comprises the steps: displaying a template release interface based on a target video draft; the template release interface comprises an editing track area, the editing track area comprises a plurality of editing tracks, and material track fragments formed by at least part of materials based on the target video draft are presented on the plurality of editing tracks; the target video draft comprises materials and editing information, and the editing information is used for indicating editing operation for the materials; in response to a setting operation for a first target track segment in the material track segments, determining replaceable materials in the target video draft; generating a target video template based on the target video draft and the replaceable material; the target video template is used for realizing a video editing effect of replacing the replaceable material with the filling material based on the target video draft. According to the embodiment of the invention, a convenient and rapid template generation mode is provided for the user, and the template generation efficiency can be well improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] In order to enable users to edit videos conveniently and quickly, some video editing software or websites can provide users with video templates. In many cases, video templates are created and published by template creators. However, the inventors have found through research that in the related art, it is inconvenient for template creators to generate templates, and the template generation efficiency is low. Summary of the invention

[0003] 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, device, equipment and medium.

[0004] An embodiment of the present disclosure provides a video editing method, the method comprising: based on a target video draft, displaying a template publishing interface; wherein the template publishing interface comprises an editing track area, the editing track area comprises a plurality of editing tracks, and material track segments formed based on at least part of the material of the target video draft are presented on the plurality of editing tracks; the target video draft comprises material and editing information, 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 segment, determining replaceable material in the target video draft; based on the target video draft and the replaceable material, generating a target video template; wherein the target video template is used to achieve a video editing effect based on the target video draft of replacing replaceable material with filler material.

[0005] Optionally, a status identification control is set on the material track segment; the 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: in response to the triggering operation on the status identification control on the first target track segment in the material track segment, determining the current state of the status identification control on each of the material track segments, the current state including a replaceable state or a non-replaceable state; 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.

[0006] Optionally, the method also 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.

[0007] Optionally, in response to a trigger operation on a status identification control on a first target track segment in the material track segment, determining the current state of the status identification control on each material track segment includes: in response to a trigger operation on a status identification control on a first target track segment in the material track segment, based on the state of the status identification control on the first target track segment before the trigger operation, determining the current state of the status identification control on each 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 a 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.

[0008] Optionally, the determining the current state of the status identification control on each of the material track segments in response to a trigger operation on a status identification control on a first target track segment in the material track segment includes: in response to a multiple selection operation on the material track segment, determining 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 in the plurality of selected track segments, determining 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 is consistent and 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-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.

[0009] Optionally, the step of displaying a 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 preset publishing conditions; if so, displaying a template publishing interface based on the target video draft.

[0010] 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.

[0011] 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.

[0012] 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.

[0013] The disclosed embodiment also provides a video editing device, comprising: 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 multiple editing tracks, and a material track segment formed by at least part of the material based on the target video draft is presented on the multiple editing tracks; the target video draft includes the material and the 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 the 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 by replacing the replaceable material with the filler material.

[0014] The embodiment of the present disclosure also provides an electronic device, which includes: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to implement the steps of the video editing method.

[0015] The 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.

[0016] The above technical solution provided by the embodiment of the present disclosure can display a template publishing interface based on the target video draft, and the template publishing interface includes an editing track area, and the editing track area includes multiple editing tracks, on which material track segments formed based on at least part of the material of the target video draft are presented. 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, which is very convenient and fast, and can greatly improve the efficiency of template generation.

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

[0018] 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.

[0019] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0020] Figure 1 A flowchart of a video editing method provided by an embodiment of the present disclosure;

[0021] Figure 2 A schematic diagram of a draft editing interface provided by an embodiment of the present disclosure;

[0022] Figure 3 A schematic diagram of a template publishing interface provided in an embodiment of the present disclosure;

[0023] Figure 4a A schematic diagram of the relative position relationship between a status identification control and a video track segment provided in an embodiment of the present disclosure;

[0024] Figure 4b A schematic diagram of the relative position relationship between a status identification control and a video track segment provided in an embodiment of the present disclosure;

[0025] Figure 5 A schematic diagram of the structure of a video editing device provided by an embodiment of the present disclosure;

[0026] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0027] 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 in the embodiments can be combined with each other without conflict.

[0028] 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.

[0029] In the related art, it is 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. It is difficult for creators to easily know the materials involved in the template and quickly select replaceable materials from them. Therefore, in the process of selecting replaceable materials, a lot of time and energy are usually wasted, and the template generation efficiency is low, which also leads to low template publishing efficiency. In order 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.

[0030] Figure 1 The flowchart of a video editing method provided by an embodiment of the present disclosure is shown in FIG. 1 , which can be executed by a video editing device, wherein the device can be implemented by software and / or hardware and can generally be integrated in an electronic device. Figure 1 As shown, the method mainly includes the following steps S102 to S106:

[0031] Step S102, based on the target video draft, display the template publishing interface.

[0032] In actual applications, the template publishing interface can be displayed when certain conditions are met, so that users 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 the 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 material and editing information. The editing information is used to indicate editing operations on the material. The material can be, for example, images, videos, audio, text, stickers, special effects, etc., which are not limited here. For ease of understanding, you can first refer to Figure 2 A schematic diagram of a draft editing interface is shown, 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, and the materials in the target video draft can all have corresponding editing tracks, such as text tracks, sticker tracks, video tracks, etc., and form material track segments on the corresponding editing tracks. One track can have one or more material track segments, such as, Figure 2 It is shown that there are text track segments 1 and 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 be a variety of editing tool operation controls, such as text editing controls, map 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 directly select the materials they need to add to the target video draft from the local or cloud; Figure 2 For the sake of simple illustration, the embodiment of the present disclosure does not limit the arrangement of the above areas of the draft editing interface, and may also include more areas, such as the attribute area. Figure 2 The above diagram shows that publishing controls are displayed on the draft editing interface. In addition, other functional controls such as export controls can 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 when 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 needs to be generated first and then 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, etc., and generate and publish templates based on user operations.

[0033] Exemplarily, the publishing conditions include one or more of the following conditions: the materials in the target video draft have been downloaded, the algorithms involved in the target video draft have 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, which may be materials with specified purposes, other templates, or specified keywords, etc., which are not limited here. Only when the above publishing conditions are met, the template publishing interface is displayed for the user to generate and publish the target video template based on the template publishing interface, so as to fully ensure the availability of the template to be published later.

[0034] In some embodiments, see Figure 3 A schematic diagram of a template publishing interface is shown, 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, so the editing track of the material can be directly hidden, that is, the editing track area of ​​the template publishing interface will not display the editing track of such materials. By directly presenting the material track segments on the template publishing interface, it is not only convenient for users to clearly know 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 that are allowed to be replaced by other users in the current existing materials (that is, replaceable materials) based on the material track segments.

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

[0036] In the embodiment of the present disclosure, the user can directly set replaceable materials based on the material track segment presented on the template publishing interface. For example, in order to facilitate user operation, a state identification control is set on the material track segment, and the user can set the replaceable material through the state identification control. Specifically, each material track segment is provided with a corresponding state identification control, and the state identification control has a replaceable state and a non-replaceable state. For example, reference can be made to Figure 3As shown, the lock on each material track segment represents a status identification control. A lock indicates a non-replaceable state, and an unlock indicates a replaceable state. The user can perform a trigger operation on the status identification control by, for example, clicking the lock, thereby changing the state of the status identification control. The material track segment where the user triggers the status identification control is located is the first target track segment. The number of first target track segments can be one or more, which is not limited here. For a certain material track segment, if the status identification control on it is in a replaceable state, it means that the material corresponding to the material track segment is a replaceable material, otherwise it is a non-replaceable material. Through the state of the status identification controls on each material track segment, it is possible to quickly and reliably determine the replaceable materials in the target video draft set by the user based on the material track segment.

[0037] Step S106, generating a target video template based on the target video draft and replaceable materials.

[0038] In some implementation examples, a target operation may be performed on replaceable materials in a 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. In other words, the target video template is generated based on the target video draft from which the replaceable materials have been deleted, or the replaceable identifier is added to the replaceable materials in the target video draft to obtain the target video template. The target video template may be directly used by other users, such as other users directly supplementing their own materials in the target video template from which the replaceable materials have been deleted, or using their own materials to replace the materials in the target video template to which the replaceable identifier has been added.

[0039] For ease of understanding, the target video template is described in detail below: The target video template is used to achieve a video editing effect based on the target video draft to replace the replaceable material with the filler material. Exemplarily, there are two ways to achieve the video editing effect based on the target video draft to replace the replaceable material with the filler material. The first way is to first delete the replaceable material in the target video draft, and use the target video draft that deletes the replaceable material as the target video template. Later, other users (i.e., template users) upload the filler material when using the target video template to obtain the result video draft containing the filler material, so as to achieve the video editing effect of replacing the replaceable material with the filler material. Another way is to add a replaceable mark to the replaceable material in the target video draft, and use the target video draft after adding the replaceable mark as the target video template. Later, other users upload the filler material when using the target video template, identify the replaceable material based on the replaceable mark, and directly use the filler material to replace the replaceable material, so as to obtain the result video draft containing the filler material, so as to achieve the video editing effect of replacing the replaceable material with the filler material. Among them, the above-mentioned result video draft can be used to generate the target video after exporting, and is also 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, the 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, material B and material C is consistent with the video effect formed by materials a, material B and material 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.

[0040] It should also be noted that the template publishing interface can also provide users (template creators) with template cover settings and template title settings, and generate a target video template based on the template cover, template title, target video draft, and replaceable materials set by the user. Furthermore, advanced settings can also be provided to users, such as whether to retain the original sound, whether to fully display the user's video, whether to allow intelligent modification of the number of template clips, etc., which are not limited here and can be flexibly set according to actual needs.

[0041] 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 a user for the target video template.

[0042] For example, a confirmation control may be further provided to the user. When it is detected that the user has triggered the confirmation control, it is confirmed that the user has confirmed the release instruction for the target video template. At this time, the target video template may be released, such as to a designated platform.

[0043] 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.

[0044] On the basis of setting a status identification control on a material track segment, the embodiment of the present disclosure provides an implementation method for determining replaceable materials in a target video draft in response to a setting operation on a first target track segment in the material track segment, which can be performed with reference to the following steps A and B:

[0045] Step A, in response to a trigger operation on a state identification control on a first target track segment in a material track segment, determines the current state of the state identification control on each material track segment, the current state includes a replaceable state and a non-replaceable state. That is, the user can change the state of the state identification control by triggering.

[0046] For ease of understanding, the disclosed embodiment provides a specific implementation of the above step A. Specifically, in response to a trigger operation on a status identification control on a first target track segment in a material track segment, the current state of the status identification control on each material track segment is determined based on the state of the status identification control on the first target track segment before the trigger operation; the material track segment where the status identification control on which the trigger operation is executed is located is referred to as the first 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. The non-first target track segment is the other track segment in the material track segment except the first target track segment. In the above implementation, the user's trigger operation changes the state of the first track segment, and the state of the non-first target track segment remains unchanged. In actual applications, users can directly click on a status identification control on a certain material track segment to trigger, thereby changing the state of the status identification control. For example, if the status of the status identification control before the trigger operation is a non-replaceable state, it will be changed to a replaceable state after the trigger operation; if the status of the status identification control before the trigger operation is a replaceable state, it will be changed to a non-replaceable state after the trigger operation. Users can trigger the status identification control once or multiple times as needed, and change the control state once each time it is triggered. The initial state of the status identification control can be a preset default state, such as the initial default is a replaceable state, which is changed to a non-replaceable state after the user triggers it.

[0047] In order to further simplify the user operation, in some embodiments, the user can perform a multi-select operation on the material track segment, that is, the user can select multiple material track segments at the same time, so that the corresponding materials can be set together for multiple material track segments whether they are replaceable. Based on this, when executing the above step A, the embodiment of the present disclosure can respond 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; respond to the trigger operation on the state identification control on the first target track segment among the multiple selected track segments, determine the current state of the state identification control on each material track segment; wherein the current state of the state identification control corresponding to each of the multiple selected track segments is consistent, and is different from the state of the state identification control on the first target track segment before the trigger operation; the current state of the state identification control on the non-selected track segment in the material track segment is the same as the state of the state identification control on the non-selected target track segment before the trigger operation. wherein the non-selected track segment is the track segment in the material track segment other than the above-mentioned multiple selected track segments, that is, the track segment not selected by the multi-select operation. It should be noted that the above triggering operations all refer to the user's triggering operation on the status identification control on the first target track segment among multiple selected track segments. The user can first perform a multiple selection operation to simultaneously select multiple selected track segments among multiple material track segments, and then perform a triggering operation on only the status identification control on 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 first target track segment after the status identification control is changed. 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 the above manner, the states of the status identification controls of multiple material track segments can be efficiently set.

[0048] For example, taking the case where the user selects material track segments A, B, and C at the same time, assuming that the status identification controls corresponding to material track segments A and C are in a non-replaceable state, and the status identification control corresponding to material track segment B is in a replaceable state, if the user triggers the status identification control of material track segment A (i.e., changes the state of the status identification control of material track segment A), the status identification controls of material track segments A, B, and C are uniformly set to a replaceable state; if the user triggers the status identification control of material track segment B (i.e., changes the state of the status identification control of material track segment B), the status identification controls of material track segments A, B, and C are uniformly set to a non-replaceable state.

[0049] Step B, based on the second target track segment corresponding to the state identification control currently in the replaceable state, determines the replaceable material in the target video draft. That is, the material corresponding to the material track segment (that is, the second target track segment) corresponding to the state identification control currently in the replaceable state is the replaceable material. In the above manner, the replaceable material set by the user can be determined conveniently and quickly.

[0050] In order to facilitate the user to manipulate the status identification control, the method provided in the embodiment of the present disclosure also 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 in 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 called 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 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 material (such as a video) at different times. However, this may result in that the material track segment may not be 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 slides along the timeline, the position of the status identification control corresponding to the third target track segment can be flexibly adjusted to ensure that the 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 necessary to conveniently change the state of the status identification control.

[0051] For easier understanding, please refer to Figure 4a and Figure 4b The schematic diagrams of the relative position relationship between a state identification control and a video track segment are shown respectively. It can be understood that the video track segment can present multiple thumbnails of the video to the user in chronological order, and the thumbnails can specifically be thumbnails of the video key frames. Figure 4a The status indicator control (lock) in the thumbnail Figure 1 If the video track clip slides along the timeline, the thumbnail in the video track clip window will also change, such as Figure 4a As shown, users can see thumbnails through the video track clip window at the same time Figure 1 ~ thumbnail 9, and when the video track clip slides along the timeline, such as Figure 4b As shown, as time changes, the user can simultaneously see thumbnails 7 to 15 through the video track segment window, and thumbnails Figure 1 ~Abbreviation Figure 6 If you keep the relative position of the video track clip and its corresponding status indicator control unchanged, the status indicator control will also be displayed with the thumbnail. Figure 1 The status identification control is removed from the window and becomes invisible. If the user wants to trigger the status identification control, he or she needs to slide the video track segment in the opposite direction, which is a cumbersome operation. To this end, the disclosed embodiment 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 the needs quickly and conveniently without returning to search for the status identification control, which can better ensure the user experience.

[0052] 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, which is very convenient and fast and can greatly improve the efficiency of template generation and publishing.

[0053] Corresponding to the publishing method of the aforementioned video template, Figure 5 FIG. 1 is a schematic 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, such as Figure 5 As shown, the video editing device 500 includes:

[0054] The publishing interface display module 502 is used 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 includes multiple editing tracks, and material track segments formed based on at least part of the material of the target video draft are presented on the multiple editing tracks; the target video draft includes the material and the editing operation information corresponding to the material;

[0055] A replaceable material determination 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;

[0056] 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.

[0057] 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 segments 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.

[0058] In some embodiments, a status identification control is provided on the material track segment; 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, 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.

[0059] In some embodiments, the device also includes a control position adjustment module, which is used to adjust the position of the 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.

[0060] 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.

[0061] 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 a 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 is 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.

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

[0063] In some embodiments, 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.

[0064] 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.

[0065] In some implementations, the device 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.

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

[0067] 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.

[0068] An embodiment of the present disclosure provides an electronic device, which includes: a storage device on which a computer program is stored; and a processing device for executing the computer program in the storage device to implement the steps of any method in the present disclosure.

[0069] Reference below Figure 6 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is 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), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0070] like Figure 6 As shown, 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. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. 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.

[0071] Typically, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touch pad, 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 Figure 6 The electronic device 600 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0072] 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 contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 609, or installed from a storage device 608, or installed from a 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 executed.

[0073] In addition to the above-mentioned methods and devices, the embodiments 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 execute the video editing method provided by the embodiments of the present disclosure. The computer program product may be written in any combination of one or more programming languages ​​to write program codes for executing the operations of the embodiments of the present disclosure, the programming languages ​​including object-oriented programming languages ​​such as Java, C++, etc., and also conventional procedural programming languages ​​such as "C" language or similar programming languages. The program code may be executed entirely on a user computing device, partially on a user device, as an independent software package, partially on a user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0074] In addition, the embodiment of the present disclosure may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the video editing method provided by the embodiment of the present disclosure.

[0075] 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 include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. 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 of the above.

[0076] The embodiments of the present disclosure also 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.

[0077] It is understandable that before using the technical solutions disclosed in the various embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present 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.

[0078] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0079] As an optional but non-limiting implementation, in response to receiving an active request from the user, 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. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

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

[0081] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0082] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be 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 will not be limited to the embodiments described herein, but will conform to the widest scope 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 status identification control corresponding to the third target track segment is adjusted so that the status identification control corresponding to the third target track segment is 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, 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; 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 and video editing device

    CN113038034A

  • Video editing method and video editing device

    CN113825017A

  • Video editing method, terminal device, and computer-readable storage medium

    WO2022126664A1

Cited By

  • Video editing method and apparatus, and device and medium

    EP4525459A1