Video editing method and device

JP7652945B2Active Publication Date: 2025-03-27BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023578857
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2022-11-17
Filing Date
2023-11-17
Publication Date
2025-03-27
Estimated Expiration
2043-11-17

AI Technical Summary

Benefits of technology

【0016】 本開示の実施例は、映像編集の方法及び装置を提供する。ここで、映像編集テンプレートを利用して映像編集を行うシナリオにおいて、映像編集テンプレートに基づいて、映像編集テンプレートにより示される映像クリップに1対1で対応するクリップ識別子を表示することにより、前記クリップ識別子に対応する指定された映像クリップに映像素材をインポートするようにユーザに促す。編集結果を提示するトリガ操作に応答して、ターゲット映像素材に映像編集テンプレートにより示される指定された編集操作を適用して得る編集結果を提示する。ここで、ターゲット映像素材は、指定された映像クリップと1対1で対応する。ターゲット映像素材は、対応する指定された映像クリップがインポートされて編集結果を生成するために使用される。指定された映像クリップに、ユーザが映像素材をインポートしていない第1の映像クリップが含まれている場合、第1の映像クリップに所定の映像素材を追加する。この方法によれば、映像編集テンプレートにより示される映像クリップのための映像素材が完全にインポートされていない場合に、ユーザが編集結果を自由にプレビューすることを容易にし、映像編集の体験を向上させることができる。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007652945000001
    Figure 0007652945000001
  • Figure 0007652945000002
    Figure 0007652945000002
  • Figure 0007652945000003
    Figure 0007652945000003
Patent Text Reader

Abstract

The present disclosure provides a method and apparatus for video editing. In a scenario in which video editing is performed using a video editing template, a clip identifier corresponding one-to-one to a video clip indicated by the video editing template is displayed based on the video editing template, thereby prompting a user to import video material into a specified video clip corresponding to the clip identifier. In response to a trigger operation for presenting an editing result, an editing result obtained by applying a specified editing operation indicated by the video editing template to a target video material is presented. Here, the target video material corresponds one-to-one to the specified video clip. The target video material is used to generate an editing result by importing the corresponding specified video clip. If the specified video clip includes a first video clip for which the user has not imported video material, a predetermined video material is added for the first video clip. According to this method, when a video clip indicated by the video editing template has not been completely imported into the video material, it is easy for a user to freely preview the editing result, and the video editing experience can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to the technical field of video processing, and in particular to a method and apparatus for video editing. [Background technology]

[0002] With the rapid development of Internet technology, more and more users prefer to record their lives in the form of video, and users often prefer to edit multiple video materials into one video with rich visual effects. In order to facilitate editing by users and reduce the demand for users' video editing skills, some video editing applications provide users with video editing templates. Users can edit the video materials and integrate them into one completed video by simply importing the video materials to be edited and using the editing operations indicated by the video editing template. However, when editing using a video editing application, users usually need to import all the video materials required by the video editing template before moving to the template editing page to preview the editing results, which results in low flexibility in previewing, which is extremely inconvenient for users and a poor editing experience. Summary of the Invention [Problem to be solved by the invention]

[0003] To solve the above technical problems, the present disclosure provides a video editing method and apparatus. [Means for solving the problem]

[0004] In a first aspect, the present disclosure provides a video editing method, the video editing method comprising: obtaining a video editing template and displaying clip identifiers based on the video editing template, the video editing template indicating application of specified editing operations to at least one specified video clip, the clip identifiers having a one-to-one correspondence with the specified video clips, and being used to prompt a user to import video material for the specified video clips corresponding to the clip identifiers; In response to a trigger operation for presenting an editing result, based on a target video material and the specified editing operation, presenting an editing result obtained by applying the specified editing operation to the target video material, wherein the target video material corresponds one-to-one with the specified video clip, the target video material is used to generate the editing result by importing a specified video clip corresponding to the target video material, and when the specified video clip includes a first video clip, the target video material corresponding to the first video clip is a predetermined video material, and the first video clip is a specified video clip into which a user has not imported video material in response to the trigger operation; Includes.

[0005] In some embodiments, When the designated video clip includes a second video clip, a target video material corresponding to the second video clip is a video material imported by a user for the second video clip, and the second video clip is a designated video clip into which a video material has already been imported by a user when responding to the trigger operation; Further includes:

[0006] In some embodiments, displaying a preview control, and indicating that the preview control is inoperative if the user has not imported video material into any of the designated video clips corresponding to the clip identifiers; switching the preview control from an inoperative state to an operable state upon detecting successful import of video material into a designated video clip corresponding to at least one of the clip identifiers, the preview control being used to trigger presentation of the editing result; Further includes:

[0007] In some embodiments, displaying clip identifiers based on the video editing template, Displaying a material aggregation display page based on the video editing template, and displaying the preview control within the material aggregation display page; or displaying a capture page based on the video editing template and displaying the preview control within the capture page; Includes.

[0008] In some embodiments, and when presenting an edited result obtained by applying the specified editing operation to the target video material, in response to a trigger operation on a clip identifier corresponding to the specified video clip, importing video material into the selected specified video track or replacing the imported video material in the selected specified video clip. Further includes:

[0009] In some embodiments, if the clip identifier is multiple, displaying clip identifiers based on the video editing template includes tiling the plurality of clip identifiers based on the video editing template; The method further includes cascading the plurality of clip identifiers if a switching condition is detected to be met.

[0010] In some embodiments, When the designated video clips include one of the first video clips, and a user imports video material into all the designated video clips other than the first video clip, acquiring a video material obtained by shooting, and triggering the presentation of the editing result according to a usage confirmation command for the video material obtained by shooting, wherein the usage confirmation command is used to confirm that the video material obtained by shooting is a target video material in the first video clip. Further includes:

[0011] In some embodiments, When the designated video clips include one of the first video clips, and the user imports video material into all the designated video clips except the first video clip, obtain video material from an album, and trigger the presentation of the editing result according to an upload confirmation command of the video material obtained from the album, the upload confirmation command being: Taken from the album used to verify that the footage is the target footage in the first video clip. Further includes:

[0012] In a second aspect, the present disclosure provides a video editing apparatus, the video editing apparatus comprising: an acquisition module for acquiring a video editing template; a processing module for generating a clip identifier based on the video editing template; a display module for displaying the clip identifier; the video editing template indicates application of specified editing operations to at least one specified video clip, the clip identifiers corresponding one-to-one to the specified video clips, and are used to prompt a user to import video material into the specified video clip corresponding to the clip identifier; The processing module is used to obtain an editing result by applying the specified editing operation to the target video material based on the target video material and the specified editing operation in response to a trigger operation presenting an editing result. The target video material has a one-to-one correspondence with the specified video clip, and the target video material is used to generate the editing result by importing a specified video clip corresponding to the target video material. When the specified video clip includes a first video clip, the target video material corresponding to the first video clip is a predetermined video material, and the first video clip is a specified video clip to which a user has not imported video material in response to the trigger operation, The display module is further used for presenting the editing result.

[0013] In a third aspect, the present disclosure provides an electronic device including a memory and a processor, the memory is configured to store computer program instructions; The processor is arranged to execute the computer program instructions to cause the electronic device to implement the video editing method according to the first aspect and any one of the first aspects.

[0014] In a fourth aspect, the present disclosure provides a readable storage medium, the readable storage medium including computer program instructions, and an electronic device executing the computer program instructions causes the electronic device to realize the video editing method described in the first aspect and any one of the first aspects.

