Video editing methods, apparatus, devices, and media

The video editing method and apparatus facilitate efficient template generation by allowing direct selection of replaceable materials through status indicator controls, enhancing the convenience and efficiency of template creation and submission.

JP7879230B2Active Publication Date: 2026-06-23BEIJING ZITIAO NETWORK TECH CO LTD

Patent Information

Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
BEIJING ZITIAO NETWORK TECH CO LTD
Filing Date
2023-12-06
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

Existing video editing software makes it inconvenient and inefficient for template creators to generate templates due to cumbersome material selection processes, leading to reduced template submission efficiency.

Method used

A video editing method and apparatus that displays a template posting interface with editing tracks, allowing users to easily set replaceable materials through status indicator controls, and generates a target video template by replacing material with filler material based on the target video draft.

Benefits of technology

The method provides a more convenient and efficient template generation process by enabling direct selection of replaceable materials, improving the overall efficiency of template creation and submission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007879230000001
    Figure 0007879230000001
  • Figure 0007879230000002
    Figure 0007879230000002
  • Figure 0007879230000003
    Figure 0007879230000003
Patent Text Reader

Abstract

[0006] An embodiment of the present disclosure relates to a video editing method, apparatus, device, and medium, including: displaying a template posting interface based on a target video draft; the template posting interface including an edit track area, the edit track area including a plurality of edit tracks, on which material track clips formed based on at least some material of the target video draft are displayed; the target video draft including material and editing information, the editing information being used to direct material editing operations; determining replaceable material in the target video draft in response to a setting operation of a first target track clip among the material track clips; and generating a target video template based on the target video draft and the replaceable material, the target video template being used to achieve a video editing effect of replacing the replaceable material with filler material based on the target video draft. [0007] The embodiment of the present disclosure provides a convenient template generation method for users and further improves template generation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] [Related Application] This application was filed on July 26, 2023, claims the priority of the Chinese patent application with the invention title "Video Editing Method, Apparatus, Device and Medium" and application number 202310928336.3, and all the contents of the application are incorporated herein by reference.

[0002] [Technical Field] The present disclosure relates to the technical field of multimedia, and particularly to video editing methods, apparatuses, devices and media.

Background Art

[0003] In order for users to edit videos easily 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, as a result of research, the inventor has found that in related technologies, it is more inconvenient for template creators to generate templates, and the efficiency of template generation is low.

Summary of the Invention

[0004] To solve some or all of the above technical problems, the present disclosure provides a video editing method, apparatus, device and medium.

[0005] Embodiments of the present disclosure provide a video editing method, the method comprising displaying a template posting interface based on a target video draft, wherein the template posting interface includes an editing track area, the editing track area includes a plurality of editing tracks, on which material track clips formed based on at least some of the material of the target video draft are displayed, the target video draft includes material and editing information, the editing information is used to direct editing operations on the material, determining replaceable material in the target video draft in response to a setting operation of a first target track clip in the material track clips, and 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 in which replaceable material based on the target video draft is replaced with filler material.

[0006] Selectively setting a status indicator control on the material track clip and determining the replaceable material in the target video draft in response to setting a first target track clip in the material track clip includes determining the current state of a status indicator control on each of the material track clips in response to a trigger operation of a status indicator control on the first target track clip in the material track clip, wherein the current state includes a replaceable state or a non-replaceable state, and determining the replaceable material in the target video draft based on a second target track clip corresponding to a status indicator control that is currently in a replaceable state.

[0007] Optionally, the method further includes, when it is detected that the third target track clip in the material track clip is sliding along the time axis, adjusting the position of the state indicator control corresponding to the third target track clip to position the state indicator control corresponding to the third target track clip within the viewport corresponding to the third target track clip.

[0008] Selectively determining the current state of a state indicator control on each of the material track clips in response to a trigger operation of a state indicator control on a first target track clip in the material track clips includes determining the current state of a state indicator control on each of the material track clips in response to a trigger operation of a state indicator control on a first target track clip in the material track clips, based on the state of the state indicator control on the first target track clip before the trigger operation, wherein the current state of the state indicator control on the first target track clip is different from the state of the state indicator control on the first target track clip before the trigger operation, and the current state of a state indicator control on a non-first target track clip in the material track clip is the same as the state of the state indicator control on the non-first target track clip before the trigger operation.

[0009] Determining the current state of a state indicator control on each of the material track clips in the material track clips in response to a trigger operation of a state indicator control on a first target track clip in the material track clips includes determining a plurality of selected track clips from the material track clips in response to a plurality selection operation of the material track clips, and determining the current state of a state indicator control on each of the material track clips in response to a trigger operation of a state indicator control on a first target track clip in the plurality of selected track clips, wherein the current states of the state indicator controls corresponding to each of the plurality of selected track clips are all the same and different from the state of the state indicator control on the first target track clip before the trigger operation, and the current state of a state indicator control on an unselected track clip in the material track clips is the same as the state of the state indicator control on an unselected target track clip before the trigger operation.

