Video editing method, device, equipment, and medium

The video editing method and device enable efficient and flexible editing by using a reusable template to replace multimedia materials within a timeline, addressing inefficiencies in current editing processes.

JP7733138B2Active Publication Date: 2025-09-02BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
JP2023578704
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2023-03-28
Filing Date
2023-11-20
Publication Date
2025-09-02
Estimated Expiration
2043-11-20

AI Technical Summary

Technical Problem

The inefficiency and lack of flexibility in video editing processes due to the need for multiple edits on diverse video content, leading to prolonged editing times.

Method used

A video editing method and device that utilizes a reusable video editing template, allowing for the replacement of multimedia materials within a timeline-based editing track, enabling efficient and flexible editing by importing new materials while maintaining the same timeline position.

Benefits of technology

Improves video editing efficiency and flexibility by allowing for seamless replacement of multimedia materials within the editing template, reducing the time required for editing and enhancing the reuse of editing operations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007733138000001
    Figure 0007733138000001
  • Figure 0007733138000002
    Figure 0007733138000002
  • Figure 0007733138000003
    Figure 0007733138000003
Patent Text Reader

Abstract

The embodiment of the present disclosure relates to a video editing method, an apparatus, a device, and a medium. The method includes: obtaining a video editing template generated based on a first multimedia data; displaying a video editing screen on which a video editing track based on a timeline is presented based on the video editing template, where a first video track clip is presented on the video editing track, the first video track clip corresponds to a second video track clip formed by a first multimedia material in the first multimedia data; and replacing the first video track clip with a third video track clip to obtain second multimedia data according to a material import operation on the first video track clip, where the first multimedia material in the first multimedia data is replaced with the second multimedia material in the second multimedia data. This improves the efficiency and flexibility of video editing in the embodiment of the present disclosure.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

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

[0002] With the development of computer technology, sharing and spreading information through video has become mainstream, for example, spreading gourmet information in the form of video.

[0003] However, as the scenes disseminated by video become more diverse, the needs for video editing become increasingly diverse. To meet the diverse needs for video editing, videos need to be edited multiple times. Therefore, since the time required for video editing is long, a method that can improve the efficiency of video editing is required. Summary of the Invention [Problem to be solved by the invention]

[0004] To solve the above technical problems or at least part of them, the present disclosure provides a video editing method, device, apparatus, and medium that improve the efficiency and flexibility of video editing. [Means for solving the problem]

[0005] An embodiment of the present disclosure provides a video editing method, the method including: obtaining a video editing template, the video editing template being generated based on first multimedia data, the first multimedia data including at least one multimedia material and editing information indicating an editing operation for the at least one multimedia material, the video editing template including mark information indicating that a first multimedia material of the at least one multimedia material is marked as a replaceable material; and displaying a video editing screen, based on the video editing template, on which a video editing track based on a timeline is displayed, the video editing track including a first video track clip. a clip is displayed in the first multimedia data, the first video track clip corresponds to a second video track clip formed by the first multimedia material in the first multimedia data, and in response to a material import operation on the first video track clip, the first video track clip is replaced with a third video track clip to obtain second multimedia data, the third video track clip corresponds to a fourth video track clip formed by the second multimedia material indicated by the material import operation, and the first video track clip and the third video track clip occupy the same timeline position on the video editing track. The second multimedia data is compared to the first multimedia data, such that the first multimedia material in the first multimedia data is replaced with the second multimedia material in the second multimedia data.

[0006] An embodiment of the present disclosure further provides a video editing device, the device including: an acquisition module for acquiring a video editing template, the video editing template being generated based on first multimedia data, the first multimedia data including at least one multimedia material and editing information indicating an editing operation on the at least one multimedia material, the video editing template including mark information indicating that a first multimedia material of the at least one multimedia material is marked as a replaceable material; and a display module for displaying a video editing screen on which a video editing track based on a timeline is displayed based on the video editing template, the video editing track including a first video track class. a display module for displaying a clip of the first multimedia data, the first video track clip corresponding to a second video track clip formed by the first multimedia material in the first multimedia data, and a replacement module for replacing the first video track clip with a third video track clip in response to a material import operation on the first video track clip to obtain second multimedia data, the third video track clip corresponding to a fourth video track clip formed by the second multimedia material indicated by the material import operation, the first video track clip and the third video track clip occupying the same timeline position on the video editing track. The second multimedia data is displayed in a manner similar to that of the first multimedia data, where the first multimedia material in the first multimedia data is replaced by the second multimedia material in the second multimedia data.

[0007] An embodiment of the present disclosure further provides an electronic device, the electronic device including a processor and a memory for storing instructions executable by the processor, the processor being configured to read the executable instructions from the memory and execute the instructions to implement the video editing method according to any one of claims 1 to 11.

[0008] An embodiment of the present disclosure further provides a computer-readable storage medium storing a computer program for implementing the video editing method according to an embodiment of the present disclosure.

[0009] The technical solutions according to the embodiments of the present disclosure have the following advantages over the prior art:

[0010] According to an embodiment of the present disclosure, a video editing proposal includes: acquiring a video editing template; generating the video editing template based on first multimedia data, the first multimedia data including at least one multimedia material and editing information indicating an editing operation for the at least one multimedia material; and marking information indicating that a first multimedia material among the at least one multimedia material is marked as a replaceable material; displaying a video editing screen based on the video editing template, the video editing screen displaying a video editing track based on a timeline; displaying a first video track clip on the video editing track, the first video track clip corresponding to a second video track clip formed by the first multimedia material in the first multimedia data; and acquiring second multimedia data by replacing the first video track clip with a third video track clip in response to a material import operation for the first video track clip. The third video track clip corresponds to a fourth video track clip formed by the second multimedia material indicated by the material import operation, and the first video track clip and the third video track clip occupy the same timeline position on the video editing track. Compared with the first multimedia data, the second multimedia data replaces the first multimedia material in the first multimedia data with the second multimedia material in the second multimedia data. This realizes video editing based on a video editing template, improving the efficiency and flexibility of video editing. [Brief explanation of the drawings]

[0011] The above and other features, advantages, and aspects of each embodiment of the present disclosure will become more apparent with reference to the following specific embodiments in conjunction with the drawings. Identical or similar reference numerals represent identical or similar elements throughout the drawings. It should be understood that the drawings are schematic and that objects and elements are not necessarily drawn to scale.

[0012] [Figure 1] 1 is a flowchart of a video editing method according to an embodiment of the present disclosure.

[0013] [Figure 2] FIG. 1 is a schematic diagram of a video editing scene according to an embodiment of the present disclosure.

[0014] [Figure 3] FIG. 10 is a schematic diagram of another video editing scene according to an embodiment of the present disclosure.

[0015] [Figure 4] FIG. 10 is a schematic diagram of another video editing scene according to an embodiment of the present disclosure.

[0016] [Figure 5] FIG. 10 is a schematic diagram of another video editing scene according to an embodiment of the present disclosure.

[0017] [Figure 6] FIG. 10 is a schematic diagram of another video editing scene according to an embodiment of the present disclosure.

[0018] [Figure 7A] FIG. 10 is a schematic diagram of another video editing scene according to an embodiment of the present disclosure.

[0019] [Figure 7B] FIG. 10 is a schematic diagram of another video editing scene according to an embodiment of the present disclosure.

[0020] [Figure 8] FIG. 10 is a schematic diagram of another video editing scene according to an embodiment of the present disclosure.

[0021] [Figure 9] FIG. 10 is a schematic diagram of another video editing scene according to an embodiment of the present disclosure.

[0022] [Figure 10] 1 is a schematic diagram illustrating the configuration of a video editing device according to an embodiment of the present disclosure.

[0023] [Figure 11] 1 is a schematic diagram illustrating the configuration of an electronic device according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION

[0024] Hereinafter, embodiments of the present disclosure will be described in more detail with reference to the drawings. Although several embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be realized in various forms and should not be construed as being limited to the embodiments described herein, but rather, these embodiments are provided to provide a clearer and more complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are used for illustration purposes only and are not used to limit the scope of protection of the present disclosure.

[0025] It should be understood that the steps described in the method embodiments of the present disclosure may be performed in a different order and / or in parallel. Furthermore, method embodiments may include additional steps and / or omit the performance of steps shown. The scope of the present disclosure is not limited in this respect.

[0026] As used herein, the term "comprises" and variations thereof are open inclusions, i.e., "including, but not limited to." The term "based on" means "based at least in part on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one other embodiment," and the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms are provided in the description below.

[0027] It should be noted that the concepts of "first," "second," etc. referred to in this disclosure are used only to distinguish between different devices, modules, or units, and do not limit the order or interdependence of functions performed by these devices, modules, or units.

[0028] It will be appreciated by those skilled in the art that the modifications "one" and "multiple" referred to in the present disclosure are exemplary rather than limiting, and should be understood as "one or more" unless the context clearly indicates otherwise.

[0029] The names of messages or information exchanged between devices in the embodiments of the present disclosure are used for explanation purposes only and are not used to limit the scope of these messages or information.

[0030] To solve the above problem, an embodiment of the present disclosure provides a video editing method that allows a video to be edited by reusing a video editing template, thereby improving the efficiency and flexibility of video editing.

[0031] The method will be introduced below in accordance with a specific example.

[0032] 1 is a flow diagram of a video editing method according to an embodiment of the present disclosure. The method can be performed by a video editing device. The device can be implemented in software and / or hardware, and is typically incorporated into electronic equipment. As shown in FIG. 1, the method includes the following steps:

[0033] In step 101, a video editing template is obtained. The video editing template is generated based on first multimedia data. The first multimedia data includes at least one multimedia material and editing information for indicating an editing operation for the at least one multimedia material. The video editing template also includes marking information for indicating that the first multimedia material of the at least one multimedia material is marked as a replaceable material.