[0015] In a fifth aspect, the present disclosure provides a computer program product, and by executing the computer program product by an electronic device, the electronic device realizes the video editing method described in the first aspect and any one of the first aspects.

[0016] An embodiment of the present disclosure provides a method and apparatus for video editing. Here, in a scenario in which video editing is performed using a video editing template, a clip identifier corresponding one-to-one to a video clip indicated by the video editing template is displayed based on the video editing template, thereby prompting a user to import video material into a designated video clip corresponding to the clip identifier. In response to a trigger operation for presenting an editing result, an editing result obtained by applying a designated editing operation indicated by the video editing template to a target video material is presented. Here, the target video material corresponds one-to-one to the designated video clip. The target video material is used to generate an editing result by importing the corresponding designated video clip. If the designated video clip includes a first video clip for which the user has not imported video material, a predetermined video material is added to the first video clip. According to this method, when video material for a video clip indicated by the video editing template has not been completely imported, it is easy for a user to freely preview the editing result, and the video editing experience can be improved. [Brief description of the drawings]

[0017] The drawings herein are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure, and together with the specification serve to explain the principles of the present disclosure. In order to more clearly describe the technical solutions in the embodiments of the present disclosure and the prior art, the following briefly describes the accompanying drawings required for the description of the embodiments or the prior art. It is obvious that those skilled in the art can obtain other accompanying drawings from these accompanying drawings without creative labor.

[0018] [Figure 1] 1 is a flowchart of a video editing method provided by an embodiment of the present disclosure.

[0019] [Diagram 2] 4 is a flowchart of a video editing method provided by another embodiment of the present disclosure.

[0020] [Figure 3A] FIG. 1 is a schematic diagram of a human-machine interaction interface provided by the present disclosure.

[0021] [Figure 3B] FIG. 1 is a schematic diagram of a human-machine interaction interface provided by the present disclosure.

[0022] [Figure 3C] FIG. 1 is a schematic diagram of a human-machine interaction interface provided by the present disclosure.

[0023] [Figure 3D] FIG. 1 is a schematic diagram of a human-machine interaction interface provided by the present disclosure.

[0024] [Figure 3E] FIG. 1 is a schematic diagram of a human-machine interaction interface provided by the present disclosure.

[0025] [Figure 3F] FIG. 1 is a schematic diagram of a human-machine interaction interface provided by the present disclosure.

[0026] [Figure 3G] FIG. 1 is a schematic diagram of a human-machine interaction interface provided by the present disclosure.

[0027] [Figure 3H] FIG. 1 is a schematic diagram of a human-machine interaction interface provided by the present disclosure.

[0028] [Figure 3I] FIG. 1 is a schematic diagram of a human-machine interaction interface provided by the present disclosure.

[0029] [Figure 4] FIG. 1 is a configuration diagram of a video editing device provided according to an embodiment of the present disclosure.

[0030] [Diagram 5] FIG. 1 is a configuration diagram of an electronic device provided according to an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0031] In order to make the above objectives, features and advantages of the present disclosure more clearly understandable, the technical solution of the present disclosure is further described below. It should be noted that, unless contradictory, the embodiments and features of the embodiments in the present disclosure may be combined with each other.

[0032] In the following description, numerous specific details are described in order to fully understand the present disclosure, but the present disclosure may be implemented in other embodiments different from those described herein. It is apparent that the embodiments in the specification are only some embodiments and not all embodiments of the present disclosure.

[0033] Exemplarily, the video editing method provided by the present disclosure can be realized by a video editing device. The video editing device can be implemented by software and / or hardware, and can usually be incorporated in an electronic device. The electronic device can be an electronic device such as a tablet, a mobile phone (e.g., a flip phone, a large screen mobile phone, etc.), a wearable device, an augmented reality (AR) / virtual reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a personal digital assistant (PDA), etc., and the present disclosure is not limited to a specific type of electronic device.

[0034] In the following embodiments, an electronic device is taken as an example to describe in detail the video editing method provided by the present disclosure in conjunction with the accompanying drawings and application scenarios.

[0035] 1 is a flowchart of a video editing method provided by an embodiment of the present disclosure. Referring to FIG. 1, the method of this embodiment includes the following steps:

[0036] In S101, a video editing template is obtained, and clip identifiers are displayed based on the video editing template, where the video editing template indicates to apply a specified editing operation to at least one specified video clip, and the clip identifiers correspond one-to-one to the specified video clips and are used to prompt a user to import video material into the specified video clips corresponding to the clip identifiers.

[0037] An application for video editing (hereinafter, abbreviated as "app") may be installed in the electronic device. When a user launches the application, the user can view template videos obtained by editing using different video editing templates. The template video referred to here is a video created by a creator using the video editing template and posted to the application. The playback page of the template video may include a usage entrance for the video editing template. The user can trigger video editing using the video editing template by inputting a trigger operation for the usage entrance. Here, the trigger operation for the usage entrance may be, but is not limited to, a type of operation such as tapping, double tapping, long pressing, sliding, etc.

[0038] The application acquires the video editing template in response to a trigger operation on the use entrance of the video editing template. The video editing template may include information such as the number, order, and duration of the designated video clips, information on the designated editing operation, and information on the video material to which the designated editing operation is applied. Here, the designated video clip may be understood to be a video clip indicated by the video editing template to which no video material has been added. The number of the designated video clips may be one or more, and the present disclosure is not limited thereto. The designated editing operation may include one or more operations among an effect operation, a filter operation, a music operation, a text operation, a music editing operation, and the like, but is not limited thereto.

[0039] The application may display clip identifiers corresponding to each designated video clip based on the designated video clips indicated by the video editing template, where the clip identifiers may be implemented in any manner, such as one or more of text, icons, images, and the like, and the present disclosure is not limited thereto.

[0040] In some embodiments, the application may jump from the template video playback page to the material aggregation display page in response to a trigger operation on the use entrance of the video editing template. The material aggregation display page is used to aggregate and display image materials in an album. These image materials may include photos and videos taken in advance by the user, images and videos downloaded from the Internet, screenshot images obtained by a screenshot operation, and the like. The material aggregation display page displays clip identifiers that correspond one-to-one to the video clips indicated by the video editing template, and the user can select an image material from the material aggregation display page to generate a target video clip and import it into the specified video clip. A thumbnail of the imported video material may be displayed in the clip identifier corresponding to the specified video clip into which the video material has been imported. A clip identifier corresponding to a video clip into which the video material has not been imported may display a predetermined image and the time length of the video clip.

[0041] In some embodiments, the application may jump from the playback page of the template video to the shooting page in response to a trigger operation on the use entrance of the video editing template, and display a clip identifier that corresponds one-to-one to the video clip indicated by the video editing template on the shooting page. A user can obtain a video material by shooting with a shooting device. When the user confirms the use of the video material, the video material is added to the designated video clip as a target video material. The user can add the target video material to the designated video clip corresponding to a different clip identifier by repeatedly performing the operation of shooting and the operation of confirming the use of the video material obtained by shooting. In order to make it easy for the user to freely add video materials, an entrance to a material aggregation display page may be provided on the shooting page. Through this entrance, the user can select image material in the album to generate a target video material and add it to the designated video clip. When this method is adopted, the target video material added to the designated video clip may be obtained in whole or in part by shooting with a shooting device, may be obtained in whole or in part by importing through the material aggregation display page, or may include both the video material obtained by shooting and the material in the album imported through the material aggregation page.