[0010] Selectively displaying a template posting interface based on the target video draft includes determining whether the target video draft meets pre-defined posting conditions in response to a trigger operation of the posting control on the draft editing interface, and if the target video draft meets the pre-defined posting conditions, displaying the template posting interface based on the target video draft.

[0011] Selectively, the submission conditions include one or more of the following: all material in the target video draft is downloaded; all algorithms involved in the target video draft complete their calculations; all material in the target video draft is not lost or corrupted; the main track corresponding to the target video draft is not empty; and the target video draft does not contain the specified content.

[0012] Selectively 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 and obtaining a target video template based on the target video draft after the target operation has been performed, wherein the target operation includes a delete operation or an add replaceable marker operation.

[0013] Optionally, the method further includes posting the target video template in response to receiving a user confirmation posting command for the target video template.

[0014] Embodiments of the present disclosure further provide a video editing apparatus comprising a posting interface display module for displaying a template posting interface based on a target video draft, wherein the template posting interface includes an editing track area, the editing track area includes a plurality of editing tracks, on which material track clips formed based on at least some of the material of the target video draft are displayed, and the target video draft includes material and editing operation information corresponding to the material; a replaceable material determination module for determining replaceable material in the target video draft in response to a setting operation of a first target track clip in the material track clips; and a template generation module for 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 in which replaceable material based on the target video draft is replaced with filler material.

[0015] Embodiments of the present disclosure further provide an electronic device comprising a storage device in which a computer program is stored, and a processing device for executing the computer program in the storage device to perform the video editing method.

[0016] Embodiments of the present disclosure further provide a computer-readable storage medium in which a computer program is stored, and the computer program is used to perform a video editing method provided by embodiments of the present disclosure.

[0017] According to the above technical solution provided in the embodiments of this disclosure, a template posting interface is displayed based on a target video draft, the template posting interface includes an editing track area, the editing track area includes multiple editing tracks, on the multiple editing tracks, material track clips formed based on at least some of the material of the target video draft are displayed, and based on this, in response to setting operations on a first target track clip in the material track clips, replaceable material in the target video draft is determined, and a target video template can be generated based on the target video draft and the replaceable material. The above method provides a template posting interface that is more convenient for the user to operate, and the user can directly set replaceable material based on material track clips on multiple editing tracks, which is very convenient and can better improve the efficiency of template generation.

[0018] It should be understood that the information described in this section is not intended to identify any key points or important features of the embodiments of this disclosure, nor is it intended to limit the scope of this disclosure. Other features of this disclosure will be readily apparent from the following specification. [Brief explanation of the drawing]

[0019] The accompanying drawings are incorporated herein as part of this specification and illustrate embodiments suitable for this disclosure and are used in conjunction with the specification to interpret the principles of this disclosure.

[0020] To more clearly illustrate the embodiments of this disclosure or the technical solutions in the prior art, the drawings that need to be used in the following descriptions of embodiments or the prior art will be briefly described, although obviously, those skilled in the art can obtain other drawings based on these without any creative work.

[0021] [Figure 1] This is a schematic flowchart of the video editing method provided in the embodiments of this disclosure.

[0022] [Figure 2] It is a schematic diagram of a draft editing interface provided by an embodiment of the present disclosure.

[0023] [Figure 3] It is a schematic diagram of a template submission interface provided by an embodiment of the present disclosure.

[0024] [Figure 4a] It is a schematic diagram showing the relative positional relationship between a state label control and a video track clip provided by an embodiment of the present disclosure.

[0025] [Figure 4b] It is a schematic diagram showing the relative positional relationship between a state label control and a video track clip provided by an embodiment of the present disclosure.

[0026] [Figure 5] It is a schematic diagram of the structure of a video editing device provided by an embodiment of the present disclosure.

[0027] [Figure 6] It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure.

Embodiments for Carrying Out the Invention

[0028] In order to more clearly explain the above objects, features and advantages of the present disclosure, the solutions of the present disclosure will be further described below. Note that, unless they conflict with each other, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

[0029] In order to fully understand the present disclosure, many specific details will be described in the following description. However, the present disclosure may be implemented in other forms different from the embodiments here. Obviously, the embodiments in this specification are only some embodiments of the present disclosure, not all embodiments.

[0030] In related technologies, it is more inconvenient for template creators to generate templates. For example, most existing video editing software allows creators to select replaceable material in a more cumbersome and complex way. It is difficult for creators to conveniently know the material involved in a template and select replaceable material from there. As a result, more time and effort are usually wasted in the process of selecting replaceable material, making template generation inefficient and consequently reducing template submission efficiency. To solve these problems, embodiments of this disclosure provide video editing methods, apparatus, devices, and media, which are described in detail below.