[0034] In one embodiment of the present disclosure, a video editing template is obtained. The video editing template is generated based on first multimedia data. The first multimedia data includes at least one multimedia material, such as a picture, text, or audio. The first multimedia data may further include editing information indicating an editing operation for the at least one multimedia material. For example, each multimedia material includes multiple editing tracks, and each editing track includes one type of editable information for the corresponding multimedia material. For example, multimedia material A includes a text editing track, an audio editing track, and an image editing track. The editing operation in this embodiment may be an editing operation for the editable information of any track in the multimedia material. For example, the editing operation may be an effect processing for an image in the image editing track. It is easy to understand that the video editing template itself is first multimedia data in a video format. To facilitate processing the corresponding first multimedia data as a video editing template, in one embodiment of the present disclosure, marking information indicates that a first multimedia material among at least one multimedia material is marked as a replaceable material. To facilitate application to the video editing template, the marking information can be displayed in a visual manner on the corresponding multimedia material. The display style of the marking information can be set according to the scene. For example, as shown in FIG. 2, it may be a "replaceable" text style.

[0035] In step 102, a video editing screen is displayed based on the video editing template, displaying a video editing track based on a timeline. A first video track clip is displayed on the video editing track. The first video track clip corresponds to a second video track clip formed by a first multimedia material in the first multimedia data.

[0036] In one embodiment of the present disclosure, a video editing screen is displayed based on a video editing template to facilitate the reuse of the video editing template on the video editing screen. As shown in FIG. 3, a video editing track based on a timeline is displayed on the video editing screen. A first video track clip is displayed on the video editing track. The first video track clip corresponds to a second video track clip formed by a first multimedia material in first multimedia data. The first video track clip may be the second video track clip or a video track clip generated by freezing a target picture frame. The target picture frame is a picture frame in the first multimedia material.

[0037] That is, the first video track clip displayed on the video editing screen may be a second video track clip formed from the first multimedia material, or may be any picture frame in the first multimedia material. For example, as shown in Fig. 4, if the first multimedia data includes a video clip including picture frames B1 to B4, the first video track clip may be a second video track clip consisting of B1 to B4, or may be a video track clip generated by freezing B1.

[0038] In step 103, in response to a material import operation for the first video track clip, the first video track clip is replaced with a third video track clip to obtain second multimedia data. The third video track clip corresponds to a fourth video track clip formed by the second multimedia material indicated by the material import operation. The first video track clip and the third video track clip occupy the same timeline position on the video editing track.

[0039] The second multimedia data differs from the first multimedia data in that the first multimedia material in the first multimedia data is replaced with the second multimedia material in the second multimedia data.

[0040] In one embodiment of the present disclosure, a material import operation may be directly performed on the first video track clip to replace the first video track clip with a third video track clip to obtain the second multimedia data, thereby realizing the reuse of the related video editing template.

[0041] The third video track clip corresponds to a fourth video track clip formed from the second multimedia material indicated by the material import operation. In one embodiment of the present disclosure, after acquiring the second multimedia data, the second multimedia data may be exported and a video export operation may be acquired. The video export operation may be realized by triggering a preset export control or by executing another binding event corresponding to the export operation. For example, in some alternative embodiments, the export operation may be executed by double-clicking on the current video editing page.

[0042] In one embodiment of the present disclosure, whether a first video track clip has been replaced with a third video track clip is detected in response to a video export operation. If the replacement is complete, a target video is generated directly based on the second multimedia data, and the user can further perform operations such as saving or sharing the target video. If the replacement is not complete, a replacement guide is presented for the first video track clip. For example, if the replacement of the current first video track clip is not complete, text prompt information is displayed to prompt the user whether to use the first video track clip to generate the target video. In this embodiment, the replacement may be determined to be complete after detecting that all first video track clips have been replaced with third video track clips, or after some first video track clips have been replaced with third video track clips. If some first video track clips have been replaced with third video track clips, the replacement guide may highlight the first video track clips that have not been replaced with third video track clips. For example, the corresponding first video track clip that has not been replaced by the third video track clip is shown enclosed in a rectangular box. In some possible implementations, the first video track clip may be reused as the target video clip. For example, if a confirmation operation for video export is obtained after receiving a prompt for replacement, all current video track clips are exported as the target video.

[0043] It should be noted that in this embodiment, the first video track clip and the third video track clip occupy the same timeline position on the video editing track, which allows the operation of replacing the first video track clip at the same timeline position with the third video track clip.

[0044] In one embodiment of the present disclosure, a first duration corresponding to the second multimedia material is compared with a second duration of the first video track clip to ensure that the first video track clip and the corresponding third video track clip are aligned on a time axis. If the first duration is less than the second duration, the playback speed of the second multimedia material is slowed down so that the playback duration of the adjusted video clip is the second duration. For example, the playback duration of each image frame of the second multimedia material is determined based on the difference between the second duration and the first duration, and the second multimedia material is played for that duration, thereby achieving the adjustment to the playback duration of the video clip corresponding to the second multimedia material.

