Video editing method and apparatus, and electronic device and storage medium
By providing text editing interface and candidate text effects in video editing applications, users can select and edit text materials to generate personalized video editing results, solving the problem of lack of personalized editing permissions in the prior art and improving the user experience.
Patent Information
- Application Number
- PCT/CN2024/137744
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-12-27
- Filing Date
- 2024-12-09
- Publication Date
- 2025-07-03
AI Technical Summary
Existing video editing applications fail to provide personalized editing permissions during the editing process, resulting in insufficient user experience and unable to meet the growing video editing needs.
Provides a video editing method, by obtaining video editing templates and displaying text editing interfaces, allowing users to select and edit text materials, and combine multimedia materials to generate personalized video editing results, including text input area and effect editing area, supporting the display and editing of candidate text effects.
It has realized the addition of personalized editing functions during the video editing process, simplified the operation process, reduced the difficulty of user operations, enriched the video editing methods, and improved the user experience.
Smart Images

Figure CN2024137744_03072025_PF_FP_ABST
Abstract
Description
Video editing method, device, electronic device and storage medium
[0001] This application claims priority to the Chinese invention patent application entitled “Video Editing Method, Device, Electronic Device and Storage Medium” filed on December 27, 2023, with application number 202311828336.2. The entire contents of that application are incorporated by reference into this application. Technical Field
[0002] The present disclosure relates to the field of video processing technology, and in particular to a video editing method, device, electronic device, and storage medium. Background Art
[0003] With the rapid development of terminal technology, many devices now have camera functions, allowing users to capture wonderful moments in their daily lives by taking photos or videos. To achieve better visual effects, users often want to edit multimedia materials such as photos and videos to produce edited videos. As a result, many applications supporting video editing functions have emerged.
[0004] Currently, some video editing applications provide users with a variety of editing templates, and video editing applications will edit the user's to-be-edited material (at least one photo and / or at least one video clip) based on the video editing template selected by the user, and generate multimedia resources with the same editing effect as the video editing template.
[0005] However, the template-based editing function generally does not provide users with personalized editing permissions based on the above editing functions. Therefore, how to enrich video editing methods to meet users' growing video editing needs and improve user experience is a technical problem that needs to be solved urgently. Summary of the Invention
[0006] In order to solve the above technical problems or at least partially solve the above technical problems, the present disclosure provides a video editing method, device, electronic device and storage medium.
[0007] According to a first aspect of an embodiment of the present disclosure, a video editing method is provided, the method comprising: obtaining a video editing template, the video editing template being used to indicate at least one video clip and an editing effect applied to the at least one video clip, the editing effect comprising at least a first text material; in response to a triggering operation of adding a second text material, displaying a text editing interface for the second text material, the text editing interface comprising a text input area and an effect editing area, the effect editing area being used to display candidate text effects, the candidate text effects comprising a first text effect of the first text material; and in response to a selection operation of the first text effect on the text editing interface, generating the second text material based on text information in the text input area and the first text effect;
[0008] Based on the video editing template, the second text material and the multimedia material, a first video editing result is generated; wherein, the multimedia material is used to import the video editing template to form the at least one video segment, and the first video editing result is at least used to present the editing effect of applying the second text material on the at least one video segment.
[0009] In some embodiments of the present disclosure, generating the second text material based on the text information in the text input area and the first text effect includes: using the first text effect as the text effect of the text information to generate the second text material.
[0010] In some embodiments of the present disclosure, the second text material is generated based on the text information in the text input area and the first text effect, including: displaying the text information presented with the first text effect; in response to an effect editing operation on the text information, editing the first text effect based on the effect parameters corresponding to the effect editing operation to generate a second text effect; and using the second text effect as the text effect of the text information to generate the second text material.
[0011] In some embodiments of the present disclosure, in response to an effect editing operation on the text information, after editing the first text effect to generate a second text effect based on effect parameters corresponding to the effect editing operation, the method further includes: saving the second text effect.
[0012] In some embodiments of the present disclosure, after saving the second text effect, the method further includes:
[0013] In response to a triggering operation on the third text material in the editing effect, the effect editing area including the second text effect is displayed; in response to a selection operation on the second text effect, the text effect of the third text material is updated to the second text effect.
[0014] In some embodiments of the present disclosure, generating a first video editing result based on the video editing template, the second text material and the multimedia material includes: synthesizing the video editing template, the second text material and the multimedia material into the first video editing result.
[0015] In some embodiments of the present disclosure, generating a first video editing result based on the video editing template, the second text material and the multimedia material includes: synthesizing the video editing template, the second text material and the multimedia material into a second video editing result; generating the first video editing result in response to an editing processing operation on a first editing effect in the second video editing result; wherein the first editing effect is different from the second text material, and the editing processing operation includes at least one of the following: deleting the first editing effect; modifying the first editing effect.
[0016] In some embodiments of the present disclosure, the candidate text effects include at least one template text effect and at least one recent text effect, and the effect editing area includes a template tag and a recent tag; when the template tag is in a selected state, the effect editing area is used to display the at least one template text effect, and the at least one template text effect includes a first text effect; when the recent tag is in a selected state, the effect editing area is used to display the at least one recent text effect, and each recent text effect is used to indicate a text effect that has been applied within a preset time period before the current moment.
[0017] According to a second aspect of an embodiment of the present disclosure, a video editing device is provided, which includes: an acquisition module for acquiring a video editing template, the video editing template being used to indicate at least one video clip and an editing effect applied to the at least one video clip, the editing effect including at least a first text material; a display module for displaying a text editing interface of the second text material in response to a trigger operation of adding a second text material, the text editing interface including a text input area and an effect editing area, the effect editing area being used to display candidate text effects, the candidate text effects including a first text effect of the first text material; a generation module for generating a second text material based on text information in the text input area and the first text effect in response to a selection operation of the first text effect on the text editing interface; and generating a first video editing result based on the video editing template, the second text material and multimedia material; wherein the multimedia material is used to import the video editing template to form the at least one video clip, and the first video editing result is at least used to present the editing effect of the second text material applied to the at least one video clip.
[0018] In some embodiments of the present disclosure, the generating module is specifically configured to use the first text effect as the text effect of the text information to generate the second text material.
[0019] In some embodiments of the present disclosure, the generation module is specifically used to display the text information presented in a first text effect; in response to an effect editing operation on the text information, the first text effect is edited to generate a second text effect based on the effect parameters corresponding to the effect editing operation; and the second text effect is used as the text effect of the text information to generate a second text material.
[0020] In some embodiments of the present disclosure, the device further includes: a saving module for saving the second text effect after editing the first text effect to generate the second text effect based on effect parameters corresponding to the effect editing operation in response to the effect editing operation on the text information.
[0021] In some embodiments of the present disclosure, the display module is also used to, after saving the second text effect, display the effect editing area including the second text effect in response to a triggering operation on the third text material in the editing effect; and update the text effect of the third text material to the second text effect in response to a selection operation on the second text effect.
[0022] In some embodiments of the present disclosure, the generating module is specifically configured to synthesize the video editing template, the second text material, and the multimedia material into the first video editing result.
[0023] In some embodiments of the present disclosure, the generation module is specifically used to synthesize the video editing template, the second text material and the multimedia material into a second video editing result; in response to an editing processing operation on the first editing effect in the second video editing result, the first video editing result is generated; wherein, the first editing effect is different from the second text material, and the editing processing operation includes at least one of the following: deleting the first editing effect; modifying the first editing effect.
[0024] In some embodiments of the present disclosure, the candidate text effects include at least one template text effect and at least one recent text effect, and the effect editing area includes a template tag and a recent tag; when the template tag is in a selected state, the effect editing area is used to display the at least one template text effect, and the at least one template text effect includes a first text effect; when the recent tag is in a selected state, the effect editing area is used to display the at least one recent text effect, and each recent text effect is used to indicate a text effect that has been applied within a preset time period before the current moment.
[0025] According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements the video editing method as described in the first aspect.
[0026] According to a fourth aspect of the embodiments of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the video editing method as described in the first aspect is implemented.
[0027] According to a fifth aspect of the embodiments of the present disclosure, a computer program product is provided, wherein the computer program product includes a computer program. When the computer program product runs on a processor, the processor executes the computer program to implement the video editing method as described in the first aspect.
[0028] In a sixth aspect of an embodiment of the present disclosure, a chip is provided, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run program instructions to implement the video editing method as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0030] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0031] FIG1 is a flow chart of a video editing method provided by an embodiment of the present disclosure;
[0032] FIG2 is a schematic diagram of one interface of the video editing method provided by an embodiment of the present disclosure;
[0033] FIG3 is a second schematic diagram of an interface of a video editing method provided by an embodiment of the present disclosure;
[0034] FIG4 is a structural block diagram of a video editing device provided by an embodiment of the present disclosure;
[0035] FIG5 is a structural block diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION
[0036] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features therein can be combined with each other in the absence of conflict.
[0037] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0038] The terms "first", "second", etc. in the specification and claims of the present disclosure are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present disclosure can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects related to each other are in an "or" relationship.
[0039] The electronic devices in the embodiments of the present disclosure may be mobile electronic devices or non-mobile electronic devices. Mobile electronic devices may include mobile phones, tablet computers, laptop computers, PDAs, in-vehicle electronic devices, wearable devices, ultra-mobile personal computers (UMPCs), netbooks, or personal digital assistants (PDAs); non-mobile electronic devices may include personal computers (PCs), televisions (TVs), ATMs, or self-service kiosks; and the embodiments of the present disclosure do not specifically limit these.
[0040] The execution subject of the video editing method provided by the embodiment of the present disclosure can be the above-mentioned electronic device (including mobile electronic devices and non-mobile electronic devices), or it can be a functional module and / or functional entity in the electronic device that can implement the video editing method. The specific execution subject can be determined according to actual usage requirements and is not limited by the embodiment of the present disclosure.
[0041] The technical solution provided by the embodiment of the present disclosure has the following advantages compared with the existing technology: obtaining a video editing template, which is used to indicate at least one video clip and an editing effect applied to the at least one video clip, and the editing effect includes at least a first text material; in response to a trigger operation of adding a second text material, displaying a text editing interface for the second text material, the text editing interface includes a text input area and an effect editing area, the effect editing area is used to display candidate text effects, and the candidate text effects include a first text effect of the first text material; in response to a selection operation of the first text effect on the text editing interface, generating a second text material based on the text information in the text input area and the first text effect; generating a first video editing result based on the video editing template, the second text material and the multimedia material; wherein the multimedia material is used to import the video editing template to form the at least one video clip, and the first video editing result is at least used to present the editing effect of the second text material applied to the at least one video clip. In this way, based on the function of editing based on editing templates, this solution not only provides the function of adding text materials, but also provides users with candidate text effects, and the candidate text effects include the text effects of the text materials in the video editing template. In this way, users can quickly select the text effects of the text materials in the video editing template according to the candidate text effects to edit the text effects of the newly added text materials, without having to perform complicated and tedious text effect editing operations on the newly added text materials, so that the text effects of the newly added text materials can be consistent with the text effects of the text materials in the video editing template, which simplifies the operation process and reduces the difficulty of operation. Moreover, it can realize personalized editing of text materials, enrich video editing methods, and improve user experience.
[0042] The video editing method provided by the embodiment of the present disclosure is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0043] As shown in FIG1 , an embodiment of the present disclosure provides a video editing method, which may include the following steps 101 to 104 .
[0044] 101. Get video editing templates.
[0045] The video editing template is used to indicate at least one video segment and an editing effect applied to the at least one video segment, and the editing effect at least includes a first text material.
[0046] The at least one video clip may include one or more video clips. The editing effect may include only the first text material and exclude other text materials, or the editing effect may include other text materials in addition to the first text material. In addition to text materials, the editing effect may also include picture-in-picture materials, sticker materials, etc. The specific details may be determined based on actual circumstances and are not limited here.
[0047] Among them, different video editing templates can include the same or different numbers of video clips, and the editing effects applied to the video clips can be different or different. The specific details can be determined according to actual conditions and are not limited here.
[0048] The video editing template may be obtained in response to a triggering operation of selecting a video editing template from a plurality of editing templates.
[0049] 102. In response to a triggering operation of adding a second text material, display a text editing interface for the second text material.
[0050] The text editing interface includes a text input area and an effect editing area. The effect editing area is used to display candidate text effects. The candidate text effects include a first text effect of a first text material.
[0051] The text input area is used to input text information. The candidate text effects may also include text effects of other text materials.
[0052] 103. In response to a selection operation on the first text effect on the text editing interface, generate a second text material based on the text information in the text input area and the first text effect.
[0053] In some embodiments of the present disclosure, the second text material is generated based on the first text effect, but the text effect of the second text material is not necessarily the first text effect. That is, the text effect of the second text material can be the first text effect, or it can be the second text effect after the first text effect is edited. The specific effect can be determined according to actual conditions and is not limited here.
[0054] Exemplarily, the above step 103 can be specifically implemented through the following step 103a.
[0055] 103a. Use the first text effect as the text effect of the text information to generate a second text material.
[0056] Exemplarily, the above step 103 can be specifically implemented through the following steps 103b to 103d.
[0057] 103b. Display the text information presented with the first text effect.
[0058] 103c. In response to the effect editing operation on the text information, based on the effect parameters corresponding to the effect editing operation, edit the first text effect to generate a second text effect.
[0059] In some embodiments of the present application, the above-mentioned effect editing operation may include at least one of the following: font type editing operation, style editing operation, font color editing operation, border editing operation, shadow editing operation, background editing operation, glow editing operation, bubble editing operation, stroke editing operation, animation editing operation, font size editing operation, font rotation angle editing operation, and may also include other editing operations, which can be determined based on actual conditions and are not limited here.
[0060] 103d. Use the second text effect as the text effect of the text information to generate a second text material.
[0061] In the embodiment of the present disclosure, through the above-mentioned step 103a or step 103b to step 103d, multiple solutions for generating the second text material are provided, which can realize personalized video editing, increase the video editing methods, and improve user experience.
[0062] 104. Generate a first video editing result based on the video editing template, the second text material, and the multimedia material.
[0063] The multimedia material is used to be imported into the video editing template to form the at least one video segment, and the first video editing result is at least used to present the editing effect of applying the second text material on the at least one video segment.
[0064] The multimedia material may include one or more videos, one or more pictures, or both videos and pictures. The specific details may be determined based on actual conditions and are not limited here.
[0065] In some embodiments of the present disclosure, the first video editing result may be a video draft in a preview state, that is, the video editing template is filled with multimedia material and a second text material is added, and a video draft (or video editing draft) is generated.
[0066] In some embodiments of the present disclosure, the first video editing result may be a synthesized video file exported after previewing, where the video file is generated by clicking export after previewing the video draft.
[0067] In some embodiments of the present disclosure, the above-mentioned production steps of producing the first video editing result based on the video editing template may be to first import multimedia materials, display the multimedia resources after the multimedia materials are edited based on the video editing template (the multimedia resources include at least one video clip in the multimedia materials corresponding to the video editing template and the editing effects applied to the at least one video clip), and then perform personalized editing (including the above-mentioned editing operation of adding the second text material), and finally generate the first video editing result; or directly enter the video editing page based on the video editing template, perform personalized editing, and then import the multimedia materials, and finally generate the first video editing result. The specific steps can be determined according to actual conditions and are not limited here.
[0068] In some embodiments of the present disclosure, the above step 104 can be specifically implemented through the following step 104a.
[0069] 104a: Combining the video editing template, the second text material, and the multimedia material into a first video editing result.
[0070] It can be understood that the first video editing result obtained based on the above step 104a includes at least one video clip in the multimedia material corresponding to the video editing template and the editing effect applied to the at least one video clip, as well as the second text material applied to the at least one video clip.
[0071] In some embodiments of the present disclosure, the above step 104 can be specifically implemented through the following steps 104b and 104c.
[0072] 104b. Combining the video editing template, the second text material, and the multimedia material into a second video editing result.
[0073] The second video editing result includes at least one video segment in the multimedia material corresponding to the video editing template and the editing effect applied to the at least one video segment, as well as the second text material applied to the at least one video segment.
[0074] 104c generates a first video editing result in response to the editing processing operation on the first editing effect in the second video editing result.
[0075] The first editing effect is different from the second text material, and the editing processing operation includes at least one of the following: deleting the first editing effect; and modifying the first editing effect.
[0076] Among them, the first editing effect can include the first text material, and may also include other text materials besides the first text material and the second text material. It may also include other material editing effects such as sticker materials, filter materials, picture-in-picture materials, etc. The specific effect can be determined according to actual conditions and is not limited here.
[0077] Among them, modifying the first editing effect includes modifying the effect parameters of the first editing effect, and may also include modifying the material content of the first editing effect, and may also include modifying the display position of the first editing effect in at least one video clip. The specific details can be determined based on actual conditions and are not limited here.
[0078] Exemplarily, the first editing effect is a first text material, and modifying the first text material includes at least one of the following: modifying the text effect of the first text material, modifying the text information of the first text material, and modifying the display position of the first text material in at least one video clip.
[0079] In the embodiment of the present disclosure, through the above-mentioned step 104a or steps 104b to 104c, multiple solutions for generating the first video editing result are provided, which can realize personalized video editing, increase the video editing methods, and improve user experience.
[0080] In the embodiment of the present disclosure, on the basis of the function of editing based on the editing template, not only the function of adding text materials is provided, but also candidate text effects are provided to users, and the candidate text effects include the text effects of the text materials in the video editing template. In this way, the user can quickly select the text effects of the text materials in the video editing template according to the candidate text effects to edit the text effects of the newly added text materials, without having to perform complex and tedious text effect editing operations on the newly added text materials, so that the text effects of the newly added text materials can be consistent with the text effects of the text materials in the video editing template, which simplifies the operation process, reduces the difficulty of operation, and can realize personalized editing of text materials, enrich the video editing method, and improve user experience.
[0081] In some embodiments of the present disclosure, after the above 103c, the video editing method provided by the embodiment of the present disclosure may further include the following step 105.
[0082] 105. Save the second text effect.
[0083] In the disclosed embodiment, saving the second text effect can facilitate subsequent use of the second text effect to edit other text materials, can quickly display other text materials with the second text effect, and can improve the processing efficiency of text materials.
[0084] In some embodiments of the present disclosure, after the above 105, the video editing method provided by the embodiment of the present disclosure may further include the following steps 106 and 107.
[0085] 106. In response to a triggering operation on the third text material in the editing effect, display the effect editing area including the second text effect.
[0086] The third text material may include the first text material, or may include other text materials except the first text material. The specific method may be determined according to actual conditions and is not limited here.
[0087] 107. In response to the selection operation on the second text effect, update the text effect of the third text material to the second text effect.
[0088] In the embodiment of the present disclosure, by displaying the second text effect in the effect editing area, the selection operation of the second text effect can trigger the rapid update of the text effect of the third text material to the second text effect, thereby improving the editing efficiency of the text effect and enhancing the user experience.
[0089] In some embodiments of the present disclosure, the candidate text effects include at least one template text effect and at least one recent text effect, and the effect editing area includes a template tag and a recent tag; when the template tag is in a selected state, the effect editing area is used to display the at least one template text effect, and the at least one template text effect includes a first text effect; when the recent tag is in a selected state, the effect editing area is used to display the at least one recent text effect, and each recent text effect is used to indicate a text effect that has been applied within a preset time period before the current moment.
[0090] The second text effect is a recent text effect.
[0091] In the disclosed embodiment, displaying the template text effect while displaying the most recent text effect facilitates the user to edit the newly created text content using the previously applied text effect, and can also make it easier for the user to perform personalized editing.
[0092] Exemplarily, the above-mentioned steps for producing the first video editing result based on the video editing template are illustrated by first importing multimedia materials, displaying the multimedia resources after the multimedia materials are edited based on the video editing template, and then performing personalized editing, and finally generating the first video editing result. The video editing method provided by the embodiment of the present disclosure can be specifically implemented through the following steps 201 and 202.
[0093] 201. Display the target multimedia resources in the multimedia editing interface.
[0094] The target multimedia resource is obtained by editing multimedia materials based on a video editing template.
[0095] Among them, the video editing template can be selected by the user from multiple editing templates. The video editing template can be a default editing template. The specific template can be determined according to actual conditions and is not limited here.
[0096] For example, the video editing template may be one of a plurality of editing templates provided by a “same cut” function module in some video editing applications.
[0097] 202. In response to a new text operation in the multimedia editing interface, display text information of a second text material on the target multimedia resource.
[0098] In some embodiments of the present disclosure, a new text operation may include a triggering operation on a new text control and an input operation of text information of a second text material. The above-mentioned step 202 may specifically include: in response to the triggering operation on the new text control in the multimedia editing interface, displaying a text editing interface on the multimedia editing interface, wherein the text editing interface includes a text input area and a keyboard area; in response to the text input operation in the text editing interface, displaying the text information of the second text material corresponding to the text input operation on the target multimedia resource.
[0099] In some embodiments of the present disclosure, the above-mentioned text input operation can be a trigger operation in the keyboard area, or it can be an intelligent copy generation operation, which can be determined according to actual conditions and is not limited here.
[0100] In the embodiment of the present disclosure, based on the function of editing based on the editing template, a function of adding text content through the new text operation is provided, so that personalized editing of the text can be performed, the video editing method is enriched, and the user experience is improved.
[0101] In some embodiments of the present disclosure, the video editing template includes at least one template text material (including a first text material). After the above step 202, the video editing method provided by the embodiment of the present disclosure may further include the following steps 203 to 205.
[0102] 203. Display a text editing toolbar in the text editing interface.
[0103] Among them, a text label control is displayed in the text editing toolbar.
[0104] Exemplarily, a text editing toolbar may be displayed below the text input area, and the specific location may be determined based on actual conditions and is not limited here.
[0105] 204. In response to a triggering operation on the text label control, display at least one template text effect in the text editing interface.
[0106] Wherein, the at least one template text effect includes a first text effect.
[0107] Each template text effect is used to indicate a text effect of a type of template text in the at least one template text.
[0108] It can be understood that the visual effect of each template text effect is basically the same as the visual effect of the corresponding type of template text.
[0109] In some embodiments of the present disclosure, one or more template texts whose effect parameters corresponding to at least one template text effect are exactly the same belong to one category of template text, and any two template texts whose effect parameters corresponding to at least one template text effect are different in at least one parameter belong to two categories of template text.
[0110] Accordingly, the effect parameters of each template text effect are exactly the same as the effect parameters of a type of template text in the video editing template.
[0111] In some embodiments of the present disclosure, the template texts in the at least one preset text that meet the target condition belong to a type of template text, and each type of template text corresponds to a template text effect. The target condition includes: effect parameters corresponding to the text effect, except for the target effect parameter, are the same.
[0112] It can be understood that among the effect parameters corresponding to the at least one template text effect, except the target effect parameters, one or more template texts that are exactly the same belong to one category of template texts; among the effect parameters corresponding to the at least one template text effect, except the target effect parameters, any two template texts with at least one different parameter belong to two categories of template texts.
[0113] Accordingly, the effect parameters of each template text effect are the same as the effect parameters of a class of template texts in the video editing template except for the target effect parameters.
[0114] In some embodiments of the present disclosure, the target effect parameter includes at least one of the following: font size, font position, font rotation angle, alignment, character spacing, and line spacing.
[0115] Exemplarily, the target effect parameters include font size, font position, and font rotation angle. Alternatively, the target effect parameters include font size, font position, font rotation angle, alignment, word spacing, and line spacing.
[0116] In some embodiments of the present disclosure, other effect parameters may include font type, font color, style, border, shadow, background, glow, bubble, stroke, animation, and may also include other types of effect parameters, which can be determined based on actual conditions and are not limited here.
[0117] It can be understood that the target effect parameters are usually the effect parameters that users need to perform personalized editing on the text. Moreover, if template texts with the same effect parameters except the target effect parameters but different one or more effect parameters in the target effect parameters are set with template text effects respectively, then the text editing interface may display multiple template text effects that are exactly the same or substantially the same in visual effect, which makes it difficult or even impossible for users to distinguish them, affecting the user experience. Therefore, in the embodiment of the present disclosure, setting the template texts that meet the target conditions in the at least one preset text to belong to a category of template texts can avoid displaying multiple template text effects that are exactly the same or substantially the same in visual effect, thereby improving the user experience.
[0118] 205. In response to a triggering operation on a first text effect in the at least one template text effect, display the first text content with the first text effect.
[0119] The first text content is the content in the text information of the second text material, or the first text content is new text content that is different from the text information of the second text material.
[0120] In some embodiments of the present disclosure, when the first text content is content in the text information of the second text material and the first text content in the text information of the second text material is in a selected state, in response to a triggering operation on the first text effect, the first text content is displayed with the first text effect.
[0121] In some embodiments of the present disclosure, when the first text content is new text content that is different from the text information of the second text material, before the first text content is input, in response to a trigger operation on the first text effect, the first text effect is switched to a selected state (anchored state), and the current input text effect mode is updated to a text effect corresponding to the first text effect, and then in response to a trigger operation on inputting the first text content, the first text content is displayed with the first text effect.
[0122] In the disclosed embodiment, a solution is provided for applying the text effects of the template text in the corresponding video editing template to the newly created text content by the user with one click. In this way, on the one hand, it is possible to quickly achieve that the text effects of the newly created text content are basically consistent with those of the template text in the video editing template. On the other hand, there is no need to perform complex and tedious text effect editing operations on the newly created text content, so that the text effects of the newly created text content and the template text in the video editing template can be basically consistent, which simplifies the operation process and reduces the difficulty of operation. Moreover, it can also avoid the inability to perform text effect editing operations due to limited knowledge of text effect editing, so that the text effects of the newly created text content and the template text in the video editing template are basically consistent.
[0123] In some embodiments of the present disclosure, each preset character in the video editing template can be a template text (in this case, each preset character corresponds to a template text effect), each character string in the video editing template can be a template text (in this case, each character string corresponds to a template text effect), or each text segment in the video editing template can be a template text (in this case, each text segment corresponds to a template text effect). The specific details can be determined based on actual conditions and are not limited here.
[0124] In some embodiments of the present disclosure, when there are characters with different text effects in a template text, the characters corresponding to the text effect of the template text account for the largest proportion in the template text, or the text effect of the template text is the text effect of the first character in the template text.
[0125] It can be understood that if there are characters with different text effects in a template text, then the template text is a text in rich text format. The template text includes multiple characters, and the text effect of each character in the multiple characters can be different, or partially the same and partially different.
[0126] Among the ratios of the number of characters in the plurality of characters that have the same text effect to the number of the plurality of characters, the text effect corresponding to the largest ratio is the text effect of the template text. Thus, the text effect with the largest proportion is determined as the text effect of the template text. The template text effects displayed to the user can represent more characters in the video editing template, thereby improving the user experience.
[0127] The text effect of the template text is the text effect of the first character in the template text. The design logic is simple, which can reduce the difficulty of obtaining the template text effect and improve the efficiency of obtaining the template text effect.
[0128] In some embodiments of the present disclosure, the at least one template text effect is sorted in the order of the template text that first appears in the video editing template in a category of template text corresponding to the template text effect.
[0129] It is understood that at least one template text effect is sorted according to the order of the first template text that appears in the video editing template (the template text in which the text effect first appears in the video editing template) in a category of template texts corresponding to the text effect. That is, if the text effects of multiple template texts in the video editing template are the same, a template text effect is generated based on the text effect of the template text that appears in the video editing template among the multiple template texts.
[0130] Exemplarily, at least one template text is sorted according to the order in which the template text appears in the video editing template. If the template text that appears the fifth time in the video editing template is the same type of template text as the template text that appears the tenth time in the video editing template, and the template text that appears the fifth time in the video editing template is not the same type of template text as the template texts that appear from the first to the fourth time (the first four) in the video editing template, then a template text effect is generated based on the text effect of the template text that appears the fifth time in the video editing template.
[0131] For example, the video editing template includes template text A, template text B, and template text C, arranged in the order of appearance in the video editing template. If template text A and template text C are of the same type, and template text B and template text A are of a different type, then the template text effects corresponding to the video editing template, and the order of arrangement of the template text effects, are as follows: template text effects corresponding to template text A, then template text effects corresponding to template text B. If template text A, template text B, and template text C are all of different types, then the template text effects corresponding to the video editing template, and the order of arrangement of the template text effects, are as follows: template text effects corresponding to template text A, then template text effects corresponding to template text B, then template text effects corresponding to template text C.
[0132] In the embodiment of the present disclosure, the at least one template text effect is sorted in the order of the template texts that first appear in the video editing template in a class of template texts corresponding to the template text effect. On the one hand, it is convenient for users to find the template text effects they need, and on the other hand, it can reduce the power consumption of obtaining the template text effects (they can be obtained by traversing the at least one template text included in the video editing template according to the arrangement order of the at least one template text in the video editing template, without the need for statistics, replacement of template text effects, and adjustment of the order of template text effects), thereby improving the efficiency of obtaining template text effects.
[0133] In some embodiments of the present disclosure, the template texts included in a category of template texts corresponding to the template text effects are sorted from large to small according to their proportion in the number of template texts of at least one template text.
[0134] The template text effect corresponding to each type of template text is the first template text in the type of template text that appears in the video editing template.
[0135] Among them, if the number of template texts included in multiple categories of template texts is the same, the template text effects corresponding to the multiple categories of template texts are arranged in the order of appearance in the video editing template according to the first template text in each category of template text that appears in the video editing template.
[0136] For example, template text 1, template text 2, template text 3, template text 4, template text 5, template text 6, template text 7 and template text 8 are 8 template texts arranged in the order of appearance in the video editing template. Among them, template text 1 and template text 2 belong to the first category of template text, template text 3, template text 4 and template text 6 belong to the second category of template text, template text 5 belongs to the third category of template text, template text 7 and template text 8 belong to the fourth category of template text, template text 1 is the template text of the first category of template text that appears in the video editing template for the first time, template text 3 is the template text of the second category of template text that appears in the video editing template for the first time, template text 6 is the template text of the third category of template text that appears in the video editing template for the first time, and template text 3 appears later than the template text in the video editing template. Accordingly, the template text effects corresponding to the video editing template, and the arrangement order of the template text effects are: template text effects corresponding to template text 3, template text effects corresponding to template text 1, template text effects corresponding to template text 7, and template text effects corresponding to template text 5.
[0137] In the embodiment of the present disclosure, the process of generating a template text effect based on the text effect of a template text is specifically to obtain all effect parameters corresponding to the text effect of the template text (or other effect parameters in all effect parameters except the target effect parameters), and generate the template text effect based on all effect parameters corresponding to the template text (or other effect parameters in all effect parameters except the target effect parameters). The specific process can be determined according to actual conditions and is not limited here.
[0138] In some embodiments of the present disclosure, in response to a triggering operation on the text label control, the keyboard area in the text editing interface is updated to an effect editing area, and at least one template text effect is displayed in the effect editing area.
[0139] In some embodiments of the present disclosure, at least one recent text effect can also be displayed in the effect editing area, and each recent text effect is used to indicate the text effect applied within a preset time length before the current moment (the preset time length can be determined based on actual conditions and is not limited here).
[0140] In some embodiments of the present disclosure, at least one template text effect and at least one recent text effect can be displayed in separate areas within the effect editing area. For example, at least one template text effect can be displayed above the effect editing area, while at least one recent text effect can be displayed below the effect editing area. This allows for easy user search by displaying them on the same page.
[0141] In some embodiments of the present disclosure, at least one template text effect and at least one recent text effect can be displayed in pages in the effect editing area, such as displaying a template label control and a recent label control in the effect editing area, the template label control corresponding to the page displaying at least one template text effect, and the recent label control corresponding to the page displaying at least one recent text effect.
[0142] In some embodiments of the present disclosure, the above step 204 can be specifically implemented through the following step 204a, and after step 204a, the video editing method provided by the embodiment of the present disclosure can further include the following steps 206 and 207.
[0143] 204a. In response to the triggering operation on the text label control, display the effect editing area.
[0144] The effect editing area displays a selected template tag control, a non-selected recent tag control, and the at least one template text effect corresponding to the template tag control.
[0145] 206. In response to a triggering operation on the recent label control, the recent label control is switched to a selected state.
[0146] 207. Update the at least one template text effect displayed in the effect editing area to at least one latest text effect.
[0147] Each recent text effect is used to indicate a text effect that has been applied within a preset time period before the current moment. It is understood that the time period between the application moment of each recent text effect and the current moment is less than or equal to the preset time period.
[0148] In the disclosed embodiment, displaying the most recent text effects facilitates the user to edit the newly created text content using the previously applied text effects, and can also make it easier for the user to perform personalized editing.
[0149] In an embodiment of the present disclosure, at least one template text effect and at least one recent text effect can be displayed in pages in the effect editing area, which can facilitate user distinction. Moreover, when the display space of the effect editing area is limited, or the number of at least one template text effect and / or the number of at least one recent text effect is large, it is convenient for users to search, which can improve search efficiency and enhance user experience.
[0150] In some embodiments of the present disclosure, since the display area of the effect editing area is limited, if the number of preset effects is large and the effect editing area cannot display all of them at once, they can be displayed in pages, or a progress bar can be set and displayed by adjusting the progress bar. All template text effects can also be displayed in other ways. The specific method can be determined based on actual conditions and is not limited here.
[0151] In some embodiments of the present disclosure, since the display area of the effect editing area is limited, if the number of recent text effects is large and the effect editing area cannot display all of them at once, the latest text effects can be displayed in ascending order according to the length of time from the application moment to the current moment, and a preset number of recent text effects can be displayed; or all recent text effects within the preset length of time from the application moment to the current moment can be displayed, sorted from large to small according to the user usage frequency, and a preset number of recent text effects can be displayed; or they can be displayed in pages, or a progress bar can be set and displayed through the progress bar adjustment, or some or all recent text effects can be selected for display in other ways. The specific method can be determined according to actual conditions and is not limited here.
[0152] In some embodiments of the present disclosure, the at least one most recent text effect is arranged in ascending order according to the time length between the most recent application time of the most recent text effect and the current time.
[0153] The most recent application time is the application time of the last applied text effect in the same category of text effects (the same or substantially the same text effects) as a most recent text effect.
[0154] It can be understood that after a recent text effect (recorded as recent text effect 1) is applied in the effect editing area, no text effect with the same text effect as recent text effect 1 has been applied. Assuming that after a recent text effect (recorded as recent text effect 2) is applied in the effect editing area, text effect 3 with the same text effect as the recent text effect is applied, text effect 3 will be added to the effect editing area as a recent text effect, and recent text effect 2 will be deleted.
[0155] It can be understood that all text effects applied within a preset time period before the current moment are sorted in ascending order based on the time period from the application time to the current moment. If multiple text effects belong to the same category, only the most recently used text effect among the multiple text effects belonging to the same category will be displayed in the effect editing area as the most recent text effect.
[0156] In some embodiments of the present disclosure, when a new recent text effect is added to the effect editing area, the recent text effect is displayed at the front, and it is determined whether there is a recent text effect belonging to the same category of text effects as the recent text effect among the recently displayed recent text effects. If so, the recently displayed recent text effect belonging to the same category of text effects as the recent text effect is deleted. If not, no processing is required.
[0157] For example, assuming that there was no recent text effect before, after the user used template text effect A, the recent text effect A (corresponding to template text effect A) is displayed in the effect editing area; then the user used template text effect B, then the effect editing area displays: recent text effect B (corresponding to template text effect B), recent text effect A (the two are arranged in the order of recent text effect B in front and recent text effect A in the back); later the user used template text effect A again (or the user used recent text effect A), then the effect editing area displays: recent text effect A, recent text effect B (the two are arranged in the order of recent text effect A in front and recent text effect B in the back).
[0158] In some embodiments of the present disclosure, the text editing toolbar also displays at least one of the following effect label controls: font type label control, style label control, font color label control, border label control, shadow label control, background label control, glow label control, bubble label control, stroke label control, animation label control, font size label control, and font rotation angle label control.
[0159] In the embodiment of the present disclosure, different label controls are used to indicate different effect parameters.
[0160] The Font Type label control is used to display multiple font type templates, each with a different font type. The Style label control is used to display multiple style templates, each with a different style. The Font Color label control is used to display multiple font color templates, each with a different color. The Border label control is used to display multiple border templates, each with a different border. The Shadow label control is used to display multiple shadow templates, each with a different shadow. The Background label control is used to display multiple background templates, each with a different background. The Illumination label control is used to display multiple luminous templates, each with a different luminous glow. The Bubble label control is used to display multiple bubble templates, each with a different bubble. The Stroke label control is used to display multiple stroke templates, each with a different stroke. The Animation label control is used to display multiple animation templates, each with a different animation. The Font Size label control is used to display multiple font size templates, each with a different font size. The Font Rotation Angle label control is used to display multiple font rotation angle templates, each with a different font rotation angle.
[0161] In some embodiments of the present disclosure, the text editing toolbar further displays at least one of the following effect label controls: a smart copy label control, a typesetting label control, and an alignment label control.
[0162] The Smart Copy Label control displays the Smart Copy panel, the Layout Label control displays multiple layout templates, each with a different layout method, and the Alignment Label control displays multiple alignment templates, each with a different alignment method.
[0163] In some embodiments of the present disclosure, multiple quick styles "T" may be displayed under the style label control.
[0164] In some embodiments of the present disclosure, multiple quick styles "T" displayed under the style label control can be moved to a preset effect template, and can be displayed together with the latest text effect or separately. The specific details can be determined based on actual conditions and are not limited here.
[0165] In some embodiments of the present disclosure, recent text effects can be saved locally instead of being stored on the server. After the video editing application is uninstalled and reinstalled, they can be regenerated while the user is using the video editing application. Recent text effects can be saved to the server. After the video editing application is uninstalled and reinstalled, the previous recent text effects still exist.
[0166] In some embodiments of the present disclosure, the display form of the at least one effect label control and the effect template corresponding to each effect label control can be adaptively adjusted according to the requirements and specifications of video editing applications, which is not limited here.
[0167] In some embodiments of the present disclosure, each of the multiple font type templates corresponding to the font type label control displays a thumbnail of a preset character, and the multiple font type templates support manual configuration, and the multiple font type templates may include at least one font type template in a target instant social application. The target instant social application can be determined based on actual conditions and is not limited here. The target instant social application can be an application that is frequently used by users. The font type template in the target instant social application in the multiple font type templates may have identification information of the target instant social application to facilitate user distinction.
[0168] In some embodiments of the present disclosure, the font type template in the target instant social networking application among the multiple font type templates may be preset or set by the user, which is not limited here.
[0169] In some embodiments of the present disclosure, the effect editing area supports displaying template text effects and recent text effects in different languages, and the user can choose which language the template text effects and recent text effects are displayed in the effect editing area.
[0170] In some embodiments of the present disclosure, typesetting editing and rich text editing are supported, and restoration to the style before the current editing is also supported.
[0171] In some embodiments of the present disclosure, in response to a click on any label control in a text editing toolbar, the label control is displayed in the center of the text editing toolbar. In response to a swipe input in the text editing toolbar, the currently displayed label control (the label control currently visible to the user) is switched.
[0172] In some embodiments of the present disclosure, a keyboard control is also displayed in the text editing toolbar. In response to clicking the keyboard control, a keyboard area is displayed in the text editing interface (i.e., the keyboard is pulled up). When the keyboard area is displayed in the text editing interface, the effect editing area is not displayed. If a trigger operation to retract the keyboard is received, the effect editing area is displayed in the text editing interface (i.e., the text label control is selected by default) in response to the trigger operation to retract the keyboard, and at the same time, at least one template text effect or at least one recent text effect is displayed in the effect editing area. In this way, it is convenient for users to quickly and personalized edit the text effects of newly created text content.
[0173] In some embodiments of the present disclosure, after installing a video editing application, when the text label control is used for the first time, the template label control in the effect editing area is selected by default (at this time, at least one template text effect is displayed in the effect editing area). During subsequent use, the label control that was selected when the effect editing area was last canceled is still the label control that is selected. For example, when the effect editing area was last canceled, the most recent label control was selected. When the effect editing area is displayed this time, the most recent label control is selected by default (at this time, at least one most recent text effect is displayed in the effect editing area). For example, when the effect editing area was last canceled, the template label control was selected. When the effect editing area is displayed this time, the template label control is selected by default (at this time, at least one template text effect is displayed in the effect editing area).
[0174] In some embodiments of the present disclosure, the video editing method provided by the embodiments of the present disclosure may further include the following step 208.
[0175] 208. When the first text content is displayed with the first text effect, in response to a triggering operation on a target label control in the at least one effect label control, the first text content is displayed with the second text effect.
[0176] The second text effect is generated by editing the first text effect based on the effect parameters indicated by the target label control; the first text effect is a text effect indicated by a template text effect or a text effect indicated by a recent text effect.
[0177] The target label control may be one or more label controls in at least one effect label control, which may be determined based on actual conditions and is not limited here.
[0178] In the disclosed embodiment, a user can perform personalized editing on a first text content displayed with a first text effect by triggering a target label control, resulting in the first text content being displayed with a second text effect. This provides users with quick text effect editing capabilities, such as recent text effects and template text effects, while also enabling personalized editing via the effect label control, thereby enhancing the user experience.
[0179] In some embodiments of the present disclosure, after the above step 208, the video editing method provided by the embodiment of the present disclosure may further include the following steps 209 to 210.
[0180] 209 : In response to a triggering operation on the modification confirmation control, generate a first most recent text effect corresponding to the second text effect.
[0181] 210. Add the first most recent text effect to the effect editing area corresponding to the at least one most recent text effect.
[0182] Exemplarily, the modification confirmation control is changed to a "√" control, click the "√" control, collapse the panel corresponding to the effect note control, generate the first most recent text effect corresponding to the second text effect, and store the first most recent text effect in the storage area where at least one most recent text effect is located.
[0183] In the embodiment of the present disclosure, recent text effects are all stored locally and will not be cleared even if the cache is cleared.
[0184] In some embodiments of the present disclosure, after the above step 210, the video editing method provided by the embodiment of the present application may further include the following step 211.
[0185] 211. If there is a second recent text effect in the at least one recent text effect, which has the same effect parameters as the first recent text effect except for the target effect parameter, delete the second recent text effect in the at least one recent text effect.
[0186] The target effect parameter includes at least one of the following: font size, font position, font rotation angle, alignment, character spacing, and line spacing.
[0187] In the embodiment of the present disclosure, recent text effects having the same effect parameters except the target effect parameter belong to the same type of text effects.
[0188] It can be understood that in order to ensure that there are no repeated text effects in the recent text effects, and there are no multiple text effects that are exactly the same or basically the same in visual effects, after generating a new recent text effect, it is necessary to determine whether there is a recent text effect in the previous recent text effects that belongs to the same category of text effects as the newly generated recent text effect. If so, delete it; if not, do not process it.
[0189] In some embodiments of the present disclosure, an undo control is also displayed in the multimedia editing interface, and the undo control is used to undo the most recently performed text editing operation, which includes a text content editing operation and / or a text effect editing operation.
[0190] The text content editing operation may include operations such as creating, modifying, and deleting text content.
[0191] The text effect editing operation may include operations such as creating, modifying, and deleting text effects.
[0192] In the embodiment of the present disclosure, an undo control is displayed in the multimedia editing interface to facilitate user operation.
[0193] In the disclosed embodiment, after the text editing interface is displayed, screen operations are recorded and can be undone. Screen operations before the text editing interface is displayed are not recorded and cannot be undone. If you switch from selecting text A to displaying text B while the text editing interface is displayed, the undo button will be grayed out, and you will not be able to undo the previous text effect edits to text A while text B is selected.
[0194] In some embodiments of the present disclosure, each time the text editing interface is displayed, when the undo button is triggered for the first time, an enlargement animation will be performed to prompt the user that the undo button can be triggered.
[0195] In some embodiments of the present disclosure, the input process is not recorded, and the completed input is counted as one step, and cancellation is supported.
[0196] In some embodiments of the present disclosure, both the normal text style and the rich text editing style support undo.
[0197] In some embodiments of the present disclosure, when the second text content in the text information of the second text material is in a selected state, in response to a triggering operation on a target recent text effect, the second text content is displayed with the target recent text effect.
[0198] In some embodiments of the present disclosure, before inputting the third text content, in response to a triggering operation on a target recent text effect, the target recent text effect is switched to a selected state (anchored state), and the current input text effect mode is updated to a text effect corresponding to the target recent text effect, and then in response to a triggering operation of inputting the third text content, the third text content is displayed with the target recent text effect.
[0199] In the embodiment of the present disclosure, both the template text effect and the latest text effect can be displayed in the form of character blocks, with the characters in the character blocks serving as boundaries, and the characters can be adaptively shrunk and enlarged.
[0200] In some embodiments of the present disclosure, in order to facilitate users to distinguish the text effects corresponding to different template text effects, each template text effect includes the same characters. The character content included in the template text effect can be determined according to actual conditions and is not limited here.
[0201] For example, if the language type is English, the characters in the template text effect are unified as "Aa", and if the language type is Chinese, the characters in the template text effect are unified as "beautiful".
[0202] In some embodiments of the present disclosure, at least one favorite text effect can also be displayed in the effect editing area, and each favorite text effect is used to indicate a text effect collected by the user. The source of each favorite text effect includes at least one of the following: a template text effect in a multimedia resource previously edited by the user based on any editing template, a most recent text effect previously used by the user, and a text effect after personalized editing by the user.
[0203] At least one favorite text effect and at least one recent text effect may also be displayed in the effect editing area in separate areas or pages, which may be determined based on actual conditions.
[0204] In some embodiments of the present disclosure, a favorite label control may also be displayed in the effect editing area, and the favorite label control corresponds to a page displaying at least one favorite text effect.
[0205] For example, as shown in Figure 2, a possible interface diagram of a multimedia editing interface is shown. Mark "21" indicates the multimedia resource display panel, mark "22" indicates the text editing interface, mark "23" indicates the text input area, mark "24" indicates the text editing toolbar, and mark "25" indicates the effect editing area. In the figure, the template label control in the effect editing area is selected, and four template text effects are displayed in the effect editing area. As shown in Figure 3, the recent label control in the effect editing area is selected, and seven recent text effects are displayed in the effect editing area.
[0206] Figure 4 is a structural block diagram of a video editing device shown in an embodiment of the present disclosure. As shown in Figure 4, it includes: an acquisition module 401, used to acquire a video editing template, where the video editing template is used to indicate at least one video clip and an editing effect applied to the at least one video clip, where the editing effect at least includes a first text material; a display module 402, used to display a text editing interface of the second text material in response to a trigger operation of adding a second text material, where the text editing interface includes a text input area and an effect editing area, where the effect editing area is used to display candidate text effects, where the candidate text effects include a first text effect of the first text material; a generation module 403, used to generate a second text material based on text information in the text input area and the first text effect in response to a selection operation of the first text effect on the text editing interface; and generate a first video editing result based on the video editing template, the second text material and the multimedia material; wherein the multimedia material is used to import the video editing template to form the at least one video clip, and the first video editing result is used to at least present the editing effect of the second text material applied to the at least one video clip.
[0207] In some embodiments of the present disclosure, the generating module 403 is specifically configured to use the first text effect as the text effect of the text information to generate the second text material.
[0208] In some embodiments of the present disclosure, the generation module 403 is specifically used to display the text information presented in a first text effect; in response to an effect editing operation on the text information, the first text effect is edited based on the effect parameters corresponding to the effect editing operation to generate a second text effect; and the second text effect is used as the text effect of the text information to generate a second text material.
[0209] In some embodiments of the present disclosure, the device further includes: a saving module for saving the second text effect after editing the first text effect to generate the second text effect based on effect parameters corresponding to the effect editing operation in response to the effect editing operation on the text information.
[0210] In some embodiments of the present disclosure, the display module 402 is also used to, after saving the second text effect, display the effect editing area including the second text effect in response to a triggering operation on the third text material in the editing effect; and update the text effect of the third text material to the second text effect in response to a selection operation on the second text effect.
[0211] In some embodiments of the present disclosure, the generating module 403 is specifically configured to synthesize the video editing template, the second text material, and the multimedia material into the first video editing result.
[0212] In some embodiments of the present disclosure, the generation module 403 is specifically used to synthesize the video editing template, the second text material and the multimedia material into a second video editing result; in response to an editing processing operation on the first editing effect in the second video editing result, generate a first video editing result; wherein, the first editing effect is different from the second text material, and the editing processing operation includes at least one of the following: deleting the first editing effect; modifying the first editing effect.
[0213] In some embodiments of the present disclosure, the candidate text effects include at least one template text effect and at least one recent text effect, and the effect editing area includes a template tag and a recent tag; when the template tag is in a selected state, the effect editing area is used to display the at least one template text effect, and the at least one template text effect includes a first text effect; when the recent tag is in a selected state, the effect editing area is used to display the at least one recent text effect, and each recent text effect is used to indicate a text effect that has been applied within a preset time period before the current moment.
[0214] In the embodiments of the present disclosure, each module can implement the video editing method provided by the above method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described here.
[0215] FIG5 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure, which is used to exemplify an electronic device for implementing any video editing method in an embodiment of the present disclosure and should not be understood as a specific limitation on the embodiment of the present disclosure.
[0216] As shown in Figure 5, the electronic device 500 may include a processor (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. Various programs and data required for the operation of the electronic device 500 are also stored in the RAM 503. The processor 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0217] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although the electronic device 500 is shown as having various devices, it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.
[0218] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processor 501, the functions defined in any video editing method provided by the embodiment of the present disclosure can be executed.
[0219] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. Computer-readable storage media may be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or components, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0220] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0221] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0222] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: obtains a video editing template, which is used to indicate at least one video clip and an editing effect applied to the at least one video clip, and the editing effect at least includes a first text material; in response to a trigger operation of adding a second text material, displays a text editing interface for the second text material, and the text editing interface includes a text input area and an effect editing area, and the effect editing area is used to display candidate text effects, and the candidate text effects include a first text effect of the first text material; in response to a selection operation of the first text effect on the text editing interface, generates a second text material based on the text information in the text input area and the first text effect; generates a first video editing result based on the video editing template, the second text material and the multimedia material; wherein the multimedia material is used to import the video editing template to form the at least one video clip, and the first video editing result is at least used to present the editing effect of the second text material applied to the at least one video clip.
[0223] In embodiments of the present disclosure, computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the computer, partially on the computer, as a separate software package, partially on the computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0224] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0225] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.
[0226] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0227] In the context of the present disclosure, a computer-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. A computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. A computer-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a computer-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0228] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0229] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0230] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A video editing method, comprising: Obtaining a video editing template, where the video editing template is used to indicate at least one video clip and an editing effect applied to the at least one video clip, and the editing effect includes at least a first text material; In response to a trigger operation for adding a second text material, presenting a text editing interface for the second text material, where the text editing interface includes a text input area and an effect editing area, and the effect editing area is used to present candidate text effects, and the candidate text effects include a first text effect of the first text material; In response to a selection operation on the first text effect on the text editing interface, generating the second text material based on the text information in the text input area and the first text effect; Generating a first video editing result based on the video editing template, the second text material, and multimedia materials; Wherein the multimedia materials are used to import the video editing template to form the at least one video clip, and the first video editing result is at least used to present the editing effect of applying the second text material on the at least one video clip.
2. The method according to claim 1, wherein The generating the second text material based on the text information in the text input area and the first text effect includes: Taking the first text effect as the text effect of the text information to generate the second text material.
3. The method according to claim 1, wherein The generating the second text material based on the text information in the text input area and the first text effect includes: Presenting the text information presented with the first text effect; In response to an effect editing operation on the text information, editing the first text effect based on the effect parameters corresponding to the effect editing operation to generate a second text effect; Taking the second text effect as the text effect of the text information to generate the second text material.
4. The method according to claim 3, wherein After the editing the first text effect based on the effect parameters corresponding to the effect editing operation in response to the effect editing operation on the text information to generate the second text effect, the method further includes: Saving the second text effect.
5. The method according to claim 4, wherein After the saving the second text effect, the method further includes: In response to a trigger operation on a third text material in the editing effect, presenting the effect editing area including the second text effect; In response to a selection operation on the second text effect, updating the text effect of the third text material to the second text effect.
6. The method according to claim 1, wherein, The generating the first video editing result based on the video editing template, the second text material, and multimedia materials includes: Synthesizing the video editing template, the second text material, and multimedia materials into the first video editing result.
7. The method according to claim 1, wherein, The generating the first video editing result based on the video editing template, the second text material, and multimedia materials includes: Synthesizing the video editing template, the second text material, and multimedia materials into a second video editing result; In response to an editing processing operation on a first editing effect in the second video editing result, generating the first video editing result; Wherein, the first editing effect is different from the second text material, and the editing processing operation includes at least one of the following: Delete the first editing effect; Modify the first editing effect.
8. The method according to any one of claims 1 to 7, wherein The candidate text effects include at least one template text effect and at least one recent text effect, and the effect editing area includes a template label and a recent label; When the template label is in a selected state, the effect editing area is used to display the at least one template text effect, and the at least one template text effect includes the first text effect; When the recent label is in a selected state, the effect editing area is used to display the at least one recent text effect, and each recent text effect is used to indicate a text effect applied within a preset duration before the current moment.
9. A video editing device, comprising: An acquisition module, configured to acquire a video editing template, where the video editing template is used to indicate at least one video segment and an editing effect applied to the at least one video segment, and the editing effect at least includes a first text material; A display module, configured to display a text editing interface of the second text material in response to a trigger operation for adding the second text material, where the text editing interface includes a text input area and an effect editing area, and the effect editing area is used to display candidate text effects, and the candidate text effects include a first text effect of the first text material; A generation module, configured to generate the second text material based on the text information in the text input area and the first text effect in response to a selection operation on the first text effect on the text editing interface; Generate a first video editing result based on the video editing template, the second text material, and multimedia material; Wherein, the multimedia material is used to import the video editing template to form the at least one video segment, and the first video editing result is at least used to present an editing effect of applying the second text material on the at least one video segment.
10. An electronic device, comprising: A memory and a processor, the memory is used to store a computer program; The processor is configured to execute the video editing method according to any one of claims 1 to 8 when calling the computer program.
11. A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the video editing method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Video processing method and device, electronic equipment and computer readable storage medium
CN116471451A
Multimedia data processing method, multimedia data generation method, and related device
US20230144094A1
Video editing method and apparatus, electronic device, and storage medium
WO2023006014A1