[0042] In this step, clip identifiers corresponding to the video clips are displayed to the user, allowing the user to clearly understand information such as whether some video material should be imported, to which specified video clips the imported video material will be added, into which specified video clips the video material has been imported, and into which specified video clips the video material has not been imported.

[0043] Furthermore, when entering the material aggregation display page or the shooting page from the template video playback page, a certain clip identifier may be positioned by default, for example, the first clip identifier by default. The user can switch the selected clip identifier by operation (tap, slide, etc.), and import the video material to the designated video clip corresponding to the selected clip identifier. This makes it easy for the user to flexibly select the order in which to import the video materials according to their needs.

[0044] It should be noted that, in order to meet the user's video editing needs, the user may also delete or replace the video material in a specified video clip after importing the video material into the specified video clip.

[0045] In S102, in response to a trigger operation for presenting the editing result, an editing result obtained by applying a specified editing operation to a target video material is presented based on the target video material and the specified editing operation. Here, the target video material corresponds one-to-one with a specified video clip. The target video material is used to generate the editing result by importing a specified video clip corresponding to the target video material. If the specified video clip includes a first video clip, the target video material corresponding to the first video clip is a preset video material, and the first video clip is a specified video clip for which a user has not imported video material when responding to the trigger operation.

[0046] In this proposal, the designated video clip may be divided into two types, a first video clip and a second video clip, according to whether a user imports video material into the designated video clip. The first video clip is the designated video clip into which the user has not imported video material when responding to a trigger operation, and the second video clip is the designated video clip into which the user has imported video material when responding to a trigger operation.

[0047] Based on the user's import of video material, the designated video clips indicated by the video editing template are divided into Situation 1, Situation 2, and Situation 3. In Situation 1, the designated video clips indicated by the video editing template are only the first video clips (i.e., the user has not imported video material into any of the designated video clips). In Situation 2, the designated video clips indicated by the video editing template are only the second video clips (i.e., the user has imported video material into all of the designated video clips). In Situation 3, the designated video clips indicated by the video editing template are both the first video clip and the second video clip (i.e., the user has imported video material into some of the designated video clips but has not imported video material into other parts of the designated video clips).

[0048] For situations 1 and 3, since there is a first video clip for which no video material has been imported, a predetermined video material may be added to the first video clip to realize a preview, and the predetermined video material may be used as a target video material in the first video clip to generate an editing result and present it to the user. For situation 2, since video material imported by the user exists in all of the specified video clips, the video material imported by the user is used as the target video material to generate an editing result and present it to the user. With the above method, regardless of whether the user has imported a sufficient number of video materials, it is possible to ensure that video materials exist in all of the specified video clips indicated by the video editing template, thereby satisfying the requirements of the video editing template.

[0049] The predetermined video material may be generated based on a predetermined image, but is not limited thereto, and may be a video material clip cut out from a pre-specified video material and having a time length that matches the first video clip. The present disclosure does not limit the parameters of the image content, size, resolution, etc. of the predetermined image, and may be, for example, a monochrome background image such as gray, black, or white. The present disclosure does not limit the parameters of the image content, time length, resolution, etc. of the pre-specified video material, and may be, for example, a blank content image with a monochrome background such as gray, black, or white.

[0050] In response to the trigger operation, the application adds the designated editing operation to the target video material in the corresponding designated video clip to obtain an editing result. The editing result may be an editing draft obtained by importing the target video material into the designated video clip indicated by the video editing template. The editing draft may include information on the designated editing operation, etc. Alternatively, the editing result may be a target video that is exported after the user imports the target video material into the designated video clip indicated by the video editing template and adds the designated editing operation indicated by the video editing template to the target video material corresponding to the corresponding designated video clip. Note that the method of presenting the editing draft is a method of rendering based on the target video material and the designated editing operation, and playing the video frame by frame in chronological order. On the other hand, the method of presenting as the target video is a method of playing the images of each frame included in the target video in chronological order.

[0051] For example, if a video editing template corresponds to four designated video clips, there are four clip identifiers. A user imports two video materials obtained by shooting into designated video clip 1 and designated video clip 2, respectively, and imports no video materials into designated video clip 3 and designated video clip 4. If the designated editing operations instructed by the video editing template are text operations and music operations and are applied globally, when the display of the editing result is triggered, the video materials with the text and music added are played in the periods corresponding to designated video clip 1 and designated video clip 2, and the video with the text and music added against a gray background is played in the periods corresponding to designated video clip 3 and designated video clip 4.

[0052] Also, for example, if a video editing template corresponds to four designated video clips, there are four clip identifiers. The user imports two video materials obtained by shooting from designated video clip 1 to designated video clip 2, respectively, and imports two videos in the album to designated video clip 3 and designated video clip 4, respectively. If the designated editing operations instructed by the video editing template are text operations and music operations and are applied globally, there is no need to add a specific video material because there is no first video clip to which the user has not imported video materials. Then, when the presentation of the editing result is triggered, the video material imported by the user to which the text and music have been added is played during the time period corresponding to designated video clip 1 and designated video clip 4.

[0053] When the editing result is presented as an editing draft, the application provides a preview page that displays rendered video frame images. Note that when the preview page is entered, the timeline may be positioned at the start position by default, and playback may start from the start position. On the preview page, playback may be automatically looped, or may be automatically paused when one playback is completed, and playback may be resumed from the start position of the timeline based on a playback trigger operation by the user, but the present disclosure is not limited thereto.

[0054] According to the method provided by the present embodiment, in a scenario in which video editing is performed using a video editing template, a clip identifier corresponding to the video clip indicated by the video editing template is displayed on a one-to-one basis to prompt a user to import a video material into a designated video clip corresponding to the clip identifier based on the video editing template. In response to a trigger operation for presenting an editing result, an editing result obtained by applying a designated editing operation indicated by the video editing template to a target video material is presented. Here, the target video material corresponds one-to-one to the designated video clip, and the target video material is used to generate an editing result by importing the corresponding designated video clip. If the designated video clip includes a first video clip for which the user has not imported a video material, a predetermined video material is added to the first video clip. According to this method, when a video clip indicated by the video editing template has not been completely imported into a video material, it is easy for a user to freely preview the editing result, thereby improving the video editing experience.

[0055] Based on the embodiment shown in FIG. 1, a user can trigger the presentation of an editing result by an operable control (hereinafter, abbreviated as a "preview control") in a user interface provided by an application.

[0056] In some embodiments, the preview control may be always enabled, allowing the user to preview the edit results regardless of whether or not the user imports video material into a specified video clip.

[0057] In some other embodiments, when no video material to be edited has been added to any of the designated video clips, all of the preview controls are inoperable. When it is detected that the user has imported video material into at least one of the designated video clips, the preview controls are switched from the inoperable state to the operable state. The application may allow the user to clearly distinguish whether the preview controls are operable or not through different display methods. For example, the preview controls may be distinguished whether they are operable or not by one or more methods such as different display colors, different brightness, different fonts, different icons, etc.

[0058] This embodiment provides a visual operation entry point to the user, making it easier for the user to trigger a preview, and can effectively improve the user's editing experience.