[0045] If the first duration is longer than the second duration, the cutting out of the second multimedia material is started from the first frame of the second multimedia material so that the playback duration of the video clip generated from the cut-out second multimedia material is the second duration. That is, a video clip having the same playback duration as the second duration is cut out from the second multimedia material as a third video track clip. Of course, in some possible embodiments, the second multimedia material may not be cut out, but rather the playback duration of the adjusted second multimedia material may be adjusted to the second duration by calculating a difference between the first duration and the second duration, determining the playback duration of each image frame of the second multimedia material based on the difference, and playing the second multimedia material for the calculated duration.

[0046] In addition, in the embodiment of the present disclosure, compared with the first multimedia data, the second multimedia data has a first multimedia material in the first multimedia data replaced with a second multimedia material in the second multimedia data, and the editing operation of the first multimedia material is suspended, thereby realizing the reuse of the video editing template.

[0047] Of course, in one embodiment of the present disclosure, to further satisfy video editing requirements, it is also possible to perform material editing on the second multimedia material. That is, after the first video track clip is replaced with a third video track clip to obtain the second multimedia data, a material editing area is displayed in response to an editing operation on the second multimedia material, such as a preset trigger operation on the second multimedia material, and further, for example, a trigger operation on a preset editing control. The material editing area includes multiple editing menus for the second multimedia material, including a color editing menu for the second multimedia material, and editing processing can be performed on the second multimedia material in the material editing area. This allows editing of the second multimedia data on the video template editing interface of the current second multimedia data without switching to another video editing screen, further improving video editing efficiency.

[0048] For example, as shown in Figure 5, after replacing the first video track clip with a third video track clip to obtain second multimedia data, a material editing area for the corresponding second multimedia material may be displayed on the current timeline, and the material editing area may include a size adjustment editing menu, a color adjustment editing menu, a brightness adjustment editing menu, etc. for the second multimedia material. In the material editing area, editing of the second multimedia material can be realized.

[0049] Of course, in one embodiment of the present disclosure, the related editing operation in the first multimedia data may be secondary edited to facilitate the reuse of the secondary edited result in the subsequent second multimedia data, for example, by displaying at least one replaceable text clip in the first multimedia data in a text area on a video editing screen.

[0050] Furthermore, in response to a selection operation on a target text clip selected in the text area, the target text clip may be a text clip that can be edited with respect to the multimedia material in the first multimedia data. On the video editing track, at least one video frame corresponding to a position where the target text clip is played in the first multimedia data is marked based on a timeline. The corresponding video frame may be selected actively by a user based on the timeline. Video frame content information of each video frame in the first multimedia data is recognized, and whether it matches the target text clip is determined based on the video frame content information. The video frame corresponding to the target text clip may be determined based on the matching result. A correspondence between each replaceable text clip and a corresponding video frame may be preset. After the target text clip is selected, the corresponding video frame may be determined by consulting the preset correspondence. In response to an editing operation on the target text clip, the edited text clip may be synchronously displayed on a video player, and the edited text clip may be reflected in the second multimedia data.

[0051] For example, as shown in Figure 6, in the first multimedia data displayed in the text area on the video editing screen, the replaceable text clips are "2222222," "333333," and "44444444," respectively. In response to an editing operation on the replaceable text clip "2222222" selected in the text area, video frames (video frames within the rectangular box in the figure) are marked on the video editing track based on the timeline. In response to an editing operation on the target text clip, the edited text clip corresponding to the editing operation is "wwwww," and the corresponding text clip wwwww is displayed synchronously on the player.

[0052] Of course, during actual execution, the video editing screen may present other editing tracks for editing the first video track clip, including editing tracks for trimming, speed-changing, etc. for the first track video clip. Alternatively, the video editing screen may present other editing tracks for editing the third video track clip, including editing tracks for trimming, speed-changing, etc. for the third track video clip. This satisfies other editing needs for video editing, allows other editing operations to be performed on the video editing screen without switching to another page, and further improves the efficiency of video editing.

[0053]

[0013] From the above, a video editing method of an embodiment of the present disclosure includes: acquiring a video editing template generated based on first multimedia data including at least one multimedia material and editing information indicating an editing operation on the at least one multimedia material, the video editing template including mark information indicating that a first multimedia material among the at least one multimedia material is marked as a replaceable material; displaying a video editing screen based on the video editing template, on which a timeline-based video editing track is presented, wherein a first video track clip is presented on the video editing track, the first video track clip corresponding to a second video track clip formed by the first multimedia material in the first multimedia data; and, in response to a material import operation on the first video track clip, replacing the first video track clip with a third video track clip to obtain second multimedia data, the third video track clip corresponding to a fourth video track clip formed by the second multimedia material indicated by the material import operation, the first video track clip and the third video track clip occupying the same timeline position on the video editing track. Compared with the first multimedia data, the second multimedia data has the first multimedia material in the first multimedia data replaced with the second multimedia material in the second multimedia data, thereby realizing video editing based on a video editing template and improving the efficiency and flexibility of video editing.

[0054] As can be seen from the above-mentioned embodiments, in the video editing method according to the embodiments of the present disclosure, a first video track clip is replaced with a third video track clip to generate second multimedia data, the first video track clip and the third video track clip occupy the same timeline position on the video editing track, the second multimedia data and the first multimedia data include multiple video track clips on the same timeline, and the editing operations of each video track clip can reuse the editing operations corresponding to the first multimedia material in the first multimedia data, thereby realizing the reuse of video editing templates.