[0031] Figure 1 is a schematic flowchart of a video editing method provided by an embodiment of the present disclosure, the method of which may be performed by a video editing device, the device of which may be implemented by software and / or hardware, and may generally be integrated into electronic equipment. As shown in Figure 1, the method mainly comprises the following steps S102 to S106.

[0032] Step S102: Based on the target video draft, display the template posting interface.

[0033] In practice, the template posting interface is displayed when certain conditions are met, and the user directly generates the desired template based on the template posting interface and then posts the template. For example, the template posting interface is displayed when a user (e.g., a template creator) triggers a control to display the template posting interface. In some specific embodiments, in response to a trigger operation of a posting control on the draft editing interface, it is determined whether the target video draft meets the pre-set posting conditions, and if so, the template posting interface is displayed based on the target video draft. Here, the draft editing interface is used by the user to edit the target video draft, which includes material and editing information, and the editing information is used to instruct editing operations on the material, and the material may, but is not limited to, images, videos, audio, text, stickers, special effects, etc. To facilitate understanding, first refer to the schematic diagram of the 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 display video effects corresponding to the target video draft. The editing track area includes multiple editing tracks, and the materials in the target video draft include corresponding editing tracks, such as a text track, a sticker track, a video track, etc. Material track clips are formed on the corresponding editing tracks, and one or more material track clips are formed on a single track. For example, in Figure 2, Text Track Clip 1 and Text Track Clip 2 are formed on the text track, Sticker Track Clip 1 is simply formed on the sticker track, and Video Track Clip 1 is simply formed on the video track clip. The editing tool area includes operation controls for multiple editing tools, such as text editing controls, sticker editing controls, animation special effects controls, etc. The editing tool area is divided into one or more sub-areas and distributed in different locations on the draft editing interface, and is not limited to these.The material selection area allows the user to select materials to add directly to the target video draft from locally or the cloud, as briefly illustrated in Figure 2. In the embodiments of this disclosure, the arrangement of some areas of the draft editing interface is not limited and may include more areas, such as an attribute area. In Figure 2, the draft editing interface displays the submission controls, and other functional controls, such as derivation controls, may also be configured, but are not limited thereto. To ensure the smooth execution of the template generation and submission flow and that user-submitted templates meet the requirements, in the embodiments of this disclosure, the template submission interface is displayed only when the target video draft is determined to meet pre-configured submission conditions, and the user proceeds to the subsequent template submission flow, which first generates a template and then submits the template to a designated platform. In the embodiments of this disclosure, the user directly manipulates the target video draft in the template submission interface, setting, for example, replaceable materials in the target video draft, and generates and submits a template based on the user's actions.

[0034] For example, the submission conditions include one or more of the following: all materials in the target video draft are downloaded; all algorithms involved in the target video draft complete their calculations; all materials in the target video draft are not lost or corrupted; the main track corresponding to the target video draft is not empty; and the target video draft does not contain specified content, which may, but is not limited to, materials with a specified purpose, the existence of other templates, or the inclusion of specified keywords. Only when the above submission conditions are met can the template submission interface be displayed, allowing users to generate and submit target video templates based on the template submission interface, thereby ensuring the usability of subsequent submission templates.

[0035] In some embodiments, referring to the schematic diagram of the template posting interface shown in Figure 3, the template posting interface includes a preview playback area and an editing track area, the editing track area includes multiple editing tracks, at least some of the materials in the target video draft have editing tracks corresponding to multiple editing tracks, and at least some of the materials have material track clips formed on the corresponding editing tracks. The number of editing tracks in the editing track area of ​​the template posting interface is less than or equal to the number of editing tracks in the editing track area of ​​the draft editing interface. Specifically, some materials, such as special effects and transitions, are not replaceable by default due to their special nature, and therefore their editing tracks can be directly hidden, i.e., the editing tracks for this type of material are not displayed in the editing track area of ​​the template posting interface. By directly displaying material track clips in the template posting interface, users can clearly understand the relationships between different materials, the location of material appearance or duration of display, etc., and it is convenient for users to set materials that other users can replace (i.e., replaceable materials) in currently existing materials based on material track clips.

[0036] Step S104: In response to the setting operation of the first target track clip in the material track clip, replaceable material in the target video draft is determined.

[0037] In embodiments of this disclosure, a user can set replaceable material based on material track clips displayed directly in the template posting interface. Exemplarily, to facilitate user operation, a status indicator control is set on the material track clip, and the user can set replaceable material through the status indicator control. Specifically, each material track clip has a corresponding status indicator control, which has a replaceable state and a non-replaceable state. Exemplarily, as shown in Figure 3, a lock on each material track clip indicates a status indicator control, where locked indicates a non-replaceable state and unlocked indicates a replaceable state. The user can, for example, click the lock to trigger an operation on the status indicator control and change the state of the status indicator control. Here, the material track clip on which the user-triggered status indicator control is located is the first target track clip, and the number of first target track clips may be one or more, but is not limited thereto. For a given material track clip, if its status indicator control is in the replaceable state, the material corresponding to that material track clip is replaceable material, and conversely, it is non-replaceable material. Through the state of the status indicator control on each material track clip, the replaceable material in the target video draft set by the user based on the material track clip can be quickly and reliably determined.

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