[0059] In addition, based on the embodiment shown in Fig. 1, when the number of specified video clips indicated by the video editing template is multiple, the number of clip identifiers corresponding to the specified video clips is also multiple, matching the number of specified video clips. When jumping from the template video playback page to the material aggregation display page / shooting page, multiple clip identifiers will be displayed on the material aggregation display page / shooting page. Here, the application supports tile display and cascade display of multiple clip identifiers, and when it detects that a switching condition is met, it repeatedly switches between two display styles, tile display and cascade display.

[0060] In some embodiments, when entering the material aggregation display page / shooting page, a plurality of clip identifiers are displayed in a tile display format by default, and when it is detected that a first switching condition is satisfied, the tile display format is switched to a cascade display format. The first switching condition may be that a tap (click) operation is not detected within a predetermined period of time. Next, when it is detected that a second switching condition is satisfied, the cascade display format is switched to a tile display format and displayed. The second switching condition may be that a tap operation is detected. By switching the display style of the clip identifiers, it is possible to improve the visual experience and increase the fun when the user uses the application for editing.

[0061] 2 is a flowchart of a video editing method provided by another embodiment of the present disclosure. Referring to FIG. 2, based on the embodiment shown in FIG. 1, the method of this embodiment further includes the following steps after step S102:

[0062] In S103, when presenting an editing result obtained by applying the specified editing operation to the target video material, in response to a trigger operation on a clip identifier corresponding to a specified video clip, the video material is imported into the selected and specified video track, or the imported video material in the selected and specified video clip is replaced.

[0063] When the application presents the editing draft on the preview page and plays the rendered video frame images, the application may display clip identifiers corresponding to designated video clips indicated by the video editing template on the preview page and make the clip identifiers operable to satisfy the user's editing requirements. The user may import video material into the first video clip to replace the predetermined video material currently being used by manipulating the clip identifier. The user may replace the user-imported video material already present in the second video clip by manipulating the clip identifier.

[0064] In some implementations, the application may enter a material edit page in response to a triggering action, such as a user tapping, double tapping, long pressing, etc., on any clip identifier in the preview page. The material edit page may display a capture entry and an upload entry to the user. The user may import footage into the first footage clip by capturing or uploading, or replace the footage already present in the second footage clip that the user imported.

[0065] When entering the material edit page, the user is positioned by default to the designated video clip corresponding to the clip identifier operated by the user. The user can also switch the selected designated video clip within the material edit page.

[0066] According to the method of this embodiment, a user can add or update video material in a specified video clip corresponding to the clip identifier by operating the clip identifier in the preview page, and the user does not need to go back to the previous page to add or update, so that the operation is simple and the user's editing experience can be effectively improved.

[0067] Based on the embodiment shown in FIG. 2, the method may further include the following steps.

[0068] In S104, the editing result is updated based on the video material imported by the user into the selected and specified video track, or based on the replacement video material imported into the selected and specified video clip by the user, and the updated editing result is presented.

[0069] It should be understood that when a user imports video material into a selected and designated video track, the designated video clip is a first video clip, the corresponding target video material is a predetermined video material, and when the user uses the imported video material as the target video material to replace the predetermined video material, the first video clip can be updated to a second video clip.

[0070] It should be understood that when a user imports replacement video material into a selected and designated video track, the designated video clip is a second video clip, and the user-imported replacement video material is used as the target video material to replace the video material previously imported into the second video clip.

[0071] The application may regenerate the edited result based on the newly imported or replacement target video material, the target video material in other unmanipulated specified video clips, and the specified editing operations, and present it to the user on the preview page when the user returns to the preview page, or may present the edited result to the user by retrieving and playing the target video being edited based on the export instructions entered by the user.

[0072] Based on the embodiment shown in Figures 1 and 2, in the conventional method, after a user imports video material into all the specified video clips, the user needs to perform multiple operation steps to be able to preview the editing result, which is very inconvenient for the user. In order to solve this problem, make the user's preview easier and reduce the user's operation steps, according to the method provided by the present disclosure, when importing video material into the last first video clip, it is also possible to automatically enter the preview page to present the editing result.

[0073] Here, the last first video clip may be understood to mean that the specified video clips indicated by the video editing template include one first video clip, and the user has already imported video material into all specified video clips other than the first video clip.

[0074] When importing the final first video clip by shooting, the user can start the shooting device to shoot, obtain the video material obtained by shooting, and display the video confirmation page to the user. The user can input a usage confirmation command via the video confirmation page, import the video material obtained by shooting into the first video clip according to the usage confirmation command for the video material obtained by shooting, and trigger the presentation of the editing result. Here, the usage confirmation command is used to confirm that the video material obtained by shooting is the target video material in the first video clip. Here, the video confirmation page may include a reshoot control and a usage confirmation control. The user can input the usage confirmation command by operating the usage confirmation control. Note that the user can also operate the reshoot control to shoot again, and after completing shooting, operate the usage confirmation control in the video confirmation page again to input the usage confirmation command.

[0075] In the conventional method, when a user operates the use confirmation control, the user must first return to the shooting page, and then operate the preview control on the shooting page to trigger the presentation of the editing result. According to the present invention, when a user confirms the use of the shot video material, the user can automatically enter the preview page to preview the editing result, and there is no need to return to the shooting page to operate, which can effectively reduce the user's operation steps.

[0076] When importing to the final first video clip by uploading, a material aggregation display page may be entered through an upload entrance in the shooting page, an image material to be uploaded may be selected, and video material may be obtained based on the selected image material. An upload confirmation control may be displayed on the material aggregation display page. A user inputs an upload confirmation command by operating the upload confirmation control. In response to the upload confirmation command, a video material generated based on the image material selected by the user may be imported to the first video clip, and the presentation of the editing result may be triggered.

[0077] In the conventional method, when a user operates the upload confirmation control, the user must first return to the shooting page or other pages, and then the user must operate the preview control on the shooting page to trigger the presentation of the editing result. According to the present invention, when a user confirms the use of the shot video material, the user can automatically enter the preview page to preview the editing result, without having to return to the shooting page and operate it, which can effectively reduce the user's operation steps.

[0078] Based on the above explanation and with reference to Figures 3A to 3I, a specific realization process of the video editing method provided by the present disclosure will be described in detail below using as an example a case in which the electronic device is a mobile phone, the client installed on the mobile phone includes an application for video editing (abbreviated as "App 1"), the template video currently being viewed by the user is a template video corresponding to video editing template 1 (abbreviated as "Template 1"), and template 1 corresponds to four video clips, i.e., four video materials need to be used for editing.

[0079] Please refer to FIGS. 3A to 3I, which are schematic diagrams of a human-machine interaction interface provided by an embodiment of the present disclosure.

[0080] Taking the mobile phone in portrait orientation as an example, the app 1 can display a user interface 11 shown in Fig. 3A on the mobile phone. The user interface 11 displays one playback page in the app 1, and can play multimedia content, for example, a template video corresponding to template 1, on the playback page.

[0081] The user interface 11 further displays information related to template 1, such as the nickname of the poster of template 1 (for example, "@+poster's nickname" displays the poster of the template video), the topic of template 1, the topic to which template 1 is associated, the number of video materials to be used for template 1, etc.

[0082] The user interface 11 may further include a control 101. The control 101 is used to trigger the use of the template 1. The control 101 may be displayed by text, for example by displaying "Go to use" or "Go to take". When displayed by different text, it is possible to enter different pages accordingly.