[0055] In the following, how to replace the first video track clip with the third video track clip will be described in accordance with a specific embodiment.

[0056] In one embodiment of the present disclosure, at least one multimedia material corresponding to the first multimedia data further includes a third multimedia material. That is, the first video track clip is a composite video clip corresponding to a combination of a second video track clip and a fifth video track clip, and the fifth video track clip is a video track clip formed by the third multimedia material in the first multimedia data, with the second video track clip and the fifth video track clip having an overlapping portion on the timeline. The composite video clip may be displayed in a visual manner on a video editing track. For example, it may be displayed that the corresponding first video track clip includes "three video clips, etc." When a composite video clip is selected, multiple corresponding video clips are displayed in a list or other format, and a user may perform a replacement operation on one of the video clips. As shown in FIG. 7A, when the first video track clip is a composite video clip, in addition to the second video track clip, at least one fifth video track clip (two fifth video track clips are shown) consisting of the third multimedia material may be included. The video clips may have overlapping portions on the timeline, and the overlapping portions may be of any type, such as having the same start time but not the exact same end time, or having both the exact same start time and end time for the video clips.

[0057] In this embodiment, responding to a material import operation for a first video track clip may be displaying a first sub-clip and a second sub-clip in a second video track clip in timeline order in response to a trigger operation for the first video track clip. Here, the first sub-clip may be understood to correspond to the second video track clip. The second sub-clip may be understood to correspond to the fifth video track clip. Furthermore, in response to a first import operation for the first sub-clip, the first sub-clip is replaced with a third sub-clip corresponding to the fourth video track clip. In this embodiment, in response to a material import operation for the second sub-clip, the second sub-clip may be replaced with a fourth sub-clip formed by fourth multimedia material and corresponding to a sixth video track clip. The material import operation includes a first import operation for indicating import of the second multimedia material into the first sub-clip and a second import operation for indicating import of the fourth multimedia material into the second sub-clip.

[0058] For example, as shown in FIG. 7B , if a first video track clip is a composite track clip including a first sub-clip W1 and a second sub-clip W2, W1 and W2 are displayed in timeline order in response to a trigger operation on the first video track clip. In response to a material import operation on W1, the first sub-clip W1 is replaced with a third sub-clip W3 corresponding to a fourth video track clip in response to a first import operation on the first sub-clip. In response to a material import operation on the second sub-clip W2, the second sub-clip is replaced with a fourth sub-clip W4 corresponding to a sixth video track clip formed by a fourth multimedia material. This replaces the first video track clip with a third video track clip corresponding to a combined clip of the fourth video track clip and the sixth video track clip. After the material import operation, the first video track clip is replaced with a third video track clip corresponding to a combined clip of the fourth video track clip and the sixth video track clip. This allows replacement of a composite video track clip with a plurality of corresponding sub-clips.

[0059] In one embodiment of the present disclosure, in response to a material import operation on the first video track clip, replacing the first video track clip with a third video track clip to obtain second multimedia data includes: The method may include displaying a material upload portal in response to a material import operation on a first video track clip, the style of which can be set according to scene needs, and replacing the first video track clip with a third video track clip to obtain second multimedia data in response to a second multimedia material upload operation selected for the material upload portal.

[0060] That is, in this embodiment, as shown in Fig. 8, an "Import" control for a local material library may be provided on the video editing screen as a material upload entry point. When the "Import" control is triggered, second multimedia material candidates corresponding to the corresponding local material library are displayed. In response to a trigger operation for multiple second multimedia material candidates, an upload operation for the selected second multimedia material is realized.

[0061] In one embodiment of the present disclosure, replacing the first video track clip with a third video track clip to obtain the second multimedia data in response to a material import operation on the first video track clip may include replacing the first video track clip with a third video track clip to obtain the second multimedia data in response to an add operation on the second multimedia material selected on the material panel. That is, in this embodiment, a plurality of second multimedia material candidates may be displayed on the material panel, and a selection operation may be performed on the second multimedia material candidate to replace the first video track clip with the corresponding third video track clip to obtain the second multimedia data.

[0062] In this embodiment, an import control may be displayed on each second multimedia material, as shown in Fig. 9. For example, a "+" control may be displayed, and when the import control is triggered, a material panel may be displayed, and multiple second multimedia material candidates may be displayed on the material panel. A selection operation may be performed on the second multimedia material candidates to replace the currently selected first video track clip with the corresponding third video track clip and obtain second multimedia data.

[0063] In this embodiment, the replacement of the second multimedia material may also be realized by other operation methods, such as by dragging the second multimedia material selected on the material panel to the first video track clip, thereby replacing the first video track clip with a third video track clip to obtain the second multimedia data.

[0064] In addition, in the embodiment of the present disclosure, after a first video track clip is replaced with a third video track clip, the replaced third video track clip can be replaced again, etc. Furthermore, when a client currently performing editing is performing editing for the first time, editing prompts and guidance information may be displayed at each step.