[0039] In some embodiments, a target operation is performed on replaceable material in a target video draft, and a target video template is obtained based on the target video draft after the target operation has been performed, where the target operation includes a delete operation or an operation to add replaceable indicators. In other words, the target video template may be generated based on a target video draft from which replaceable material has been deleted, or the target video template may be obtained by adding replaceable indicators to replaceable material in the target video draft. The target video template can be used directly by other users, for example, by directly supplementing a target video template from which replaceable material has been deleted with their own material, or by replacing material to which replaceable indicators have been added with their own material in the target video template.

[0040] To facilitate understanding, the target video template is described in detail below. The target video template is used to achieve a video editing effect where replaceable material is replaced with filler material based on the target video draft. Exemplarily, there are two ways to achieve a video editing effect where replaceable material is replaced with filler material based on the target video draft. The first method is to first delete the replaceable material from the target video draft, use the target video draft with the replaceable material removed as the target video template, and then when other users (i.e., template users) use the target video template, they upload filler material, obtain a result video draft containing the filler material, and achieve a video editing effect where replaceable material is replaced with filler material. The other method is to add replaceable indicators to the replaceable material in the target video draft, use the target video draft after the replaceable indicators have been added as the target video template, and then when other users use the target video template, they upload filler material, recognize the replaceable material based on the replaceable indicators, directly replace the replaceable material with filler material, obtain a result video draft containing the filler material, and achieve a video editing effect where replaceable material is replaced with filler material. Here, after the above result video draft is derived, the target video is generated and used by the user for further editing.The main difference between the result video draft obtained by the template user and the target video draft adopted by the template creator is that at least some of the materials are different. The result video draft includes filler material, while the target video draft includes replaceable material. For example, the target video draft includes material A, material B, and material C, where material A is replaceable material. The target video template is obtained by deleting or adding a replaceable indicator to material A in the target video draft. The template user uploads material a (i.e., filler material) to the target video template, and the resulting result video draft includes material a, material B, and material C. Furthermore, the editing information of the target video draft is the same as that of the result video draft, meaning the editing methods for the materials are identical. Therefore, the video effects formed by material a, material B, and material C are identical in all respects except for the difference in the presence of material A and material a, and the video editing effect of replacing material A with material a can be displayed to the user.

[0041] It should be noted that the template submission interface provides users (template creators) with template cover and template title settings, and can generate a target video template based on the template cover, template title, target video draft, and replaceable materials set by the user. Furthermore, users may be provided with additional detailed settings, such as whether to retain the original audio, whether to display the user video as is, and whether to allow intelligent modification of the number of template clips. These are not limited to these settings, and should be configured flexibly as needed.

[0042] In practice, after generating the target video template, you may post the target video template in response to receiving a user confirmation post command for the target video template.

[0043] For example, you could provide users with additional confirmation controls, and when a user triggers these controls, if it is detected that the user has received a confirmation posting command for the target video template, you could post the target video template, for example, to a designated platform.

[0044] In summary, the above method provides users with a more convenient template posting interface, allowing them to directly set replaceable materials based on material track clips on multiple editing tracks, which is very convenient and fast, and can further improve the efficiency of template generation and template posting.

[0045] Based on the setting of a status indicator control on a material track clip, embodiments of the present disclosure provide an embodiment that determines replaceable material in a target video draft in response to a setting operation of a first target track clip in the material track clip, which can be performed by referring to steps A and B below.

[0046] Step A: In response to a trigger operation on the status indicator control on the first target track clip among the material track clips, the current state of the status indicator control on each material track clip is determined, and the current state includes replaceable and non-replaceable states. That is, the user can change the state of the status indicator control by the trigger method.

[0047] To facilitate understanding, the embodiments of this disclosure provide a specific embodiment of step A described above, specifically, in response to a trigger operation of a state indicator control on a first target track clip in a material track clip, the current state of a state indicator control on each material track clip is determined based on the state of the state indicator control on the first target track clip before the trigger operation, the material track clip on which the trigger operation was performed is located is hereby referred to as the first track clip, where the current state of the state indicator control on the first target track clip is different from the state of the state indicator control on the first target track clip before the trigger operation, and the current state of a state indicator control on a non-first target track clip in the material track clip is the same as the state of the state indicator control on the non-first target track clip before the trigger operation. A non-first target track clip is any other track clip in the material track clip other than the first target track clip. In the above embodiment, the state of the first track clip is changed by the user's trigger operation, while the state of the non-first target track clips is not changed. In practice, users can change the state of a status indicator control by directly clicking on it on a material track clip to trigger it. For example, if the status indicator control is in a non-replaceable state before the trigger operation, it will be changed to a replaceable state after the trigger operation. If the status indicator control is in a replaceable state before the trigger operation, it will be changed to a non-replaceable state after the trigger operation. Users can trigger on 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 may be a pre-set default state; for example, the initial default state may be replaceable, and it may be changed to a non-replaceable state after being triggered by the user.