[0083] For example, when the control 101 displays "Go to Use", a jump can be made from the template video playback page to a material aggregation display page, and the user can select an image material through the material aggregation display page. The image material selected by the user may be a photo, an image, or a video. For example, when the image material selected by the user is a photo or an image, the app 1 can automatically generate a video material based on the selected photo or image, and the generated video material is the video material that the user intends to import into the video clip of the template 1. The time length of the generated video material matches the time length indicated by the corresponding video clip.

[0084] For example, when the control 101 displays "Go to shooting", a jump may be made from the playback page of the template video to the shooting page. On the shooting page, the video material to be edited can be obtained by a method such as real-time capture, from the application 1, or from a storage module other than the application 1.

[0085] For example, when the application 1 receives a user's trigger operation on the control 101, the application 1 can display a user interface 12 for mainly displaying a photography page on the mobile phone, as shown in Fig. 3B. The present disclosure is not limited to a specific implementation method of the user interface 12.

[0086] 3B, the photography page may display one or more of photography tool icons, such as a photography button, an exposure lens, a timer, a flash, an item, a template video display switch, a speed increase, a video shooting mode button, a photo shooting mode button, and a lens magnification adjustment. For example, the photography button may be located near the bottom of the entire photography page, and other photography tool icons may be concentrated near the edges of the entire photography page so as not to obstruct the photography screen as much as possible.

[0087] Here, on the photography page, the user can switch between video shooting mode and photo shooting mode by operating the video shooting mode button and the photo shooting mode button. In some embodiments, when entering the photography page, the mode may be switched to video shooting mode by default, and the front camera may be selected by default to shoot. In some embodiments, the mode may be switched to photo shooting mode if the material that needs to be added to the video clip corresponding to the currently selected clip identifier is a photo. Also, when the user switches to the video shooting mode, a message may be displayed at the top of the photography page to notify the user that the effect corresponding to the video clip can only be applied to photos.

[0088] In the photography page, the user can adjust the lens magnification to enlarge or reduce the screen captured by the mobile phone camera. When the user uses the front camera to take a picture, reducing the lens magnification can ensure that the front camera captures an image with a larger viewing angle in the selfie scene.

[0089] In addition, the shooting page may display the template video in a small window format, and the position of the small window may be movable. Referring to FIG. 3B, area 102 is a small window area for playing the template video. Area 102 may be in a landscape or portrait display style depending on the aspect ratio of the template video, and if area 102 cannot be filled, it may be filled with a black band. Area 102 displays which video material in which video clip is currently being shot. As shown in FIG. 3B, the currently shot video material is the first video material to be edited, so it may be displayed as "1" or "clip 1". Area 102 may further include a reduction button. A user can reduce area 102 to a predetermined scale by tapping the reduction button. In addition, a user can switch between the template video screen and the shooting screen in area 102 by tapping any position on the template video screen in area 102.

[0090] The user interface 12 may further include areas 103 to 106. The area 103 is used to display a clip identifier 1 corresponding to the video clip 1. The area 104 is used to display a clip identifier 2 corresponding to the video clip 2. The area 105 is used to display a clip identifier 3 corresponding to the video clip 3. The area 106 is used to display a clip identifier 4 corresponding to the video clip 4. The areas 103 to 106 may be arranged in order from left to right so as to correspond to the order of the video clips 1 to 4. The user can select one of the four video clips by tapping any one of the areas 103 to 106. The selected video clip can also be switched by tapping a different area. The clip identifier corresponding to the selected video clip and the clip identifier corresponding to the unselected video clip are displayed in different styles so that the user can easily distinguish them clearly. For example, as shown in FIG. 3B, a shooting icon is displayed in area 103 corresponding to the currently selected video clip 1, and time length information of the video clips 2 to 4 is displayed in areas 104 to 106 corresponding to each of the unselected video clips 2 to 4.

[0091] In order to allow the user to easily distinguish between the second video clip and the first video clip, a video thumbnail is displayed in the area corresponding to the second video clip, and duration information of the corresponding video clip is displayed in the area corresponding to the first video clip.

[0092] In some cases, when entering the shooting page, all clip identifiers are displayed in a tile display format by default. When it is detected that a switching condition is met, the display format may be switched to a cascade display format according to the order of the video clips. The switching condition may be, for example, that a tap operation is not detected within a predetermined period of time. The predetermined period may be, but is not limited to, 2 seconds, 3 seconds, etc., and may be set as necessary. For example, when the application 1 displays the shooting page, multiple clip identifiers may be displayed in a tile display format by default as shown in FIG. 3B, and if a tap operation is not detected even after 2 seconds, a user interface 13 as shown in FIG. 3C may be displayed to display multiple clip identifiers in a cascade display format.

[0093] In the present proposal, there is a correspondence between the template video and video clips 1 to 4 shown in area 102. Therefore, when an area corresponding to a clip identifier is tapped, the video clip corresponding to the clip identifier is selected. If area 102 is open at this time, the source video clip corresponding to the selected video clip in the template video is played back in area 102.

[0094] When entering the shooting page, the video material can be imported into the video clip by shooting or uploading. When tapping the shooting button, the video material obtained by shooting is the video material in the video clip corresponding to the selected clip identifier. When tapping upload, the user can enter the material aggregation display page to select an image material, obtain the video material based on the selected image material, and import the video clip corresponding to the selected clip identifier. When shooting or uploading is completed, the user can return to the shooting page and display the related animation effect filled with the video clip corresponding to the clip identifier to add fun. Then, the clip identifier and the area 102 need to be located at the clip identifier corresponding to the currently first first video clip so that the user can continue shooting or uploading directly without manually switching to the first video clip.

[0095] In a video clip into which a video material has been imported, the imported video material can be deleted. Here, a delete button may be displayed in the area displaying the clip identifier corresponding to the video clip. The user deletes the imported video material in the video clip by tapping the corresponding delete button in the area.

[0096] In a video clip into which a video material is imported, the imported video material can be edited. Here, an edit button may be displayed in an area displaying a clip identifier corresponding to the video clip. A user enters the edit page by tapping a corresponding edit button in the area. If the time length of the imported video material is longer than the time length of the video clip, the video clip can be selected by dragging on the edit page. If the time length of the imported video material is shorter than the time length of the video clip or equal to the time length of the video clip, the screen may be enlarged or reduced or the position may be adjusted on the edit page. If the imported video material is generated based on a photo / image, the screen may be enlarged or reduced or the position may be adjusted on the edit page.

[0097] The user interface 12 may further include a control 107 used to enter a preview page. The control 107 has two states: an operable state and an inoperable state. The states of the control 107 may be distinguished by different colors, or of course, may be distinguished in other ways, but this disclosure is not limited thereto. For example, when the control 107 is in an inoperable state, it may be displayed in "gray background color + dark gray text color". When the control 107 is in an operable state, it may be displayed in other colors, such as "white background color + black text color". As shown in FIG. 3B, since no video material is currently imported into any of the four video clips, the control 107 is displayed in "gray background color + dark gray text color" and is in an inoperable state.