[0065] As a result, the video editing method of the embodiment of the present disclosure can replace the first video track clip with the third video track clip in different ways according to different application scenarios, thereby further improving the flexibility of video editing.

[0066] To realize the above-described embodiments, the present disclosure further proposes a video editing device. FIG. 10 is a schematic diagram illustrating the configuration of a video editing device according to an embodiment of the present disclosure. The device can be realized by software and / or hardware and is typically incorporated into an electronic device to perform video editing. As shown in FIG. 10, the video editing device includes an acquisition module 1010, a display module 1020, and a replacement module 1030. The acquisition module 1010 is used to acquire a video editing template. The video editing template is generated based on first multimedia data. The first multimedia data includes at least one multimedia material and editing information indicating an editing operation for the at least one multimedia material. The video editing template includes mark information indicating that the first multimedia material among the at least one multimedia material is marked as a replaceable material. The display module 1020 is used to display a video editing screen on which a timeline-based video editing track is displayed based on the video editing template, and a first video track clip is displayed on the video editing track, which corresponds to a second video track clip formed by a first multimedia material in the first multimedia data. The replacement module 1030 is used to replace the first video track clip with a third video track clip to obtain second multimedia data in response to a material import operation on the first video track clip, where the third video track clip corresponds to a fourth video track clip formed by the second multimedia material indicated by the material import operation, and the first video track clip and the third video track clip occupy the same timeline position on the video editing track. The second multimedia data differs from the first multimedia data in that the first multimedia material in the first multimedia data is replaced with the second multimedia material in the second multimedia data.

[0067] A video editing device according to an embodiment of the present disclosure can execute a video editing method according to any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to executing the method, and description thereof will be omitted here.

[0068] To realize the above embodiment, the present disclosure further provides a computer program product including a computer program / instruction that, when executed by a processor, realizes the video editing method in the above embodiment.

[0069] FIG. 11 is a schematic diagram illustrating the configuration of an electronic device according to an embodiment of the present disclosure.

[0070] In the following, specific reference will be made to FIG. 11. FIG. 11 is a schematic diagram illustrating a configuration suitable for realizing an electronic device 1100 according to an embodiment of the present disclosure. The electronic device 1100 according to an embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablets (PADs), portable multimedia players (PMPs), and in-vehicle terminals (e.g., car navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG. 11 is merely an example and does not limit the functions and scope of use of the embodiment of the present disclosure.

[0071] 11, electronic device 1100 may include a processor (e.g., CPU, graphics processor, etc.) 1101 that can perform various appropriate operations and processes in accordance with a program stored in read-only memory (ROM) 1102 or loaded from memory 1108 into random access memory (RAM) 1103. RAM 1103 also stores various programs and data necessary for the operation of electronic device 1100. Processor 1101, ROM 1102, and RAM 1103 are connected to one another via bus 1104. Input / output (I / O) interface 1105 is also connected to bus 1104.

[0072] Typically, the electronic device 1100 may include input devices 1106, including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1107, including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; memory 1108, including, for example, a magnetic tape, hard disk, etc.; and a communication device 1109 connected to the I / O interface 1105. The communication device 1109 may allow the electronic device 1100 to communicate wirelessly or via wires with other devices to exchange data. While FIG. 11 illustrates the electronic device 1100 with various devices, it should be understood that it is not necessary to implement or include all of the devices shown. More or fewer devices may alternatively be implemented or included.

[0073] In particular, according to embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product including a computer program stored on a non-transitory computer-readable medium, the computer program including program code for performing the methods illustrated in the flowcharts. In such embodiments, the computer program may be downloaded and installed from a network via the communication device 1109, installed from the memory 1108, or installed from the ROM 1102. When the computer program is executed by the processor 1101, the functions described above, which are specific to the methods in the embodiments of the present disclosure, are performed.

[0074] It should be noted that the computer-readable medium in this disclosure may be a computer-readable signal medium, a computer-readable storage medium, or any combination of the above. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer disk, a hard disk, 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 memory device, a magnetic memory device, or any suitable combination of the above. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in combination with an instruction execution system, apparatus, or device. In this disclosure, the computer-readable signal medium may include a data signal, propagated in baseband or as part of a carrier wave, in which computer-readable program code is embedded. Such propagated data signals may take various forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the above. Furthermore, a computer-readable signal medium may be any computer-readable medium, other than a computer-readable storage medium, that can transmit, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. Program code contained in a computer-readable medium may be transmitted over any suitable medium, including, but not limited to, wire, optical cable, RF (radio frequency), or the like, or any suitable combination of the above.

[0075] In some embodiments, clients and servers may communicate using any network protocol now known or hereafter developed, such as HTTP (HyperText Transfer Protocol), and may be connected to each other via any form or medium of digital data communication (e.g., a communications network). Examples of communications networks include local area networks ("LANs"), wide area networks ("WANs"), extranets (e.g., the Internet), end-to-end networks (e.g., ad-hoc end-to-end networks), and other networks now known or hereafter developed.

[0076] The computer-readable medium may be included in the electronic device, or may exist separately from the electronic device.

[0077] The computer-readable medium stores one or more programs, which, when executed by the electronic device, cause the electronic device to: a video editing template is obtained, the video editing template being generated based on first multimedia data, the first multimedia data including at least one multimedia material and editing information indicating an editing operation on the at least one multimedia material, the video editing template including mark information indicating that a first multimedia material of the at least one multimedia material is marked as a replaceable material; and a video editing screen is displayed based on the video editing template, the video editing screen displaying a video editing track based on a timeline, the video editing track displaying a first video track clip. The video editing system further includes: a first video track clip corresponding to a second video track clip formed by the first multimedia material in the first multimedia data; and, in response to a material import operation for the first video track clip, acquiring second multimedia data by replacing the first video track clip with a third video track clip, the third video track clip corresponding to a fourth video track clip formed by the second multimedia material indicated by the material import operation, and the first video track clip and the third video track clip occupying the same timeline position on the video editing track. Compared to the first multimedia data, the second multimedia data replaces the first multimedia material in the first multimedia data with the second multimedia material in the second multimedia data. This allows video editing based on a video editing template, improving efficiency and flexibility of video editing.

[0078] The electronic device may have computer program code written in one or more programming languages, or a combination thereof, for carrying out the operations of the present disclosure. Such programming languages ​​include, but are not limited to, object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as traditional procedural programming languages ​​such as "C" or similar programming languages. The program code may run entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. When a remote computer is involved, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider).