[0048] To further simplify user operation, in some embodiments, the user may perform a multiple selection operation on material track clips, that is, the user can select multiple material track clips simultaneously and simultaneously set whether the corresponding material is replaceable for multiple material track clips. Based on this, in embodiments of the present disclosure, when performing step A above, in response to a multiple selection operation on material track clips, the multiple selected track clips corresponding to the multiple selection operation are determined from the material track clip, and in response to a trigger operation of the status indicator control on the first target track clip among the multiple selected track clips, the current state of the status indicator control on each material track clip is determined, where the current states of the status indicator controls corresponding to each of the multiple selected track clips are all the same and differ from the state of the status indicator control on the first target track clip before the trigger operation, and the current state of the status indicator control on the unselected track clips in the material track clip is the same as the state of the status indicator control on the unselected target track clip before the trigger operation. Here, the unselected track clips are track clips in the material track clip other than the multiple selected track clips, that is, track clips that are not selected by the multiple selection operation. Note that all of the above trigger operations are user trigger operations on the status indicator control on the first target track clip among multiple selected track clips. The user first performs a multiple selection operation to simultaneously select multiple selected track clips from multiple source track clips, and then performs a trigger operation only on the status indicator control on one of the selected track clips (the first target track clip). In this embodiment, only the status indicator control of the first target track clip is triggered, but the state of the status indicator controls of other selected track clips selected together with the first target track clip can be changed simultaneously. Specifically, the state of the status indicator controls of the other selected track clips will match the state of the first target track clip after the status indicator control has been changed.In other words, the current state of the status indicator control corresponding to each of the multiple selected track clips is the opposite of the state of the status indicator control of the first target track clip before the trigger operation, and the state of the status indicator control of multiple material track clips can be effectively set in the manner described above.

[0049] For example, if a user selects material track clips A, B, and C simultaneously, and the status indicator controls corresponding to material track clips A and C are in a non-replaceable state, while the status indicator control corresponding to material track clip B is in a replaceable state, then when the user triggers the status indicator control for material track clip A (i.e., changes the state of the status indicator control for material track clip A), the status indicator controls for material track clips A, B, and C are uniformly set to a replaceable state. Conversely, when the user triggers the status indicator control for material track clip B (i.e., changes the state of the status indicator control for material track clip B), the status indicator controls for material track clips A, B, and C are uniformly set to a non-replaceable state.

[0050] Step B determines the replaceable material in the target video draft based on the second target track clip corresponding to the state indicator control that is currently in a replaceable state. That is, the material corresponding to the material track clip (i.e., the second target track clip) corresponding to the state indicator control that is currently in a replaceable state is the replaceable material. This method allows for the convenient and rapid determination of replaceable material set by the user.

[0051] To facilitate user operation of the status indicator control, the method provided in the embodiments of this disclosure adjusts the position of the status indicator control corresponding to the third target track clip when it is detected that the third target track clip in the material track clip is sliding along the time axis, thereby positioning the status indicator control corresponding to the third target track clip within the viewport corresponding to the third target track clip. In the embodiments of this disclosure, the material track clip sliding along the time axis is referred to as the third target track clip, and in the embodiments of this disclosure, the track clips such as the first target track clip, second target track clip, and third target track clip mentioned above may be the same track clip or different track clips, and the number of each may be one or more, but is not limited herein. To understand that a user may slide a material track clip (i.e., a third target track clip) along the timeline as needed to quickly view or position the display screen of material (e.g., video) at different times, in which case the entire material track clip may not be visible in the viewport, and if the relative position of the status indicator control and the material track clip is fixed, the status indicator control may disappear from the viewport as the material track clip slides, which is inconvenient for the user. Therefore, in embodiments of this disclosure, when it is detected that the third target track clip is sliding along the timeline, the position of the status indicator control corresponding to the third target track clip is flexibly adjusted so that the status indicator control is always located in the viewport corresponding to the third target track clip, so that the user can always see the status indicator control on the third target track clip and conveniently change the state of the status indicator control by triggering it when needed.