[0098] In combination with the above description and with reference to FIG. 3B, the current user interface 12 shows a situation in which no video material has been imported into any of the four video clips. If a user selects clip identifier 1, i.e., video clip 1, and taps the shooting button to shoot, a timer may be set to count down when shooting, and shooting may begin when the countdown ends. When shooting begins, the shooting tool icons next to them can be hidden to minimize the obstruction of the shooting screen by these shooting tool icons. In addition, since it is rare for a user to tap the shooting tool icons while shooting, hiding them does not deteriorate the user experience. During shooting, the progress bar displays the progress of video shooting based on the time length of the video material required for the current slot position. The time length of shooting may be displayed in real time according to the elapsed time from the start of shooting. In addition, multiple cuts can be shot. During shooting, shooting can be paused by tapping the shooting button. In addition, shooting can be continued by tapping the shooting button again. In this proposal, text editing during shooting preview and deletion of the last shot clip are also possible.

[0099] When the shooting is finished, the user may jump from the shooting page to a video confirmation page that can provide a "use confirmation control" and a "reshoot control". In the video confirmation page, the completed video obtained by compositing the shot video and the text can be played in one area. When the user operates the use confirmation control, the page shown in FIG. 3D is jumped back to and located at clip identifier 2. The user may select video clip 2, continue shooting video clip 2, and when returning to the page shown in FIG. 3D from the video confirmation page, a related animation effect in which the video material is added to video clip 1 may be displayed. When the user operates the reshoot control, the user returns to the shooting page of the previous video material, and the previously shot content is cleared. In addition, in the video confirmation page, the user may also save the completed video obtained by the current composition to a local album, and the user may save it by enabling a related option. In addition, it should be understood that if the user does not edit the text during shooting, the video obtained by shooting can be played on the video confirmation page.

[0100] When one cut of footage is shot and the use is confirmed, the footage is imported into one of the four footage clips, for example, footage 1 is imported into footage clip 1. When the app 1 detects that footage has already been imported into at least one footage clip, it may display a user interface 14 as shown in FIG. 3D. Referring to the user interface 14, a video thumbnail of footage 1 is displayed in the area 103 corresponding to clip identifier 1, and a control 107 is in an operable state. When the app 1 detects a user's trigger operation on the control 107, it may display a user interface 15 for displaying a preview page on the mobile phone as shown in FIG. 3E.

[0101] The user interface 15 includes an area 108, and areas 109 to 112.

[0102] Area 108 is used to play back the edited result. While the edited result is being played back, video clips 2 to 4 are filled with black, and the effects and sounds that are original to template 1 are displayed / played back. Area 108 may display a playback progress bar. In this case, the user can adjust the progress of playback of the edited result by dragging the progress bar.

[0103] When the user enters the preview page, the display area showing the template video may be closed by default. The preview page may be provided with a corresponding template video display switch. When the user taps the template video display switch, the area showing the template video may be opened so that the template video can be played back against the edited result.

[0104] Areas 109-112 are all areas that display clip identifiers corresponding to video clips, and are similar to areas 103-106 described above, so the above description can be referred to. Here, when playing back the edited result on the preview page, when a certain video clip is played back, an animation effect may be displayed in the area that displays the clip identifier corresponding to that video clip. By observing the animation effect, the user can confirm which video clip the current playback position is in.

[0105] User interface 15 may further include control 113 and control 114 .

[0106] Control 113 is used to enter the template edit page, where it is possible to edit the target video material imported into the four video clips, and to edit the text, music, etc.

[0107] The control 114 is used to export the target video obtained by editing each video material according to the editing operation indicated by the video editing template. By providing the export control 114 on the preview page, the user can easily export with one touch, and the operation is simplified.

[0108] In the present invention, the states of the controls 113 and 114 include an operable state and an inoperable state, and the two states may be distinguished by different display formats, for example, different colors. In some embodiments, when video material is imported into all video clips, the controls 113 and 114 may be set to be in an operable state, and when one or more first video clips exist, the controls 113 and 114 may be set to be in an inoperable state. For example, as shown in FIG. 3E, since the video clips 2 to 4 are the first video clips, the controls 113 and 114 are both displayed in "gray background color + gray character color" and are both in an inoperable state.

[0109] According to the embodiment shown in FIG. 3E, the area displaying the clip identifier can be operated. By tapping the area corresponding to any clip, a material editing page can be entered. If a video material has been imported into the video clip corresponding to the clip identifier selected by the user, the video material may be played in the playback area of ​​the material editing page, and may be looped. If a video material has not been imported into the video clip corresponding to the clip identifier tapped by the user, a predetermined video material, for example, a black screen image, may be played in the playback area of ​​the material editing page.

[0110] For example, based on the embodiment shown in FIG. 3E, if app 1 accepts a user trigger operation on area 109 corresponding to clip identifier 1, app 1 may, for example, cause a mobile phone to display a user interface 16 for displaying a material editing page, as shown in FIG. 3F.

[0111] The user interface 16 includes an area 115, an area 116, an entrance 117, and an entrance 118. The area 115 is used to play a screen of the video material. The area 116 is used to display the enlarged track of the video material corresponding to each video clip. The different tracks are arranged in order, for example, four tracks are arranged horizontally from left to right in order to match the order of video clips 1 to 4. The user may switch to a track of the video material corresponding to another video clip by sliding horizontally. There is a progress mark on the track, which can indicate the progress of the playback. For example, as shown in FIG. 3F, the video material corresponding to video clip 1 is currently positioned on the enlarged track.

[0112] Incidentally, the entrance 117 is a shooting entrance for entering the shooting page. The entrance 118 is an upload entrance for entering the material aggregation display page. It should be understood that the user's selection of an enlarged track of video material in the user interface 16 corresponds to the selection of a corresponding video clip. For a currently selected video clip, the user may enter the shooting page through the entrance 117 to add video material to the video clip or replace previously imported video material in the video clip. When replacing an already existing video material in the video clip, the application 1 may display a pop-up window to the user that may display the text "Confirm whether to retake", and may confirm the deletion and retake based on the retake confirmation operation input by the user. Alternatively, the application 1 may enter the material aggregation display page through the entrance 118 to add video material to the video clip or replace previously imported video material in the video clip. During uploading, the application 1 may perform a trimming process on the video material selected by the user as the upload target, and add the trimmed video material to the corresponding video clip after obtaining an instruction to confirm the upload of the trimmed video material.

[0113] Once the user has confirmed the use of the footage from the shoot, or the footage they have uploaded, the user may jump back to a shoot page, such as user interface 16 shown in FIG. 3D, to display an associated animation effect as the footage is imported into the video clip.

[0114] In the user interface 16 shown in FIG. 3F, a template image display When the user taps the template video display switch, an area for displaying the template video may be opened so that the template video can be collated and played back.

[0115] In addition, in the application 1, when importing a video material into the last first video clip by shooting or uploading, the user can automatically jump to the preview page and play back the editing result. In addition, the user can import a video material into the last first video clip through the entrance of any page, but this disclosure is not limited to this. For example, the user may import the video material by shooting / uploading in order through the interface shown in FIG. 3B, or may import the video material by shooting / uploading through the material editing page.

[0116] Specifically, when the video material in the last first video clip is imported by shooting, on the video confirmation page for shooting the video material, the application 1 automatically jumps to a preview page, for example, the user interface 15 shown in FIG. 3E when it receives a trigger operation by the user on the "usage confirmation control", but differs from the previous user interface 15 in that the video material has been imported into all the video clips. When the video material in the last first video clip is imported by uploading, the application 1 automatically jumps to a preview page, for example, the user interface 15 shown in FIG. 3E when it receives a command to confirm uploading, but differs from the previous user interface 15 in that the video material has been imported into all the video clips.

