Video Editing Method, Apparatus, Device, and Storage Medium
The video editing method automates the generation and synthesis of video clips using a target template, addressing user experience enhancements by simplifying freeze effect creation and other editing operations.
Patent Information
- Application Number
- JP2023578985
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2022-09-14
- Filing Date
- 2023-09-14
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2043-09-14
AI Technical Summary
Existing video editing methods struggle to meet the growing needs of users and improve user experience in enriching video editing capabilities.
A video editing method that generates and synthesizes video clips based on a target video template, including a first video clip and a freeze video clip, with the template recording the mapping relationship between the clips and specified video frame images, allowing for automatic generation and enrichment of editing operations such as freeze processing, replacement, and trimming.
Enriches the video editing process by automatically generating video clips with freeze effects, reducing user effort and enhancing the overall editing experience.
Smart Images

Figure 0007711231000001 
Figure 0007711231000002 
Figure 0007711231000003
Abstract
Description
Technical Field
[0001] This application claims the priority of Chinese Patent Application No. 202211117918.5, filed on September 14, 2022, and the entire disclosure content of the above Chinese patent application is incorporated herein by reference as part of this application.
[0002] Embodiments of the present disclosure relate to a video editing method, apparatus, device, and storage medium.
Background Art
[0003] With the continuous development of video processing technology, the requirements for video editing methods are increasing. Therefore, how to enrich the video editing method to meet the growing video editing needs of users and improve the user experience is a technical problem that needs to be solved urgently at present.
Summary of the Invention
Means for Solving the Problems
[0004] To solve the above technical problem, the present disclosure provides a video editing method.
[0005] In a first aspect, the present disclosure provides a video editing method, the method comprising: displaying at least one material addition entry corresponding to the target video template in response to a predetermined trigger operation on the target video template; receiving a first video material added to a first material addition entry among the at least one material addition entry; generating a first video clip and a freeze video clip based on the first video material according to a video editing operation instructed by the target video template, and synthesizing a target video based on the first video clip and the freeze video clip. The target video template is used to instruct generating and synthesizing a plurality of video clips by performing video editing operations on the added video material. In the target video template, the mapping relationship between the first video clip and the freeze video clip and the position information of the specified video frame image in the first video clip are recorded. The freeze video clip is a video clip obtained by performing a freeze process based on the specified video frame image in the first video clip.
[0006] In one selectable embodiment, before the step of synthesizing a target video based on the first video clip and the freeze video clip, responding to a replacement operation on the freeze video clip, displaying a video track corresponding to the first video clip; determining a target video frame image from the first video clip based on the video track corresponding to the first video clip; generating a target replacement video clip based on the target video frame image, and updating the freeze video clip corresponding to the first video material by using the target replacement video clip.
[0007] In one selectable embodiment, before the step of synthesizing a target video based on the first video clip and the freeze video clip, receiving an editing operation on the first video clip, and obtaining an edited result video clip corresponding to the first video clip, where the editing operation includes a replacement operation, a shooting operation, or a trimming operation; generating an edited freeze video clip based on the edited result video clip according to the video editing operation instructed by the target video template. Correspondingly, the step of synthesizing a target video based on the first video clip and the freeze video clip includes: synthesizing a target video based on the edited result video clip and the freeze video clip after editing.
[0008] In one selectable embodiment, playback time information of the freeze video clip is recorded in the target video template. According to the video editing operation instructed by the target video template, the step of generating a first video clip and a freeze video clip based on the first video material includes: generating a first video clip based on the first video material; acquiring the specified video frame image from the first video clip based on position information of the specified video frame image in the first video clip recorded in the target video template; generating a freeze video clip corresponding to the first video material according to the video editing operation instructed by the target video template based on the playback time information of the freeze video clip recorded in the target video template and the specified video frame image.
[0009] In one selectable embodiment, a picture-in-picture logo corresponding to the freeze video clip is recorded in the target video template. The picture-in-picture logo is used to indicate whether the freeze video clip is in a picture-in-picture format. According to the video editing operation instructed by the target video template based on the playback time information of the freeze video clip recorded in the target video template and the specified video frame image, the step of generating a freeze video clip corresponding to the first video material includes: Generating a freeze video clip corresponding to the first video material according to the video editing operation indicated by the target video template based on the playback time information of the freeze video clip recorded in the target video template, the picture-in-picture logo, and the specified video frame image.
[0010] In a second aspect, the present disclosure further provides a video editing method, the method comprising: Obtaining the mapping relationship between the freeze video clip in the video editing draft and the first video material and the position information of the specified video frame image in the first video clip, wherein the specified video frame image is used to obtain the freeze video clip through freeze processing, and the video editing draft includes the initial video material and the video editing operation on the initial video material; In response to a template publishing operation on the video editing draft, generating and publishing a video template corresponding to the video editing draft based on the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip, wherein the video template is used to instruct to generate the first video clip and the freeze video clip and synthesize the target video by performing the video editing operation on the added video material.
[0011] In one selectable embodiment, the step of obtaining the mapping relationship between the freeze video clip in the video editing draft and the first video material and the position information of the specified video frame image in the first video clip includes: When a predetermined freeze binding switch is in the on state, obtaining the mapping relationship between the freeze video clip in the video editing draft and the first video material and the position information of the specified video frame image in the first video clip.
[0012] In one selectable embodiment, the method further includes the step of displaying a script setting bar corresponding to the initial video material on a script editing page, wherein the script editing bar is used to add an editing script corresponding to the initial video material. Correspondingly, in response to a template publishing operation on the video editing draft, based on the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip, the step of generating and publishing a video template corresponding to the video editing draft includes the step of generating and publishing a video template corresponding to the video editing draft based on the video editing draft, the editing script corresponding to the initial video material in the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip in response to a template publishing operation on the video editing draft.
[0013] In a third aspect, the present disclosure provides a video editing apparatus, the apparatus including a first display module used to display at least one material addition entry corresponding to the target video template in response to a predetermined trigger operation on the target video template; a receiving module used to receive a first video material added to a first material addition entry among the at least one material addition entry; a first generation module used to generate a first video clip and a freeze video clip based on the first video material according to a video editing operation instructed by the target video template; and a first synthesis module used to synthesize a target video based on the first video clip and the freeze video clip. The target video template is used to instruct generating and synthesizing a plurality of video clips by performing video editing operations on the added video material. In the target video template, the mapping relationship between the first video clip and the freeze video clip and the position information of the specified video frame image in the first video clip are recorded. The freeze video clip is a video clip obtained by performing a freeze process based on the specified video frame image in the first video clip.
[0014] In a fourth aspect, the present disclosure further provides a video editing apparatus, and the apparatus includes a second acquisition module used to acquire the mapping relationship between the freeze video clip in the video editing draft and the first video material and the position information of the specified video frame image in the first video clip. The specified video frame image is used to obtain the freeze video clip through a freeze process. The video editing draft includes the initial video material and the video editing operations on the initial video material, and the second acquisition module a fourth generation module used to generate and publish a video template corresponding to the video editing draft in response to a template publishing operation on the video editing draft, based on the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip. The video template is used to instruct generating the first video clip and the freeze video clip and synthesizing a target video by performing the video editing operation on the added video material, and the fourth generation module
[0015] In a fifth aspect, the present disclosure provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed by a terminal device, the terminal device realizes the above method.
[0016] In a sixth aspect, the present disclosure provides a video editing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the above method is implemented.
[0017] In a seventh aspect, the present disclosure provides a computer program product, the computer program product including a computer program / instructions, and when the computer program / instructions are executed by a processor, the above method is implemented.
[0018] The drawings herein are incorporated as part of the specification and show embodiments consistent with the present disclosure and are used to interpret the principles of the present disclosure together with the specification.
[0019] To more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments are briefly described below. Obviously, those skilled in the art can obtain other drawings based on these drawings without creative labor.
Brief Description of the Drawings
[0020]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Figure 9
Figure 10
Figure 11
Figure 12
Figure 13
Figure 14
Figure 15
Mode for Carrying Out the Invention
[0021] In order to more clearly understand the above objects, features and advantages of the present disclosure, the means of the present disclosure will be further described below. As long as there is no contradiction, the embodiments of the present disclosure and the features of the embodiments can be combined with each other.
[0022] In the following description, many details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced in other forms different from those described herein. Obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, not all of the embodiments.
[0023] To enrich the video editing method and improve the user experience, embodiments of the present disclosure provide a video editing method. Specifically, first, in response to a predetermined trigger operation on a target video template, at least one material addition entry corresponding to the target video template is displayed. The first video material added to the first material addition entry among the at least one material addition entry is received. According to the video editing operation instructed by the target video template, a first video clip and a freeze video clip are generated based on the first video material. A target video is synthesized based on the first video clip and the freeze video clip. The target video template is used to instruct to generate and synthesize a plurality of video clips by performing a video editing operation on the added video material. The target video template records the mapping relationship between the first video clip and the freeze video clip and the position information of the specified video frame image in the first video clip. The freeze video clip is a video clip obtained by performing a freeze process based on the specified video frame image in the first video clip. As can be seen from the above, the embodiments of the present disclosure can automatically generate a first video clip and a freeze video clip based on the first video material added by the user and synthesize the target video, enrich the video editing method, and improve the user experience.
[0024] Based on this, embodiments of the present disclosure provide a video editing method. As shown in reference to FIG. 1, it is a flowchart of the video editing method according to the embodiments of the present disclosure, and the method includes the following steps.
[0025] S101: In response to a predetermined trigger operation on a target video template, display at least one material addition entry corresponding to the target video template.
[0026] In an embodiment of the present disclosure, the target video template is used to instruct to generate and synthesize a plurality of video clips by performing video editing operations on the added video materials. The material addition entry corresponding to the target video template is used to add video materials, and there may be one or more material addition entries corresponding to the target video template.
[0027] In an embodiment of the present disclosure, when a predetermined trigger operation for the target video template is received, at least one material addition entry corresponding to the target video template is displayed on the material addition page. The predetermined trigger operation for the target video template can be, for example, a video editing operation on the target video template such as an operation of generating a video using the target video template.
[0028] As shown in FIG. 2, it is a schematic diagram of the material addition page according to an embodiment of the present disclosure. When a predetermined trigger operation for the target video template is received, the material addition page is displayed. As shown in FIG. 2, a material addition entry 201 corresponding to the target video template is displayed on the material addition page.
[0029] S102: Receive the first video material added to the first material addition entry among at least one material addition entry.
[0030] The first material addition entry can be any one of the material addition entries corresponding to the target video template.
[0031] In an embodiment of the present disclosure, after displaying at least one material addition entry corresponding to a target video template, the user can add video material to any one of the displayed material addition entries. Specifically, the first video material added to the first material addition entry is received. The first video material may be from a local album or may be captured in real time by a local camera.
[0032] Continuing to refer to FIG. 2, the first material addition entry is shown as the material addition entry 201. In actual application, after receiving the user's trigger operation on the material addition entry 201, an album import page can be presented. The user can select any one video material from the album import page as the first video material. Also, after receiving the user's trigger operation on the material addition entry 201, the user can switch to the shooting page and shoot the first video material based on the shooting page.
[0033] S103: Generate a first video clip and a freeze video clip based on the first video material according to the video editing operation indicated by the target video template, and synthesize the target video based on the first video clip and the freeze video clip.
[0034] The target video template is used to instruct to generate and synthesize a plurality of video clips by performing a video editing operation on the added video material. The target video template records the mapping relationship between the first video clip and the freeze video clip and the position information of the specified video frame image in the first video clip.
[0035] In the first video clip and the freeze video clip having a mapping relationship, the freeze video clip is a video clip obtained by performing a freeze process based on the specified video frame image in the first video clip.
[0036] The video editing operations indicated by the target video template not only include freeze processing operations on the added video material, but may also include effect processing operations on the added video material such as sticker addition and masking.
[0037] The position information of the specified video frame image in the first video clip is the position where the specified video frame image is located in the first video clip. For example, the specified video frame image may be the last frame, the first frame, or any frame in the middle in the first video clip.
[0038] The step of generating the first video clip and the freeze video clip based on the first video material according to the video editing operations indicated by the target video template specifically includes obtaining the specified video frame image from the first video clip according to the mapping relationship between the first video clip and the freeze video clip recorded in the target video template and the position information of the specified video frame image in the first video clip, performing freeze processing on the specified video frame image, and may include the step of generating the freeze video clip corresponding to the first video clip.
[0039] In the embodiments of the present disclosure, after receiving the added video material for each material addition entry corresponding to the target video template, each video material is processed according to the video editing operations indicated by the target video template, the first video clip and the freeze video clip are generated for the added first video material, and then the target video is synthesized based on the generated first video clip and freeze video clip.
[0040] The total duration of the first video material added by the user may be longer than the duration requirement corresponding to the first video clip. Therefore, the first video clip may be a part of the clip cut from the first video material based on a predetermined strategy, and the present disclosure does not make any limitations here.
[0041] In one selectable embodiment, the target video template not only records the position information of the specified video frame screen in the first video clip, but may further record playback time information such as the playback duration of the freeze video clip.
[0042] Specifically, the freeze video clip may be generated by the playback time information of the freeze video clip recorded in the target video template and the specified video frame image. Specifically, the playback time information of the freeze video clip may be the playback duration such as 3s or 5s of the specified video frame image.
[0043] In one selectable embodiment, after receiving the first video material added for the first material addition entry, first, generate the first video clip based on the first video material, and then, based on the position information of the specified video frame image in the first video clip recorded in the target video template, obtain the specified video frame image from the first video clip, and then generate the freeze video clip corresponding to the first video material based on the playback time information of the freeze video clip recorded in the target video template.
[0044] In the embodiments of the present disclosure, when the first video clip is a part of the first video material, the first video clip may be generated by the first part of the first video material. If the first video material is 20s and the first video clip is 8s, the first video clip may be a video clip including 0-8s of the first video material.
[0045] Note that in the embodiments of the present disclosure, the method for determining the first video clip based on the first video material is not limited.
[0046] Specifically, the generation method of the freeze video clip is as follows.
[0047] In one selectable embodiment, when the specified video frame image is located at the first frame of the first video clip, the corresponding freeze structure is shown in FIG. 3. The left side is the freeze video clip, and the right side is the first video clip. Specifically, the freeze video clip is generated based on the video frame image of the first frame of the first video clip and the playback time information of the freeze video clip recorded in the target video template.
[0048] In another selectable embodiment, when the specified video frame image is located at the middle frame of the first video clip, the corresponding freeze structure is shown in FIG. 4. The freeze video clip divides the first video clip into two parts, namely the first video clip 1 and the first video clip 2 shown in FIG. 4. Specifically, the freeze video clip is generated based on the video frame image of the middle frame of the first video clip and the playback time information of the freeze video clip recorded in the target video template.
[0049] In yet another selectable embodiment, when the specified video frame image is located at the last frame of the first video clip, the corresponding freeze structure is shown in FIG. 5. The left side is the first video clip, and the right side is the freeze video clip. Specifically, the freeze video clip is generated based on the video frame image of the last frame of the first video clip and the playback time information of the freeze video clip recorded in the target video template.
[0050] In an embodiment of the present disclosure, assuming that the position information of the specified video frame image in the first video clip recorded in the target video template is the last frame of the first video clip and the playback time information of the freeze video clip is 1 s, after generating the first video clip based on the first video material, the last frame in the first video clip is obtained as the specified video frame image. Next, a freeze process is performed on the specified video frame image, and a freeze video clip with a duration of 1 s is generated as the freeze video clip corresponding to the first video material.
[0051] Also, to improve the user experience, the freeze video clip may be further presented in the form of picture-in-picture. Specifically, the target video template may record a picture-in-picture logo corresponding to the freeze video clip, which is used to indicate whether the freeze video clip is presented in the picture-in-picture form.
[0052] In one selectable embodiment, based on the playback time information, picture-in-picture logo, and specified video frame image of the freeze video clip recorded in the target video template, a freeze video clip corresponding to the first video material is generated according to the video editing operation instructed by the target video template.
[0053] The picture-in-picture logo is used to indicate whether the freeze video clip is in the picture-in-picture form.
[0054] In an embodiment of the present disclosure, if the target video template records a picture-in-picture logo corresponding to the freeze video clip, the freeze video clip corresponding to the first video material generated based on the video editing operation instructed by the target video template is presented in the picture-in-picture form.
[0055] Specifically, as shown in FIG. 6, which is a schematic diagram of still another freeze structure according to an embodiment of the present disclosure, when a picture-in-picture logo is associated with a freeze video clip as shown in FIG. 6, the freeze video clip associated with the picture-in-picture logo is placed on the picture-in-picture track, whereby the freeze video clip associated with the picture-in-picture logo is presented in the form of a picture-in-picture.
[0056] In the video editing method according to an embodiment of the present disclosure, first, in response to a predetermined trigger operation on a target video template, at least one material addition entry corresponding to the target video template is displayed, a first video material added to a first material addition entry among the at least one material addition entry is received, a first video clip and a freeze video clip are generated based on the first video material according to the video editing operation instructed by the target video template, a target video is synthesized based on the first video clip and the freeze video clip, the target video template is used to instruct to generate and synthesize a plurality of video clips by performing a video editing operation on the added video material, the target video template records a mapping relationship between the first video clip and the freeze video clip and position information of a specified video frame image in the first video clip, and the freeze video clip is a video clip obtained by performing a freeze process based on the specified video frame image in the first video clip. As can be seen from the above, the embodiment of the present disclosure can automatically generate a first video clip and a freeze video clip based on the first video material added by the user and synthesize the target video, enrich the video editing method, and improve the user experience.
[0057] In addition, the freeze video clip is automatically generated based on the first video clip. Therefore, in the video editing method according to the embodiments of the present disclosure, the user can generate a target video with a freeze effect without separately uploading the freeze video clip, reducing the hurdle of editing the freeze effect video and improving the user experience of video editing.
[0058] In actual applications, in order to make the video editing method more diverse and improve the user experience, the embodiments of the present disclosure can further support the function of replacing the freeze video clip. Specifically, based on the above embodiments, the embodiments of the present disclosure may further include the following steps. As shown in FIG. 7, it is a flowchart of another video editing method according to the embodiments of the present disclosure, and the method includes the following steps.
[0059] S701: In response to a replacement operation on the freeze video clip, display the video track corresponding to the first video clip.
[0060] The video track corresponding to the first video clip is used to present each video frame in the first video clip.
[0061] In the embodiments of the present disclosure, the freeze video clip and the first video clip have a mapping relationship. Therefore, when receiving a replacement operation on the freeze video clip corresponding to the first video clip, it jumps from the effect preview page to the material editing page, and the video track corresponding to the first video clip can be displayed on the material editing page. In this way, the user can preferentially select the target video frame screen for generating the freeze video clip corresponding to the first video clip from the first video clip, thereby ensuring the freeze effect in the generated target video.
[0062] As shown in FIG. 8, it is a schematic diagram of an effect preview page according to an embodiment of the present disclosure. On this page, a material editing entry 801 corresponding to a freeze video clip is displayed. The user can trigger the display of a material editing box 802 by clicking on the material editing entry 801, and the user can trigger a replacement operation for the freeze video clip by clicking on a replacement control in the material editing box 802. Specifically, when receiving a replacement operation for the freeze video clip, a video track corresponding to the first video clip shown in FIG. 9 is displayed.
[0063] S702: Based on the video track corresponding to the first video clip, determine a target video frame image from the first video clip.
[0064] In an embodiment of the present disclosure, any one video frame image in the video track corresponding to the first video clip can be selected as the target video frame image.
[0065] Specifically, as shown in reference to FIG. 9, it is a schematic diagram of a material editing page according to an embodiment of the present disclosure. On the material editing page, a video track 901 corresponding to the first video clip is displayed, and the user can select a target video frame image by dragging a control 902.
[0066] In one selectable embodiment, the target video frame image may be determined from the user's album. Continuing to refer to FIG. 9, when the user clicks on album import, the user can jump to the user album page. On the user album page, a specific image from the user album or an image of a specific frame in a specific video is selected as the target video frame image.
[0067] S703: Generate a target replacement video clip based on the target video frame image, and update the freeze video clip corresponding to the first video material using the target replacement video clip.
[0068] In an embodiment of the present disclosure, after determining the target video frame image, according to the playback time information of the freeze video clip recorded in the target video template and the target video frame image, and in accordance with the video editing operation instructed by the target video template, generate a target replacement video clip, and update the freeze video clip corresponding to the first video material using the target replacement video clip.
[0069] In the video editing method according to an embodiment of the present disclosure, in response to a replacement operation on the freeze video clip, display the video track corresponding to the first video clip, determine the target video frame image from the first video clip based on the video track corresponding to the first video clip, generate a target replacement video clip based on the target video frame image, and update the freeze video clip corresponding to the first video material using the target replacement video clip, thereby realizing the replacement of the freeze video clip, enriching the video editing method, and improving the user experience.
[0070] Also, by preferentially displaying the video track corresponding to the first video clip to the user, the user can be guided to preferentially determine the target video frame image for generating the freeze video clip from the first video clip, and the freeze effect of the target video can be ensured.
[0071] In addition, in order to enrich the video editing method and improve the user experience, the embodiments of the present disclosure can further support editing operations on the first video clip. When an editing operation on the first video clip is triggered, the freeze video clip can be synchronously updated in conjunction, and the freeze effect of the target video can be ensured.
[0072] Specifically, based on the above embodiments, the following steps are further included. As shown in FIG. 10, it is a flowchart of still another video editing method according to the embodiments of the present disclosure, and the method includes the following steps.
[0073] S1001: When an editing operation on the first video clip is received, an edited result video clip corresponding to the first video clip is obtained.
[0074] The editing operation includes a replacement operation, a shooting operation, or a trimming operation.
[0075] The edited result video clip is a video clip obtained by performing an editing operation on the first video clip.
[0076] In one selectable embodiment, when a replacement operation on the first video clip is received, any one video material from the local album may be obtained as the edited result video clip corresponding to the first video clip.
[0077] In another selectable embodiment, when a shooting operation on the first video clip is received, the shot video may be used as the edited result video clip corresponding to the first video clip.
[0078] In still another selectable embodiment, when a trimming operation on the first video clip is received, the first video clip is trimmed, and the trimmed first video clip may be used as the edited result video clip corresponding to the first video clip.
[0079] S1002: Generate an edited freeze video clip based on the edited result video clip according to the video editing operation instructed by the target video template.
[0080] After determining the edited result video clip corresponding to the first video clip, a specified video frame screen corresponding to the position information may be obtained from the edited result video clip based on the position information of the specified video frame screen in the first video clip. Next, based on the playback time information of the freeze video clip recorded in the target video template, a freeze process is performed on the specified video frame screen to obtain the edited freeze video clip.
[0081] If the position information of the specified video frame image in the first video clip is the video frame image of a specific frame in the middle of the first video clip, there are two first video clips having a mapping relationship with the freeze video clip generated based on the video frame image.
[0082] In one selectable embodiment, if there are multiple first video clips having a mapping relationship with the same freeze video clip, when receiving an editing operation triggered for any one of the multiple first video clips, obtain the edited result video clip corresponding to the first video clip. At this time, other first video clips can be generated based on the video material corresponding to the edited result video clip.
[0083] If the position information of the specified video frame image in the first video clip is the video frame image of the last frame of the first video clip, when receiving an editing operation triggered by the user for the first video clip, obtain the edited result video clip corresponding to the first video clip, and generate an edited freeze video clip based on the edited result video clip.
[0084] S1003: Synthesize the target video based on the edited result video clip and the post - edit freeze video clip.
[0085] In the embodiments of the present disclosure, after generating the edited result video clip and the post - edit freeze video clip, according to the order relationship between the first video clip and the freeze video clip, synthesize the target video based on the edited result video clip and the post - edit freeze video clip.
[0086] In the video editing method according to the embodiments of the present disclosure, an editing operation on the first video clip can be supported. When triggering the editing operation on the first video clip, synchronously update the freeze video clip in conjunction, and ensure the freeze effect of the target video.
[0087] Based on the above embodiments, the embodiments of the present disclosure further provide a video editing method for generating the target video template in the above embodiments.
[0088] Specifically, as shown in FIG. 11, it is a flowchart of still another video editing method according to the embodiments of the present disclosure, and the method includes the following steps.
[0089] S1101: Obtain the mapping relationship between the freeze video clip and the first video material in the video editing draft and the position information of the specified video frame image in the first video clip.
[0090] The specified video frame image is used to obtain the freeze video clip through freeze processing.
[0091] The video editing draft includes the initial video material and the video editing operation on the initial video material.
[0092] In one selectable embodiment, in the on state of a predetermined freeze binding switch, the mapping relationship between the freeze video clip and the first video material in the video editing draft and the position information of the specified video frame image in the first video clip are obtained.
[0093] The predetermined freeze binding switch is a switch preset for controlling the mapping relationship between the freeze video clip and the initial video material. When the predetermined freeze binding switch is turned on, the mapping relationship between the first video clip and the freeze video clip is set. As a result, when the user generates a target video using the video template published based on the video editing draft, there is no need to upload the freeze video clip, and the video editing operation becomes easier and faster.
[0094] In the embodiment of the present disclosure, the predetermined freeze binding switch may be on the detailed setting page. As shown in FIG. 12, on the detailed setting page, after the template creator finishes setting the predetermined binding switch, by clicking the control 1201, the on and off of the predetermined binding switch can be controlled.
[0095] Note that in the on state of the predetermined freeze binding switch, the video material number change allowance switch is off. As shown in FIG. 12, when the predetermined freeze binding switch is on, since the number of video materials that the user needs to upload is determined, at this time, it is prohibited for the user to change the number of video materials.
[0096] S1102: In response to the template publishing operation for the video editing draft, generate and publish a video template corresponding to the video editing draft based on the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip.
[0097] The video template is used to instruct generating a first video clip and a freeze video clip by performing video editing operations on the added video material and synthesizing a target video.
[0098] In an embodiment of the present disclosure, after receiving the template publishing operation of the template creator for the video draft, based on the mapping relationship between the freeze video clip and the first video material and the position information of the specified video frame image in the first video clip from the initial video material in the video editing draft, an initial video clip and its corresponding freeze video clip are generated, and further a video template corresponding to the video editing draft is generated and published based on the initial video clip and its corresponding freeze video clip, thereby making it easier for the user to watch.
[0099] Also, in order to make it easier for the user to understand the template published by the template creator, a corresponding editing script may be added to the initial video material. For example, the editing script may be the shooting content, shooting method, etc. of the initial video material, guiding the user to quickly find appropriate video material.
[0100] In one selectable embodiment, a script setting bar corresponding to the initial video material is displayed on the script editing page, and in response to the template publishing operation for the video editing draft, a video template corresponding to the video editing draft is generated and published based on the video editing draft, the editing script corresponding to the initial video material in the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip.
[0101] The script editing bar is used to add an editing script corresponding to the initial video material.
[0102] In an embodiment of the present disclosure, by displaying a script setting bar corresponding to an initial video clip on a script editing page, a template creator can add an editing script corresponding to the initial material clip to the script setting bar. After the addition is completed, when receiving a template publishing operation for a video editing draft, based on the initial video material in the video editing draft, the editing script corresponding to the initial video material in the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip, an initial video clip and its corresponding freeze video clip are generated. Further, based on the initial video clip and its corresponding freeze video clip, a video template corresponding to the video editing draft is generated and published.
[0103] In the video editing method according to an embodiment of the present disclosure, the mapping relationship between the freeze video clip and the first video material in the video editing draft and the position information of the specified video frame image in the first video clip are obtained. In response to a template publishing operation for the video editing draft, based on the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip, a video template corresponding to the video editing draft is generated and published. The video template is used for the function of instructing to generate a first video clip and a freeze video clip by performing video editing operations on the added video material and synthesize a target video, which enriches the video editing method and improves the user experience.
[0104] Based on the same inventive concept as the above method embodiment, an embodiment of the present disclosure further provides a video editing apparatus. As shown in FIG. 13, it is a structural schematic diagram of the video editing apparatus according to an embodiment of the present disclosure, and the apparatus includes A first display module 1301 used to display at least one material addition entry corresponding to the target video template in response to a predetermined trigger operation on the target video template; A receiving module 1302 used to receive a first video material added to a first material addition entry among the at least one material addition entry; A first generation module 1303 used to generate a first video clip and a freeze video clip based on the first video material according to a video editing operation instructed by the target video template; A first synthesis module 1304 used to synthesize a target video based on the first video clip and the freeze video clip, and includes: The target video template is used to instruct to generate and synthesize a plurality of video clips by performing a video editing operation on the added video material. In the target video template, a mapping relationship between the first video clip and the freeze video clip and position information of a specified video frame image in the first video clip are recorded. The freeze video clip is a video clip obtained by performing a freeze process based on the specified video frame image in the first video clip.
[0105] In one selectable embodiment, the apparatus A second display module used to display a video track corresponding to the first video clip in response to a replacement operation on the freeze video clip; A determination module used to determine a target video frame image from the first video clip based on the video track corresponding to the first video clip, and further includes: The second generation module is used to generate a target replacement video clip based on the target video frame image and update the freeze video clip corresponding to the first video material by using the target replacement video clip.
[0106] In one selectable embodiment, the apparatus is a first acquisition module used to acquire an edited result video clip corresponding to the first video clip when receiving an editing operation on the first video clip, where the editing operation includes a replacement operation, a shooting operation, or a trimming operation. further includes a third generation module used to generate an edited freeze video clip based on the edited result video clip according to the video editing operation instructed by the target video template. Correspondingly, the first synthesis module specifically is used to synthesize a target video based on the edited result video clip and the edited freeze video clip.
[0107] In one selectable embodiment, the target video template records the playback time information of the freeze video clip, and the first generation module includes a first generation sub-module used to generate a first video clip based on the first video material, an acquisition sub-module used to acquire the specified video frame image from the first video clip based on the position information of the specified video frame image in the first video clip recorded in the target video template, and a second generation sub-module used to generate a freeze video clip corresponding to the first video material according to the video editing operation instructed by the target video template based on the playback time information of the freeze video clip recorded in the target video template and the specified video frame image.
[0108] In one selectable embodiment, a picture-in-picture logo corresponding to the freeze video clip is recorded in the target video template, and the picture-in-picture logo is used to indicate whether the freeze video clip is in a picture-in-picture format. Specifically, the second generation sub-module Based on the playback time information, the picture-in-picture logo, and the specified video frame image of the freeze video clip recorded in the target video template, it is used to generate a freeze video clip corresponding to the first video material according to the video editing operation indicated by the target video template.
[0109] In the video editing device according to an embodiment of the present disclosure, first, in response to a predetermined trigger operation on a target video template, at least one material addition entry corresponding to the target video template is displayed, a first video material added to a first material addition entry among the at least one material addition entry is received, and according to a video editing operation instructed by the target video template, a first video clip and a freeze video clip are generated based on the first video material. A target video is synthesized based on the first video clip and the freeze video clip. The target video template is used to instruct to generate and synthesize a plurality of video clips by performing a video editing operation on the added video material. In the target video template, a mapping relationship between the first video clip and the freeze video clip and position information of a specified video frame image in the first video clip are recorded. The freeze video clip is a video clip obtained by performing a freeze process based on the specified video frame image in the first video clip. As can be seen from the above, the embodiment of the present disclosure can automatically generate a first video clip and a freeze video clip based on the first video material added by the user and synthesize the target video, enrich the video editing method, and improve the user experience.
[0110] Based on the same inventive concept as the above method embodiment, the embodiment of the present disclosure further provides a video editing device. As shown in FIG. 14, it is a structural schematic diagram of another video editing device according to the embodiment of the present disclosure. The device includes: A second acquisition module 1401 used to acquire a mapping relationship between a freeze video clip and a first video material in a video editing draft and position information of a specified video frame image in the first video clip. The specified video frame image is used to obtain the freeze video clip through a freeze process. The video editing draft includes an initial video material and a video editing operation on the initial video material, and the second acquisition module 1401; A fourth generation module 1402 used to generate and publish a video template corresponding to the video editing draft in response to a template publishing operation for the video editing draft, based on the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip. The video template is used to instruct to generate the first video clip and the freeze video clip and synthesize the target video by performing the video editing operation on the added video material. The fourth generation module 1402 includes:
[0111] In one selectable embodiment, the second acquisition module specifically In the on state of a predetermined freeze binding switch, it is used to acquire the mapping relationship between the freeze video clip and the first video material in the video editing draft and the position information of the specified video frame image in the first video clip.
[0112] In one selectable embodiment, the device A third display module used to display a script setting bar corresponding to the initial video material on a script editing page. The script editing bar further includes a third display module used to add an editing script corresponding to the initial video material. Correspondingly, the fourth generation module specifically In response to a template publishing operation for the video editing draft, based on the video editing draft, the editing script corresponding to the initial video material in the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip, it is used to generate and publish a video template corresponding to the video editing draft.
[0113] In the video editing device according to an embodiment of the present disclosure, first, the mapping relationship between the freeze video clip in the video editing draft and the first video material and the position information of the specified video frame image in the first video clip are obtained. The specified video frame image is used to obtain the freeze video clip through freeze processing. The video editing draft includes the initial video material and the video editing operations on the initial video material. In response to the template publishing operation on the video editing draft, based on the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip, a video template corresponding to the video editing draft is generated and published. The video template is used to instruct to generate the first video clip and the freeze video clip by performing video editing operations on the added video material and synthesize the target video, thereby enriching the video editing method and improving the user experience.
[0114] In addition to the above method and device, an embodiment of the present disclosure further provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed by a terminal device, the terminal device realizes the video editing method described in the embodiment of the present disclosure.
[0115] An embodiment of the present disclosure further provides a computer program product including a computer program / instructions. When the computer program / instructions are executed by a processor, the computer program product realizes the video editing method described in the embodiment of the present disclosure.
[0116] In addition, an embodiment of the present disclosure further provides a video editing device. As shown in FIG. 15, It may include a processor 1501, a memory 1502, an input device 1503, and an output device 1504. The number of processors 1501 of the video editing device may be one or more. In FIG. 15, one processor is taken as an example. In some embodiments of the present disclosure, the processor 1501, the memory 1502, the input device 1503, and the output device 1504 may be connected via a bus or other means. In FIG. 15, the connection via a bus is taken as an example.
[0117] The memory 1502 may be used to store software programs and modules. The processor 1501 executes the software programs and modules stored in the memory 1502 to execute various functional applications and data processing of the video editing device. The memory 1502 may mainly include a program storage area and a data storage area. The program storage area may include an operating system, application programs required for at least one function, and the like. Further, the memory 1502 may include a high-speed random access memory, or may include, for example, at least one non-volatile memory such as a magnetic disk storage device, a flash memory device, or other volatile solid-state memory devices. The input device 1503 may be used to receive the input numerical or character information and generate a signal input related to the user settings and function control of the video editing device.
[0118] Specifically, in this embodiment, the processor 1501 loads an execution file corresponding to the process of one or more application programs into the memory 1502 according to the following instructions, and executes the application programs stored in the memory 1502 with the processor 1501, thereby realizing various functions of the above video editing device.
[0119] Note that in this specification, relational terms such as "first" and "second" are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is such an actual relationship or order between these entities or operations. Also, the term "comprising", "including" or any other variation thereof is intended to cover non-exclusive inclusion, such that a process, method, article or device that comprises a series of elements includes not only those elements but also further elements not expressly listed or elements specific to this process, method, article or device. Unless further restricted, an element limited by the phrase "comprising one..." does not preclude the further presence of another same element in the process, method, article or device that comprises the said element.
[0120] The above are only specific embodiments of the present disclosure and enable those skilled in the art to understand or implement the present disclosure. Various modifications of these examples will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other examples without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to these examples described herein, but should be adapted to the broadest scope consistent with the principles and novel features disclosed herein.
Claims
1. A video editing method, comprising: displaying at least one material addition entry corresponding to the target video template in response to a predetermined trigger operation on the target video template; receiving a first video material added to a first material addition entry among the at least one material addition entry; generating a first video clip and a freeze video clip based on the first video material according to a video editing operation instructed by the target video template, and synthesizing a target video based on the first video clip and the freeze video clip. The target video template is used to instruct to generate and synthesize a plurality of video clips by performing a video editing operation on the added video material. The target video template records a mapping relationship between the first video clip and the freeze video clip and position information of a specified video frame image in the first video clip. The freeze video clip is a video clip obtained by performing a freeze process based on the specified video frame image in the first video clip.
2. Before the step of synthesizing a target video based on the first video clip and the freeze video clip, displaying a video track corresponding to the first video clip in response to a replacement operation on the freeze video clip; determining a target video frame image from the first video clip based on the video track corresponding to the first video clip; generating a target replacement video clip based on the target video frame image, and updating the freeze video clip corresponding to the first video material using the target replacement video clip. The method according to claim 1, further comprising.
3. Before the step of synthesizing a target video based on the first video clip and the freeze video clip, when receiving an editing operation on the first video clip, obtaining an edited result video clip corresponding to the first video clip, wherein the editing operation includes a replacement operation, a shooting operation or a trimming operation. generating an edited freeze video clip based on the edited result video clip according to the video editing operation indicated by the target video template; correspondingly, the step of synthesizing a target video based on the first video clip and the freeze video clip includes: The method according to claim 1 or 2, including the step of synthesizing the target video based on the edited result video clip and the edited freeze video clip.
4. The target video template records the playback time information of the freeze video clip, and the step of generating a first video clip and a freeze video clip based on the first video material according to the video editing operation indicated by the target video template includes: generating the first video clip based on the first video material; obtaining the specified video frame image from the first video clip based on the position information of the specified video frame image in the first video clip recorded in the target video template; generating a freeze video clip corresponding to the first video material according to the video editing operation indicated by the target video template based on the playback time information of the freeze video clip recorded in the target video template and the specified video frame image. The method according to claim 1.
5. The target video template records a picture-in-picture logo corresponding to the freeze video clip, and the picture-in-picture logo is used to indicate whether the freeze video clip is in the picture-in-picture format. The step of generating a freeze video clip corresponding to the first video material according to the video editing operation indicated by the target video template based on the playback time information of the freeze video clip recorded in the target video template and the specified video frame image includes: The method according to claim 4, further comprising the step of generating a freeze video clip corresponding to the first video material according to a video editing operation instructed by the target video template based on the playback time information of the freeze video clip recorded in the target video template, the picture-in-picture logo, and the specified video frame image.
6. A video editing method, comprising: obtaining a mapping relationship between a freeze video clip in a video editing draft and a first video material and position information of a specified video frame image in the first video clip, wherein the specified video frame image is used to obtain the freeze video clip through a freeze process, and the video editing draft includes an initial video material and a video editing operation on the initial video material; responding to a template publishing operation on the video editing draft, generating and publishing a video template corresponding to the video editing draft based on the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip, wherein the video template is used to instruct to generate the first video clip and the freeze video clip and synthesize a target video by performing the video editing operation on an added video material.
7. The step of obtaining the mapping relationship between the freeze video clip in the video editing draft and the first video material and the position information of the specified video frame image in the first video clip comprises: The method according to claim 6, further comprising, when a predetermined freeze binding switch is in an on state, obtaining the mapping relationship between the freeze video clip in the video editing draft and the first video material and the position information of the specified video frame image in the first video clip.
8. further comprising the step of displaying a script setting bar corresponding to the initial video material on a script editing page, wherein the script setting bar is used to add an editing script corresponding to the initial video material. Correspondingly, in response to a template publishing operation on the video editing draft, based on the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip, the step of generating and publishing a video template corresponding to the video editing draft is as follows: The method according to claim 6 or 7, comprising the step of generating and publishing a video template corresponding to the video editing draft based on the video editing draft, the editing script corresponding to the initial video material in the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip, in response to a template publishing operation on the video editing draft.
9. A video editing device, comprising: A first display module used to display at least one material addition entry corresponding to the target video template in response to a predetermined trigger operation on the target video template; A receiving module used to receive a first video material added to a first material addition entry among the at least one material addition entry; A first generation module used to generate a first video clip and a freeze video clip based on the first video material according to a video editing operation instructed by the target video template; A first synthesis module used to synthesize a target video based on the first video clip and the freeze video clip, The target video template is used to instruct to generate and synthesize a plurality of video clips by performing video editing operations on the added video materials. The target video template records the mapping relationship between the first video clip and the freeze video clip and the position information of the specified video frame image in the first video clip. The freeze video clip is a video clip obtained by performing a freeze process based on the specified video frame image in the first video clip. A video editing device.
10. A video editing device, comprising: A second acquisition module used to acquire the mapping relationship between a freeze video clip and a first video material during video editing draft and the position information of a specified video frame image in the first video clip, wherein the specified video frame image is used to obtain the freeze video clip through freeze processing, and the video editing draft includes an initial video material and a second acquisition module for video editing operations on the initial video material. A fourth generation module used to generate and publish a video template corresponding to the video editing draft in response to a template publishing operation on the video editing draft, based on the video editing draft, the mapping relationship between the freeze video clip and the first video material, and the position information of the specified video frame image in the first video clip, wherein the video template is used to instruct to generate the first video clip and the freeze video clip and synthesize a target video by performing the video editing operation on the added video material. The video editing apparatus includes the fourth generation module.
11. A computer-readable storage medium storing instructions, wherein when the instructions are executed by a terminal device, the terminal device realizes the video editing method according to Claim 1 or 6.
12. A video editing device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the video editing device realizes the video editing method according to Claim 1 or 6.
Citation Information
Patent Citations
Reproducing device
JP2004355767A
Video processing device, video processing method and video processing program
JP2015115718A
Multimedia data processing method, multimedia data generation method, and related device
WO2022048478A1