[0079] The flowcharts and block diagrams in the figures illustrate the architecture, functions, and operations that can be implemented according to systems, methods, and computer program products in various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, program segment, or portion of code, including one or more executable instructions for implementing certain logical functions. It should also be noted that in some implementations, the functions noted in the blocks may occur in a different order than that shown in the figures. For example, two blocks shown in succession may in fact be executed substantially in parallel, or may be executed in the reverse order, depending on the functionality involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a dedicated hardware-based system that performs certain functions or operations, or in a combination of dedicated hardware and computer instructions.

[0080] The units according to the embodiments of the present disclosure described may be implemented in software or hardware, and the names of the units, in some cases, do not constitute limitations on the units themselves.

[0081] The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.

[0082] In the context of this disclosure, a machine-readable medium may be a tangible medium that contains or can store a program used by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the above. More specific examples of machine-readable storage media include one or more wire-based electrical connections, a portable computer 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.

[0083] The above description merely describes preferred embodiments and applied technical principles of the present disclosure. Those skilled in the art will understand that the scope of the present disclosure is not limited to a technical solution consisting of a specific combination of the above technical features, but also encompasses other technical solutions consisting of any combination of the above technical features or their equivalent features (for example, technical solutions formed by mutually replacing the above features with technical features having similar functions disclosed in the present disclosure (but not limited to these)) without departing from the concept of the above disclosure.

[0084] Additionally, although operations are depicted in a particular order, this should not be understood as requiring that these operations be performed in the particular order shown, or that they be performed sequentially. In certain environments, multitasking or parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Some features that are described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment may also be implemented in multiple embodiments individually or in any suitable subcombination.

[0085] Although the present subject matter has been described in language specific to structural features and / or methodological logical operations, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or operations described above. Rather, the specific features and operations described above are merely example forms of implementing the claims.

Claims

1. A video editing method, comprising: Get video editing templates, the video editing template is generated based on first multimedia data; the first multimedia data includes at least one multimedia material and editing information for indicating an editing operation on the at least one multimedia material; the video editing template includes marking information for indicating that a first multimedia material of the at least one multimedia material is marked as replaceable material; and displaying a video editing screen on which a video editing track based on a timeline is displayed based on the video editing template; a first video track clip is displayed on the video edit track; the first video track clip corresponds to a second video track clip formed by the first multimedia material in the first multimedia data; and acquiring second multimedia data by replacing the first video track clip with a third video track clip in response to a material import operation on the first video track clip; the third video track clip corresponds to a fourth video track clip formed by the second multimedia material indicated by the material import operation; the first video track clip and the third video track clip occupy the same timeline position on the video editing track; Including, The second multimedia data is different from the first multimedia data in that the first multimedia material in the first multimedia data is replaced with the second multimedia material in the second multimedia data. A method characterized by:

2. the first video track clip is the second video track clip; or, the first video track clip is a video track clip generated by freezing a target picture frame, the target picture frame being a picture frame in the first multimedia material; 2. The method of claim 1.

3. the at least one multimedia material further comprises a third multimedia material; the first video track clip corresponds to a combined clip of the second video track clip and a fifth video track clip; the fifth video track clip is a video track clip formed by the third multimedia material in the first multimedia data; the second video track clip and the fifth video track clip have an overlapping portion on a timeline; 2. The method of claim 1.