[0117] The above-mentioned Figures 3A to 3F mainly provide a detailed explanation of jumping from the template video playback page to the shooting page, importing video material into the video clip indicated by the video editing template, and then entering the preview page and the material editing page.

[0118] According to the method provided by the present disclosure, it is also possible to jump from the template video playback page shown in FIG. 3A to the material aggregation display page to import video material into the video clip indicated by the video editing template, and then enter the preview page and the material editing page.

[0119] For example, when control 101 is displayed using the text "Go to Use" in user interface 11 shown in FIG. 3A, when app 1 accepts a trigger operation on control 101, it can display user interface 17 on the mobile phone for displaying a material aggregation display page, for example, as shown in FIG. 3G.

[0120] The user interface 17 may include an area 119 which is a material aggregation display area. The area 119 may include a plurality of display areas, each of which is used to display a thumbnail of one image material, and the selection state of the image material can be identified. The selected image material may be added sequentially to a plurality of slot positions in the order of selection. When a video material is displayed in the area 119, the time length of the video material may be further displayed so that the user can easily select and import a video material of an appropriate time length. The time length information may be displayed, for example, at the bottom right position, at the edge of the display area corresponding to the video material so as not to obstruct the thumbnail of the video material. The time length information of the video material is not shown in Figures 3G to 3I. Of course, the display area of ​​the image material may display more information about the image material, such as the name given to the image material by the user.

[0121] Furthermore, the user interface 17 may include an area 120 for displaying a clip identifier corresponding to a video clip represented by the template 1. When no video material has been imported into the video clip, the clip identifier corresponding to the video clip may display the time length of the video clip. Area 120 is similar to the above-mentioned areas 103 to 106, so the above description may be referred to and a description thereof will be omitted here.

[0122] The user interface 17 further includes a control 121 that is used to enter a preview page, the detailed description of which is omitted here since reference may be made to the user interface 16 shown in FIG.

[0123] Referring to FIG. 3G, since no image material has been selected, the control 121 is in an inoperable state, in which case the preview page cannot be entered.

[0124] In response to a user's selection operation on one video material in the material aggregation display area 119, the application 1 adds the selected video material 1 to the video clip 1 as a video material to be edited. Since the condition that the video material has been imported into at least one video clip is satisfied, the control 121 is switched from an inoperable state to an operable state. For example, as shown in the user interface 18 shown in FIG. 3H, the display format of the control 121 is different from the display format in FIG. 3G, and the user can clearly distinguish whether the control 121 is operable or not.

[0125] Then, the user can enter the preview page by operating the control 121, and enter the material editing page through the preview page. The implementation method is similar to the embodiment shown in Figures 3D to 3F, so the description is omitted here.

[0126] In some cases, if a user enters a preview page as shown in Figures 3G-3H, when the user returns through the preview page, they may be returned to the material aggregation display page shown in Figure 3H, with each selected image material remaining in a selected state.

[0127] In addition, when clip identifiers of multiple video clips are displayed on the material aggregation display page, the multiple clip identifiers may be repeatedly switched between two display formats, tile display and cascade display. Since the conditions for switching are similar to those described above, a description will be omitted here. For example, referring to the user interface 19 shown in FIG. 3I, if a tap operation is not detected within a predetermined period based on the user interface 17 shown in FIG. 3G, the user interface 19 is displayed and multiple clip identifiers are cascaded.

[0128] According to the embodiment shown in the above-mentioned Figs. 3A to 3I, in a scenario in which video editing is performed using a video editing template, a clip identifier corresponding one-to-one to a video clip indicated by the video editing template is displayed based on the video editing template, thereby prompting a user to import a video material into a specified video clip corresponding to the clip identifier. In response to a trigger operation for presenting an editing result, an editing result obtained by applying a specified editing operation indicated by the video editing template to a target video material is presented. Here, the target video material corresponds one-to-one to the specified video clip. The target video material is used to generate an editing result by importing a corresponding specified video clip. If the specified video clip includes a first video clip for which the user has not imported a video material, a predetermined video material is added to the first video clip. According to this method, when a video clip indicated by the video editing template has not been completely imported into a video material, it is easy for a user to freely preview the editing result, and the video editing experience can be improved. It is to be noted that if the display format of the clip identifier can be switched when it is detected that a switching condition is satisfied, it is advantageous for increasing interest and improving visual effects.

[0129] Illustratively, the present disclosure further provides a video editing apparatus.

[0130] 4 is a configuration diagram of a video editing device provided by an embodiment of the present disclosure. As shown in FIG. 4, a video editing device 400 provided by this embodiment includes: an acquisition module 401 for acquiring a video editing template; a processing module 402 for generating a clip identifier based on the video editing template; a display module 403 for displaying the clip identifier; Including, the video editing template indicates application of specified editing operations to at least one specified video clip, the clip identifiers corresponding one-to-one to the specified video clips, and are used to prompt a user to import video material into the specified video clip corresponding to the clip identifier; The processing module 402 is further used to obtain an editing result by applying the specified editing operation to the target video material based on the target video material and the specified editing operation in response to a trigger operation to present an editing result, where the target video material corresponds one-to-one with the specified video clip. The target video material is used to generate the editing result by importing a specified video clip corresponding to the target video material. When the specified video clip includes a first video clip, the target video material corresponding to the first video clip is a predetermined video material, and the first video clip is a specified video clip to which a user has not imported video material in response to the trigger operation; The display module 403 further presents the editing results.

[0131] In some embodiments, when the specified video clip includes a second video clip, the target video material corresponding to the second video clip is video material imported by a user for the second video clip, and the second video clip is the specified video clip into which the user has already imported video material when responding to the trigger operation.

[0132] In some embodiments, the display module 403 is further configured to display a preview control, which is inoperable if the user has not imported video material into any of the designated video clips corresponding to the clip identifiers.

[0133] The processing module 402 is further used to detect whether the import of video material into the designated video clips corresponding to at least one of the clip identifiers is successful, and to switch the preview control from an inoperative state to an operable state by the display module 403 when detecting that the import of video material into the designated video clips corresponding to at least one of the clip identifiers is successful, and the preview control in the operable state is used to trigger the presentation of the editing result.

[0134] In some embodiments, the display module 403 is specifically used for displaying a material aggregation display page based on the video editing template and displaying the preview control in the material aggregation display page, or for displaying a shooting page based on the video editing template and displaying the preview control in the shooting page.

[0135] In some embodiments, the processing module 402 further imports video material into the selected specified video track or replaces imported video material in the selected specified video clip in response to a trigger operation on a clip identifier corresponding to the specified video clip when presenting an editing result obtained by applying the specified editing operations to the target video material.

[0136] In some embodiments, when there are multiple clip identifiers, the display module 403 is specifically used for tile displaying the multiple clip identifiers based on the video editing template.

[0137] The processing module 402 is further used to detect whether a switching condition is met, and if it is detected that the switching condition is met, to cascade-display the multiple clip identifiers via the display module 403.

[0138] The processing module 402 is further used for obtaining a video material obtained by shooting and triggering the presentation of the editing result according to a usage confirmation command of the video material obtained by shooting when the specified video clips include one of the first video clips and a user imports video materials into all the specified video clips except the first video clip, the usage confirmation command being used for confirming that the video material obtained by shooting is a target video material in the first video clip.