[0052] To facilitate understanding, Figures 4a and 4b are schematic diagrams showing the relative positions of the status indicator control and the video track clip, respectively. As can be understood, the video track clip displays multiple thumbnails of the video to the user in chronological order, and these thumbnails are specifically thumbnails of video keyframes. In Figure 4a, the status indicator control (lock) is at the position of thumbnail 1. As the video track clip slides along the time axis, the thumbnails in the video track clip's viewport also change. As shown in Figure 4a, the user can simultaneously view thumbnails 1 through 9 through the video track clip's viewport. As the video track clip slides along the time axis, as shown in Figure 4b, with the change in time, the user can simultaneously view thumbnails 7 through 15 through the video track clip's viewport, and thumbnails 1 through 6 disappear from the viewport. If the relative positions of the video track clip and the corresponding status indicator control are kept unchanged, the status indicator control moves out of the viewport along with thumbnail 1 and disappears from display. When the user wants to trigger the status indicator control, they need to slide the video track clip in the reverse direction, which is cumbersome. Therefore, in the embodiments of this disclosure, as the material track clip slides along the time axis, the position of the status indicator control corresponding to the material track clip is dynamically adjusted, ensuring that the status indicator control is always visible in the presence of the material track clip. This allows the user to easily and quickly trigger the status indicator control directly as needed, without having to search for it again, even when sliding the material track clip, thus ensuring a better user experience.

[0053] In summary, the video editing method provided by the embodiments of this disclosure offers great convenience to the user by directly displaying multiple editing tracks on the template posting interface and allowing the user to directly set replaceable material based on material track clips. The user can quickly see the current material status and select replaceable material, which is very convenient and fast, and can better improve template generation and posting efficiency.

[0054] Corresponding to the method of posting video templates, Figure 5 is a schematic diagram of the structure of a video editing device provided by an embodiment of the present disclosure, which is implemented by software and / or hardware and can generally be integrated into electronic equipment, as shown in Figure 5, the video editing device 500 is

[0055] A posting interface display module 502 for displaying a template posting interface based on a target video draft, wherein the template posting interface includes an editing track area, the editing track area includes a plurality of editing tracks, on the plurality of editing tracks, material track clips formed based on at least some of the material of the target video draft are displayed, and the target video draft includes material and editing operation information corresponding to the material.

[0056] A replaceable material determination module 504 for determining replaceable material in the target video draft in response to setting the first target track clip in the material track clip,

[0057] The system includes a template generation module 506 for 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 in which replaceable material based on the target video draft is replaced with filler material.

[0058] The above device provides a user-friendly template posting interface, allowing users to directly set replaceable materials based on material track clips on multiple editing tracks. This is extremely convenient and fast, further improving template generation efficiency and contributing to a greater efficiency in template posting.

[0059] In some embodiments, a state indicator control is set on the material track clip, and the replaceable material determination module 504 specifically determines the current state of the state indicator control on each of the material track clips in response to a trigger operation of the state indicator control on a first target track clip in the material track clip, the current state including replaceable or non-replaceable states, and is used to determine replaceable material in the target video draft based on the second target track clip corresponding to the state indicator control that is currently in the replaceable state.

[0060] In some embodiments, the apparatus further includes a control position adjustment module used to adjust the position of a state indicator control corresponding to the third target track clip when it is detected that the third target track clip in the material track clip is sliding along the time axis, thereby positioning the state indicator control corresponding to the third target track clip within the viewport corresponding to the third target track clip.

[0061] In some embodiments, the replaceable material determination module 504 is specifically used to determine the current state of a state indicator control on each of the material track clips in response to a trigger operation of a state indicator control on a first target track clip in the material track clip, based on the state of the state indicator control on the first target track clip prior to the trigger operation, wherein the current state of the state indicator control on the first target track clip is different from the state of the state indicator control on the first target track clip prior to the trigger operation, and the current state of a state indicator control on a non-first target track clip in the material track clip is the same as the state of the state indicator control on the non-first target track clip prior to the trigger operation.

[0062] In some embodiments, the replaceable material determination module 504 is specifically used to determine a plurality of selected track clips from the material track clips in response to a plurality selection operation of the material track clips, and to determine the current state of the state indicator control on each of the material track clips in response to a trigger operation of the state indicator control on a first target track clip among the plurality of selected track clips, where the current states of the state indicator controls corresponding to each of the plurality of selected track clips are all the same and different from the state of the state indicator control on the first target track clip before the trigger operation, and the current state of the state indicator control on the unselected track clips among the material track clips is the same as the state indicator control on the unselected target track clip before the trigger operation.

[0063] In some embodiments, the posting interface display module 502 is specifically used to determine whether a target video draft satisfies pre-defined posting conditions in response to a trigger operation of a posting control on the draft editing interface, and if so, displays a template posting interface based on the target video draft.

[0064] In some embodiments, the submission conditions include one or more of the following: all material in the target video draft is downloaded; all algorithms involved in the target video draft complete their calculations; all material in the target video draft is not lost or corrupted; the main track corresponding to the target video draft is not empty; and the target video draft does not contain the specified content.

[0065] In some embodiments, the template generation module 506 is specifically used to perform target operations on replaceable material in the target video draft and to obtain a target video template based on the target video draft after the target operations have been performed, wherein the target operations include deletion operations or addition operations for replaceable labels.

[0066] In some embodiments, the device further comprises a template posting module used to post the target video template in response to receiving a user confirmation posting command for the target video template.