4. replacing the first video track clip with a third video track clip in response to a material import operation on the first video track clip; displaying a first sub-clip and a second sub-clip in the second video track clip in timeline order in response to a trigger operation on the first video track clip; the first sub-clip corresponds to the second video track clip; the second sub-clip corresponds to the fifth video track clip; and replacing the first sub-clip with a third sub-clip corresponding to the fourth video track clip in response to a first import operation on the first sub-clip; replacing the second sub-clip with a fourth sub-clip corresponding to a sixth video track clip formed by fourth multimedia material in response to a material import operation on the second sub-clip; replacing the first video track clip with the third video track clip corresponding to a combined clip of the fourth video track clip and the sixth video track clip; Including, The material import operation is a first import operation to indicate importing the second multimedia material into the first sub-clip; a second import operation to indicate the import of the fourth multimedia material into the second sub-clip; Including, 4. The method according to claim 3.

5. and acquiring second multimedia data by replacing the first video track clip with a third video track clip in response to a material import operation on the first video track clip. displaying a material upload portal in response to a material import operation on the first video track clip; According to the material upload entrance, in response to a selected upload operation of the second multimedia material, replacing the first video track clip with a third video track clip to obtain second multimedia data; Including, 2. The method of claim 1.

6. and acquiring second multimedia data by replacing the first video track clip with a third video track clip in response to a material import operation on the first video track clip. In response to an additional operation on a second multimedia material selected on the material panel, replacing the first video track clip with a third video track clip to obtain second multimedia data; or, acquiring second multimedia data by replacing the first video track clip with a third video track clip in response to a drag operation of a second multimedia material selected on a material panel onto the first video track clip; Including, 2. The method of claim 1.

7. Replacing the first video track clip with a third video track clip to obtain second multimedia data includes: comparing a first duration corresponding to the second multimedia material with a second duration of the first video track clip; if the first duration is less than the second duration, slowing down the playback speed of the second multimedia material so that the playback duration of the adjusted video clip is the second duration; If the first duration is greater than the second duration, starting to extract the second multimedia material from a first frame of the second multimedia material so that a playback duration of a video clip generated from the extracted second multimedia material is the second duration; Including, 2. The method of claim 1.

8. after replacing the first video track clip with a third video track clip to obtain second multimedia data; displaying a material editing area in response to an editing operation on the second multimedia material; performing an editing process on the second multimedia material in the material editing area; further comprising:

2. The method of claim 1.

9. The method further comprises: displaying at least one replaceable text clip in the first multimedia data in a text area on the video editing screen; In response to a selection operation of selecting a target character clip in the character area, marking, on the video editing track based on a timeline, at least one video frame corresponding to a position where the target character clip is played in the first multimedia data; synchronously displaying an edited character clip on a video player in response to an editing operation on the target character clip; Including, 2. The method of claim 1.

10. The video editing screen further displays another editing track for editing the first video track clip, or another editing track for editing the third video track clip is further displayed on the video editing screen; 2. The method of claim 1.

11. The method further comprises: determining whether the first video track clip has been replaced with the third video track clip in response to a video export operation; generating a target video based on the second multimedia data when the replacement is complete; If the replacement is not completed, presenting a replacement prompt for the first video track clip; Including, 2. The method of claim 1.

12. A video editing device, It is an acquisition module for acquiring video editing templates, the video editing template is generated based on first multimedia data; the first multimedia data includes at least one multimedia material and editing information for indicating an editing operation on the at least one multimedia material; the video editing template includes marking information for indicating that a first multimedia material of the at least one multimedia material is marked as a replaceable material; an acquisition module; a display module for displaying a video editing screen on which a video editing track based on a timeline is displayed based on the video editing template; a first video track clip is displayed on the video edit track; the first video track clip corresponds to a second video track clip formed by the first multimedia material in the first multimedia data; A display module; a replacement module for replacing the first video track clip with a third video track clip in response to a material import operation on the first video track clip to obtain second multimedia data; the third video track clip corresponds to a fourth video track clip formed by the second multimedia material indicated by the material import operation; the first video track clip and the third video track clip occupy the same timeline position on the video editing track; A substitution module; Equipped with The second multimedia data is different from the first multimedia data in that the first multimedia material in the first multimedia data is replaced with the second multimedia material in the second multimedia data. An apparatus characterized in that

13. An electronic device comprising a processor and a memory, the memory stores instructions executable by the processor; When the processor reads the instructions from the memory and executes the instructions, Implementing the method according to any one of claims 1 to 11 An electronic device characterized by:

14. A computer-readable storage medium on which a computer program is stored, the computer program includes a plurality of executable instructions; The computer program, when executed, causes a computer to carry out the method of any one of claims 1 to 11. A computer-readable storage medium comprising:

15. A computer program comprising a plurality of executable instructions, When the computer program is executed by a computer processor, A method according to any one of claims 1 to 11, wherein the method is implemented by a computer. A computer program comprising:

Citation Information

Patent Citations

  • Multimedia data processing method, multimedia data generating method and related equipment

    CN112073649A

  • Video synthesis method and device, electronic equipment and storage medium

    CN112291484A

  • Video template generation method and device, electronic equipment and storage medium

    CN113411517A

  • Template editing method based on non-linear editing project and application thereof

    CN113411633A

  • Video editing method and device, equipment and storage medium

    CN115442539A