[0139] The processing module 402 is further used for obtaining video materials from an album and triggering the presentation of the editing result according to an upload confirmation command of the video materials obtained from the album when the specified video clips include one of the first video clips and the user imports video materials into all the specified video clips except the first video clip, the upload confirmation command is used for confirming that the video materials obtained by shooting are the target video materials in the first video clip.

[0140] The video editing apparatus provided by this embodiment may be used to implement the technical solutions according to any one of the method embodiments described above, and since the principles and technical effects of the implementation are similar, reference may be made to the detailed descriptions of the method embodiments described above, and the description will be omitted here for brevity.

[0141] 5 is a schematic diagram of the configuration of an electronic device provided by an embodiment of the present disclosure. As shown in FIG. 5, an electronic device 500 provided by this embodiment includes a memory 501 and a processor 502.

[0142] The memory 501 may be an independent physical unit, or may be connected to the processor 502 via a bus 503. The memory 501 and the processor 502 may be integrated into one and realized by hardware or the like.

[0143] The memory 501 stores program instructions that the processor 502 calls to perform the operations of any one of the method embodiments described above.

[0144] Alternatively, when a part or all of the methods of the above-mentioned embodiments are realized by software, the electronic device 500 may include only the processor 502. A memory 501 storing a program is located outside the electronic device 500, and the processor 502 is connected to the memory via an electronic circuit / wire and is used to read and execute the program stored in the memory.

[0145] The processor 502 may be a central processing unit (CPU), a network processor (NP), or a combination of a CPU and a NP.

[0146] The processor 502 may further include a hardware chip, which may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL), or any combination thereof.

[0147] Memory 501 may include volatile memory, such as random-access memory (RAM), non-volatile memory, such as flash memory, a hard disk drive (HDD), or a solid-state drive (SSD), or may include a combination of the above types of memory.

[0148] An embodiment of the present disclosure further provides a readable storage medium, the readable storage medium including computer program instructions, which, when executed by at least one processor of an electronic device, realizes the video editing method as set forth in any one of the above method embodiments.

[0149] An embodiment of the present disclosure further provides a computer program product, the computer program product including computer program instructions, the computer program instructions being stored in a readable storage medium, at least one processor of the electronic device being capable of reading the computer program instructions from the readable storage medium, and the at least one processor executing the computer program instructions to cause the electronic device to realize the video editing method as set forth in any one of the method embodiments above.

[0150] In this document, terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that such an actual relationship or sequence exists between those entities or operations. In addition, the terms "comprise", "comprises", or any other variation thereof is intended to mean a non-exclusive inclusion, such that a process, method, article, or device of a set of elements includes not only those elements, but also other elements not expressly listed, or elements inherent in such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, article, or device that includes the element.

[0151] The above are merely specific embodiments of the present disclosure that enable those skilled in the art to understand or realize the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to the embodiments described herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. obtaining a video editing template and displaying clip identifiers based on the video editing template, the video editing template indicating application of specified editing operations to at least one specified video clip, the clip identifiers having a one-to-one correspondence with the specified video clips, and being used for importing video material for the specified video clips corresponding to the clip identifiers; In response to a trigger operation for presenting an editing result, an editing result obtained by applying the specified editing operation to a target video material based on the target video material and the specified editing operation is presented, the target video material has a one-to-one correspondence with the specified video clip, the target video material is used to generate the editing result by importing a specified video clip corresponding to the target video material, and when the specified video clip includes a first video clip, the target video material corresponding to the first video clip is a predetermined video material, and the first video clip is a specified video clip into which a user has not imported video material in response to the trigger operation; A method for editing video, including:

2. If the designated video clip includes a second video clip, a target video material corresponding to the second video clip is a video material imported by a user for the second video clip, and the second video clip is a designated video clip whose video material has already been imported by the user when responding to the trigger operation. The video editing method of claim 1 , further comprising:

3. displaying a preview control, the preview control being inoperative if the user has not imported video material into any of the designated video clips corresponding to the clip identifiers; switching the preview control from an inoperative state to an operable state upon detecting successful import of video material into a designated video clip corresponding to at least one of the clip identifiers, the preview control being used to trigger presentation of the editing result; The video editing method of claim 1 , further comprising:

4. displaying clip identifiers based on the video editing template, Displaying a material aggregation display page based on the video editing template, and displaying the preview control within the material aggregation display page; or displaying a capture page based on the video editing template and displaying the preview control within the capture page; The video editing method according to claim 3 , comprising:

5. and importing video material into the selected specified video track or replacing the imported video material in the selected specified video clip in response to a trigger operation on a clip identifier corresponding to the specified video clip when presenting an editing result obtained by applying the specified editing operation to the target video material. The video editing method of claim 1 , further comprising:

6. When the clip identifiers are multiple, displaying the clip identifiers based on the video editing template includes tiling the multiple clip identifiers based on the video editing template; The video editing method further includes cascading the plurality of clip identifiers when it is detected that a switching condition is satisfied. The video editing method according to claim 1 .

7. When the designated video clips include one of the first video clips, and the user imports video material into all the designated video clips other than the first video clip, the video material obtained by shooting is obtained, and the presentation of the editing result is triggered according to a usage confirmation command for the video material obtained by shooting, wherein the usage confirmation command is used to confirm that the video material obtained by shooting is a target video material in the first video clip. The video editing method of claim 1 , further comprising:

8. When the designated video clips include one of the first video clips, and the user imports video material into all the designated video clips other than the first video clip, acquiring video material from an album, and triggering the presentation of the editing result according to an upload confirmation command for the video material acquired from the album, wherein the upload confirmation command is used to confirm that the video material acquired from the album is a target video material in the first video clip. The video editing method of claim 1 , further comprising:

9. A video editing device, comprising: an acquisition module for acquiring a video editing template; a processing module for generating a clip identifier based on the video editing template; a display module for displaying the clip identifier; Including, the video editing template indicates application of specified editing operations to at least one specified video clip, the clip identifiers corresponding one-to-one to the specified video clips, and are used to prompt a user to import video material for the specified video clip corresponding to the clip identifier; The processing module is further adapted to respond to a trigger operation for presenting an editing result, and to apply the specified editing operation to the target video material based on the target video material and the specified editing operation to obtain an editing result, the target video material having a one-to-one correspondence with the specified video clip, the target video material being used to generate the editing result by importing a specified video clip corresponding to the target video material, and if the specified video clip includes a first video clip, the target video material corresponding to the first video clip is a predetermined video material, and the first video clip is a specified video clip into which a user has not imported video material when responding to the trigger operation; The display module is further used to present the editing result. Video editing equipment.

10. An electronic device, A memory and a processor are included, the memory is configured to store computer program instructions; The processor is configured to execute the computer program instructions to cause the electronic device to implement the video editing method according to any one of claims 1 to 8. electronic equipment.

11. A computer program comprising instructions, When the instructions are executed by at least one processor of an electronic device, the electronic device is caused to realize the video editing method according to any one of claims 1 to 8. Computer program.

Citation Information

Patent Citations

  • Video clipping control method, terminal device, system

    CN111357277A

  • Video editing method and device

    CN114268748A

  • Video editing method and device

    JP2007318450A

  • Method and apparatus for generating media file having media information compatible between media files having same format, and method and apparatus for executing the media file

    US20100005120A1

  • Media Clip Auditioning Used to Evaluate Uncommitted Media Content

    US20100281375A1