[0067] The video editing apparatus provided in the embodiments of this disclosure can perform the video editing method provided in any embodiment of this disclosure and has functional modules and beneficial effects corresponding to the performance of the method.

[0068] Those skilled in the art will find that, for the sake of simplicity and conciseness, the specific working steps of the apparatus embodiments described above can be found by referring to the corresponding steps in the method embodiments, and will not be repeated here.

[0069] Embodiments of the present disclosure provide electronic devices comprising a storage device in which a computer program is stored, and a processing device for executing the computer program in the storage device to realize a step of any one of the methods of the present disclosure.

[0070] Referring below to Figure 6, this is a schematic diagram of the structure of an electronic device 600 suitable for realizing an embodiment of the present disclosure. The terminal devices in the embodiment of the present disclosure include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic devices shown in Figure 6 are merely illustrative and do not limit in any way the functions and scope of use of the embodiment of the present disclosure.

[0071] As shown in Figure 6, the electronic device 600 includes a processing unit (e.g., a central processor, graphics processor, etc.) 601 that can perform various appropriate operations and processes by executing programs stored in read-only memory (ROM) 602 or programs loaded from storage device 608 into random access memory (RAM) 603. RAM 603 stores various programs and data necessary for the operation of the electronic device 600. The processing unit 601, ROM 602, and 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.

[0072] Typically, input devices 606 such as touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, and gyroscopes, output devices 607 such as liquid crystal displays (LCDs), speakers, and vibrators, storage devices 608 such as magnetic tape and hard disks, and communication devices 609 are also connected to the I / O interface 605. The communication device 609 allows the electronic device 600 to exchange data with other devices via wireless or wired communication. Figure 6 illustrates an electronic device 600 equipped with various devices, but it should be understood that it is not necessary to implement or have all of the illustrated devices. More or fewer devices may be implemented or have been included as alternatives.

[0073] In particular, according to embodiments of the present disclosure, the process described with reference to the flowchart above may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product, which includes a computer program held on a non-temporary computer-readable medium, and which includes program code for performing the method shown in the flowchart. In such embodiments, the computer program may be downloaded and installed from a network via 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 unit 601, it performs the functions defined in the methods of embodiments of the present disclosure.

[0074] In addition to the methods and devices described above, embodiments of the present disclosure may also be computer program products, which include computer program directives, and when the computer program directives are executed by a processor, the processor causes the processor to execute the video editing methods provided by embodiments of the present disclosure. The computer program product contains program code that performs the operations of embodiments of the present disclosure in any combination of one or more program design languages, and the program design languages ​​include object-oriented program design languages ​​such as Java® and C++, and conventional procedural program design languages ​​such as the "C" language or similar program design languages. The program code may be executed entirely on a user computing device, partially on a user computing device, as a single standalone software package, partially on a user computing device, partially on a remote computing device, or fully on a remote computing device or a server.

[0075] Furthermore, the embodiments of this disclosure may be computer-readable storage media that store computer program instructions, and when the computer program instructions are executed by a processor, the processor is instructed to execute the video editing method provided by the embodiments of this disclosure.

[0076] A computer-readable storage medium may employ any combination of one or more readable media. The readable media may be a readable signal medium or a readable storage medium. The readable storage medium includes, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) may include electrical connections having one or more wires, portable disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.

[0077] Embodiments of the present disclosure further provide a computer program product which includes a computer program / directive that, when executed by a processor, realizes the video editing method in the embodiment of the present disclosure.

[0078] To ensure understanding, please note that before using the technical solutions disclosed in each embodiment of this disclosure, you should notify and obtain approval from the user, in accordance with applicable laws and regulations, through appropriate means, regarding the types of personal information related to this disclosure, the scope of use, usage scenarios, etc.

[0079] For example, in response to receiving an active request from a user, prompt information is sent to the user, explicitly indicating to the user that the requested action requires access to and use of the user's personal information. This allows the user to independently choose, based on the prompt information, whether to provide personal information to software or hardware such as electronic devices, application programs, servers, or storage media that perform the operation of the technical solution of this disclosure.

[0080] As a selectable but non-exclusive implementation, the method of sending prompt information to the user in response to receiving an active request from the user may be, for example, a pop-up window in which the prompt information is displayed as text. Furthermore, the pop-up window may also include selection controls for the user to choose whether to "agree" or "disagree" to providing personal information to the electronic device.

[0081] To ensure understanding, the above notice and user authorization process are merely illustrative and do not limit the ways in which this disclosure may be implemented. Other means of complying with applicable laws and regulations may also be applicable to the implementation of this disclosure.

[0082] It should be noted that, in this specification, relational terms such as “first” and “second” are used to distinguish one entity or operation from another entity or operation, and do not require or imply any actual relationship or order between these entities or operations. Furthermore, “equips,” “includes,” or any other variation covers non-exclusive inclusion, and a process, method, article, or device that includes a set of elements includes, in addition to those elements, other elements not explicitly listed, or elements specific to this process, method, article, or device. Unless more restrictively defined, an element defined in the expression “includes one…” does not preclude the presence of another identical element in a process, method, article, or device that includes the said element.

[0083] The specific embodiments of this disclosure have been described above so that those skilled in the art may fully understand or implement it. Several modifications of these embodiments will be obvious 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 this disclosure. Therefore, this disclosure is not limited to these embodiments described herein and shall adhere to the broadest scope consistent with the principles and novel features disclosed herein.

Claims

1. Displaying a template posting interface based on a target video draft, wherein the template posting interface includes an editing track area, the editing track area includes multiple editing tracks, on the multiple editing tracks, material track clips formed based on at least some of the material of the target video draft are displayed, status indicator controls are set on the material track clips, the target video draft includes material and editing information, and the editing information is used to direct editing operations on the material. In response to a trigger operation of a state indicator control on a first target track clip in the material track clip, the current state of the state indicator control on each of the material track clips is determined, 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 a second target track clip corresponding to a state indicator control that is currently in a replaceable state, A video editing method comprising: 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 in which replaceable material based on the target video draft is replaced with filler material.

2. This method is The method according to claim 1, further comprising, when it is detected that the third target track clip in the material track clip slides along the time axis, adjusting the position of the state indicator control corresponding to the third target track clip to position the state indicator control corresponding to the third target track clip within the viewport corresponding to the third target track clip.

3. Determining the current state of the state indicator control on each of the material track clips in response to a trigger operation of the state indicator control on the first target track clip in the material track clip is: In response to a trigger operation of a state indicator control on a first target track clip in the material track clip, the current state of the state indicator control on each of the material track clips is determined based on the state of the state indicator control on the first target track clip prior to the trigger operation. The method according to claim 1, characterized in that, the current state of the state indicator control on the first target track clip is different from the state of the state indicator control on the first target track clip before the trigger operation, and the current state of the state indicator control on the non-first target track clip in the material track clip is the same as the state of the state indicator control on the non-first target track clip before the trigger operation.

4. Determining the current state of the state indicator control on each of the material track clips in response to a trigger operation of the state indicator control on the first target track clip in the material track clip is: In response to a multiple selection operation of the aforementioned material track clips, the system determines from the material track clips a number of selected track clips corresponding to the multiple selection operation, The process includes determining the current state of a state indicator control on each of the material track clips in response to a trigger operation of a state indicator control on a first target track clip among the plurality of selected track clips, The method according to claim 1, characterized in that, the current states of the status indicator controls corresponding to each of the plurality of selected track clips are all the same and differ from the state of the status indicator control on the first target track clip before the trigger operation, and the current state of the status indicator control on the unselected track clip in the material track clip is the same as the state of the status indicator control on the unselected target track clip before the trigger operation.

5. Based on the aforementioned target video draft, displaying the template posting interface is possible. This includes determining whether the target video draft satisfies pre-defined submission conditions in response to a trigger operation of the submission control on the draft editing interface, The method according to claim 1, characterized in that, if the target video draft satisfies the pre-set posting conditions, a template posting interface is displayed based on the target video draft.

6. The method according to 5, wherein the submission conditions include one or more of the following conditions: all materials in the target video draft are downloaded; all algorithms involved in the target video draft complete their calculations; all materials in the target video draft are not lost or corrupted; the main track corresponding to the target video draft is not empty; and the target video draft does not contain the specified content.

7. Based on the aforementioned target video draft and the replaceable material, generating a target video template is: The method according to claim 1, comprising performing a target operation on replaceable material in the target video draft and obtaining the target video template based on the target video draft after the target operation has been performed, wherein the target operation includes a delete operation or an add replaceable marker operation.

8. This method is The method according to claim 1, further comprising posting the target video template in response to receiving a user confirmation posting command for the target video template.

9. A posting interface display module for displaying a template posting interface based on a target video draft, wherein the template posting interface includes an editing track area, the editing track area includes a plurality of editing tracks, on the plurality of editing tracks, material track clips formed based on at least some of the material of the target video draft are displayed, status indicator controls are set on the material track clips, and the target video draft includes material and editing operation information corresponding to the material, A replaceable material determination module for determining replaceable material in the target video draft based on a second target track clip corresponding to a state indicator control in the material track clip, in response to a trigger operation of a state indicator control on a first target track clip in the material track clip, where the current state includes replaceable or non-replaceable states, and where the replaceable material in the target video draft is determined based on a state indicator control that is currently in a replaceable state. A video editing apparatus comprising: a template generation module for 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 in which replaceable material based on the target video draft is replaced with filler material.

10. A memory device in which a computer program is stored, An electronic device comprising: a processing device for executing the computer program in the storage device and performing the video editing method according to any one of claims 1 to 8.

11. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and the computer program is used to execute the video editing method described in any one of claims 1 to 8.

12. A computer program characterized in that, when executed by a processor, it realizes the video editing method described in any one of claims 1 to 8.